Page 1 of 1

Move to new server problems

Posted: Sat Apr 26, 2008 1:17 am
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

Move to new server problems

Posted: Sat Apr 26, 2008 3:14 am
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

Move to new server problems

Posted: Sat Apr 26, 2008 7:17 am
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

Move to new server problems

Posted: Sat Apr 26, 2008 8:44 am
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.

Move to new server problems

Posted: Sat Apr 26, 2008 5:06 pm
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.

Move to new server problems

Posted: Sun Apr 27, 2008 12:02 am
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.

Move to new server problems

Posted: Sun Apr 27, 2008 2:06 am
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.