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

Thread: Tomcat !! Newbee

  1. #1
    thelight is offline Junior Member
    Join Date
    Apr 2006
    Posts
    5
    Rep Power
    9

    Default Tomcat !! Newbee

    Hi all !!

    I have got some problems with tomcat after rebooting my server!!

    and i don't really know what to do (see log). Other services running well.

    zmtomcatstart: info: stale pid 32101 in pid file: No such process
    16.04.2006 23:24:31 org.apache.coyote.http11.Http11BaseProtocol init
    INFO: Initializing Coyote HTTP/1.1 on http-80
    16.04.2006 23:24:32 org.apache.coyote.http11.Http11BaseProtocol init
    INFO: Initializing Coyote HTTP/1.1 on http-7071
    16.04.2006 23:24:32 org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1930 ms
    16.04.2006 23:24:32 org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    16.04.2006 23:24:32 org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.15
    16.04.2006 23:24:33 org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    16.04.2006 23:24:34 org.apache.catalina.startup.HostConfig deployDescriptor
    WARNUNG: 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 reserving server socket port=110 bindaddr=null ssl=false
    Zimbra server reserving server socket port=995 bindaddr=null ssl=true
    Fatal error: terminating: PrivilegedServlet init failedjava.net.BindException: Address already in use
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.PlainSocketImpl.bind(PlainSocketImpl.java :359)
    at java.net.ServerSocket.bind(ServerSocket.java:319)
    at com.zimbra.cs.util.NetUtil.newBoundServerSocket(Ne tUtil.java:78)
    at com.zimbra.cs.util.NetUtil.reserveServerSocket(Net Util.java:101)
    at com.zimbra.cs.servlet.PrivilegedServlet.init(Privi legedServlet.java:87)
    at javax.servlet.GenericServlet.init(GenericServlet.j ava:211)
    at org.apache.catalina.core.StandardWrapper.loadServl et(StandardWrapper.java:1105)
    at org.apache.catalina.core.StandardWrapper.load(Stan dardWrapper.java:932)
    at org.apache.catalina.core.StandardContext.loadOnSta rtup(StandardContext.java:3915)
    at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4176)
    at org.apache.catalina.core.ContainerBase.addChildInt ernal(ContainerBase.java:759)
    at org.apache.catalina.core.ContainerBase.addChild(Co ntainerBase.java:739)
    at org.apache.catalina.core.StandardHost.addChild(Sta ndardHost.java:524)
    at org.apache.catalina.startup.HostConfig.deployDirec tory(HostConfig.java:910)
    at org.apache.catalina.startup.HostConfig.deployDirec tories(HostConfig.java:873)
    at org.apache.catalina.startup.HostConfig.deployApps( HostConfig.java:474)
    at org.apache.catalina.startup.HostConfig.start(HostC onfig.java:1118)
    at org.apache.catalina.startup.HostConfig.lifecycleEv ent(HostConfig.java:310)
    at org.apache.catalina.util.LifecycleSupport.fireLife cycleEvent(LifecycleSupport.java:119)
    at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1020)
    at org.apache.catalina.core.StandardHost.start(Standa rdHost.java:718)
    at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1012)
    at org.apache.catalina.core.StandardEngine.start(Stan dardEngine.java:442)
    at org.apache.catalina.core.StandardService.start(Sta ndardService.java:450)
    at org.apache.catalina.core.StandardServer.start(Stan dardServer.java:700)
    at org.apache.catalina.startup.Catalina.start(Catalin a.java:551)
    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:585)
    at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:275)
    at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:413)

  2. #2
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    Hi,
    Welcome!

    Could you shed a little background on your situation?
    What distro of linux are you running, sys specs, zimbra build.

    Also, it looks like this only part of the log.

    How did you get to where you are?

    Thanks,
    jh

  3. #3
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    Default

    The log should look like:

    Code:
    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
    Looks like something is running on 110, 995, 143, or 993

    Are you running an IMAP or POP server?
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  4. #4
    thelight is offline Junior Member
    Join Date
    Apr 2006
    Posts
    5
    Rep Power
    9

    Default

    System is a fresh Debian Sarge and the last zimbra version 3.1.0_GA_332.
    Preconfigured postfix, proc, clamav, spamassasin. So after installation everything is working fine ,but after rebooting the maschine tomcat will not start (see the log)!!

    Apr 17 12:08:04 Cod2boX zimbramon[28688]: 28688:info: 2006-04-17 12:08:02, STATUS: Cod2boX.thelight.servegame.org: antispam: Running
    Apr 17 12:08:04 Cod2boX zimbramon[28688]: 28688:info: 2006-04-17 12:08:02, STATUS: Cod2boX.thelight.servegame.org: antivirus: Running
    Apr 17 12:08:04 Cod2boX zimbramon[28688]: 28688:info: 2006-04-17 12:08:02, STATUS: Cod2boX.thelight.servegame.org: ldap: Running
    Apr 17 12:08:04 Cod2boX zimbramon[28688]: 28688:info: 2006-04-17 12:08:02, STATUS: Cod2boX.thelight.servegame.org: logger: Running
    Apr 17 12:08:04 Cod2boX zimbramon[28688]: 28688:info: 2006-04-17 12:08:02, STATUS: Cod2boX.thelight.servegame.org: mailbox: Stopped
    Apr 17 12:08:04 Cod2boX zimbramon[28688]: 28688:info: 2006-04-17 12:08:02, STATUS: Cod2boX.thelight.servegame.org: mta: Running
    Apr 17 12:08:04 Cod2boX zimbramon[28688]: 28688:info: 2006-04-17 12:08:02, STATUS: Cod2boX.thelight.servegame.org: snmp: Running
    Apr 17 12:08:04 Cod2boX zimbramon[28688]: 28688:info: 2006-04-17 12:08:02, STATUS: Cod2boX.thelight.servegame.org: spell: Running

    zimbra@Cod2boX:~/bin$ zmcontrol status
    Host Cod2boX.thelight.servegame.org
    antispam Running
    antivirus Running
    ldap Running
    logger Running
    mailbox Stopped
    tomcat is not running
    mta Running
    snmp Running
    spell Running
    Last edited by thelight; 04-17-2006 at 03:16 AM.

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

    Default

    What does
    Quote Originally Posted by thelight
    Preconfigured postfix, proc, clamav, spamassasin.
    mean? Have you removed or disabled those services on your system? After a reboot have you looked to see if there are any other services running? What do the zimbra logs say after the reboot?
    Last edited by phoenix; 04-17-2006 at 04:38 AM.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    thelight is offline Junior Member
    Join Date
    Apr 2006
    Posts
    5
    Rep Power
    9

    Default

    Hi

    no, they are still running. This is the log after reboot.


    17.04.2006 13:12:01 org.apache.catalina.startup.HostConfig deployDescriptor
    WARNUNG: A docBase /opt/zimbra/apache-tomcat-5.5.15/webapps/zimbra inside the ho
    st appBase has been specified, and will be ignored
    log4j:WARN No appenders could be found for logger (org.apache.catalina.session.M
    anagerBase).
    log4j:WARN Please initialize the log4j system properly.
    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 process is running as root, changing to user=zimbra uid=1005 gid=1
    003
    Zimbra server process, after change, is running with uid=1005 euid=1005 gid=1003
    egid=1003

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

    Default

    So what you're saying is that the versions of postfix, proc, clamav, spamassasin that are installed with your version of linux are still running after a reboot? If that's the case you need to disable them from running at boot time, or have I misunderstood what you've said?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    thelight is offline Junior Member
    Join Date
    Apr 2006
    Posts
    5
    Rep Power
    9

    Default

    yes right.

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

    Default

    Quote Originally Posted by thelight
    yes right.

    What does that mean, they're still running or that I've misunderstood.

    Well, that means you've got to stop those services from starting when you reboot. When you've done that Zimbra should be OK.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  10. #10
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    Hi TheLight,
    Phoenix is totally right.
    Zimbra comes with its own postfix, proc, clamav, and spamassasin. If you already have one of them installed and running, your going to have a conflict.

    You should disable those services, then try again.

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. Running tomcat after installation(solved)
    By mildred in forum Installation
    Replies: 0
    Last Post: 04-23-2007, 08:26 AM
  2. tomcat not running / postfix/postqueue errors
    By seravitae in forum Installation
    Replies: 7
    Last Post: 03-10-2007, 08:18 PM
  3. tomcat - macosx install - please help
    By gmsmith in forum Installation
    Replies: 3
    Last Post: 04-19-2006, 12:30 PM
  4. Replies: 2
    Last Post: 03-10-2006, 03:52 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
  •