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 Search this Thread Display Modes
  #1 (permalink)  
Old 06-16-2007, 05:12 PM
Member
 
Posts: 10
Default Tomcat failed to start after install

Just done a fresh install on a FC6 machine. I had some problems with my sudoers file but got it figured out and now its all installed however there are some problems getting tomcat to start.
by making this change in the /etc/sudoers file.
#Defaults requiretty

Host 133-1.126-70.tampabay.res.rr.com
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Stopped
tomcat is not running
mta Running
snmp Running
spell Running


I've done the following:
tail -n 200 /opt/zimbra/tomcat/logs/catalina.out > catalina.txt
tail -n 200 /opt/zimbra/logs/mailbox.log > mailbox.txt
tail -n 200 /var/log/zimbra.log > zimbra.txt
and I have it attached to this posting.
Attached Files
File Type: txt catalina.txt (14.4 KB, 139 views)
File Type: txt mailbox.txt (13.3 KB, 55 views)
File Type: txt zimbra.txt (11.1 KB, 65 views)

Last edited by prodriguez; 06-20-2007 at 07:06 PM..
Reply With Quote
  #2 (permalink)  
Old 06-16-2007, 05:18 PM
Former Zimbran
 
Posts: 5,606
Default

looks like it can't connect to the mysql db.

try a mysql.server stop
and mysql.server start

and post the output.

john
Reply With Quote
  #3 (permalink)  
Old 06-16-2007, 05:27 PM
Member
 
Posts: 10
Default

Thanks for your prompt reply. Here's what I got.

[zimbra@133-1 conf]$ zmcontrol start
Host 133-1.126-70.tampabay.res.rr.com
Starting ldap...Done.
Starting logger...Done.
Starting mailbox...Done.
Starting antispam...Done.
Starting antivirus...Done.
Starting snmp...Done.
Starting spell...Done.
Starting mta...Done.
[zimbra@133-1 conf]$ mysql.server stop
Killing mysqld with pid 14452 .[zimbra@133-1 conf]$
[zimbra@133-1 conf]$ mysql.server start
[zimbra@133-1 conf]$ Starting mysqld daemon with databases from /opt/zimbra/db/data


In addition to this I thought this might be helpful
[root@133-1 conf]# netstat -tpnl
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 70.126.1.133:389 0.0.0.0:* LISTEN 13806/slapd
tcp 0 0 0.0.0.0:37 0.0.0.0:* LISTEN 3092/xinetd
tcp 0 0 127.0.0.1:10024 0.0.0.0:* LISTEN 15307/amavisd (mast
tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN 15521/master
tcp 0 0 127.0.0.1:7306 0.0.0.0:* LISTEN 15777/mysqld
tcp 0 0 127.0.0.1:7307 0.0.0.0:* LISTEN 14205/mysqld
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 3229/smbd
tcp 0 0 0.0.0.0:13 0.0.0.0:* LISTEN 3092/xinetd
tcp 0 0 0.0.0.0:3310 0.0.0.0:* LISTEN 15246/clamd
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2812/portmap
tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN 15521/master
tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN 3388/dnsmasq
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 15521/master
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 3229/smbd
tcp 0 0 0.0.0.0:895 0.0.0.0:* LISTEN 2833/rpc.statd
tcp 0 0 :::7780 :::* LISTEN 15337/httpd
tcp 0 0 ::ffff:127.0.0.1:8005 :::* LISTEN 30419/java
tcp 0 0 :::53 :::* LISTEN 3388/dnsmasq
tcp 0 0 :::22 :::* LISTEN 3080/sshd
tcp 0 0 ::1:631 :::* LISTEN 3066/cupsd
Reply With Quote
  #4 (permalink)  
Old 06-16-2007, 05:31 PM
Former Zimbran
 
Posts: 5,606
Default

What does your hosts file look like?
Reply With Quote
  #5 (permalink)  
Old 06-16-2007, 05:32 PM
Member
 
Posts: 10
Default

I haven't touched it.

[zimbra@133-1 conf]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
::1 localhost.localdomain localhost
Reply With Quote
  #6 (permalink)  
Old 06-16-2007, 05:35 PM
Former Zimbran
 
Posts: 5,606
Default

Please ensure you read the quick installation guide.
http://www.zimbra.com/docs/os/latest...stall/#1057019
Reply With Quote
  #7 (permalink)  
Old 06-16-2007, 05:40 PM
Member
 
Posts: 10
Default

I have DHCP, I just wanted to test an install here at home before I deploy at work. What should I use if I wanted to test out the shared calender features and everything?
Should i just put
192.168.0.1 FQDN localhost

in my hosts file?
Reply With Quote
  #8 (permalink)  
Old 06-16-2007, 05:45 PM
Former Zimbran
 
Posts: 5,606
Default

I assume your DHCP lease time is longer than a couple of hours, so entering your currently DHCP IP Address (temporarily) shouldn't be a problem.

The file should reflect the following line:
xxx.xxx.xxx.xxx hostname.domain.com hostname

For example:
192.168.0.2 john-holders-computer.holder.com john-holders-computer
Reply With Quote
  #9 (permalink)  
Old 06-16-2007, 05:46 PM
Member
 
Posts: 10
Default

[zimbra@133-1 conf]$ zmcontrol status
Host 133-1.126-70.tampabay.res.rr.com
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Stopped
tomcat is not running
mta Running
snmp Running
spell Running
[zimbra@133-1 conf]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
::1 localhost.localdomain localhost
#70.126.1.133 FQDN 133-1.126-70.tampabay.res.rr.com
70.126.1.133 133-1.126-70.tampabay.res.rr.com 133-1


It is still not running...

Last edited by prodriguez; 06-16-2007 at 05:51 PM..
Reply With Quote
  #10 (permalink)  
Old 06-16-2007, 05:53 PM
Former Zimbran
 
Posts: 5,606
Default

Your hosts file should look like this:
Quote:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
70.126.1.133 133-1.126-70.tampabay.res.rr.com 133-1.126-70
Also, you need to repopulate the mysql db, because it likely didn't happen during installation:
Code:
su - zimbra
zmcontrol stop
zmmyinit
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.