Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-15-2008, 06:49 AM
Active Member
 
Posts: 30
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?
Reply With Quote
  #2 (permalink)  
Old 02-15-2008, 07:25 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

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


Bill
Reply With Quote
  #3 (permalink)  
Old 02-15-2008, 12:13 PM
Active Member
 
Posts: 30
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.
Reply With Quote
  #4 (permalink)  
Old 02-16-2008, 05:13 AM
Active Member
 
Posts: 30
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?
Reply With Quote
  #5 (permalink)  
Old 02-16-2008, 12:13 PM
Active Member
 
Posts: 30
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 12:19 PM.. Reason: Added fuser results
Reply With Quote
  #6 (permalink)  
Old 02-16-2008, 02:51 PM
Active Member
 
Posts: 30
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.
Reply With Quote
  #7 (permalink)  
Old 01-31-2009, 12:49 AM
Senior Member
 
Posts: 59
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
Reply With Quote
  #8 (permalink)  
Old 01-31-2009, 01:07 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
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
Reply With Quote
  #9 (permalink)  
Old 01-31-2009, 01:35 AM
Senior Member
 
Posts: 59
Default

Thanks...for your help.
__________________
Regards,
Jay Choksi
Reply With Quote
  #10 (permalink)  
Old 01-09-2010, 01:21 AM
Trained Alumni
 
Posts: 28
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.