Results 1 to 10 of 18

Thread: Error Starting Zimbra after IP Change

Hybrid View

  1. #1
    Join Date
    Nov 2005
    Posts
    63
    Rep Power
    9

    Default Error Starting Zimbra after IP Change

    I recently had to re-ip one of my Zimbra boxes. After changing the DNS records and the hosts file entry, Zimbra will not restart properly. When I try to start (from a clean reboot), the startup process dies after "Starting MTA:" with the following message:
    Code:
    postmap: fatal: bad numerical configuration: message_size_limit =
    postalias: fatal: bad numerical configuration: message_size_limit =
    postfix: fatal: bad numerical configuration: message_size_limit =
    I've verified that the LDAP and mySQL servers are indeed running and can be seen by Zimbra.

    Tomcat also fails to start, with the following showing up in /var/log/zimbra.log after trying to manually start it:

    Code:
    Oct 31 14:59:48 postal zmtomcatmgr[20996]: stale pid 28885 found in /opt/zimbra/log/zmtomcatmgr.pid: No such process
    Oct 31 14:59:48 postal zmtomcatmgr[20996]: assuming no other instance is running
    Oct 31 14:59:48 postal zmtomcatmgr[20997]: wrote manager pid 20997 to /opt/zimbra/log/zmtomcatmgr.pid
    Oct 31 14:59:48 postal zmtomcatmgr[20997]: manager started tomcat/JVM with pid 20998
    Oct 31 14:59:54 postal zmtomcatmgr[20997]: manager woke up from wait on tomcat/JVM with pid 20998
    Oct 31 14:59:54 postal zmtomcatmgr[20997]: manager started tomcat/JVM with pid 21018
    Oct 31 15:00:00 postal zmtomcatmgr[20997]: manager woke up from wait on tomcat/JVM with pid 21018
    Oct 31 15:00:00 postal zmtomcatmgr[20997]: tomcat/JVM exited twice in 6 seconds (tolerance=60)
    And corresponding to the above in catalina.out is a repeating:
    Code:
    Oct 31, 2006 2:59:56 PM org.apache.coyote.http11.Http11BaseProtocol init
    INFO: Initializing Coyote HTTP/1.1 on http-443
    Oct 31, 2006 2:59:56 PM org.apache.coyote.http11.Http11BaseProtocol init
    INFO: Initializing Coyote HTTP/1.1 on http-7071
    Oct 31, 2006 2:59:56 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1258 ms
    Oct 31, 2006 2:59:56 PM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Oct 31, 2006 2:59:56 PM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.15
    Oct 31, 2006 2:59:56 PM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    Oct 31, 2006 2:59:57 PM org.apache.catalina.startup.HostConfig deployDescriptor
    WARNING: A docBase /opt/zimbra/apache-tomcat-5.5.15/webapps/zimbra inside the host appBase has been specified, and will be ignored
    log4j:WARN No appenders could be found for logger (org.apache.catalina.session.ManagerBase).
    log4j:WARN Please initialize the log4j system properly.
    Zimbra server process is running as root, changing to user=zimbra uid=500 gid=500
    Zimbra server process, after change, is running with uid=500 euid=500 gid=500 egid=500
    I've dug through the forums and wiki and have not been able to find a similar case, and have tried solutions to similar problems (firewall is not an issue, SElinux is disabled, DNS and hosts files both report correct IP, there are no port collisions, zmfixperms doesn't seem to find any problems). I've also reinstalled over-the-top, as I was able to correct a strange problem some time ago by reinstalling.

    This is ZCS 4.0.3 running on Centos 4 (2.6.9-42 Kernel). Any help would be hugely appreciated.

    Thank you,
    Will

  2. #2
    Join Date
    Feb 2006
    Location
    Pune, India
    Posts
    294
    Rep Power
    9

    Default

    Why stale PIDs? Did you change the IP while Zimbra was running?

    Perhaps, deleting stale PID files should help?!
    Regards,

    Chintan Zaveri
    (Yet another ZIMBRAN!)

    "Dhundhne par Bhagwan bhi ..."

  3. #3
    Join Date
    Nov 2005
    Posts
    63
    Rep Power
    9

    Default

    I just gave that a go (cleared out zmtomcatmgr.pid), but there was no change. As a side note, after shutting down Zimbra, the only pid file left is that (zmtomcatmgr.pid) one, and it has different permissions than the rest of the zimbra pid's:

    Code:
    -rw-r--r--  1 root root 5 Oct 31 15:46 zmtomcatmgr.pid
    I *think* the "stale pid" messages are from tomcat restarting itself. Thank you for the suggestion though!

    Thanks,
    Will

  4. #4
    Join Date
    Feb 2006
    Location
    Pune, India
    Posts
    294
    Rep Power
    9

    Default

    Perhaps, you have already looked at these. Pasting them here anyways:

    http://www.zimbra.com/forums/showthread.php?t=4718
    http://www.zimbra.com/forums/showthread.php?t=4373
    http://www.zimbra.com/forums/showthread.php?t=3556
    http://www.zimbra.com/forums/showthread.php?t=2592

    I am not saying that these contain a solution. But they might.
    Regards,

    Chintan Zaveri
    (Yet another ZIMBRAN!)

    "Dhundhne par Bhagwan bhi ..."

  5. #5
    Join Date
    Nov 2005
    Posts
    63
    Rep Power
    9

    Default

    Thanks again for the tips. Most of those dealt with port conflicts, and I've got this server stripped down to the bone (service wise), at the moment to remove that as a possibility.

    Two additional notes:
    When I reinstall over-the-top, I am asked to reset the spam and ham email addresses every time, they do *not* seem to be carrying over.
    Does anyone have any idea whether this (below) is a symptom or a cause?
    Code:
    postmap: fatal: bad numerical configuration: message_size_limit =
    postalias: fatal: bad numerical configuration: message_size_limit =
    postfix: fatal: bad numerical configuration: message_size_limit =
    Again, thanks,
    Will

  6. #6
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

Similar Threads

  1. Replies: 9
    Last Post: 03-01-2008, 07:21 PM
  2. [SOLVED] Clamav problem ? What's happening ?
    By aNt1X in forum Installation
    Replies: 23
    Last Post: 02-14-2008, 04:43 AM
  3. Replies: 8
    Last Post: 02-27-2007, 03:10 AM
  4. Services stopped working
    By lilwong in forum Administrators
    Replies: 4
    Last Post: 08-15-2006, 09:19 AM
  5. Zimbra MTA and CentOS VPS on OpenVZ
    By czaveri in forum Installation
    Replies: 2
    Last Post: 03-20-2006, 08:42 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
  •