Hello,

By using the forums I installed zcs-4.5.0_GA_612.UBUNTU6 and have been running with it for a few weeks now. At the time I installed the software to /var/opt/zimbra by creating a symbolic link /opt -> /var/opt. My reasoning was that I did not have a large root partition, did not have a seperate /opt partition and my var partition was more that large enough (as well as being a RAID1 setup). The installer worked fine with the symbolic link, and everything has been working just fine.

Yesterday I discovered that there was an update and so I downloaded the new tarball (zcs-4.5.1_GA_660.UBUNTU6.tgz). After unpacking I ran the install script and it attempted to perform an upgrade. The installer found that Zimbra was already installed and started but then failed later in the install. After a little experimentation I discovered that the installer is removing the /opt symbolic link and creating the folder /opt and then /opt/zimbra. Of course when it does this it cannot find my existing install and so the upgrade fails.

Here are some details....

---- Start of Screen Display ----

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

Saving existing configuration file to /opt/zimbra/.saveconfig
cp: cannot stat `/opt/zimbra/java/jre/lib/security/cacerts': No such file or directory


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/collab...cense_1.0.html


Press Return to continue

Checking for prerequisites...
NPTL...FOUND
sudo...FOUND sudo-1.6.8p12-4ubuntu5
libidn11...FOUND libidn11-0.6.3-1
curl...FOUND curl-7.15.4-1ubuntu2
fetchmail...FOUND fetchmail-6.3.4-1ubuntu4.1
libpcre3...FOUND libpcre3-6.4-2ubuntu1
libgmp3c2...FOUND libgmp3c2-2:4.2.1+dfsg-3
libexpat1...FOUND libexpat1-1.95.8-3.2
libxml2...FOUND libxml2-2.6.26.dfsg-2ubuntu4
libstdc++6...FOUND libstdc++6-4.1.1-13ubuntu5
openssl...FOUND openssl-0.9.8b-2ubuntu2
Checking for required space...
Checking current number of databases...

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

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

./util/utilfunc.sh: line 846: /opt/zimbra/openldap/sbin/slapcat: No such file or directory

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 155: /opt/zimbra/.install_history: No such file or directory
zimbra-core......zimbra-core_4.5.1_GA_660.UBUNTU6_i386.deb...done
zimbra-ldap......zimbra-ldap_4.5.1_GA_660.UBUNTU6_i386.deb...done
zimbra-logger......zimbra-logger_4.5.1_GA_660.UBUNTU6_i386.deb...done
zimbra-mta......zimbra-mta_4.5.1_GA_660.UBUNTU6_i386.deb...done
zimbra-snmp......zimbra-snmp_4.5.1_GA_660.UBUNTU6_i386.deb...done
zimbra-store......zimbra-store_4.5.1_GA_660.UBUNTU6_i386.deb...done
zimbra-apache......zimbra-apache_4.5.1_GA_660.UBUNTU6_i386.deb...done
zimbra-spell......zimbra-spell_4.5.1_GA_660.UBUNTU6_i386.deb...done
Restoring existing configuration file from ..../util/utilfunc.sh: line 728: $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.28166
Setting defaults...Setting defaults from existing config...Warning: null valued key 'mysql_logger_root_password'
Done
Upgrading from to 4.5.1_GA_660
Thu Feb 22 10:07:58 2007: Stopping zimbra services
Thu Feb 22 10:07:59 2007: Stop failed - exiting
UPGRADE FAILED - exiting
---- End of Screen Output ----

---- Start of install.log ----
COMMAND: zmlocalconfig -s | sed -e "s/ = \(.*\)/=\'\1\'/" > /opt/zimbra/.saveconfig/config.save
-su: zmlocalconfig: command not found
COMMAND: zmcontrol shutdown
-su: zmcontrol: command not found
Selecting previously deselected package zimbra-core.
(Reading database ... 14756 files and directories currently installed.)
Unpacking zimbra-core (from .../zimbra-core_4.5.1_GA_660.UBUNTU6_i386.deb) ...
Setting up zimbra-core (4.5.1_GA_660.UBUNTU6) ...
chown: cannot access `/opt/zimbra/a*': No such file or directory
chown: cannot access `/opt/zimbra/s[a-su-z]*': No such file or directory
chown: cannot access `/opt/zimbra/perdition-1.17': No such file or directory
chown: cannot access `/opt/zimbra/apache-tomcat-*': No such file or directory
Loading classes to share ... done.
Rewriting and unlinking classes ... done.
Calculating hash values for String objects .. done.
Calculating fingerprints ... done.
Removing unshareable information ... done.
Moving most read-only objects to shared space at 0x90990000 ... done.
Moving common symbols to shared space at 0x90d0c4f0 ... done.
Moving remaining symbols to shared space at 0x90e38280 ... done.
Moving string char arrays to shared space at 0x90e38d10 ... done.
Moving additional symbols to shared space at 0x90eba7b8 ... done.
Read-only space ends at 0x90f0eaf8, 5761784 bytes.
Moving read-write objects to shared space at 0x91190000 ... done.
Moving String objects to shared space at 0x91719c50 ... done.
Read-write space ends at 0x91759d78, 6069624 bytes.
Updating references to shared objects ... done.


Selecting previously deselected package zimbra-ldap.
(Reading database ... 17043 files and directories currently installed.)
Unpacking zimbra-ldap (from .../zimbra-ldap_4.5.1_GA_660.UBUNTU6_i386.deb) ...
Setting up zimbra-ldap (4.5.1_GA_660.UBUNTU6) ...
chown: cannot access `/opt/zimbra/a*': No such file or directory
chown: cannot access `/opt/zimbra/perdition-1.17': No such file or directory
chown: cannot access `/opt/zimbra/apache-tomcat-*': No such file or directory

Selecting previously deselected package zimbra-logger.
(Reading database ... 17332 files and directories currently installed.)
Unpacking zimbra-logger (from .../zimbra-logger_4.5.1_GA_660.UBUNTU6_i386.deb) ...
Setting up zimbra-logger (4.5.1_GA_660.UBUNTU6) ...
chown: cannot access `/opt/zimbra/a*': No such file or directory
chown: cannot access `/opt/zimbra/perdition-1.17': No such file or directory
chown: cannot access `/opt/zimbra/apache-tomcat-*': No such file or directory

Selecting previously deselected package zimbra-mta.
(Reading database ... 18898 files and directories currently installed.)
Unpacking zimbra-mta (from .../zimbra-mta_4.5.1_GA_660.UBUNTU6_i386.deb) ...
Setting up zimbra-mta (4.5.1_GA_660.UBUNTU6) ...
chown: cannot access `/opt/zimbra/perdition-1.17': No such file or directory
chown: cannot access `/opt/zimbra/apache-tomcat-*': No such file or directory
umount2: No such file or directory
umount: /opt/zimbra/amavisd/tmp: not found
chown: cannot access `/opt/zimbra/perdition-1.17': No such file or directory
chown: cannot access `/opt/zimbra/apache-tomcat-*': No such file or directory

Selecting previously deselected package zimbra-snmp.
(Reading database ... 20137 files and directories currently installed.)
Unpacking zimbra-snmp (from .../zimbra-snmp_4.5.1_GA_660.UBUNTU6_i386.deb) ...
Setting up zimbra-snmp (4.5.1_GA_660.UBUNTU6) ...
chown: cannot access `/opt/zimbra/perdition-1.17': No such file or directory
chown: cannot access `/opt/zimbra/apache-tomcat-*': No such file or directory

Selecting previously deselected package zimbra-store.
(Reading database ... 20538 files and directories currently installed.)
Unpacking zimbra-store (from .../zimbra-store_4.5.1_GA_660.UBUNTU6_i386.deb) ...
Setting up zimbra-store (4.5.1_GA_660.UBUNTU6) ...

Selecting previously deselected package zimbra-apache.
(Reading database ... 24728 files and directories currently installed.)
Unpacking zimbra-apache (from .../zimbra-apache_4.5.1_GA_660.UBUNTU6_i386.deb) ...
Setting up zimbra-apache (4.5.1_GA_660.UBUNTU6) ...

Selecting previously deselected package zimbra-spell.
(Reading database ... 26461 files and directories currently installed.)
Unpacking zimbra-spell (from .../zimbra-spell_4.5.1_GA_660.UBUNTU6_i386.deb) ...
Setting up zimbra-spell (4.5.1_GA_660.UBUNTU6) ...
---- End of install.log ----

---- Start of zmsetup.log ----
Setting defaults...
Setting local config zimbra_java_home to /opt/zimbra/java
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_java_home='/opt/zimbra/java'

Setting defaults from existing config...
Getting local config zimbra_server_hostname
Getting local config ldap_master_url
Getting local config ldap_port
Getting local config ldap_host
Getting local config ldap_root_password
Getting local config mysql_root_password
Getting local config mysql_logger_root_password
Getting local config zimbra_mysql_password
Getting local config zimbra_logger_mysql_password
Done

Upgrading from to 4.5.1_GA_660

UPGRADE FAILED - exiting
---- End of zmsetup.log ----

I would prefer to keep my install on the RAID1 partition (/var) so if anyone has some ideas I would like to hear them.

Thanks.