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

Thread: Tomcat failed to start after install

  1. #1
    prodriguez is offline Member
    Join Date
    Jun 2007
    Posts
    10
    Rep Power
    7

    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 Attached Files
    Last edited by prodriguez; 06-20-2007 at 07:06 PM.

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

    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

  3. #3
    prodriguez is offline Member
    Join Date
    Jun 2007
    Posts
    10
    Rep Power
    7

    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

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

    Default

    What does your hosts file look like?

  5. #5
    prodriguez is offline Member
    Join Date
    Jun 2007
    Posts
    10
    Rep Power
    7

    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

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

    Default

    Please ensure you read the quick installation guide.
    http://www.zimbra.com/docs/os/latest...stall/#1057019

  7. #7
    prodriguez is offline Member
    Join Date
    Jun 2007
    Posts
    10
    Rep Power
    7

    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?

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

    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

  9. #9
    prodriguez is offline Member
    Join Date
    Jun 2007
    Posts
    10
    Rep Power
    7

    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.

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

    Default

    Your hosts file should look like this:
    # 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

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. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  2. After reboot mailbox and tomcat don't start
    By gon in forum Administrators
    Replies: 1
    Last Post: 11-02-2007, 11:50 AM
  3. Lotus migration
    By babou in forum Migration
    Replies: 15
    Last Post: 03-05-2007, 10:33 PM
  4. tomcat - macosx install - please help
    By gmsmith in forum Installation
    Replies: 3
    Last Post: 04-19-2006, 12:30 PM
  5. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 11:11 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
  •