Results 1 to 8 of 8

Thread: Error Upgrading from Zimbra 5.0.11 to Zimbra 5.0.12 OSS

  1. #1
    Join Date
    Mar 2008
    Posts
    9
    Rep Power
    7

    Default Error Upgrading from Zimbra 5.0.11 to Zimbra 5.0.12 OSS

    Guys,

    I'm having a problem upgrading Zimbra, below you will find the error.

    An upgrade of the logger schema is necessary from version 0
    Running /opt/zimbra/libexec/scripts/migrateLogger1-index.pl
    Wed Jan 28 10:20:49 2009: Adding Indices
    ERROR 1040 (08004): Too many connections
    Running /opt/zimbra/libexec/scripts/migrateLogger2-config.pl
    Wed Jan 28 10:20:51 2009: Adding Config
    ERROR 1040 (08004): Too many connections
    ERROR 1040 (08004): Too many connections
    Running /opt/zimbra/libexec/scripts/migrateLogger3-diskindex.pl
    ERROR 1040 (08004): Too many connections
    Wed Jan 28 10:20:54 2009: Schema version mismatch. Expected version 2. Version in the database is 0.

    Script failed with code 1 - exiting
    UPGRADE FAILED - exiting

    Is there anything that I can run to manually upgrade it.

  2. #2
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    Looks like your logger db was corrupt before the upgrade started.

    The quick and easy fix is to uninstall it (the logger)

    If you're running RHEL or CentOS, then
    rpm -qa | grep logger
    get the name

    rpm -e (name of the logger)
    su - zimbra
    zmprov ms `hostname` -zimbraServiceEnabled logger

    Then rerun the installer. That'll get you upgraded. Note: You'll loose all your logger data...but my guess is that it hasn't been working for some time.

  3. #3
    tonyawbrey Guest

    Default Same problem here

    I am getting the following errors trying to upgrade also and I have this is after the steps you supplied to fix, any other ideas?

    Starting mysql
    Starting logger mysql
    ERROR 1040 (08004): Too many connections
    This appears to be 5.0.11_GA
    Redolog Version: 1.23 New Redolog Version: 1.23
    Stopping mysql
    An upgrade of the logger schema is necessary from version 0
    Running /opt/zimbra/libexec/scripts/migrateLogger1-index.pl
    Wed Jan 28 13:24:58 2009: Adding Indices
    ERROR 1040 (08004): Too many connections
    Running /opt/zimbra/libexec/scripts/migrateLogger2-config.pl
    Wed Jan 28 13:25:00 2009: Adding Config
    ERROR 1040 (08004): Too many connections
    ERROR 1040 (08004): Too many connections
    Running /opt/zimbra/libexec/scripts/migrateLogger3-diskindex.pl
    ERROR 1040 (08004): Too many connections
    Wed Jan 28 13:25:03 2009: Schema version mismatch. Expected version 2. Version in the database is 0.

    Script failed with code 1 - exiting
    UPGRADE FAILED - exiting

  4. #4
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    Did you uninstall the logger? It shouldn't try to upgrade a non-existent logger.

  5. #5
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    Run a ps aux | grep logger
    kill any left over procs.

  6. #6
    tonyawbrey Guest

    Default Upgraded, what next?

    OK, I removed the logger again using the commands you mentioned in note earlier and then upgraded and selected N on install logger question and upgrade completed fine and I am back up and running.

    Now my question is how to I get the logger installed and working again?

    Thanks for the help with this!

  7. #7
    Join Date
    Jan 2009
    Location
    Fraijanes, Guatemala, Guatemala
    Posts
    1
    Rep Power
    6

    Default

    I got the same error, and follow the above steps and upgrade succesfully.

    The only difference was that I selected Y on install logger question. Upgrade again with this in mind.

    Hope this helps,

    Fabriccio Díaz
    Latin American Byte, Inc.

  8. #8
    Join Date
    Mar 2008
    Location
    Middle of a Cornfield, Nebraska, USA
    Posts
    2
    Rep Power
    7

    Thumbs up

    I also had the same problem - thanks much for the original post, jvsantosgt, and of course, thanks to jholder for the fix!

    I've got several servers running, ALL but one of which lost zmlogger somewhere along the line, I think in 5.0.10.

    After doing a "killall -9 zmlogger" and waiting for a few minutes, all the defunct processes died off and I was able to install/upgrade with zmlogger ON, and it seemed to have worked.

    Looking forward to having logging again! Hopefully this time it won't get corrupted.

Similar Threads

  1. slapd message error
    By smoke in forum Administrators
    Replies: 7
    Last Post: 04-27-2008, 04:23 PM
  2. Cleanup after many upgrades
    By tobru in forum Installation
    Replies: 1
    Last Post: 12-23-2007, 09:21 AM
  3. zmtlsctl give LDAP error
    By sourcehound in forum Administrators
    Replies: 5
    Last Post: 03-11-2007, 04:48 PM
  4. 4.5 Upgrade failure
    By brained in forum Installation
    Replies: 9
    Last Post: 03-03-2007, 03:30 PM
  5. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11:38 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
  •