Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: [SOLVED] Postfix failed to start: scan_dir_push

  1. #1
    jerelabs is offline Active Member
    Join Date
    Jul 2007
    Posts
    30
    Rep Power
    8

    Default [SOLVED] Postfix failed to start: scan_dir_push

    I'm doing a reinstall of zimbra (5.0.2 GA) on Ubuntu 6.06 and have everything up and running but postfix. I'm getting the following on "zmcontrol start":
    Code:
    Starting ldap...Done.
    Starting mailbox...Done.
    Starting antispam...Done.
    Starting antivirus...Done.
    Starting snmp...Done.
    Starting spell...Done.
    Starting mta...FAILED
    postsuper: fatal: scan_dir_push: open directory defer: Permission denied
    postfix failed to start
    
    Starting stats...Done.
    When I first restored I had a problem where it was using the wrong version of postfix, but I fixed that.

    I've done zmfixperms (As root) several times.

    Logs show the following error
    Code:
    zimbra postfix/postqueue[2554]: fatal: Connect to the Postfix showq service: Permission denied
    Thoughts?

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,470
    Rep Power
    56

    Default

    Do you have iptable, SELinux or another mail server running?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    jerelabs is offline Active Member
    Join Date
    Jul 2007
    Posts
    30
    Rep Power
    8

    Default

    Quote Originally Posted by phoenix View Post
    Do you have iptable, SELinux or another mail server running?
    It's new install of Ubuntu 6.06 LTS Server. Uninstalled iptable -- didn't help. SELinux is not installed. No other mail server installed. A netstat shows only named and sshd running.

  4. #4
    jerelabs is offline Active Member
    Join Date
    Jul 2007
    Posts
    30
    Rep Power
    8

    Default

    I think my postfix problem was related to a goof on my part when restoring (my backup was of 5.01 but used 5.02 as the dummy install).

    So I uninstalled zimbra, restored my backup, then ran a dummy install of 5.01.

    I had a problem where both the logger and mailbox sql wasn't working. Searching the forums I ran:
    Code:
    zmlocalconfig -f -e mysql_logger_root_password=...Password from config.save...
    zmlocalconfig -f -e mysql_root_password=...Password from config.save...
    Now a "zmcontrol status" gives
    Code:
    antispam                Running
    antivirus               Running
    ldap                    Running
    logger                  Stopped
            zmlogswatchctl is not running
    mailbox                 Stopped
            zmmailboxdctl is not running
    mta                     Running
    snmp                    Running
    spell                   Running
    stats                   Stopped
    Does this indicate a continued problem with wrong passwords or is there something else going on?

  5. #5
    jerelabs is offline Active Member
    Join Date
    Jul 2007
    Posts
    30
    Rep Power
    8

    Default

    Well I believe everything with the mysql passwords is fine since I can run a "mysql mysql" w/o any errors.


    The only errors I see in logs are in zmmailboxd.out
    Code:
    0    INFO  [main] log - Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
    Zimbra server reserving server socket port=110 bindaddr=null ssl=false
    Zimbra server reserving server socket port=995 bindaddr=null ssl=true
    Fatal error: exception while binding to ports
    java.net.SocketException: Unbound server sockets not implemented
            at javax.net.ServerSocketFactory.createServerSocket(ServerSocketFactory.java:80)
            at com.zimbra.common.util.NetUtil.newBoundServerSocket(NetUtil.java:91)
            at com.zimbra.common.util.NetUtil.bindServerSocket(NetUtil.java:122)
            at com.zimbra.common.util.NetUtil.bindSslTcpServerSocket(NetUtil.java:51)
            at com.zimbra.common.handlers.PrivilegedHandler.openPorts(PrivilegedHandler.java:85)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.mortbay.xml.XmlConfiguration.call(XmlConfiguration.java:534)
            at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:244)
            at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:206)
            at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:968)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.mortbay.start.Main.invokeMain(Main.java:183)
            at org.mortbay.start.Main.start(Main.java:497)
            at org.mortbay.start.Main.main(Main.java:115)
    When running install.sh it also complains about initializing the document store.
    Code:
    Initializing Documents...
    COS attribute retrieved for COS default: zimbraFeatureNotebookEnabled=TRUE
    *** Running as zimbra user: /opt/zimbra/bin/zmprov mc default zimbraFeatureNotebookEnabled TRUE
    ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
    *** Running as zimbra user: /opt/zimbra/bin/zmprov mcf zimbraNotebookAccount wiki@zimbra.MYDOMAIN.com
    ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
    *** Running as zimbra user: /opt/zimbra/bin/zmprov in wiki@zimbra.MYDOMAIN.com
    ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
    *** Running as zimbra user: /opt/zimbra/bin/zmprov mc default zimbraFeatureNotebookEnabled FALSE
    ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
    failed to initialize documents...see logfile for details.
    *** Running as zimbra user: /opt/zimbra/bin/zmprov mc default zimbraFeatureNotebookEnabled TRUE
    ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
    I've looked in /var/log, /opt/zimbra/tomcat/logs, and /opt/zimbra/log and I don't see any other errors.

    Also, "fuser" doesn't report anything on ports 143, 110, or 80.
    Last edited by jerelabs; 02-16-2008 at 01:19 PM. Reason: Added fuser results

  6. #6
    jerelabs is offline Active Member
    Join Date
    Jul 2007
    Posts
    30
    Rep Power
    8

    Default

    Well after numerous uninstalls/installs I managed to get everything to work. I'm not sure what did it, but at least it's all working...very very strange.

  7. #7
    jay.choklsi is offline Senior Member
    Join Date
    Apr 2008
    Location
    India
    Posts
    59
    Rep Power
    7

    Default

    hi,
    i am facing same problem can you tell me how to resolve this problem?


    Jan 31 02:15:00 mailserver postfix/postqueue[21836]: fatal: Queue report unavailable - mail system is down
    Jan 31 02:15:15 mailserver postfix/postsuper[22088]: fatal: scan_dir_push: open directory defer: Permission denied
    Jan 31 02:15:16 mailserver postfix/postfix-script[22114]: fatal: Postfix integrity check failed!
    Regards,
    Jay Choksi

  8. #8
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,470
    Rep Power
    56

    Default

    This is attached to a thread that's almost a year old and on a different subject, please start a new thread next time!

    Quote Originally Posted by jay.choklsi View Post
    hi,
    i am facing same problem can you tell me how to resolve this problem?
    Did you search the forums first, there's an answer there if you look.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  9. #9
    jay.choklsi is offline Senior Member
    Join Date
    Apr 2008
    Location
    India
    Posts
    59
    Rep Power
    7

    Default

    Thanks...for your help.
    Regards,
    Jay Choksi

  10. #10
    simonb is offline Trained Alumni
    Join Date
    Sep 2005
    Posts
    48
    Rep Power
    9

    Default

    Quote Originally Posted by jay.choklsi View Post
    hi,
    i am facing same problem can you tell me how to resolve this problem?


    Jan 31 02:15:00 mailserver postfix/postqueue[21836]: fatal: Queue report unavailable - mail system is down
    Jan 31 02:15:15 mailserver postfix/postsuper[22088]: fatal: scan_dir_push: open directory defer: Permission denied
    Jan 31 02:15:16 mailserver postfix/postfix-script[22114]: fatal: Postfix integrity check failed!
    I didn't see the solution on this thread. I have just experienced this problem after starting a snap-shot-cloned server. For me running /opt/zimbra/libexec/zmfixperms as root fixed the problem. I didn't have selinux running on the cloned server.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Errors installing Outlook Connector
    By Tim G in forum Zimbra Connector for Outlook
    Replies: 57
    Last Post: 05-05-2011, 02:27 PM
  2. My Zimbra server down ... please help :)
    By frankb in forum Administrators
    Replies: 2
    Last Post: 12-12-2007, 11:29 AM
  3. Error Installing Outlook Connector
    By DanO in forum Zimbra Connector for Outlook
    Replies: 17
    Last Post: 08-28-2007, 09:35 AM
  4. Lotus migration
    By babou in forum Migration
    Replies: 15
    Last Post: 03-05-2007, 10:33 PM
  5. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 11:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •