Results 1 to 4 of 4

Thread: tomcat - macosx install - please help

  1. #1
    gmsmith is offline Moderator
    Join Date
    Apr 2006
    Location
    Williamsburg, VA
    Posts
    451
    Rep Power
    9

    Default tomcat - macosx install - please help

    I am hoping someone can help. I have spent some time this morning searching the forums and have found that a lot of newbies seem to have an issue with Tomcat during the initial install, myself included. The posts said to search for tomcat startup problems...well I have been looking and nothing appears to resolve my issue.

    I installed Zimbra (latest) on a brand new (full updated) Mac OS X 10.4.6 (not server edition) installation. I double checked the Java symlink, configured /etc/hosts and was off and running with the install.

    All seems to go fine.

    Starting ldap...Done.
    Starting antispam...Done.
    Starting antivirus...Done.
    Starting logger...Done.
    Starting mailbox...Done.
    Starting mta...Done.
    Starting snmp...Done.
    Starting spell...Done.
    But I can not hit any page associated with Zimbra. I did a little poking around and I get:

    zimbra:~/apache-tomcat-5.5.15/logs zimbra$ ps ax | grep tomcat
    6769 p2 R+ 0:00.00 grep tomcat
    So it appears tomcat isn't running...so I go ahead and issue tomcat start...it appears to work and then dies. There is no log file in /opt/zimbra/redolog/ so I touched the file and gave it the right permissions, yet nothing is being written there.

    I did find (from searching the forums) a catalina.out log file..the output is:

    zmtomcatstart: info: stale pid 5777 in pid file: No such process
    Apr 19, 2006 9:07:54 AM org.apache.coyote.http11.Http11BaseProtocol init
    INFO: Initializing Coyote HTTP/1.1 on http-80
    Apr 19, 2006 9:07:58 AM org.apache.coyote.http11.Http11BaseProtocol init
    INFO: Initializing Coyote HTTP/1.1 on http-7071
    Apr 19, 2006 9:07:58 AM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 7954 ms
    Apr 19, 2006 9:07:58 AM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Apr 19, 2006 9:07:58 AM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.15
    Apr 19, 2006 9:07:58 AM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    Apr 19, 2006 9:08:03 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 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=502 gid=100
    Zimbra server process, after change, is running with uid=502 euid=502 gid=100 egid=100
    Can anyone give me any pointers on what I should be looking for or maybe even what to do to get this running? I would really appreciate any help. There was a recent OS X Java update (like yesterday/day before) could that be causing any issue?

    Thanks
    Greg

  2. #2
    bobby is offline Zimbra Employee
    Join Date
    Nov 2005
    Posts
    518
    Rep Power
    10

    Default

    su - zimbra
    zmcontrol status
    sh -x ~/zmmailboxctl status

    what's in /opt/zimbra/log/zimbra.log?

  3. #3
    gmsmith is offline Moderator
    Join Date
    Apr 2006
    Location
    Williamsburg, VA
    Posts
    451
    Rep Power
    9

    Default

    Thanks for the prompt reply...I meant to include those in the original post...sorry

    antispam Running
    antivirus Running
    ldap Running
    logger Running
    mailbox Stopped
    tomcat is not running
    mta Running
    snmp Running
    spell Running
    zimbra:~ zimbra$ sh -x bin/zmmailboxctl status
    + BASE=/opt/zimbra
    + SCRIPTS=zmmtaconfigctl tomcat mysql.server
    + STATUS=0
    + '[' zmmtaconfigctl = mysql.server ']'
    + /opt/zimbra/bin/zmmtaconfigctl status
    + R=0
    + '[' 0 -ne 0 ']'
    + '[' tomcat = mysql.server ']'
    + /opt/zimbra/bin/tomcat status
    + R=1
    + '[' 1 -ne 0 ']'
    + echo 'tomcat is not running'
    tomcat is not running
    + STATUS=1
    + '[' mysql.server = mysql.server ']'
    + /opt/zimbra/bin/mysqladmin status
    + R=0
    + '[' 0 -ne 0 ']'
    + exit 1

    Zimbra log is attached.
    Attached Files Attached Files

  4. #4
    gmsmith is offline Moderator
    Join Date
    Apr 2006
    Location
    Williamsburg, VA
    Posts
    451
    Rep Power
    9

    Default

    Well i figured it out (with the help of another set of eyes). Some reason tomcat wasn't making a db connection. Instead of futzing with it much, I delete a complete de-install, re-install and it works beautifully.

    Thanks for your patience and the extra set of eyes!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. fresh install down may be due to tomcat
    By gon in forum Installation
    Replies: 10
    Last Post: 07-25-2007, 08:09 AM
  2. INSTALLATION PROBLEM ON Centos 4.3 x_86-64Bit.
    By jawad@cogilent.com in forum Installation
    Replies: 11
    Last Post: 07-09-2007, 08:09 AM
  3. Replies: 16
    Last Post: 11-29-2006, 10:36 AM
  4. 3.1 MacOSX Intel install over 3.0?
    By Alexander_Lamb in forum Installation
    Replies: 11
    Last Post: 05-14-2006, 04:26 PM
  5. Replies: 5
    Last Post: 10-14-2005, 02:29 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
  •