Results 1 to 2 of 2

Thread: [SOLVED] Cannot upgradr from 4.5.6 to anything, desperately need help

  1. #1
    Join Date
    Aug 2008
    Posts
    3
    Rep Power
    7

    Default [SOLVED] Cannot upgradr from 4.5.6 to anything, desperately need help

    Hi,

    Firs to of all appologise if this goes out twice, it's my first post attempt to the forum and a previous post a couple of hours ago didn't make it for some reason, so trying again with different subject.

    I have a big problem trying to upgrade from version 4.5.6 to anything. I have tried going to 4.5.8 and 4.5.11 as well as 5.0.0. In each case I run into the same issue.

    My install is open source version 4.5.6 on Ubuntu server 6.06

    When I run the upgrade everything seems fine until it tries to restore things and I get a bunch of errors (see below for output). It seems that when the deb packages are removed, much more gets removed than is supposed to. For one the store folder is empty after this happens, and the files that it's complaining about are also missing. I've done this about 20 times now (restoring from backup every time, which is taking forever), trying different things I've found on forums, and now I'm completely stumped and getting quite desperate as this process is very disruptive at the moment. Any help would be greatly appreciated. I've also attached zmsetup.log from my last attempt.


    Output from the install script:

    root@vienna:~/zcs# ./install.sh

    Operations logged to /tmp/install.log.9731
    Checking for existing installation...
    zimbra-ldap...FOUND zimbra-ldap-4.5.6_GA_1044.UBUNTU6
    zimbra-logger...FOUND zimbra-logger-4.5.6_GA_1044.UBUNTU6
    zimbra-mta...FOUND zimbra-mta-4.5.6_GA_1044.UBUNTU6
    zimbra-snmp...FOUND zimbra-snmp-4.5.6_GA_1044.UBUNTU6
    zimbra-store...FOUND zimbra-store-4.5.6_GA_1044.UBUNTU6
    zimbra-apache...FOUND zimbra-apache-4.5.6_GA_1044.UBUNTU6
    zimbra-spell...FOUND zimbra-spell-4.5.6_GA_1044.UBUNTU6
    zimbra-core...FOUND zimbra-core-4.5.6_GA_1044.UBUNTU6

    Saving existing configuration file to /opt/zimbra/.saveconfig


    PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.
    ZIMBRA, INC. ("ZIMBRA") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU
    FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING
    THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY
    THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS
    AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.

    License Terms for the Zimbra Collaboration Suite:
    Zimbra - Zimbra Public End-User License Agreement, Version 2.1


    Press Return to continue

    Checking for prerequisites...
    NPTL...FOUND
    sudo...FOUND sudo-1.6.8p12-1ubuntu6
    libidn11...FOUND libidn11-0.5.18-1
    curl...FOUND curl-7.15.1-1ubuntu3
    fetchmail...FOUND fetchmail-6.3.2-2ubuntu2.2
    libpcre3...FOUND libpcre3-7.4-0ubuntu0.6.06.2
    libgmp3c2...FOUND libgmp3c2-4.1.4-11ubuntu2
    libexpat1...FOUND libexpat1-1.95.8-3
    libxml2...FOUND libxml2-2.6.24.dfsg-1ubuntu1.1
    libstdc++6...FOUND libstdc++6-4.0.3-1ubuntu5
    libstdc++5...FOUND libstdc++5-1:3.3.6-10
    openssl...FOUND openssl-0.9.8a-7ubuntu0.5
    Checking current number of databases...

    Do you want to verify message store database integrity? [Y] n

    Checking for installable packages

    Found zimbra-core
    Found zimbra-ldap
    Found zimbra-logger
    Found zimbra-mta
    Found zimbra-snmp
    Found zimbra-store
    Found zimbra-apache
    Found zimbra-spell


    The Zimbra Collaboration Suite appears already to be installed.
    It can be upgraded with no effect on existing accounts,
    or the current installation can be completely removed prior
    to installation for a clean install.

    Do you wish to upgrade? [Y]

    Select the packages to install
    Upgrading zimbra-core
    Upgrading zimbra-ldap
    Upgrading zimbra-logger
    Upgrading zimbra-mta
    Upgrading zimbra-snmp
    Upgrading zimbra-store
    Upgrading zimbra-apache
    Upgrading zimbra-spell
    Checking required space for zimbra-core
    checking space for zimbra-store

    Installing:
    zimbra-core
    zimbra-ldap
    zimbra-logger
    zimbra-mta
    zimbra-snmp
    zimbra-store
    zimbra-apache
    zimbra-spell

    The system will be modified. Continue? [N] y

    Shutting down zimbra mail

    Backing up ldap


    Removing existing packages

    zimbra-ldap...done
    zimbra-logger...done
    zimbra-mta...done
    zimbra-snmp...done
    zimbra-store...done
    zimbra-spell...done
    zimbra-apache...done
    zimbra-core...done

    Removing deployed webapp directories
    Installing packages

    ./install.sh: line 146: /opt/zimbra/.install_history: No such file or directory
    zimbra-core......zimbra-core_4.5.8_GA_1394.UBUNTU6_i386.deb...done
    zimbra-ldap......zimbra-ldap_4.5.8_GA_1394.UBUNTU6_i386.deb...done
    zimbra-logger......zimbra-logger_4.5.8_GA_1394.UBUNTU6_i386.deb...done
    zimbra-mta......zimbra-mta_4.5.8_GA_1394.UBUNTU6_i386.deb...done
    zimbra-snmp......zimbra-snmp_4.5.8_GA_1394.UBUNTU6_i386.deb...done
    zimbra-store......zimbra-store_4.5.8_GA_1394.UBUNTU6_i386.deb...done
    zimbra-apache......zimbra-apache_4.5.8_GA_1394.UBUNTU6_i386.deb...done
    zimbra-spell......zimbra-spell_4.5.8_GA_1394.UBUNTU6_i386.deb...done
    Restoring existing configuration file from ..../util/utilfunc.sh: line 816: $RF: ambiguous redirect
    done
    chown: cannot access `/opt/zimbra/tomcat/conf/keystore': No such file or directory
    chown: cannot access `/opt/zimbra/conf/smtpd.key': No such file or directory
    chown: cannot access `/opt/zimbra/conf/smtpd.crt': No such file or directory
    chown: cannot access `/opt/zimbra/conf/slapd.crt': No such file or directory
    chown: cannot access `/opt/zimbra/conf/perdition.pem': No such file or directory
    chown: cannot access `/opt/zimbra/conf/perdition.key': No such file or directory
    Operations logged to /tmp/zmsetup.log.11438
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException localhost:389)
    Setting defaults...Done
    Setting defaults from existing config...Warning: null valued key 'mysql_logger_root_password'
    Upgrading from to 4.5.8_GA_1394
    Stopping zimbra services
    Stop failed - exiting
    UPGRADE FAILED - exiting
    Attached Files Attached Files

  2. #2
    Join Date
    Aug 2008
    Posts
    3
    Rep Power
    7

    Default

    WooHooo I've found the problem, stupid stupid me in a way. The zimbra folder is located on it's own volume in my system and I simply created a symplik in /opt to point to it, turns out this does not work in upgrading, eventually found references to this.

    Anyway, moved all zimbra files appropriately and mounted the volume under /opt/zimbra, upgrade works flawlessly now.

    I won't forget this on in a hurry, been at it for weeks trying to find the problem

Similar Threads

  1. Replies: 21
    Last Post: 09-27-2007, 11:49 AM
  2. ZCS 4.5.6 to 5.0 Migration Test Question
    By LMStone in forum Installation
    Replies: 2
    Last Post: 09-26-2007, 12:38 PM
  3. 4.5.6 Upgrade Results
    By LMStone in forum Installation
    Replies: 5
    Last Post: 07-08-2007, 11:36 PM
  4. ZCS 4.5.6 Has Been Released
    By jholder in forum Announcements
    Replies: 1
    Last Post: 06-28-2007, 06:45 PM
  5. 4.5.6 Release Timetable?
    By LMStone in forum Administrators
    Replies: 1
    Last Post: 06-26-2007, 03:21 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
  •