zoukankan      html  css  js  c++  java
  • postfix启动失败

     
    [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
    启动成功
  • 相关阅读:
    A
    博弈论
    K
    快速幂
    基数排序
    计数排序
    KMP求字符串最小循环节
    二分图多重匹配
    hdu2818行列匹配+排序
    二分图行列匹配与最大匹配必须边
  • 原文地址:https://www.cnblogs.com/ligao/p/6080410.html
Copyright © 2011-2022 走看看