Results 1 to 5 of 5

Thread: [SOLVED] Upgrade to 6.0.4 hangs: Starting mysql...

  1. #1
    faizel is offline New Member
    Join Date
    Aug 2009
    Posts
    4
    Rep Power
    6

    Default [SOLVED] Upgrade to 6.0.4 hangs: Starting mysql...

    I try to upgrade an 6.0.2 installation to 6.04, but it fails with 'Starting mysql...'
    The zmsetup.log says:

    Tue Jan 5 21:06:18 2010 Verifying /opt/zimbra/conf/my.cnf
    Tue Jan 5 21:06:19 2010 Starting mysql...
    Tue Jan 5 21:06:19 2010 *** Running as zimbra user: /opt/zimbra/bin/mysql.server start
    Starting mysqld...done.
    Tue Jan 5 21:06:31 2010 *** Running as zimbra user: /opt/zimbra/bin/mysql.server start
    mysqld_safe already running with pid 8832
    Tue Jan 5 21:06:42 2010 *** Running as zimbra user: /opt/zimbra/bin/mysql.server start
    mysqld_safe already running with pid 8832
    Tue Jan 5 21:06:54 2010 *** Running as zimbra user: /opt/zimbra/bin/mysql.server start
    mysqld_safe already running with pid 8832
    Tue Jan 5 21:07:05 2010 *** Running as zimbra user: /opt/zimbra/bin/mysql.server start
    mysqld_safe already running with pid 8832
    Tue Jan 5 21:07:17 2010 *** Running as zimbra user: /opt/zimbra/bin/mysql.server start
    mysqld_safe already running with pid 8832
    Tue Jan 5 21:07:29 2010 *** Running as zimbra user: /opt/zimbra/bin/mysql.server start
    mysqld_safe already running with pid 8832
    Tue Jan 5 21:07:41 2010 *** Running as zimbra user: /opt/zimbra/bin/mysql.server start
    mysqld_safe already running with pid 8832
    Tue Jan 5 21:07:52 2010 *** Running as zimbra user: /opt/zimbra/bin/mysql.server start
    mysqld_safe already running with pid 8832
    Tue Jan 5 21:08:04 2010 *** Running as zimbra user: /opt/zimbra/bin/mysql.server start
    mysqld_safe already running with pid 8832
    Tue Jan 5 21:08:16 2010 *** Running as zimbra user: /opt/zimbra/bin/mysql.server start
    mysqld_safe already running with pid 8832
    Tue Jan 5 21:08:28 2010 *** Running as zimbra user: /opt/zimbra/bin/mysql.server start
    mysqld_safe already running with pid 8832
    Tue Jan 5 21:08:40 2010 *** Running as zimbra user: /opt/zimbra/bin/mysql.server start
    mysqld_safe already running with pid 8832
    Tue Jan 5 21:08:52 2010 *** Running as zimbra user: /opt/zimbra/bin/mysql.server start
    mysqld_safe already running with pid 8832

    It appears that the installer is unable to detect that it has started mysql.
    Anyone knows how to proceed ?

  2. #2
    LMStone's Avatar
    LMStone is offline Moderator
    Join Date
    Sep 2006
    Location
    477 Congress Street | Portland, ME 04101
    Posts
    1,374
    Rep Power
    10

    Default

    We've done a slew of 6.0.4 upgrades in the past few weeks on our own systems and on a number of clients' systems.

    We too see that the 6.0.4 installer doesn't always "get" that mysql is running.

    On one upgrade, we ran the installer after we had issued a zmcontrol stop.

    The installer launched MySQL to run the mailbox database integrity check, but borked trying to run the logger database check. MySQL was already running and the logger database check was trying to start another instance of MySQL.

    So, we hit "CTRL-C" to kill the Zimbra installer, ran it again and just skipped doing the mailbox database check. This time, the logger database check completed OK, but the installer hung again at the next point where it wanted to launch MySQL.

    Once again, we hit "CTRL-C" to kill the installer, then ran it again--this time skipping both the mailbox and logger database checks. The installer completed successfully this time with no issues, and the upgrade results were fine.

    Hope that helps,
    Mark

  3. #3
    faizel is offline New Member
    Join Date
    Aug 2009
    Posts
    4
    Rep Power
    6

    Default

    Mark, thanks for your extensive reply. I already tried to skip the integrity check, but no results here. Then i thought that the installer maybe wants to log in into the database. After searching for the password i noticed that the localconfig.xml in /opt/zimbra/conf was almost empty somehow. I replaced this file with a -correct- previous version from /opt/zimbra/.saveconfig and this time the installer proceeded.

  4. #4
    FlyingFish is offline Junior Member
    Join Date
    Aug 2009
    Posts
    7
    Rep Power
    6

    Default

    It looks to be a bug in the installer. The localconfig.xml gets blanked out under certain conditions. For me, I accidentally hit CTRL-C during the upgrade it appears after the package removal and before the zimbra-core .rpm was fully installed, and it went all to hell from there. Based on what you tried, I grabbed a previous version localconfig.xml and restored it. It solved my issues as well.
    Last edited by FlyingFish; 02-08-2010 at 12:14 PM.

  5. #5
    rmvg is offline Advanced Member
    Join Date
    Sep 2005
    Location
    Calgary
    Posts
    208
    Rep Power
    9

    Default

    Thanks for the post my localconfig.xml got blanked as well by pressing ctrl ^ c at the wrong time too. Replaced it with a backup and all seem well, however the upgrade did complain about not being able to determine how many users i had. Warning me about how if it exceeded my license i would not be able to add any.

    Anyways thank
    Computer King

    http://www.computerking.ca

    Sales, Service, and Hosting
    Email, Data, and Web Packages
    Ask about web design specials

    Affiliates
    http://www.computerking.ca/pages/lin...affiliates.htm

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] mysql not starting after restoring from backup
    By jschnip in forum Administrators
    Replies: 4
    Last Post: 02-02-2009, 08:07 AM
  2. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  3. Upgrade hangs @ starting mysql
    By billzeta in forum Installation
    Replies: 10
    Last Post: 05-27-2008, 11:31 AM
  4. [SOLVED] Install Problem in Ubuntu 6.06 Server
    By xtimox in forum Installation
    Replies: 16
    Last Post: 03-27-2008, 09:36 AM
  5. Zimbra on Debian?
    By omry_y in forum Installation
    Replies: 25
    Last Post: 11-04-2005, 11:36 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
  •