Fails Upgrade Zimbra FOSS 7.0.0 To 7.2.2 With Centos 5.3
Guys Pls Help
Today i've got problem with Java Cert Expired, and all thread marking "solved" about that doesn't help me out.
Then my problem become more complicated , LDAP service won't start. And i've spend all day chasing a clue in this forum and got me nothing..
So i decide to do version upgrading from 7.0.0 to 7.2.2
My Environment is :
Centos 5.3
Zimbra FOSS Edition (Was) 7.0.0
Upgrade to Zimbra FOSS 7.2.2 (zcs-7.2.2_GA_2852.RHEL5)
My upgrade steps are :
1. Doing sh install.sh --platform-override
and the result are :
Code:
Operations logged to /tmp/install.log.10358
Checking for existing installation...
zimbra-ldap...FOUND zimbra-ldap-7.0.0_GA_3077
zimbra-logger...FOUND zimbra-logger-7.0.0_GA_3077
zimbra-mta...FOUND zimbra-mta-7.0.0_GA_3077
zimbra-snmp...FOUND zimbra-snmp-7.0.0_GA_3077
zimbra-store...FOUND zimbra-store-7.0.0_GA_3077
zimbra-apache...FOUND zimbra-apache-7.0.0_GA_3077
zimbra-spell...FOUND zimbra-spell-7.0.0_GA_3077
zimbra-convertd...NOT FOUND
zimbra-memcached...NOT FOUND
zimbra-proxy...NOT FOUND
zimbra-archiving...NOT FOUND
zimbra-cluster...NOT FOUND
zimbra-core...FOUND zimbra-core-7.0.0_GA_3077
ZCS upgrade from 7.0.0 to 7.2.2 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: nc-1.84-10
FOUND: sudo-1.6.9p17-3
FOUND: libidn-0.6.5-1.1
FOUND: gmp-4.1.4-10
FOUND: /usr/lib/libstdc++.so.6
Checking for suggested prerequisites...
FOUND: perl-5.8.8
FOUND: sysstat
FOUND: sqlite
Prerequisite check complete.
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
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
Install zimbra-memcached [N] N
Install zimbra-proxy [N] N
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
You appear to be installing packages on a platform different
than the platform for which they were built.
This platform is CentOS5
Packages found: RHEL5
This may or may not work.
Using packages for a platform in which they were not designed for
may result in an installation that is NOT usable. Your support
options may be limited if you choose to continue.
Install anyway? [N] Y
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-apache...done
zimbra-core...done
Removing deployed webapp directories
Installing packages
zimbra-core......zimbra-core-7.2.2_GA_2852.RHEL5-20121204211814.i386.rpm...done
zimbra-ldap......zimbra-ldap-7.2.2_GA_2852.RHEL5-20121204211814.i386.rpm...done
zimbra-logger......zimbra-logger-7.2.2_GA_2852.RHEL5-20121204211814.i386.rpm...done
zimbra-mta......zimbra-mta-7.2.2_GA_2852.RHEL5-20121204211814.i386.rpm...done
zimbra-snmp......zimbra-snmp-7.2.2_GA_2852.RHEL5-20121204211814.i386.rpm...done
zimbra-store......zimbra-store-7.2.2_GA_2852.RHEL5-20121204211814.i386.rpm...done
zimbra-apache......zimbra-apache-7.2.2_GA_2852.RHEL5-20121204211814.i386.rpm...done
zimbra-spell......zimbra-spell-7.2.2_GA_2852.RHEL5-20121204211814.i386.rpm...done
Setting defaults from saved config in /opt/zimbra/.saveconfig/config.save
HOSTNAME=mail.hkalla.co.id
LDAPHOST=mail.hkalla.co.id
LDAPPORT=389
SNMPTRAPHOST=mail.hkalla.co.id
SMTPSOURCE=admin@hkalla.co.id
SMTPDEST=admin@hkalla.co.id
SNMPNOTIFY=yes
SMTPNOTIFY=yes
LDAPROOTPW=_Ivqmz_L
LDAPZIMBRAPW=_Ivqmz_L
LDAPPOSTPW=_Ivqmz_L
LDAPREPPW=_Ivqmz_L
LDAPAMAVISPW=_Ivqmz_L
LDAPNGINXPW=_Ivqmz_L
Restoring existing configuration file from /opt/zimbra/.saveconfig/localconfig.xml...done
Operations logged to /tmp/zmsetup.03012013-154328.log
Upgrading from 7.0.0_GA_3077 to 7.2.2_GA_2852
Stopping zimbra services...done.
Verifying /opt/zimbra/conf/my.cnf
Starting mysql...done.
This appears to be 7.0.0_GA
Checking ldap status...not running.
Running zmldapapplyldif...failed.
Checking ldap status...not running.
Starting ldap...failed with exit code: 256.
51305cac main: TLS init def ctx failed: -1
UPGRADE FAILED - exiting.
[root@mail zimbra7]# SU ZIMBRA
-bash: SU: command not found
[root@mail zimbra7]# su zimbra
[zimbra@mail zimbra7]$ zmcontrol start
Host mail.hkalla.co.id
Starting ldap...Done.
Failed.
Failed to start slapd. Attempting debug start to determine error.
TLS: error:0906D06C:PEM routines:PEM_read_bio:no start line pem_lib.c:696
TLS: error:140AD009:SSL routines:SSL_CTX_use_certificate_file:PEM lib ssl_rsa.c:491
51305dde main: TLS init def ctx failed: -1
For additional info :
This is my /etc/hosts file :
Code:
[root@mail opt]# vim /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
172.100.0.252 mail.hkalla.co.id mail
output from :
Code:
[root@mail opt]# dig mail.hkalla.co.id
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_5.3 <<>> mail.hkalla.co.id
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37595
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;mail.hkalla.co.id. IN A
;; ANSWER SECTION:
mail.hkalla.co.id. 38400 IN A 172.100.0.252
;; AUTHORITY SECTION:
hkalla.co.id. 38400 IN NS ns1.hkalla.co.id.
;; ADDITIONAL SECTION:
ns1.hkalla.co.id. 38400 IN A 172.100.0.252
;; Query time: 0 msec
;; SERVER: 172.100.0.252#53(172.100.0.252)
;; WHEN: Fri Mar 1 16:09:10 2013
;; MSG SIZE rcvd: 85
I'm using SplitDNS . And my /etc/resolv.conf contain :
Code:
[root@mail opt]# cat /etc/resolv.conf
search hkalla.co.id
nameserver 172.100.0.252
and everytime i started zmcontrol start , the result is :
Code:
[zimbra@mail root]$ zmcontrol start
Host mail.hkalla.co.id
Starting ldap...Done.
Failed.
Failed to start slapd. Attempting debug start to determine error.
TLS: error:0906D06C:PEM routines:PEM_read_bio:no start line pem_lib.c:696
TLS: error:140AD009:SSL routines:SSL_CTX_use_certificate_file:PEM lib ssl_rsa.c:491
51306402 main: TLS init def ctx failed: -1
Like 1 say, the first trouble are Certificate expire .. but i cannot make a new one because is always fails at retrieving CA from LDAP.
Can anyone provide me an idea to take all my account and mailbox out without need a running LDAP ?
I want to make a fresh install one on other server..
And all mailbox are very important :(
Please .. need help ...