Chinaunix首页 | 论坛 | 博客
  • 博客访问: 637372
  • 博文数量: 244
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 130
  • 用 户 组: 普通用户
  • 注册时间: 2016-06-27 09:53
个人简介

记录学习,记录成长

文章分类

全部博文(244)

我的朋友

分类: LINUX

2015-08-24 17:53:49

启动postfix服务时遇到如下错误:
[root@www postfix-2.10.8]# 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: warning: not owned by postfix: /var/spool/postfix/private
postfix/postfix-script: warning: not owned by postfix: /var/spool/postfix/public
postfix/postfix-script: warning: not owned by group postdrop: /var/spool/postfix/public
postfix/postfix-script: starting the Postfix mail system
postfix/postfix-script: fatal: mail system startup failed
解决办法:满足上面对某些目录的组和用户的要求即可
[root@www postfix]# chown -R postfix.postfix /var/lib/postfix/. /var/lib/postfix/./master.lock
[root@www postfix]# chown -R postfix.postfix /var/lib/postfix/./master.lock
[root@www postfix]# chown -R postfix.postfix  /var/spool/postfix/private
[root@www postfix]# chown -R postfix.postdrop /var/spool/postfix/public
重新启动:
[root@www postfix]# postfix start
postfix/postfix-script: starting the Postfix mail system
[root@www postfix]# netstat -ntlp | grep :25
tcp        0      0 0.0.0.0:25                  0.0.0.0:*                   LISTEN      9959/master     

阅读(3832) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~