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 05-08-2007, 12:19 PM
Junior Member
 
Posts: 6
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.
Reply With Quote
  #2 (permalink)  
Old 05-08-2007, 12:38 PM
Junior Member
 
Posts: 6
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.
Reply With Quote
  #3 (permalink)  
Old 05-08-2007, 12:40 PM
Former Zimbran
 
Posts: 5,606
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
Reply With Quote
  #4 (permalink)  
Old 05-08-2007, 12:45 PM
Advanced Member
 
Posts: 215
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.
Reply With Quote
  #5 (permalink)  
Old 05-08-2007, 12:48 PM
Former Zimbran
 
Posts: 5,606
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.
Reply With Quote
  #6 (permalink)  
Old 05-08-2007, 12:51 PM
Junior Member
 
Posts: 6
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
Reply With Quote
  #7 (permalink)  
Old 05-08-2007, 12:54 PM
Former Zimbran
 
Posts: 5,606
Default

Quote:
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.
Reply With Quote
  #8 (permalink)  
Old 05-08-2007, 01:01 PM
Junior Member
 
Posts: 6
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
Reply With Quote
  #9 (permalink)  
Old 05-08-2007, 02:25 PM
Junior Member
 
Posts: 6
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.
Reply With Quote
  #10 (permalink)  
Old 05-08-2007, 02:27 PM
Former Zimbran
 
Posts: 5,606
Default

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

Thanks
john
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.