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

Thread: mysql.server and tomcat not running

  1. #1
    peterz is offline Junior Member
    Join Date
    May 2007
    Location
    Burbank
    Posts
    6
    Rep Power
    8

    Angry mysql.server and tomcat not running

    Zimbra newbie here. After 26 hours straight, have not been able to get admin console up.Have tried installing on openSUSE 10.2 and now, for the last 12 hours have been trying to get upon Fedora 6.

    System: X86, Single Server install, 1.5 MB of RAM, Pentium4 2.5Ghz

    Install seems to go fine until last stage: Failed to initialize documents - see logfile.

    After that:
    zmcontrol status
    Host mail.egad.com
    antispam Running
    antivirus Running
    ldap Running
    logger Stopped
    zmlogswatchctl is not running
    mailbox Stopped
    mysql.server is not running
    tomcat is not running
    mta Running
    snmp Running
    spell Running

    and of course, checking on mysql:

    mysql mysql
    ERROR 1045 (28000): Access denied for user 'zimbra'@'localhost' (using password: YES)

    I have done atleast 6 installs, (all clean). I've gone in and manually changed the mysql password and tried it running only through the install.

    DNS seems to be working, since the zimbra.log shows active email coming in.

    Checked the status of the mysql password:
    [zimbra@mail ~]$ zmlocalconfig -s -m nokey mysql_root_password
    zimbra

    I've been through all the Wiki's and made adjustments for Fedora Core 6:
    /etc/sudoers : #Defaults requiretty

    I've tried working the imapproxy problem, but I can't get to a console to finish the single server fix with zmperiditionctl stop.

    I've tried all of the following:

    https://localhost:7071/zimbraAdmin
    https://localhost:7071
    https://mail.egad.com:7071/zimbraAdmin
    https://mail.egad.com:7071

    Always the same thing: Access Denied.

    hosts:
    127.0.0.1 localhost.localdomain localhost
    66.93.64.34 mail.egad.com mail
    ::1 localhost.localdomain localhost


    Help! I've never had this much trouble trying to get a mail server up and running.

  2. #2
    peterz is offline Junior Member
    Join Date
    May 2007
    Location
    Burbank
    Posts
    6
    Rep Power
    8

    Default Catalina is not happy...

    Have also found this error in the catalina.out file:

    ...
    ...
    ay 8, 2007 10:46:45 AM org.apache.catalina.core.StandardContext resourcesStart
    SEVERE: Error starting static Resources
    java.lang.IllegalArgumentException: Document base /opt/zimbra/apache-tomcat-5.5.15/server/webapps/manager does not exist or is not a readable directory
    ....
    ....

    Unfortunately, I don't know what to do with this information.

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

    Default

    Well, if you did several clean installs and the mysql password is still out of sync, then you have the problem.

    Try resetting the password to Zimbra using this wiki:
    http://wiki.zimbra.com/index.php?tit...ySQL_Passwords

    Remember, you need to set it TO zimbra, then change it later. Otherwise, it will be more difficult.

    Once you can get it to the mysql console:
    su - zimbra
    mysqladmin

    without an access denied, then we'll look at the next issue. I'm willing to be there's more going on than meets the eye

  4. #4
    SpEnTBoY is offline Advanced Member
    Join Date
    Mar 2007
    Location
    Regina, Sask.
    Posts
    215
    Rep Power
    8

    Default

    Quote Originally Posted by peterz View Post
    Have also found this error in the catalina.out file:

    ...
    ...
    ay 8, 2007 10:46:45 AM org.apache.catalina.core.StandardContext resourcesStart
    SEVERE: Error starting static Resources
    java.lang.IllegalArgumentException: Document base /opt/zimbra/apache-tomcat-5.5.15/server/webapps/manager does not exist or is not a readable directory
    ....
    ....

    Unfortunately, I don't know what to do with this information.
    Not sure about the other errors but I do know that there was a temp fix for tomcat that was released a while ago on the forum to trap a vulnerability.

    Part was to move the webapps directory to webapps_old (or some different name). So it's quite possible you don't have that directory at all.

    I just checked my hiehrarchy:

    Code:
    # ls -ld /opt/zimbra/apache-tomcat-5.5.15/server/*apps*
    drwxr-xr-x 4 zimbra zimbra 4096 Apr 17 07:57 /opt/zimbra/apache-tomcat-5.5.15/server/webapps_old
    I'm not sure all your errors are related however.

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

    Default

    Quote Originally Posted by SpEnTBoY View Post
    Not sure about the other errors but I do know that there was a temp fix for tomcat that was released a while ago on the forum to trap a vulnerability.

    Part was to move the webapps directory to webapps_old (or some different name). So it's quite possible you don't have that directory at all.

    I just checked my hiehrarchy:

    Code:
    # ls -ld /opt/zimbra/apache-tomcat-5.5.15/server/*apps*
    drwxr-xr-x 4 zimbra zimbra 4096 Apr 17 07:57 /opt/zimbra/apache-tomcat-5.5.15/server/webapps_old
    I'm not sure all your errors are related however.
    It's a trivial error.
    The bigger problem is with mysql.
    We have to figure that out first.

  6. #6
    peterz is offline Junior Member
    Join Date
    May 2007
    Location
    Burbank
    Posts
    6
    Rep Power
    8

    Default There is more going on.

    Thanks for the fast reply! It's been lonely and frustrating at this end.

    The mysqladmin command works fine.

    But, upon looking in /opt/zimbra/apache-tomcat-5.5.15/server/webapps/
    there is nothing in the webapps folder.
    Could this have been the result of the Failed To Initialize Documents during the last part of the install?

    This is still the status:
    zmcontrol status
    Host mail.egad.com
    antispam Running
    antivirus Running
    ldap Running
    logger Stopped
    zmlogswatchctl is not running
    mailbox Stopped
    mysql.server is not running
    tomcat is not running
    mta Running
    snmp Running
    spell Running

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

    Default

    But, upon looking in /opt/zimbra/apache-tomcat-5.5.15/server/webapps/
    there is nothing in the webapps folder.
    Could this have been the result of the Failed To Initialize Documents during the last part of the install?
    Lets fix mysql first

    run a
    su - zimbra
    mysql.server start

    and post what it says.

  8. #8
    peterz is offline Junior Member
    Join Date
    May 2007
    Location
    Burbank
    Posts
    6
    Rep Power
    8

    Default mysql stopped and started

    Here's everything I had to do:

    [zimbra@mail ~]$ mysql.server start
    [zimbra@mail ~]$ A mysqld process already exists

    [zimbra@mail ~]$ mysql.server stop
    Killing mysqld with pid 20185 .STOPPING server from pid file /opt/zimbra/db/mysql.pid
    070508 11:57:32 mysqld ended

    [zimbra@mail ~]$ mysql.server start
    [zimbra@mail ~]$ Starting mysqld daemon with databases from /opt/zimbra/db/data

    [zimbra@mail ~]$ zmcontrol status
    Host mail.egad.com
    antispam Running
    antivirus Running
    ldap Running
    logger Stopped
    zmlogswatchctl is not running
    mailbox Stopped
    mysql.server is not running
    tomcat is not running
    mta Running
    snmp Running
    spell Running
    [zimbra@mail ~]$

    Still no mysql.server

  9. #9
    peterz is offline Junior Member
    Join Date
    May 2007
    Location
    Burbank
    Posts
    6
    Rep Power
    8

    Default Still no change in mysql

    I went into the zmmtaconfig.log and noticed that imapproxy is not enabled. Seeing that this was identified in other posts as a problem, it apparently isn't here:

    Tue May 8 13:22:11 2007 Service imapproxy is not enabled. Skipping perdition
    Tue May 8 13:22:11 2007 Section antivirus did not change skipping
    Tue May 8 13:22:11 2007 Section antispam did not change skipping
    Tue May 8 13:22:11 2007 Section mta did not change skipping
    Tue May 8 13:22:11 2007 Section sasl did not change skipping
    Tue May 8 13:22:11 2007 Section webxml did not change skipping
    Tue May 8 13:22:11 2007 Section mailbox did not change skipping
    Tue May 8 13:22:11 2007 Section perdition did not change skipping
    Tue May 8 13:22:11 2007 Sleeping for 60.

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

    Default

    Peterz,
    Can you contact me via e-mail?
    jholder@zimbra.com

    Thanks
    john

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. Tomcat, Java VM Problems - RAM related? Help
    By Mo_Hong in forum Administrators
    Replies: 3
    Last Post: 03-28-2007, 02:00 PM
  2. tomcat not running / postfix/postqueue errors
    By seravitae in forum Installation
    Replies: 7
    Last Post: 03-10-2007, 08:18 PM
  3. Why is Tomcat shuting down ever nights?
    By trapanator in forum Administrators
    Replies: 2
    Last Post: 11-30-2006, 11:57 PM
  4. Getting problems in FC4 while instalation
    By kitty_bhoo in forum Installation
    Replies: 13
    Last Post: 09-12-2006, 10:34 PM
  5. Tomcat hanging
    By Morg0 in forum Administrators
    Replies: 42
    Last Post: 04-19-2006, 08:06 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
  •