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

Thread: [SOLVED] zmmailboxd not starting, please help

  1. #1
    Raiky is offline Member
    Join Date
    Mar 2008
    Posts
    10
    Rep Power
    7

    Default [SOLVED] zmmailboxd not starting, please help

    Hi,

    After a week I haven't been able to start the mailbox service. The message is related to mmailboxdctl not running when zmcontrol status is run.
    The error that I saw is a java error:
    Caused by: java.net.BindException: Address already in use
    But do not know what is that port already in use.

    Logs: zmmailboxd.out:

    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
    Zimbra server reserving server socket port=143 bindaddr=null ssl=false
    Zimbra server reserving server socket port=993 bindaddr=null ssl=true
    Zimbra server reserving server socket port=7025 bindaddr=null ssl=false
    5356 WARN [main] log - Config error at
    5357 WARN [main] log - Config error at
    5361 WARN [main] log - EXCEPTION
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.mortbay.xml.XmlConfiguration.call(XmlConfigura tion.java:534)
    at org.mortbay.xml.XmlConfiguration.configure(XmlConf iguration.java:244)
    at org.mortbay.xml.XmlConfiguration.refObj(XmlConfigu ration.java:638)
    at org.mortbay.xml.XmlConfiguration.configure(XmlConf iguration.java:252)
    at org.mortbay.xml.XmlConfiguration.configure(XmlConf iguration.java:206)
    at org.mortbay.xml.XmlConfiguration.main(XmlConfigura tion.java:968)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.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)
    Caused by: java.net.BindException: Address already in use
    at sun.nio.ch.Net.bind(Native Method)
    at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSock etChannelImpl.java:119)
    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAd aptor.java:59)
    at org.mortbay.jetty.nio.SelectChannelConnector.open( SelectChannelConnector.java:211)
    ... 17 more
    5367 WARN [main] log - Nested in java.lang.reflect.InvocationTargetException:
    java.net.BindException: Address already in use
    at sun.nio.ch.Net.bind(Native Method)
    at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSock etChannelImpl.java:119)
    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAd aptor.java:59)
    at org.mortbay.jetty.nio.SelectChannelConnector.open( SelectChannelConnector.java:211)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.


    /var/log/zimbra.log:


    Mar 3 07:44:09 luxserver1 zmmailboxdmgr[18405]: status requested
    Mar 3 07:44:09 luxserver1 zmmailboxdmgr[18405]: stale pid 5345 found in /opt/zimbra/log/zmmailboxd.pid: No such process
    Mar 3 07:44:09 luxserver1 zmmailboxdmgr[18405]: assuming no other instance is running

    Sometimes this (mailboxd) works for just 30 seconds or so, then a message saying the daemon exited twice appears.

    I'm going to reinstall the system again and then try, please help me if you know what is wrong.

    Thank you.
    Raiky

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

    Default

    Quote Originally Posted by Raiky View Post
    I'm going to reinstall the system again and then try, please help me if you know what is wrong.
    You've already answered your own question, the port is in use. Do you have another mailserver running or is the Zimbra proxy running? If either of those is true then get rid of the service and restart Zimbra.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Raiky is offline Member
    Join Date
    Mar 2008
    Posts
    10
    Rep Power
    7

    Default

    Hi,

    Thanks for your reply.

    The question is: what is that port in conflict? I haven't found any other server running so far.

    Where could I increase the log level? Perhaps we will have more information.


    Thx
    R.

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

    Default

    Check if the proxy is running by doing this:

    Code:
    zmproxyctl status
    and if it's running, do this
    Code:
    zmproxyctl stop
    the restart Zimbra. When Zimbra starts, go to the Admin UI and disable the proxy on the Servers//Services tab - uncheck the "Imap and Pop proxy" option (and save the settings). Let's see if that's the problem, first.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Raiky is offline Member
    Join Date
    Mar 2008
    Posts
    10
    Rep Power
    7

    Default

    Hi,

    Proxy status shows that "is not working". So it should not be a problem.

    For the Adminstrator UI . Shall I go to:
    https://server1.example.com:7071/zimbraAdmin/ ??

    It does not work, I mean there is no 7071 port open.

    By the way this is Debian 4.0 etch and the Zimbra is the open source version from last week.

    Thx.
    Raiky.

  6. #6
    aynema is offline New Member
    Join Date
    Mar 2008
    Posts
    4
    Rep Power
    7

    Default

    I'm having the same problem it seems. It was running fine for a few weeks until I restarted my server today then this showed up.
    I'm running on zcs- 5.0.2_GA_1965.RHEL5.200801030221917 on Centos 5.1
    I can't see anything in any of the logs other than the same socket in use message but can't see anything that is using any of the sockets I've also tried re-installing and even wiping it clean and installing again (Lucky I haven't put this box into production yet) any help would be usefull

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

    Default

    Have either of you got SElinux installed or a firewall active? If you have then disable it.
    Last edited by phoenix; 05-23-2013 at 10:56 PM.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    aynema is offline New Member
    Join Date
    Mar 2008
    Posts
    4
    Rep Power
    7

    Default

    Nope have got SELinux set to permissive and firewall is off (Not sure why or for how long)

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

    Default

    Quote Originally Posted by aynema View Post
    Nope have got SELinux set to permissive and firewall is off (Not sure why or for how long)
    You should disable SElinux and not use Permissive mode.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  10. #10
    aynema is offline New Member
    Join Date
    Mar 2008
    Posts
    4
    Rep Power
    7

    Default

    Just tried that and rebooted hasn't changed anything though

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. Problem starting up Zimbra
    By richard-hdd in forum Administrators
    Replies: 5
    Last Post: 03-03-2008, 02:37 PM
  2. postfix stopped
    By riegersteve in forum Administrators
    Replies: 1
    Last Post: 05-15-2007, 03:25 PM
  3. Could not start postfix when starting Zimbra
    By denisb in forum Administrators
    Replies: 5
    Last Post: 06-16-2006, 04:44 PM
  4. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 11:11 PM
  5. Zimbra on Debian?
    By omry_y in forum Installation
    Replies: 25
    Last Post: 11-04-2005, 11:36 AM

Posting Permissions

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