Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: [SOLVED] URGENT: Tomcat Not Starting On Reboot

  1. #11
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,485
    Rep Power
    56

    Default

    Yet again that show something is listening on port 110. Run 'lsof -i :110' then shutdown zimbra and run the lsof command again, what does it show.

    Just looking back at a comment you made earlier: "The only changes that were ever made was enabling IMAP and POP3 from the Admin Interface so that users could use their mail clients." - you haven't enabled the pop & IMAP proxy service have you? You can check with this command:
    Code:
     zmperditionctl status
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  2. #12
    AlexanderH is offline Active Member
    Join Date
    May 2007
    Posts
    34
    Rep Power
    8

    Default

    Yes, I have:

    Code:
    zimbra@group:~/tomcat/logs$   zmperditionctl status
    imap4 is running
    imap4s is running
    pop3 is running
    pop3s is running
    zimbra@group:~/tomcat/logs$
    I am assuming it should now be disabled. I am searching but can't find the appropriate command line statement to disable it.

  3. #13
    AlexanderH is offline Active Member
    Join Date
    May 2007
    Posts
    34
    Rep Power
    8

    Default

    Quote Originally Posted by phoenix View Post
    Yet again that show something is listening on port 110. Run 'lsof -i :110' then shutdown zimbra and run the lsof command again, what does it show.
    I ran the command, but there was no output/errors:

    Code:
    zimbra@group:~/tomcat/logs$ lsof -i :110
    zimbra@group:~/tomcat/logs$ zmcontrol stop
    Host group.ewebzone.net
            Stopping mta...Done
            Stopping spell...Done
            Stopping snmp...Done
            Stopping antivirus...Done
            Stopping antispam...Done
            Stopping imapproxy...Done
            Stopping mailbox...Done
            Stopping logger...Done
            Stopping ldap...Done
    zimbra@group:~/tomcat/logs$ lsof -i :110

    Updated catalina.out published:

    Index of /zimbra2

    THANK YOU!!!

  4. #14
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,485
    Rep Power
    56

    Default

    Quote Originally Posted by AlexanderH View Post
    I am assuming it should now be disabled. I am searching but can't find the appropriate command line statement to disable it.
    It should never have been started in the first place, it's unnecessary for a single server. Do this:
    Code:
    zmperditionctl stop
    and restart zimbra.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #15
    AlexanderH is offline Active Member
    Join Date
    May 2007
    Posts
    34
    Rep Power
    8

    Default

    Quote Originally Posted by phoenix View Post
    Yet again that show something is listening on port 110. Run 'lsof -i :110' then shutdown zimbra and run the lsof command again, what does it show.

    Just looking back at a comment you made earlier: "The only changes that were ever made was enabling IMAP and POP3 from the Admin Interface so that users could use their mail clients." - you haven't enabled the pop & IMAP proxy service have you? You can check with this command:
    Code:
     zmperditionctl status
    I shut them down, and restarted the services.
    Code:
    zimbra@group:~/tomcat/logs$ zmperditionctl stop
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException group.xxx.net:389)
    Stopping imap4
    Stopping imap4s
    Stopping pop3
    Stopping pop3s
    zimbra@group:~/tomcat/logs$ zmcontrol stop
    Host group.ewebzone.net
            Stopping mta...Done
            Stopping spell...Done
            Stopping snmp...Done
            Stopping antivirus...Done
            Stopping antispam...Done
            Stopping imapproxy...Done
            Stopping mailbox...Done
            Stopping logger...Done
            Stopping ldap...Done
    zimbra@group:~/tomcat/logs$ zmcontrol start
    Host group.ewebzone.net
            Starting ldap...Done.
            Starting logger...Done.
            Starting mailbox...Done.
            Starting imapproxy...Done.
            Starting antispam...Done.
            Starting antivirus...Done.
            Starting snmp...Done.
            Starting spell...Done.
            Starting mta...Done.
    zimbra@group:~/tomcat/logs$
    Updated catalina.out
    Index of /zimbra2

  6. #16
    AlexanderH is offline Active Member
    Join Date
    May 2007
    Posts
    34
    Rep Power
    8

    Default

    SOLVED:

    See
    IMAP Enable - Now Tomcat won't startup

    Started proxies instead of regular mail services.


    ---

    Thank you for your prompt forum replies. If you accepted donations, I'd gladly contribute. PM me.

  7. #17
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,485
    Rep Power
    56

    Default

    Glad it's working. Does this also solve the problem in your other thread?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #18
    rernst is offline Active Member
    Join Date
    Jul 2007
    Posts
    34
    Rep Power
    8

    Default

    Quote Originally Posted by AlexanderH View Post
    Hello,

    Zimbra has been working fine for me for months. Not a single problem. On a VPS with 4GB burst RAM, 1 GB dedicated. No other VPS' on this node, so I know the resources are there.

    Rebooted plenty of times before without problems. This time, Tomcat is not up and running.

    catalina.out:
    Code:
    Jul 20, 2007 6:38:58 AM org.apache.catalina.core.StandardContext resourcesStart
    SEVERE: Error starting static Resources
    java.lang.IllegalArgumentException: Document base /opt/zimbra/apache-tomcat-5.5.15/server/webapps/host-manager does not exist or is not a readable directory
            at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:140)
            at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3812)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:3983)
            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
            at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:603)
            at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
            at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
            at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
            at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
            at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
            at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
            at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
            at org.apache.catalina.core.StandardService.start(StandardService.java:450)
            at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
            at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
            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:585)
            at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
            at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:406)
            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:585)
            at com.zimbra.cs.launcher.TomcatLauncher.start(TomcatLauncher.java:52)
            at com.zimbra.cs.launcher.TomcatLauncher.main(TomcatLauncher.java:74)  
    Jul 20, 2007 6:38:58 AM org.apache.catalina.core.StandardContext start
    SEVERE: Error in resourceStart()
    Jul 20, 2007 6:38:58 AM org.apache.catalina.core.StandardContext start
    SEVERE: Error getConfigured
    Jul 20, 2007 6:38:58 AM org.apache.catalina.core.StandardContext start
    SEVERE: Context [/host-manager] startup failed due to previous errors
    SEVERE: Context [/host-manager] startup failed due to previous errors
    Jul 20, 2007 6:38:58 AM org.apache.catalina.core.StandardContext stop 
    INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager] has not been started
    Jul 20, 2007 6:38:58 AM org.apache.catalina.core.StandardContext resourcesStart
    SEVERE: Error starting static Resources
    java.lang.IllegalArgumentException: Document base /opt/zimbra/apache-tomcat-5.5.15/server/webapps/manager does not exist or is not a readable directory
            at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:140)
            at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3812)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:3983)
            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
            at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:603)
            at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
            at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
            at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
            at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
            at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
            at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
            at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
            at org.apache.catalina.core.StandardService.start(StandardService.java:450)
            at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
            at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
            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:585)
            at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
            at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:406)
            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:585)
            at com.zimbra.cs.launcher.TomcatLauncher.start(TomcatLauncher.java:52)
            at com.zimbra.cs.launcher.TomcatLauncher.main(TomcatLauncher.java:74)  
    Jul 20, 2007 6:38:58 AM org.apache.catalina.core.StandardContext start
    SEVERE: Error in resourceStart()
    Jul 20, 2007 6:38:58 AM org.apache.catalina.core.StandardContext start
    SEVERE: Error getConfigured
    Jul 20, 2007 6:38:58 AM org.apache.catalina.core.StandardContext start
    SEVERE: Context [/manager] startup failed due to previous errors
    Jul 20, 2007 6:38:58 AM org.apache.catalina.core.StandardContext stop
    INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager] has not been started
    Jul 20, 2007 6:38:58 AM 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.log:
    Code:
    Jul 20 07:01:55 group postfix/cleanup[25859]: 1D6F2B8A00BC: message-id=<001301c7cac6$03145cf0$4c581e5a@btu.tqr>
    Jul 20 07:01:55 group postfix/qmgr[22108]: 1D6F2B8A00BC: from=<lluy@**********.com>, size=1405, nrcpt=2 (queue active)
    Jul 20 07:01:55 group last message repeated 4 times
    Jul 20 07:01:55 group slapd[20139]: is_entry_objectclass("", "2.5.6.1") no objectClass attribute
    Jul 20 07:01:55 group slapd[20139]: is_entry_objectclass("", "2.5.6.1") no objectClass attribute
    Jul 20 07:01:55 group amavis[22056]: (22056-01) ESMTP::10024 /opt/zimbra/amavisd/tmp/amavis-20070720T070155-22056: <lluy@mindspring.***> -> <alex*****@gmail.com>,<alexander@*****.org> SIZE=1405 Received: from group.ewebzone.*** ([127.0$
    Jul 20 07:01:55 group amavis[22056]: (22056-01) Checking: 6GXeYqxWCWl9 [70.58.170.138] <lluy@**********.com> -> <alex*****@gmail.com>,<alexander@*****.org>
    Jul 20 07:01:55 group postfix/smtpd[25846]: disconnect from 70-58-***-138.clsp.qwest.net[70.**.170.138]
    Jul 20 07:01:56 group perdition[25875]: Closing NULL session: 75.126.***.199->75.126.111.*** username=(null)
    Jul 20 07:01:57 group slapd[20139]: is_entry_objectclass("", "2.5.6.1") no objectClass attribute
    Jul 20 07:01:57 group amavis[22056]: (22056-01) Blocked SPAM, [70.58.170.138] [90.30.88.76] <****@mindspring.com> -> <alex*****@gmail.com>,<alexander@*****.org>, Message-ID: <001301c7cac6$03145cf0$4c581e5a@btu.tqr>, mail_id: 6GXeYqxWCW$
    Jul 20 07:01:57 group postfix/smtp[25867]: 1D6F2B8A00BC: to=<alex*****@gmail.com>, orig_to=<alex@*****.org>, relay=127.0.0.1[127.0.0.1], delay=3, status=sent (250 2.5.0 Ok, id=22056-01, BOUNCE)
    Jul 20 07:01:57 group postfix/smtp[25867]: 1D6F2B8A00BC: to=<alexander@*****.org>, orig_to=<alex@*****.org>, relay=127.0.0.1[127.0.0.1], delay=3, status=sent (250 2.5.0 Ok, id=22056-01, BOUNCE)
    Jul 20 07:01:57 group postfix/qmgr[22108]: 1D6F2B8A00BC: removed
    Jul 20 07:02:00 group perdition[25940]: Closing NULL session: 75.***.111.199->75.126.***.199 username=(null)
    Jul 20 07:02:01 group CRON[26000]: (pam_unix) session opened for user zimbra by (uid=0)
    Jul 20 07:02:03 group perdition[26106]: Closing NULL session: 75.126.111.***->**.126.111.199 username=(null)
    Jul 20 07:02:06 group perdition[25874]: Closing NULL session: 208.101.61.18->75.126.111.*** username=(null)
    Jul 20 07:02:06 group zmtomcatmgr[26359]: status requested
    Jul 20 07:02:06 group zmtomcatmgr[26359]: stale pid 23786 found in /opt/zimbra/log/zmtomcatmgr.pid: No such process
    Jul 20 07:02:06 group zmtomcatmgr[26359]: assuming no other instance is running
    Jul 20 07:02:06 group zmtomcatmgr[26359]: no manager process is running
    Jul 20 07:02:07 group zimbramon[26001]: 26001:info: 2007-07-20 07:02:01, STATUS: *****.ewebzone.net: antispam: Running
    Jul 20 07:02:07 group zimbramon[26001]: 26001:info: 2007-07-20 07:02:01, STATUS: group.ewebzone.***: antivirus: Running
    Jul 20 07:02:07 group zimbramon[26001]: 26001:info: 2007-07-20 07:02:01, STATUS: group.*********.net: imapproxy: Running
    Jul 20 07:02:07 group zimbramon[26001]: 26001:info: 2007-07-20 07:02:01, STATUS: group.ewebzone.***: ldap: Running
    Jul 20 07:02:07 group zimbramon[26001]: 26001:info: 2007-07-20 07:02:01, STATUS: *****.ewebzone.net: logger: Running
    Jul 20 07:02:07 group zimbramon[26001]: 26001:info: 2007-07-20 07:02:01, STATUS: group.ewebzone.***: mailbox: Stopped
    Jul 20 07:02:07 group zimbramon[26001]: 26001:info: 2007-07-20 07:02:01, STATUS: group.********.net: mta: Running
    Jul 20 07:02:07 group zimbramon[26001]: 26001:info: 2007-07-20 07:02:01, STATUS: group.ewebzone.***: snmp: Running
    Jul 20 07:02:07 group zimbramon[26001]: 26001:info: 2007-07-20 07:02:01, STATUS: *****.ewebzone.net: spell: Running
    Jul 20 07:02:07 group CRON[26000]: (pam_unix) session closed for user zimbra
    top shows:
    Code:
    top - 07:05:36 up 21 min,  1 user,  load average: 0.17, 0.19, 0.13
    Tasks:  59 total,   2 running,  57 sleeping,   0 stopped,   0 zombie
    Cpu(s):  0.0&#37; us,  0.0% sy,  0.0% ni, 100.0% id,  0.0% wa,  0.0% hi,  0.0% si
    Mem:   3774872k total,   277848k used,  3497024k free,        0k buffers
    Swap:        0k total,        0k used,        0k free,        0k cached
    I dont see any errors in zimbra.log, and dont know what to make of Tomcat. Again, this is a live box and an urgent issue. Attention is requested.



    Same problem here, no solution yet. Tried everything including reinstall.
    Last edited by mmorse; 07-07-2009 at 06:04 PM. Reason: edited per AlexanderH's request to hide email

  9. #19
    AlexanderH is offline Active Member
    Join Date
    May 2007
    Posts
    34
    Rep Power
    8

    Default

    As previously indicated, my solution was solved thanks to thread:

    IMAP Enable - Now Tomcat won't startup
    IMAP Enable - Now Tomcat won't startup

    I hope this helps you

  10. #20
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,485
    Rep Power
    56

    Default

    Quote Originally Posted by rernst View Post
    Same problem here, no solution yet. Tried everything including reinstall.
    Why have you enabled perdition? If this is a single server install it's not needed, disable it.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. After reboot mailbox and tomcat don't start
    By gon in forum Administrators
    Replies: 1
    Last Post: 11-02-2007, 11:50 AM
  2. tomcat not starting
    By bfrew in forum Installation
    Replies: 6
    Last Post: 08-20-2006, 07:40 PM
  3. Starting ZCS in SuSE SLES9 - NO UI - NO TOMCAT
    By VictorMedina in forum Administrators
    Replies: 1
    Last Post: 05-13-2006, 10:59 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
  •