# /etc/init.d/postfix restart Shutting down postfix: [FAILED] Starting postfix: [ OK ]
となり、実際は起動していないようです。
そのときのログになります。↓
また2度ほど
#yum erase postfix
をして、postfixをアンインストールと再度インストールを繰り返しています。
2.ログの有無 :
# /etc/init.d/postfix restart Shutting down postfix: [FAILED] Starting postfix: [ OK ]
↓
May 23 14:53:34 localhost postfix/postfix-script: fatal: the Postfix mail system is not running May 23 14:53:34 localhost postfix/postfix-script: starting the Postfix mail system May 23 14:53:34 localhost postfix/master[49046]: fatal: bind 0.0.0.0 port 25: Address already in use May 23 14:53:54 localhost postfix/smtpd[49102]: fatal: open lock file pid/inet.smtp: cannot create file exclusively: No such file or directory
sendmailはoffにしてstatsuにて起動していないことを確認しました。
(有:その内容) : 3.Distribution :CentOS Version :release 5.8 32bit 4.Service Name :postfix Version :mail_version = 2.3.3
質問ログを確認しましたところ、 fatal: open lock file pid/inet.smtp: cannot create file exclusively: No such file or directory についてのログがみあたらなかったので質問させていただきました。
# ./sbin/service postfix start postfix を起動中: [ OK ]
しかしログは初回と変わらず同じです。 May 23 18:06:24 localhost postfix/postfix-script: fatal: the Postfix mail system is not running May 23 18:06:25 localhost postfix/postfix-script: starting the Postfix mail system May 23 18:06:25 localhost postfix/master[60849]: fatal: bind 0.0.0.0 port 25: Address already in use
また、コマンド時に発生するログのほかに繰り返しおこっているwarningがあります。 May 23 18:07:05 localhost postfix/master[32744]: warning: master_wakeup_timer_event: service pickup(public/pickup): No such file or directory May 23 18:07:09 localhost postfix/smtpd[61069]: fatal: open lock file pid/inet.smtp: cannot create file exclusively: No such file or directory May 23 18:07:10 localhost postfix/master[32744]: warning: process /usr/libexec/postfix/smtpd pid 61069 exit status 1 May 23 18:07:10 localhost postfix/master[32744]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling