码迷,mamicode.com
首页 > 其他好文 > 详细

postfix启动失败

时间:2016-11-19 15:44:42      阅读:224      评论:0      收藏:0      [点我收藏+]

标签:restart   system   chmod   bin   run   tool   tar   nbsp   bsp   

 
[root@localhost pid]# /usr/sbin/postfix start
postfix/postfix-script: warning: not owned by postfix: /var/lib/postfix/.
postfix/postfix-script: warning: not owned by postfix: /var/lib/postfix/./master.lock
postfix/postfix-script: starting the Postfix mail system

[root@localhost pid]# rm -rf /var/lib/postfix/./master.lock 删除.lock文件

再次启动:
[root@localhost pid]# /usr/sbin/postfix start
postfix/postfix-script: warning: not owned by postfix: /var/lib/postfix/.
postfix/postfix-script: starting the Postfix mail system

[root@localhost pid]# chown postfix.postfix /var/lib/postfix/
[root@localhost pid]# chmod og-w /var/lib/postfix/
[root@localhost pid]# /usr/sbin/postfix start
postfix/postfix-script: starting the Postfix mail system
[root@localhost pid]# service postfix stop
Shutting down postfix:                                     [  OK  ]
[root@localhost pid]# service postfix restart
Shutting down postfix:                                     [FAILED]
Starting postfix:                                          [  OK  ]
[root@localhost pid]# /usr/sbin/postfix start
postfix/postfix-script: fatal: the Postfix mail system is already running
启动成功

postfix启动失败

标签:restart   system   chmod   bin   run   tool   tar   nbsp   bsp   

原文地址:http://www.cnblogs.com/ligao/p/6080410.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!