Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-19-2006, 07:17 AM
Moderator
 
Posts: 451
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.

Quote:
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:

Quote:
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:

Quote:
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
Reply With Quote
  #2 (permalink)  
Old 04-19-2006, 08:57 AM
Zimbra Employee
 
Posts: 512
Default

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

what's in /opt/zimbra/log/zimbra.log?
__________________
Search the Forums - Bugzilla - Wiki - Downloads
Reply With Quote
  #3 (permalink)  
Old 04-19-2006, 09:21 AM
Moderator
 
Posts: 451
Default

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

Quote:
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
File Type: zip zimbra.txt.zip (11.2 KB, 166 views)
Reply With Quote
  #4 (permalink)  
Old 04-19-2006, 01:30 PM
Moderator
 
Posts: 451
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!
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0