Hi,
Our Centos 7 server has been going down frequently. We've found that Postfix is the cause of the problem.
If Postfix service is stopped, the server doesn't freeze, and 'numproc' remains more or less steady within normal range.
When Postfix service is restarted, although no emails are sent, and (almost) none are received, the problem starts again. I noticed that the server appears to be sending emails to itself.
# mailq
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
7AF3C21E4F 718 Wed May 5 16:26:01 root root
001A421E4D 795 Wed May 5 17:01:03 root root
34EF621E2F 798 Wed May 5 16:01:05 root root
3344021E81 718 Wed May 5 17:26:01 root root
14D4A21E31 797 Wed May 5 18:01:05 root root
maillog (in /var/log/), displays few Postfix errors, such as these:-
May 5 18:19:41 domain postfix/cleanup[2712]: error: open /etc/postfix/body_checksmeta_directory: No such file or directory
May 5 18:19:41 domain postfix/cleanup[2712]: fatal: open dictionary: expecting "type:name" form instead of "="
May 5 18:19:42 domain postfix/master[2209]: warning: process /usr/libexec/postfix/cleanup pid 2712 exit status 1
May 5 18:19:42 domain postfix/master[2209]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
# service Postfix status
May 05 20:43:59 domain postfix/spawn[6904]: warning: /usr/lib64/plesk-9.0/postfix-srs: proc...ded
May 05 20:43:59 domain postfix/spawn[10512]: warning: /usr/lib64/plesk-9.0/postfix-srs: pro...ded
May 05 20:44:05 domain postfix/smtpd[7907]: fatal: unable to connect to the public cleanup ...ice
May 05 20:44:06 domain postfix/master[2209]: warning: process /usr/libexec/postfix/smtpd pi...s 1
May 05 20:44:06 domain postfix/master[2209]: warning: /usr/libexec/postfix/smtpd: bad comma...ing
May 05 20:44:07 domain postfix/cleanup[11479]: error: open /etc/postfix/body_checksmeta_dire...ry
May 05 20:44:07 domain postfix/cleanup[11479]: fatal: open dictionary: expecting "type:name"...="
May 05 20:44:08 domain postfix/master[2209]: warning: process /usr/libexec/postfix/cleanup ...s 1
May 05 20:44:08 domain postfix/master[2209]: warning: /usr/libexec/postfix/cleanup: bad com...ing
I was wondering if uninstalling Postfix, installing Qmail, and then reinstalling Postfix would remedy the problem with Postfix. If that is not the solution, I would appreciate your help in suggesting another one.
Regards
Our Centos 7 server has been going down frequently. We've found that Postfix is the cause of the problem.
If Postfix service is stopped, the server doesn't freeze, and 'numproc' remains more or less steady within normal range.
When Postfix service is restarted, although no emails are sent, and (almost) none are received, the problem starts again. I noticed that the server appears to be sending emails to itself.
# mailq
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
7AF3C21E4F 718 Wed May 5 16:26:01 root root
001A421E4D 795 Wed May 5 17:01:03 root root
34EF621E2F 798 Wed May 5 16:01:05 root root
3344021E81 718 Wed May 5 17:26:01 root root
14D4A21E31 797 Wed May 5 18:01:05 root root
maillog (in /var/log/), displays few Postfix errors, such as these:-
May 5 18:19:41 domain postfix/cleanup[2712]: error: open /etc/postfix/body_checksmeta_directory: No such file or directory
May 5 18:19:41 domain postfix/cleanup[2712]: fatal: open dictionary: expecting "type:name" form instead of "="
May 5 18:19:42 domain postfix/master[2209]: warning: process /usr/libexec/postfix/cleanup pid 2712 exit status 1
May 5 18:19:42 domain postfix/master[2209]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
# service Postfix status
May 05 20:43:59 domain postfix/spawn[6904]: warning: /usr/lib64/plesk-9.0/postfix-srs: proc...ded
May 05 20:43:59 domain postfix/spawn[10512]: warning: /usr/lib64/plesk-9.0/postfix-srs: pro...ded
May 05 20:44:05 domain postfix/smtpd[7907]: fatal: unable to connect to the public cleanup ...ice
May 05 20:44:06 domain postfix/master[2209]: warning: process /usr/libexec/postfix/smtpd pi...s 1
May 05 20:44:06 domain postfix/master[2209]: warning: /usr/libexec/postfix/smtpd: bad comma...ing
May 05 20:44:07 domain postfix/cleanup[11479]: error: open /etc/postfix/body_checksmeta_dire...ry
May 05 20:44:07 domain postfix/cleanup[11479]: fatal: open dictionary: expecting "type:name"...="
May 05 20:44:08 domain postfix/master[2209]: warning: process /usr/libexec/postfix/cleanup ...s 1
May 05 20:44:08 domain postfix/master[2209]: warning: /usr/libexec/postfix/cleanup: bad com...ing
I was wondering if uninstalling Postfix, installing Qmail, and then reinstalling Postfix would remedy the problem with Postfix. If that is not the solution, I would appreciate your help in suggesting another one.
Regards