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

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 01-05-2009, 07:43 AM
Junior Member
 
Posts: 6
Default [SOLVED] mysql.server is not running

As the title suggests, my mysql.server is not running when start the Zimbra server. This is a production 5.0.10 server which has been running flawlessly for several months now. It is running on Ubuntu 6.06 LTS x64 with 4gb of memory.

I installed a new certificate and after running zmcontrol stop and zmcontrol start the status looked like this:

Code:
zimbra@www:~/logger/db/data$ zmcontrol status
Host www.xxx.com
        antispam                Running
        antivirus               Running
        imapproxy               Running
        ldap                    Running
        logger                  Stopped
                logmysql.server is not running
                zmlogswatchctl is not running
        mailbox                 Stopped
                mysql.server is not running
        mta                     Running
        snmp                    Running
        spell                   Running
        stats                   Stopped
Attempting to manually start the server appears to work, but then connecting to it results in

Code:
zimbra@www:~/logger/db/data$ mysql mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/db/mysql.sock' (2)
zimbra@www:~/logger/db/data$
I have spent some hours trying everything I could find in the wikis and on the forums and have had no luck. I even reinstalled the server and ran the zmfixperms script.

The error in /opt/zimbra/log/logger_mysql_error.log is
Code:
090105 09:42:17  mysqld started
090105  9:42:17 [ERROR] Can't start server: cannot resolve hostname!: Connection timed out
090105 09:42:17  mysqld ended
My /etc/hosts files looks like this
Code:
administrator@www:/opt/zimbra/log$ cat /etc/hosts
127.0.0.1 localhost.localdomain locahost
192.168.8.15 www.xxx.com www
MX and A records resolve properly, I can post logs of these as well if needed.


If any more info is needed I will be glad to provide anything to help troubleshoot this.

EDIT: Restarting the server for a fourth time has resulted in things sorting out and everything is up and running again. I have marked this solved but not sure why it is now solved. I made no system changes between this restart and the two previous failed restarts.

Last edited by fogogg; 01-05-2009 at 08:17 AM..
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.