Zimbra 7 to zimbra 8
-
- Posts: 22
- Joined: Sat Sep 13, 2014 1:50 am
Zimbra 7 to zimbra 8
Dear Gurus
I wanted to upgrade the existing Zimbra 7 to zimbra 8 in another machine with different OS. The information of the OS in the existing machine and the new machine is given below. When read the documentation, I understood that first, the same old verison of zimbra need to be installed in the new OS and then after copying the mail folders and other info from old, then the zimbra to be upgraded to new version.
I did the installation and started zimbra. Able to login to the admin GUI, but mails are not going. Seeing this error in maillog.
Aug 11 10:18:03 primaryzimbra zmmailboxdmgr[24156]: status OK
Aug 11 10:18:35 primaryzimbra postfix/qmgr[25597]: 4B7B098033C: from=, size=649, nrcpt=1 (queue active)
Aug 11 10:18:35 primaryzimbra postfix/qmgr[25597]: 08AA6980436: from=, size=616, nrcpt=1 (queue active)
Aug 11 10:18:35 primaryzimbra postfix/smtp[24352]: connect to 127.0.0.1[127.0.0.1] Connection refused
Aug 11 10:18:35 primaryzimbra postfix/smtp[24353]: connect to 127.0.0.1[127.0.0.1] Connection refused
Aug 11 10:18:35 primaryzimbra postfix/smtp[24352]: 4B7B098033C: to=, relay=none, delay=378, delays=378/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1] Connection refused)
Aug 11 10:18:35 primaryzimbra postfix/smtp[24353]: 08AA6980436: to=, relay=none, delay=392, delays=392/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1] Connection refused)
Aug 11 10:20:04 primaryzimbra zmmailboxdmgr[25395]: status requested
Aug 11 10:20:04 primaryzimbra zmmailboxdmgr[25395]: status OK
--------------------------------------------
unable to start amavisd. When starting the same getting the error below:
----------------
[zimbra@primaryzimbra bin]$ ./zmamavisdctl start
Starting amavisd...Problem in Amavis::Unpackers code: Can't locate Convert/TNEF./usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/ne 31.
BEGIN failed--compilation aborted at (eval 104) line 31.
failed.
------------------
Please help to solve this problem. ITs because of perl verisons i think.
thanks
Geetha
Old/existing machine:
---------------
OS version: Redhat - Linux node1 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:14 EST 2007 x86_64 x86_64 x86_64 GNU/Linux
Zimbra version: Release 7.0.1_GA_3105.RHEL5_64_20110304210645 CentOS6_64 FOSS edition
perl verison: v5.8.8 built for x86_64-linux-thread-multi
New machine:
------
OS version - Centos - Linux primaryzimbra.ccmb.res.in 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Zimbra version: Release 7.0.1_GA_3105.RHEL5_64_20110304210645 CentOS6_64 FOSS edition.
perl version: v5.10.1 (*) built for x86_64-linux-thread-multi
I wanted to upgrade the existing Zimbra 7 to zimbra 8 in another machine with different OS. The information of the OS in the existing machine and the new machine is given below. When read the documentation, I understood that first, the same old verison of zimbra need to be installed in the new OS and then after copying the mail folders and other info from old, then the zimbra to be upgraded to new version.
I did the installation and started zimbra. Able to login to the admin GUI, but mails are not going. Seeing this error in maillog.
Aug 11 10:18:03 primaryzimbra zmmailboxdmgr[24156]: status OK
Aug 11 10:18:35 primaryzimbra postfix/qmgr[25597]: 4B7B098033C: from=, size=649, nrcpt=1 (queue active)
Aug 11 10:18:35 primaryzimbra postfix/qmgr[25597]: 08AA6980436: from=, size=616, nrcpt=1 (queue active)
Aug 11 10:18:35 primaryzimbra postfix/smtp[24352]: connect to 127.0.0.1[127.0.0.1] Connection refused
Aug 11 10:18:35 primaryzimbra postfix/smtp[24353]: connect to 127.0.0.1[127.0.0.1] Connection refused
Aug 11 10:18:35 primaryzimbra postfix/smtp[24352]: 4B7B098033C: to=, relay=none, delay=378, delays=378/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1] Connection refused)
Aug 11 10:18:35 primaryzimbra postfix/smtp[24353]: 08AA6980436: to=, relay=none, delay=392, delays=392/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1] Connection refused)
Aug 11 10:20:04 primaryzimbra zmmailboxdmgr[25395]: status requested
Aug 11 10:20:04 primaryzimbra zmmailboxdmgr[25395]: status OK
--------------------------------------------
unable to start amavisd. When starting the same getting the error below:
----------------
[zimbra@primaryzimbra bin]$ ./zmamavisdctl start
Starting amavisd...Problem in Amavis::Unpackers code: Can't locate Convert/TNEF./usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/ne 31.
BEGIN failed--compilation aborted at (eval 104) line 31.
failed.
------------------
Please help to solve this problem. ITs because of perl verisons i think.
thanks
Geetha
Old/existing machine:
---------------
OS version: Redhat - Linux node1 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:14 EST 2007 x86_64 x86_64 x86_64 GNU/Linux
Zimbra version: Release 7.0.1_GA_3105.RHEL5_64_20110304210645 CentOS6_64 FOSS edition
perl verison: v5.8.8 built for x86_64-linux-thread-multi
New machine:
------
OS version - Centos - Linux primaryzimbra.ccmb.res.in 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Zimbra version: Release 7.0.1_GA_3105.RHEL5_64_20110304210645 CentOS6_64 FOSS edition.
perl version: v5.10.1 (*) built for x86_64-linux-thread-multi
Zimbra 7 to zimbra 8
What OS/version did you have on the old and new machines? Unless the versions are identical I don't think you can just move it over.
-
- Posts: 22
- Joined: Sat Sep 13, 2014 1:50 am
Zimbra 7 to zimbra 8
Old/existing machine:
---------------
OS version: Redhat - Linux node1 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:14 EST 2007 x86_64 x86_64 x86_64 GNU/Linux
Zimbra version: Release 7.0.1_GA_3105.RHEL5_64_20110304210645 CentOS6_64 FOSS edition
perl verison: v5.8.8 built for x86_64-linux-thread-multi
New machine:
------
OS version - Centos - Linux primaryzimbra.ccmb.res.in 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Zimbra version: Release 7.0.1_GA_3105.RHEL5_64_20110304210645 CentOS6_64 FOSS edition.
perl version: v5.10.1 (*) built for x86_64-linux-thread-multi
The new version and old version is given. Finally able to install zimbra 7 by installing some missing perl modules and tested for sending and receiving mails.
Copied complete /opt/zimbra directory from old to new server using rsync. Now again trying to start zimbra and getting the following error.
[zimbra@primaryzimbra ~]$ zmcontrol start
Host primaryzimbra.ccmb.res.in
Starting ldap...Done.
Unable to determine enabled services from ldap.
Unable to determine enabled services. Cache is out of date or doesn't exist.
please to help to solve this issue. DNS entry is fine. Changed the hostname.
thanks
---------------
OS version: Redhat - Linux node1 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:14 EST 2007 x86_64 x86_64 x86_64 GNU/Linux
Zimbra version: Release 7.0.1_GA_3105.RHEL5_64_20110304210645 CentOS6_64 FOSS edition
perl verison: v5.8.8 built for x86_64-linux-thread-multi
New machine:
------
OS version - Centos - Linux primaryzimbra.ccmb.res.in 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Zimbra version: Release 7.0.1_GA_3105.RHEL5_64_20110304210645 CentOS6_64 FOSS edition.
perl version: v5.10.1 (*) built for x86_64-linux-thread-multi
The new version and old version is given. Finally able to install zimbra 7 by installing some missing perl modules and tested for sending and receiving mails.
Copied complete /opt/zimbra directory from old to new server using rsync. Now again trying to start zimbra and getting the following error.
[zimbra@primaryzimbra ~]$ zmcontrol start
Host primaryzimbra.ccmb.res.in
Starting ldap...Done.
Unable to determine enabled services from ldap.
Unable to determine enabled services. Cache is out of date or doesn't exist.
please to help to solve this issue. DNS entry is fine. Changed the hostname.
thanks
Zimbra 7 to zimbra 8
[quote user="Geetha Thanu"]DNS entry is fine.[/quote]When you make statements like this you should, for verification, provide some evidence that what you say is correct.
[quote user="Geetha Thanu"] Changed the hostname.[/QUOTE]That might be your problem. How and at what point did you change the hostname?
[quote user="Geetha Thanu"] Changed the hostname.[/QUOTE]That might be your problem. How and at what point did you change the hostname?
-
- Posts: 22
- Joined: Sat Sep 13, 2014 1:50 am
Zimbra 7 to zimbra 8
thanks for your quick reply.
old server had the server name as node2. and localconfig.xml entry as webmail.ccmb.res.in(since its installed in HA cluster and virtual name was webmail.ccmb.res.in)
New destination server name is primaryzimbra.ccmb.res.in this has mx entry in dns server. changed the localconfig.xml entry from webmail to primaryzimbra.ccmb.res.in.
show here o/p of dig command
[root@primaryzimbra conf]# dig primaryzimbra.ccmb.res.in mx
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.17.rc1.el6 <<>> primaryzimbra.ccmb.res.in mx
;; global options: +cmd
;; Got answer:
;; ->>HEADER<
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;primaryzimbra.ccmb.res.in. IN MX
;; AUTHORITY SECTION:
ccmb.res.in. 86400 IN SOA ns1.ccmb.res.in. root.ccmb.res.i n. 42 10800 900 604800 86400
;; Query time: 0 msec
;; SERVER: 192.168.1.2#53(192.168.1.2)
;; WHEN: Mon Aug 18 17:11:59 2014
;; MSG SIZE rcvd: 88
please help me to solve the issue.
thanks
old server had the server name as node2. and localconfig.xml entry as webmail.ccmb.res.in(since its installed in HA cluster and virtual name was webmail.ccmb.res.in)
New destination server name is primaryzimbra.ccmb.res.in this has mx entry in dns server. changed the localconfig.xml entry from webmail to primaryzimbra.ccmb.res.in.
show here o/p of dig command
[root@primaryzimbra conf]# dig primaryzimbra.ccmb.res.in mx
; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.17.rc1.el6 <<>> primaryzimbra.ccmb.res.in mx
;; global options: +cmd
;; Got answer:
;; ->>HEADER<
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;primaryzimbra.ccmb.res.in. IN MX
;; AUTHORITY SECTION:
ccmb.res.in. 86400 IN SOA ns1.ccmb.res.in. root.ccmb.res.i n. 42 10800 900 604800 86400
;; Query time: 0 msec
;; SERVER: 192.168.1.2#53(192.168.1.2)
;; WHEN: Mon Aug 18 17:11:59 2014
;; MSG SIZE rcvd: 88
please help me to solve the issue.
thanks
-
- Posts: 22
- Joined: Sat Sep 13, 2014 1:50 am
Zimbra 7 to zimbra 8
I did not change the hostname of the server. I changed in the localconfig.xml file only.
Zimbra 7 to zimbra 8
[quote user="Geetha Thanu"]I did not change the hostname of the server. I changed in the localconfig.xml file only.[/QUOTE]Why did you do that and what are you trying to achieve? According to the DNS information you've posted above there is no MX record for this server and that's why you're getting the error message about LDAP not starting and changing localconfig files isn't helping.
-
- Posts: 39
- Joined: Sat Sep 13, 2014 2:23 am
Zimbra 7 to zimbra 8
Hi,
As you mention
"[zimbra@primaryzimbra ~]$ zmcontrol start
Host primaryzimbra.ccmb.res.in
Starting ldap...Done.
Unable to determine enabled services from ldap.
Unable to determine enabled services. Cache is out of date or doesn't exist."
Please check possible error in logs.
also check output of
[zimbra@primaryzimbra ~]$ zmhostname
Is your ZCS services are running fine ?
As you mention
"[zimbra@primaryzimbra ~]$ zmcontrol start
Host primaryzimbra.ccmb.res.in
Starting ldap...Done.
Unable to determine enabled services from ldap.
Unable to determine enabled services. Cache is out of date or doesn't exist."
Please check possible error in logs.
also check output of
[zimbra@primaryzimbra ~]$ zmhostname
Is your ZCS services are running fine ?
-
- Posts: 22
- Joined: Sat Sep 13, 2014 1:50 am
Zimbra 7 to zimbra 8
Thanks for your reply. Atlast I changed the hostname similar to old servername and copied back the localconfig.xml file of the old server. It started with all the mails(around 1.TB) user mails. Thanks for your support.
Can you please give me the procedure of upgrading now from Zimbra 7 to 8 without disturbing/corrupting all these data. waiting for your reply.
thanks
Geetha Thanu
Can you please give me the procedure of upgrading now from Zimbra 7 to 8 without disturbing/corrupting all these data. waiting for your reply.
thanks
Geetha Thanu
-
- Posts: 39
- Joined: Sat Sep 13, 2014 2:23 am
Zimbra 7 to zimbra 8
Hi,
Your are using FOSS edition of ZCS : 7.0.1_GA_3105.RHEL5_64_20110304210645 CentOS6_64 FOSS edition rite.
Do you have any backup planing for it before upgrading from ZCS-7 to ZCS-8. (8.0.7 Latest version)
For safer side you always have "backup copy" before upgrading.
Your are using FOSS edition of ZCS : 7.0.1_GA_3105.RHEL5_64_20110304210645 CentOS6_64 FOSS edition rite.
Do you have any backup planing for it before upgrading from ZCS-7 to ZCS-8. (8.0.7 Latest version)
For safer side you always have "backup copy" before upgrading.