Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-25-2008, 06:43 PM
New Member
 
Posts: 3
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
File Type: log zmsetup.log (2.1 KB, 41 views)
Reply With Quote
  #2 (permalink)  
Old 09-27-2008, 01:45 AM
New Member
 
Posts: 3
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.