Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Error while upgrading to 7.0.0

  1. #1
    Yuukuari is offline Junior Member
    Join Date
    Feb 2011
    Posts
    8
    Rep Power
    4

    Default Error while upgrading to 7.0.0

    Hi,

    I'm trying to upgrade zimbra to the 7.0.0 version but it does not work. I might have done something wrong, i don't know, because it wasn't me who installed the previous version.

    I follow steps from the docs:
    - wget http://files2.zimbra.com/downloads/7...0127201852.tgz (i checked ubuntu version)
    - tar xzvf zcs-7.0.0_GA_3077.UBUNTU8_64.20110127201852.tgz and cd
    - ./install.sh

    And then this :
    Code:
    Operations logged to /tmp/install.log.19780
    Checking for existing installation...
        zimbra-ldap...FOUND zimbra-ldap-7.0.0_GA_3077.UBUNTU8_64
        zimbra-logger...FOUND zimbra-logger-7.0.0_GA_3077.UBUNTU8_64
        zimbra-mta...FOUND zimbra-mta-7.0.0_GA_3077.UBUNTU8_64
        zimbra-snmp...FOUND zimbra-snmp-7.0.0_GA_3077.UBUNTU8_64
        zimbra-store...FOUND zimbra-store-7.0.0_GA_3077.UBUNTU8_64
        zimbra-apache...FOUND zimbra-apache-7.0.0_GA_3077.UBUNTU8_64
        zimbra-spell...FOUND zimbra-spell-7.0.0_GA_3077.UBUNTU8_64
        zimbra-convertd...NOT FOUND
        zimbra-memcached...FOUND zimbra-memcached-7.0.0_GA_3077.UBUNTU8_64
        zimbra-proxy...FOUND zimbra-proxy-7.0.0_GA_3077.UBUNTU8_64
        zimbra-archiving...NOT FOUND
        zimbra-cluster...NOT FOUND
        zimbra-core...FOUND zimbra-core-7.0.0_GA_3077.UBUNTU8_64
    ZCS upgrade from 7.0.0 to 7.0.0 will be performed.
    
    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:
      http://www.zimbra.com/license/zimbra_public_eula_2.1.html
    
    
    
    Do you agree with the terms of the software license agreement? [N] y
    
    Checking for prerequisites...
         FOUND: NPTL
         FOUND: sudo-1.6.9p10-1ubuntu3.4
         FOUND: libidn11-1.1-1
         FOUND: libpcre3-7.4-1ubuntu2.1
         FOUND: libgmp3c2-2:4.2.2+dfsg-1ubuntu2
         FOUND: libexpat1-2.0.1-0ubuntu1
         FOUND: libstdc++6-4.2.4-1ubuntu4
         FOUND: libperl5.8-5.8.8-12ubuntu0.4
    Checking for suggested prerequisites...
         FOUND: perl-5.8.8
         MISSING: sysstat does not appear to be installed.
         FOUND: sqlite3
    
    ###WARNING###
    
    The suggested version of one or more packages is not installed.
    This could cause problems with the operation of Zimbra.
    
    Do you wish to continue? [N] y
    Prerequisite check complete.
    Checking current number of databases...
    
    Do you want to verify message store database integrity? [Y] y
    Verifying integrity of message store databases.  This may take a while.
    Error: assertion '-r /opt/zimbra/conf/my.cnf' failed
    ^C
    If i choose not to "verify message store database integrity", i got this :
    Code:
    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
    Found zimbra-memcached
    Found zimbra-proxy
    
    
    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] 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
        Upgrading zimbra-memcached
        Upgrading zimbra-proxy
    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
        zimbra-memcached
        zimbra-proxy
    
    The system will be modified.  Continue? [N] y
    
    Shutting down zimbra mail
    
    Backing up the ldap database...done.
    
    Removing existing packages
    
       zimbra-ldap...done
       zimbra-logger...done
       zimbra-mta...done
       zimbra-snmp...done
       zimbra-store...done
       zimbra-spell...done
       zimbra-memcached...done
       zimbra-proxy...done
       zimbra-apache...done
       zimbra-core...done
    
    Removing deployed webapp directories
    Installing packages
    
        zimbra-core......zimbra-core_7.0.0_GA_3077.UBUNTU8_64_amd64.deb...done
        zimbra-ldap......zimbra-ldap_7.0.0_GA_3077.UBUNTU8_64_amd64.deb...done
        zimbra-logger......zimbra-logger_7.0.0_GA_3077.UBUNTU8_64_amd64.deb...done
        zimbra-mta......zimbra-mta_7.0.0_GA_3077.UBUNTU8_64_amd64.deb...done
        zimbra-snmp......zimbra-snmp_7.0.0_GA_3077.UBUNTU8_64_amd64.deb...done
        zimbra-store......zimbra-store_7.0.0_GA_3077.UBUNTU8_64_amd64.deb...done
        zimbra-apache......zimbra-apache_7.0.0_GA_3077.UBUNTU8_64_amd64.deb...done
        zimbra-spell......zimbra-spell_7.0.0_GA_3077.UBUNTU8_64_amd64.deb...done
        zimbra-memcached......zimbra-memcached_7.0.0_GA_3077.UBUNTU8_64_amd64.deb...done
        zimbra-proxy......zimbra-proxy_7.0.0_GA_3077.UBUNTU8_64_amd64.deb...done
    
    Setting defaults from saved config in /opt/zimbra/.saveconfig/config.save
       HOSTNAME=localhost
       LDAPHOST=
       LDAPPORT=
       SNMPTRAPHOST=
       SMTPSOURCE=
       SMTPDEST=
       SNMPNOTIFY=0
       SMTPNOTIFY=0
       LDAPROOTPW=zimbra
       LDAPZIMBRAPW=zimbra
       LDAPPOSTPW=zmpostfix
       LDAPREPPW=zmreplica
       LDAPAMAVISPW=zmamavis
       LDAPNGINXPW=zmnginx
    Restoring existing configuration file from /opt/zimbra/.saveconfig/localconfig.xml...done
    Operations logged to /tmp/zmsetup.02142011-171342.log
    Upgrading from  to 7.0.0_GA_3077
    Stopping zimbra services...failed. exiting.
    UPGRADE FAILED - exiting.
    I tried to restart zimbra with zmcontrol like this :
    - su zimbra
    - zmcontrol restart
    And i got this :
    Code:
    Host localhost
            Stopping stats...Done.
            Stopping mta...Done.
            Stopping spell...Done.
            Stopping snmp...Done.
            Stopping cbpolicyd...Done.
            Stopping archiving...Done.
            Stopping antivirus...Done.
            Stopping antispam...Done.
            Stopping imapproxy...Done.
            Stopping memcached...Done.
            Stopping mailbox...Failed.
    cat: /opt/zimbra/conf/spnego_java_options: Aucun fichier ou dossier de ce type
    Stopping mailboxd...mailboxd is not running.
    Error: assertion '-r /opt/zimbra/conf/my.cnf' failed
    
    
            Stopping logger...Done.
            Stopping zmconfigd...Done.
            Stopping ldap...Done.
    Host localhost
    Unable to determine enabled services from ldap.
    Unable to determine enabled services. Cache is out of date or doesn't exist.
    I have the same by writing as root user :
    - /etc/init.d/zimbra/restart

    And also i have the same last 2 lines by writing as zimbra user :
    - zmcontrol status.

    I don't know what to do, i tried to get back to last version 6.0.10 but that's not possible.

    Please help me
    Nobody in my company can get/send emails ...

    Yuuk.

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    It would appear that your hosts file and/or the DNS A & MX records are incorrect. Go to the Split DNS article and read what's necessary for that, you can then check the configuration by running all the commands in the 'Verify....' section.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Yuukuari is offline Junior Member
    Join Date
    Feb 2011
    Posts
    8
    Rep Power
    4

    Default

    Thanks for the quick answer !
    I'm checking but everything seems to be fine for the DNS.

    However, i think the guy who first tried to upgrade to 7.0.0 version (and left from office at 4pm) had not enough space for the installation. So he mounted the installation directory somewhere else and the problem must come from here.

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Quote Originally Posted by Yuukuari View Post
    Thanks for the quick answer !
    I'm checking but everything seems to be fine for the DNS.
    I also mentioned the hosts file, you need to check that as well - the format and contents are as described in the Split DNS article.

    Quote Originally Posted by Yuukuari View Post
    However, i think the guy who first tried to upgrade to 7.0.0 version (and left from office at 4pm) had not enough space for the installation. So he mounted the installation directory somewhere else and the problem must come from here.
    Running out of space doesn't help.
    Last edited by phoenix; 02-15-2011 at 03:26 AM.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Yuukuari is offline Junior Member
    Join Date
    Feb 2011
    Posts
    8
    Rep Power
    4

    Default

    Trying to install again but there's no space enough on /opt/.
    I've moved /opt to /home/opt and created a link on /opt to /home/opt but it is saying :
    Installation cannot continue if either /opt or /opt/zimbra are symbolic links.

    Is there a way to modify the size of a partition ?
    Or another way ?

    Meanwhile, i'll check again hosts file.

    Thanks

    EDIT : Or modifying zimbra install directory ?

  6. #6
    Yuukuari is offline Junior Member
    Join Date
    Feb 2011
    Posts
    8
    Rep Power
    4

    Default

    When no link or mount is created on /opt/zimbra and i install the new version, everything is working fine until it says there is no space enough.

    I did this workaround :
    mount --bind /home/opt/ /opt/zimbra/

    Now it has space enough but i have the same error from my first post :/

    It can't "verify message store database integrity" and installation cannot complete, it says :
    "Stopping zimbra services...failed. exiting.
    UPGRADE FAILED - exiting."

  7. #7
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Quote Originally Posted by Yuukuari View Post
    Trying to install again but there's no space enough on /opt/.
    I've moved /opt to /home/opt and created a link on /opt to /home/opt but it is saying :
    Installation cannot continue if either /opt or /opt/zimbra are symbolic links.
    That's correct, you shouldn't use a symbolic link but you can use a hard link.

    Quote Originally Posted by Yuukuari View Post
    Is there a way to modify the size of a partition ?
    Or another way ?
    Mount another HD? My suggestion would be to get some additional (and sufficient capacity) HDs on your server.

    Quote Originally Posted by Yuukuari View Post
    EDIT : Or modifying zimbra install directory ?
    No, that's not possible.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    Yuukuari is offline Junior Member
    Join Date
    Feb 2011
    Posts
    8
    Rep Power
    4

    Default

    I'm trying to add a hard link but it says it cannot create a link from a directory to another one which is on another partition ... which is the case.

    Code:
    /dev/md1              9,7G  8,0G  1,3G  87% /
    varrun                2,0G   84K  2,0G   1% /var/run
    varlock               2,0G     0  2,0G   0% /var/lock
    udev                  2,0G   36K  2,0G   1% /dev
    devshm                2,0G     0  2,0G   0% /dev/shm
    /dev/md2              678G  603G   41G  94% /home
    /dev/md1 needs 5G

  9. #9
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Quote Originally Posted by Yuukuari View Post
    I'm trying to add a hard link but it says it cannot create a link from a directory to another one which is on another partition ... which is the case.
    Then you'll have to add additional HDs to your server and rsync everything under /opt/zimbra to that.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  10. #10
    Yuukuari is offline Junior Member
    Join Date
    Feb 2011
    Posts
    8
    Rep Power
    4

    Default

    I found something that seems to be working :
    - move /opt content into /home/opt
    - in /etc/fstab write
    Code:
    /home/opt   /opt   none   bind   0   0
    - umount /opt
    - mount -a

    It is now installing well, but when i restart zimbra i get this :
    Code:
    Host ns351143.ovh.net
            Stopping stats...Done.
            Stopping mta...Done.
            Stopping spell...Done.
            Stopping snmp...Done.
            Stopping cbpolicyd...Done.
            Stopping archiving...Done.
            Stopping antivirus...Done.
            Stopping antispam...Done.
            Stopping imapproxy...Done.
            Stopping memcached...Done.
            Stopping mailbox...Done.
            Stopping logger...Done.
            Stopping zmconfigd...Done.
            Stopping ldap...Done.
    Host ns351143.ovh.net
            Starting ldap...Done.
    Unable to determine enabled services from ldap.
    Enabled services read from cache. Service list may be inaccurate.
            Starting zmconfigd...Done.
            Starting logger...Failed.
    Starting logswatch...Exception in thread "main" java.lang.NoSuchFieldError: TRACE
            at com.zimbra.common.util.Log.(Log.java:44)
            at com.zimbra.common.util.LogFactory.getLog(LogFactory.java:50)
            at com.zimbra.common.util.ZimbraLog.(ZimbraLog.java:115)
            at com.zimbra.cs.account.ProvUtil.main(ProvUtil.java:2875)
    zimbra logger service is not enabled!  failed.
    
    
            Starting mailbox...Done.
            Starting antispam...Done.
            Starting antivirus...Done.
            Starting snmp...Done.
            Starting spell...Done.
            Starting mta...Failed.
    Starting saslauthd...saslauthd[4295] :set_auth_mech   : failed to initialize mechanism zimbra
    failed.
    zmsaslauthdctl failed to start
    
    
            Starting stats...Done.
    And zmcontrol status :
    Code:
    Host ns351143.ovh.net
            antispam                Stopped
                    zmamavisdctl is not running
            antivirus               Stopped
                    zmamavisdctl is not running
            ldap                    Running
            logger                  Stopped
                    zmlogswatchctl is not running
            mailbox                 Stopped
                    zmmailboxdctl is not running.
            mta                     Stopped
                    zmsaslauthdctl is not running
            snmp                    Running
            spell                   Running
            stats                   Running
            zmconfigd               Stopped
                    zmconfigd is not running.
    EDIT : I can't reach https [mailbox] - admin console (on default port 7071), nor web mail client.
    Last edited by Yuukuari; 02-15-2011 at 04:57 AM.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] zmconfigd WARNING in 7.0.0 GA
    By Labsy in forum Administrators
    Replies: 23
    Last Post: 02-10-2012, 12:09 PM
  2. 6.0.10 to 7.0.0 NetworkEdition Upgrade Problems
    By liston13 in forum Administrators
    Replies: 3
    Last Post: 07-31-2011, 11:41 PM
  3. Error when upgrading from 3.1 -> 3.1.1
    By jeg1972 in forum Installation
    Replies: 2
    Last Post: 05-10-2006, 06:10 AM
  4. Replies: 4
    Last Post: 04-26-2006, 10:11 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
  •