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
    启动成功
  • 相关阅读:
    05数组 字符串数组 多维数组
    android textView的渐入效果
    android颜色表
    ExpandableListView置顶和子list收放
    Adb not responding
    android 一个TextView设置多种颜色
    android 循环操作
    Android异步更新
    android 水波纹
    Android 推门效果
  • 原文地址:https://www.cnblogs.com/ligao/p/6080410.html
Copyright © 2011-2022 走看看