Results 1 to 2 of 2

Thread: mailboxd cant connect to mysql database, zimbra dead

  1. #1
    stegbth is offline Special Member
    Join Date
    Sep 2008
    Posts
    134
    Rep Power
    6

    Default mailboxd cant connect to mysql database, zimbra dead

    hi all,

    i am upgraded zimbra 6.0.15 to zimbra 7.1.4p1 running on Ubuntu 10.04 today.
    After the upgrade the mailboxd cant connect to the database.

    in the mailboxd.log i get:
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsExce ption: Communications link failure

    The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
    Caused by: java.net.ConnectException: Connection refused
    then i checked, the database is running on port 7306.
    then i found in localconfig.xml there are some entries missing

    <key name="mysql_socket">
    <value>${zimbra_db_directory}/mysql.sock</value>
    </key>
    <key name="mysql_mycnf">
    <value>${zimbra_home}/conf/my.cnf</value>
    </key>
    <key name="mysql_data_directory">
    <value>${zimbra_db_directory}/data</value>
    </key>
    <key name="zimbra_mysql_user">
    <value>zimbra</value>
    </key>
    but zmmailboxd still cant connect to the database.
    But trying
    mysql -u root -h localhost -p is able to connect to the database.

    migrate20100913-Mysql51.pl did also run fine.

    any ideas?
    thomas
    zmcontrol -v
    1x Release 6.0.10_GA_2692.UBUNTU8_64 NETWORK edition.
    1x Release 6.0.14_GA_2928.UBUNTU8_64 NETWORK edition
    2x Release 7.1.3_GA_3346.UBUNTU10_64 NETWORK edition, Patch 7.1.3_P1
    1x Release 8.0.2.GA.5569.UBUNTU12.64 NETWORK edition

    2x Release 6.0.10_GA_2692.UBUNTU8_64 FOSS edition
    2x Release 7.2.2_GA_2852.UBUNTU10_64 FOSS edition
    1x Release 7.1.4_GA_2555.UBUNTU10_64 FOSS
    1x Release 8.0.3.GA.5664.UBUNTU12.64 FOSS edition

  2. #2
    stegbth is offline Special Member
    Join Date
    Sep 2008
    Posts
    134
    Rep Power
    6

    Default mailboxd cant connect to mysql database, zimbra dead [solved]

    Hi,

    the mailboxd can connect to MySQL again.

    problem was localhost resolved to IPv6 ::1 instead of IPv4 127.0.0.1

    thank you
    thomas
    zmcontrol -v
    1x Release 6.0.10_GA_2692.UBUNTU8_64 NETWORK edition.
    1x Release 6.0.14_GA_2928.UBUNTU8_64 NETWORK edition
    2x Release 7.1.3_GA_3346.UBUNTU10_64 NETWORK edition, Patch 7.1.3_P1
    1x Release 8.0.2.GA.5569.UBUNTU12.64 NETWORK edition

    2x Release 6.0.10_GA_2692.UBUNTU8_64 FOSS edition
    2x Release 7.2.2_GA_2852.UBUNTU10_64 FOSS edition
    1x Release 7.1.4_GA_2555.UBUNTU10_64 FOSS
    1x Release 8.0.3.GA.5664.UBUNTU12.64 FOSS edition

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Zimbra 6 on Ubuntu 8.04 x64 reverting to IPv6
    By nimble7 in forum Installation
    Replies: 1
    Last Post: 11-30-2010, 12:03 AM
  2. Replies: 21
    Last Post: 02-04-2010, 10:06 AM
  3. [SOLVED] Install Problem in Ubuntu 6.06 Server
    By xtimox in forum Installation
    Replies: 16
    Last Post: 03-27-2008, 09:36 AM
  4. huge log size
    By rmvg in forum Administrators
    Replies: 5
    Last Post: 01-02-2007, 10:39 AM
  5. Unable to start tomcat
    By chanck in forum Administrators
    Replies: 11
    Last Post: 06-11-2006, 12:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •