Move to new server problems

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
mluxton
Posts: 7
Joined: Fri Sep 12, 2014 11:16 pm

Move to new server problems

Post by mluxton »

I have attempted to move Zimbra NE 4.5.6 to a new server.

Both are running RHEL5.
I did an install -s on the new server and then deleted /opt/zimbra/

I rsynced the old server to the new server but can't get it to work.

I have changed the dns to point to the new server.


I don't get a /var/log/zimbra.log as I did on the old server.
when it starts :

Host mail.xxxx.com

Starting ldap...Done.

Starting logger...Done.

Starting mailbox...Done.

Starting antispam...Done.

Starting antivirus...Done.

Starting snmp...Done.

Starting spell...Done.

Starting mta...Done.

[zimbra@mailserver ~]$ zmcontrol status

Host mail.xxxx.com

antispam Running

antivirus Stopped

zmclamdctl is not running

ldap Running

logger Running

mailbox Running

mta Stopped

postfix is not running

snmp Running

spell Running


Any clues as to where I should start looking?

I am finding it difficult without a log file.
Cheers
uxbod
Ambassador
Ambassador
Posts: 7811
Joined: Fri Sep 12, 2014 10:21 pm

Move to new server problems

Post by uxbod »

Okay some further information pleasecat /etc/hosts

cat /etc/resolv.conf

dig _yourdomain_ mx

dig _yourdomain_ ns

host `hostname` if your have rsync'd across then you could also check the perms are correct. As root/opt/zimbra/lib/zmfixperms
User avatar
L. Mark Stone
Ambassador
Ambassador
Posts: 2796
Joined: Wed Oct 09, 2013 11:35 am
Location: Portland, Maine, US
ZCS/ZD Version: 10.0.6 Network Edition
Contact:

Move to new server problems

Post by L. Mark Stone »

[quote user="mluxton"]I have attempted to move Zimbra NE 4.5.6 to a new server.

Both are running RHEL5.
I did an install -s on the new server and then deleted /opt/zimbra/

I rsynced the old server to the new server but can't get it to work.

I have changed the dns to point to the new server.


I don't get a /var/log/zimbra.log as I did on the old server.
when it starts :

Host mail.xxxx.com

Starting ldap...Done.

Starting logger...Done.

Starting mailbox...Done.

Starting antispam...Done.

Starting antivirus...Done.

Starting snmp...Done.

Starting spell...Done.

Starting mta...Done.

[zimbra@mailserver ~]$ zmcontrol status

Host mail.xxxx.com

antispam Running

antivirus Stopped

zmclamdctl is not running

ldap Running

logger Running

mailbox Running

mta Stopped

postfix is not running

snmp Running

spell Running


Any clues as to where I should start looking?

I am finding it difficult without a log file.
Cheers[/QUOTE]
Sounds like you are using the blog article methodology? (http://www.zimbra.com/blog/archives/200 ... erver.html) We tried that, and it didn't work for us.
We used the Zimbra-certified wiki article for moving from one server to another, and that worked.
Network Edition: Moving from 32-bit to 64-bit Server - Zimbra :: Wiki
Hope that helps,

Mark
___________________________________
L. Mark Stone
Mission Critical Email - Zimbra VAR/BSP/Training Partner https://www.missioncriticalemail.com/
AWS Certified Solutions Architect-Associate
Bill Brock
Outstanding Member
Outstanding Member
Posts: 618
Joined: Fri Sep 12, 2014 10:35 pm

Move to new server problems

Post by Bill Brock »

Did you run the command to fix permissions? You then have to manually fix the permissions in the .ssh, index, and store directories.
adobrin
Advanced member
Advanced member
Posts: 134
Joined: Fri Sep 12, 2014 9:56 pm

Move to new server problems

Post by adobrin »

check UID's too. rsync + fix_perms will use the zimbra UID from the old server, easiest fix is changing /etc/passwd to match.
mluxton
Posts: 7
Joined: Fri Sep 12, 2014 11:16 pm

Move to new server problems

Post by mluxton »

Thak you for the replies.

I had forgotten to complete the procedues as listed in the "Moving ZCS to another Server".

I then ran fixperms and install (it did an upgrade).

I can get everything running (I had to shurdown sendmail) but can't get into webadmin or normal webmail.

When I tail Catalina.out there are a whole lot of Java errors culminating in:
Apr 27, 2008 2:23:44 PM org.apache.coyote.http11.Http11BaseProtocol destroy

INFO: Stopping Coyote HTTP/1.1 on http-443

Apr 27, 2008 2:23:44 PM org.apache.catalina.connector.Connector stop

SEVERE: Coyote connector has not been started
Also when I do a "[zimbra@mail libexec]$ zmprov help config"

I also get Java errors.
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused

INFO: Retrying request

INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused

INFO: Retrying request

INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused

INFO: Retrying request

ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
Once again - thank you for the responses.
adobrin
Advanced member
Advanced member
Posts: 134
Joined: Fri Sep 12, 2014 9:56 pm

Move to new server problems

Post by adobrin »

uh hm. i just did a migration; im not sure what the documentation says, but if i were you i would rsync on top of the install again.
afaik, the procedure should be 1) install packages (same version as source), 2) rsync /opt/zimbra old server tree to new server
then check to make sure everything runs ok -- after thats done, go ahead and upgrade to a new version if thats what you want.
Post Reply