Move to new server problems

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

Move to new server problems

Postby mluxton » Sat Apr 26, 2008 1:17 am

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

Postby uxbod » Sat Apr 26, 2008 3:14 am

Okay some further information please
cat /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
Elite member
Elite member
Posts: 2196
Joined: Wed Oct 09, 2013 11:35 am
Location: Portland, Maine, US
ZCS/ZD Version: 8.8.15 Network Edition
Contact:

Move to new server problems

Postby L. Mark Stone » Sat Apr 26, 2008 7:17 am

[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/2007/10/moving_zcs_to_another_server.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/
Zeta Alliance http://www.zetalliance.org/
Bill Brock
Outstanding Member
Outstanding Member
Posts: 618
Joined: Fri Sep 12, 2014 10:35 pm

Move to new server problems

Postby Bill Brock » Sat Apr 26, 2008 8:44 am

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

Postby adobrin » Sat Apr 26, 2008 5:06 pm

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

Postby mluxton » Sun Apr 27, 2008 12:02 am

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

Postby adobrin » Sun Apr 27, 2008 2:06 am

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.

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 13 guests