View Single Post
  #1 (permalink)  
Old 08-01-2007, 07:58 AM
Dirk Dirk is offline
Moderator
 
Posts: 701
Default Moving Zimbra installation to different server - Failing.

Problem moving from Suse10 to Debian 4.

I build a new server, same host name, install Zimbra OSS 5beta 2 on it. Then I move the /opt/zimbra folder to /opt/zimbra_raw to keep it out of the way.

Rsynced the /opt/zimbra folder from the Suse server to the new Debian one. Now I run the installer again and this is what happens:
Code:
zimbra:/usr/src/zcs-5.0.0_BETA2_1092.UBUNTU6.20070718133449# ./install.sh

Operations logged to /tmp/install.log.4150
Checking for existing installation...
    zimbra-ldap...FOUND zimbra-ldap-5.0.0_BETA2_1092.UBUNTU6
    zimbra-logger...FOUND zimbra-logger-5.0.0_BETA2_1092.UBUNTU6
    zimbra-mta...FOUND zimbra-mta-5.0.0_BETA2_1092.UBUNTU6
    zimbra-snmp...FOUND zimbra-snmp-5.0.0_BETA2_1092.UBUNTU6
    zimbra-store...FOUND zimbra-store-5.0.0_BETA2_1092.UBUNTU6
    zimbra-apache...FOUND zimbra-apache-5.0.0_BETA2_1092.UBUNTU6
    zimbra-spell...FOUND zimbra-spell-5.0.0_BETA2_1092.UBUNTU6
    zimbra-proxy...FOUND zimbra-proxy-5.0.0_BETA2_1092.UBUNTU6
    zimbra-core...FOUND zimbra-core-5.0.0_BETA2_1092.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:
        http://www.zimbra.com/license/collaboration_suite_collective_license_1.0.html


Press Return to continue

Checking for prerequisites...
    NPTL...FOUND
    sudo...FOUND sudo-1.6.8p12-4
    libidn11...FOUND libidn11-0.6.5-1
    curl...FOUND curl-7.15.5-1etch1
    fetchmail...FOUND fetchmail-6.3.6-1
    libpcre3...FOUND libpcre3-6.7-1
    libgmp3c2...FOUND libgmp3c2-2:4.2.1+dfsg-4
    libexpat1...FOUND libexpat1-1.95.8-3.4
    libxml2...FOUND libxml2-2.6.27.dfsg-1
    libstdc++6...FOUND libstdc++6-4.1.1-21
    libstdc++5...FOUND libstdc++5-1:3.3.6-15
    openssl...FOUND openssl-0.9.8c-4

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-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-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-proxy
You appear to be installing packages on a platform different
than the platform for which they were built

This platform is DEBIAN3.1
Packages found: zimbra-core_5.0.0_BETA2_1092.UBUNTU6_i386.deb
This may or may not work


Install anyway? [N] y

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

Shutting down zimbra mail

Backing up ldap

could not stat config file "/opt/zimbra/conf/slapd.conf": No such file or directory (2)
slapcat: bad configuration file!

Removing existing packages

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

Removing deployed webapp directories
Installing packages

    zimbra-core......zimbra-core_5.0.0_BETA2_1092.UBUNTU6_i386.deb...done
    zimbra-ldap......zimbra-ldap_5.0.0_BETA2_1092.UBUNTU6_i386.deb...done
    zimbra-logger......zimbra-logger_5.0.0_BETA2_1092.UBUNTU6_i386.deb...done
    zimbra-mta......zimbra-mta_5.0.0_BETA2_1092.UBUNTU6_i386.deb...done
    zimbra-snmp......zimbra-snmp_5.0.0_BETA2_1092.UBUNTU6_i386.deb...done
    zimbra-store......zimbra-store_5.0.0_BETA2_1092.UBUNTU6_i386.deb...done
    zimbra-apache......zimbra-apache_5.0.0_BETA2_1092.UBUNTU6_i386.deb...done
    zimbra-spell......zimbra-spell_5.0.0_BETA2_1092.UBUNTU6_i386.deb...done
    zimbra-proxy......zimbra-proxy_5.0.0_BETA2_1092.UBUNTU6_i386.deb...done

Setting defaults from saved config in /opt/zimbra/.saveconfig/config.save
   HOSTNAME=zimbra.domain.tld
   LDAPHOST=
   LDAPPORT=
   SNMPTRAPHOST=
   SMTPSOURCE=
   SMTPDEST=
   SNMPNOTIFY=0
   SMTPNOTIFY=0
   LDAPROOTPW=zimbra
   LDAPZIMBRAPW=zimbra
Restoring existing configuration file from /opt/zimbra/.saveconfig/config.save...done
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
chown: cannot access `/opt/zimbra/conf/nginx.key': No such file or directory
chown: cannot access `/opt/zimbra/conf/nginx.crt': No such file or directory
Operations logged to /tmp/zmsetup.log.8406
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 5.0.0_BETA2_1092
Stopping zimbra services
Stop failed - exiting
UPGRADE FAILED - exiting
Any ideas?

Last edited by Dirk : 07-29-2008 at 03:38 PM.
Reply With Quote