Results 1 to 10 of 12

Thread: mysql.sock ....5.0.16 issue?

Threaded View

  1. #1
    Join Date
    Apr 2009
    Posts
    90
    Rep Power
    6

    Default mysql.sock ....5.0.16 issue?

    Long story short, I was working fine with a 5.0.14 install and then I had some LVM issues so I had to start over. Last time, after I learned the install process and server setup steps, the install went flawlessly. Now when rebuilding and using 5.0.16 I'm getting this:

    Pasted from install log:

    Code:
    Mon May 11 15:55:06 2009 Initializing store sql database...
    Mon May 11 15:55:06 2009 *** Running as zimbra user: /opt/zimbra/libexec/zmmyinit
    * Creating required directories
    * Generating mysql config /opt/zimbra/conf/my.cnf
    * Creating database in /opt/zimbra/db/data
    * Starting mysql server
    * Failed to connect to mysql...retrying
    * Failed to connect to mysql...retrying
    * Failed to connect to mysql...retrying
    * Failed to connect to mysql...retrying
    * Failed to connect to mysql...retrying
    * Failed to connect to mysql...retrying
    * Failed to connect to mysql...retrying
    * Failed to connect to mysql...retrying
    * Failed to connect to mysql...giving up!
    Mon May 11 15:57:19 2009 done.
    Mon May 11 15:57:19 2009 Setting zimbraSmtpHostname for mail.mydomain.com...
    Mon May 11 15:57:19 2009 *** Running as zimbra user: /opt/zimbra/bin/zmprov -l ms mail.mydomain.com zimbraSmtpHostname mail.mydomain.com
    Mon May 11 15:57:22 2009 done.
    Mon May 11 15:57:22 2009 checking isEnabled zimbra-logger
    Mon May 11 15:57:22 2009 zimbra-logger is enabled
    Mon May 11 15:57:22 2009 Initializing logger sql database...
    Mon May 11 15:57:22 2009 *** Running as zimbra user: /opt/zimbra/libexec/zmloggerinit
    * Creating required directories
    * Creating database in /opt/zimbra/logger/db/data
    * Starting logger_mysql server
    * Loading schema /opt/zimbra/db/loggerdb.sql
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/logger/db/mysql.sock' (2)
    ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/zimbra/logger/db/mysql.sock' (2)
    * Setting random password for mysql root user in zimbra local config
    * Setting random password for mysql zimbra user in zimbra local config
    * Changing mysql root user password
    ^G/opt/zimbra/logger/mysql/bin/mysqladmin: connect to server at 'localhost' failed
    error: 'Can't connect to local MySQL server through socket '/opt/zimbra/logger/db/mysql.sock' (2)'
    Check that mysqld is running and that the socket: '/opt/zimbra/logger/db/mysql.sock' exists!
    I also get this, but I think its related to the same issue:

    Code:
    Mon May 11 16:01:15 2009 Initializing Documents...
    Mon May 11 16:01:15 2009 *** Running as zimbra user: /opt/zimbra/bin/zmprov mc default zimbraFeatureNotebookEnabled TRUE
    ERROR: zclient.IO_ERROR (invoke localhost, server: localhost) (cause: java.net.UnknownHostException localhost)
    Mon May 11 16:01:17 2009 *** Running as zimbra user: /opt/zimbra/bin/zmprov mcf zimbraNotebookAccount wiki@mydomain.com
    ERROR: zclient.IO_ERROR (invoke localhost, server: localhost) (cause: java.net.UnknownHostException localhost)
    Mon May 11 16:01:19 2009 *** Running as zimbra user: /opt/zimbra/bin/zmprov in wiki@mydomain.com
    ERROR: zclient.IO_ERROR (invoke localhost, server: localhost) (cause: java.net.UnknownHostException localhost)
    Mon May 11 16:01:21 2009 *** Running as zimbra user: /opt/zimbra/bin/zmprov mc default zimbraFeatureNotebookEnabled FALSE
    ERROR: zclient.IO_ERROR (invoke localhost, server: localhost) (cause: java.net.UnknownHostException localhost)
    Mon May 11 16:01:22 2009 failed to initialize documents...see logfile for details.
    Mon May 11 16:01:22 2009 Restarting mailboxd...

    Posting more information since I see devs/mods asking for this info on similar posts:

    Code:
    [root@mail tmp]# host `hostname`
    mail.mydomain.com has address 192.168.0.43
    mail.mydomain.com mail is handled by 10 192.168.0.43.mydomain.com.
    Code:
    [root@mail tmp]# dig mydomain.com mx
    
    ; <<>> DiG 9.3.4-P1 <<>> mydomain.com mx
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40901
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;mydomain.com.                 IN      MX
    
    ;; AUTHORITY SECTION:
    mydomain.com.          38400   IN      SOA     mail.mydomain.com. admin.mydomain.com. 1242079966 10800 3600 604800 38400
    
    ;; Query time: 1 msec
    ;; SERVER: 192.168.0.43#53(192.168.0.43)
    ;; WHEN: Mon May 11 16:31:38 2009
    ;; MSG SIZE  rcvd: 78
    Code:
    [root@mail tmp]# dig mydomain.com any
    
    ; <<>> DiG 9.3.4-P1 <<>> mydomain.com any
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64334
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
    
    ;; QUESTION SECTION:
    ;mydomain.com.                 IN      ANY
    
    ;; ANSWER SECTION:
    mydomain.com.          38400   IN      SOA     mail.mydomain.com. admin.mydomain.com. 1242079966 10800 3600 604800 38400
    mydomain.com.          38400   IN      NS      mail.mydomain.com.
    mydomain.com.          38400   IN      A       192.168.0.43
    
    ;; ADDITIONAL SECTION:
    mail.mydomain.com.     38400   IN      A       192.168.0.43
    
    ;; Query time: 1 msec
    ;; SERVER: 192.168.0.43#53(192.168.0.43)
    ;; WHEN: Mon May 11 16:32:37 2009
    ;; MSG SIZE  rcvd: 124

    Any ideas? Never had this issue last time. Any info would be great, thanks!

    I also get the initilizing docs
    Last edited by physikal; 05-12-2009 at 09:15 AM.

Similar Threads

  1. ZCS 5.0.16 Released
    By mmorse in forum Announcements
    Replies: 0
    Last Post: 04-30-2009, 02:31 PM
  2. Zimbra desktop and AVG Free 8.0 Issue
    By mannix77 in forum General Questions
    Replies: 6
    Last Post: 09-25-2008, 01:34 PM
  3. dns issue with suse 10.2 and issue with bind
    By zjustin in forum Installation
    Replies: 11
    Last Post: 05-06-2007, 12:18 PM
  4. Intermittent issue (issue# 5852) ?
    By nick20 in forum Installation
    Replies: 1
    Last Post: 02-08-2006, 02:47 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
  •