LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Postfix not starting (https://www.linuxquestions.org/questions/linux-software-2/postfix-not-starting-393210/)

namit 12-15-2005 11:53 AM

Postfix not starting
 
I am getting this error anyone ever see this

mailman:/etc/postfix# /etc/init.d/postfix start
Starting mail transport agent: Postfixpostsuper: fatal: scan_dir_push: open directory incoming/8: Permission denied
.


Please help me

namit 12-15-2005 11:56 AM

I get this when starting

mailman:/var/spool# /etc/init.d/postfix check
postfix/postfix-script: warning: not owned by root: /var/spool/postfix/etc
postfix/postfix-script: warning: not owned by root: /var/spool/postfix/etc/localtime
postfix/postfix-script: warning: not owned by root: /var/spool/postfix/etc/services
postfix/postfix-script: warning: not owned by root: /var/spool/postfix/etc/resolv.conf
postfix/postfix-script: warning: not owned by root: /var/spool/postfix/etc/hosts
postfix/postfix-script: warning: not owned by root: /var/spool/postfix/etc/nsswitch.conf
postfix/postfix-script: warning: not owned by root: /var/spool/postfix/lib
postfix/postfix-script: warning: not owned by root: /var/spool/postfix/lib/libnss_compat-2.3.2.so
postfix/postfix-script: warning: not owned by root: /var/spool/postfix/lib/libnss_compat.so.2
postfix/postfix-script: warning: not owned by root: /var/spool/postfix/lib/libnss_db-2.2.so
postfix/postfix-script: warning: not owned by root: /var/spool/postfix/lib/libnss_db.so.2
postfix/postfix-script: warning: not owned by root: /var/spool/postfix/lib/libnss_dns-2.3.2.so
postfix/postfix-script: warning: not owned by root: /var/spool/postfix/lib/libnss_dns.so.2
postfix/postfix-script: warning: not owned by root: /var/spool/postfix/lib/libnss_files-2.3.2.so
postfix/postfix-script: warning: not owned by root: /var/spool/postfix/lib/libnss_files.so.2
postfix/postfix-script: warning: not owned by root: /var/spool/postfix/lib/libnss_hesiod-2.3.2.so
postfix/postfix-script: warning: not owned by root: /var/spool/postfix/lib/libnss_hesiod.so.2
postfix/postfix-script: warning: not owned by root: /var/spool/postfix/lib/libnss_nis-2.3.2.so
postfix/postfix-script: warning: not owned by root: /var/spool/postfix/lib/libnss_nisplus-2.3.2.so
postfix/postfix-script: warning: not owned by root: /var/spool/postfix/lib/libnss_nisplus.so.2
postfix/postfix-script: warning: not owned by root: /var/spool/postfix/lib/libnss_nis.so.2
postfix/postfix-script: warning: not owned by root: /var/spool/postfix/usr
postfix/postfix-script: warning: not owned by root: /var/spool/postfix/usr/lib
postfix/postfix-script: warning: not owned by root: /var/spool/postfix/usr/lib/zoneinfo
postfix/postfix-script: warning: not owned by root: /var/spool/postfix/usr/lib/zoneinfo/localtime

WindowBreaker 12-27-2005 12:20 PM

Check if all of the files/directories listed actually exist. If not, the problem is that postfix expects them to be there and they are not. You may have to change the paths in the postfix config file (main.cf).

If they do exist, check the ownership and permissions, and post the results.

If you run the following command, will show you all postfix parameters that are NOT at their default settings:
postconf -n

If you run the following command, it should show you most parameters relevant to your problem:
postconf | egrep '(path|owner|spool|lib|directory)'

If will list off many pathnames and such. Make sure they all exist, and make sure the mail owner listed also exists in your /etc/passwd file.

Let us know what you find.


All times are GMT -5. The time now is 01:38 AM.