Moving OSE to new server

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
rosole
Posts: 31
Joined: Thu Jul 05, 2018 4:45 pm

Moving OSE to new server

Post by rosole »

Hello.

I'd like to move OSE to new server.
I did steps according to this easy guide:
https://wiki.zimbra.com/wiki/How_to_mov ... her_server

The issue happens after step 6, got error:

./install.sh

Operations logged to /tmp/install.log.jKlIIKXY
Checking for existing installation...
zimbra-chat...FOUND zimbra-chat-1.0.20.1532350417-2.u16
zimbra-drive...FOUND zimbra-drive-1.0.11.1518786326-1.u16
zimbra-imapd...NOT FOUND
zimbra-license-tools...NOT FOUND
zimbra-license-extension...NOT FOUND
zimbra-network-store...NOT FOUND
zimbra-network-modules-ng...NOT FOUND
zimbra-ldap...FOUND zimbra-ldap-8.8.8.GA.2009.UBUNTU16.64
zimbra-logger...FOUND zimbra-logger-8.8.8.GA.2009.UBUNTU16.64
zimbra-mta...FOUND zimbra-mta-8.8.8.GA.2009.UBUNTU16.64
zimbra-dnscache...FOUND zimbra-dnscache-8.8.8.GA.2009.UBUNTU16.64
zimbra-snmp...FOUND zimbra-snmp-8.8.8.GA.2009.UBUNTU16.64
zimbra-store...FOUND zimbra-store-8.8.8.GA.2009.UBUNTU16.64
zimbra-apache...FOUND zimbra-apache-8.8.8.GA.2009.UBUNTU16.64
zimbra-spell...FOUND zimbra-spell-8.8.8.GA.2009.UBUNTU16.64
zimbra-convertd...NOT FOUND
zimbra-memcached...FOUND zimbra-memcached-1:1.4.37-2.u16
zimbra-proxy...FOUND zimbra-proxy-8.8.8.GA.2009.UBUNTU16.64
zimbra-archiving...NOT FOUND
zimbra-core...FOUND zimbra-core-8.8.8.GA.2009.UBUNTU16.64
ZCS upgrade from 8.8.8 to 8.8.8 will be performed.
Validating ldap configuration
Error: Unable to bind to the LDAP server as the root LDAP user.
This is required to upgrade.


And when i try to use command:
zmcontrol got next errors:

Can't locate Zimbra/Util/Common.pm in @INC (you may need to install the Zimbra::Util::Common module) (@INC contains: /opt/zimbra/common/lib/perl5/x86_64-linux-gnu-thread-multi /opt/zimbra/common/lib/perl5 /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /opt/zimbra/bin/zmcontrol line 26.
BEGIN failed--compilation aborted at /opt/zimbra/bin/zmcontrol line 26.

Can someone help me with that?

Thank you.
phoenix
Ambassador
Ambassador
Posts: 27278
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Moving OSE to new server

Post by phoenix »

Install a new ZCS server on a new machine (or VM), you'll find it far easier to use the ZeXtras Migration Tool to move your current server data to the new server.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
rosole
Posts: 31
Joined: Thu Jul 05, 2018 4:45 pm

Re: Moving OSE to new server

Post by rosole »

Hello Phoenix.

Thank you for replay.

I've finished moved OSE to another server.
And when OSE start, got error in /var/log/zimbra/mailbox.log

1. when trying to reach Zimbra admin web site:

ERROR [qtp60830820-16:https:https://zimbra.domain.coml/] [] webclient - Error during GetDomainInfoRequest invocation
com.zimbra.common.service.ServiceException: error while proxying request to target server: HTTP/1.1 503 Service Unavailable
ExceptionId:qtp60830820-16:https:https://zimbra.domain.com/:1534870645128:7462533f5c5fc98e
Code:service.PROXY_ERROR Arg:(url, STR, "https://localhost:7071/service/admin/so ... nfoRequest")

Site is blank.

and similar error when try to logon as user (web site or zimbra desktop), web site is correctly displayed:

WARN [qtp1874154700-20:https:https://zimbra.domain.com/] [] webclient - system failure: error while proxying request to target server: HTTP/1.1 503 Service Unavailable
com.zimbra.common.service.ServiceException: system failure: error while proxying request to target server: HTTP/1.1 503 Service Unavailable
ExceptionId:qtp1874154700-20:https:https://zimbra.domain.com/:1534869491745:9534494962977905
Code:service.FAILURE at com.zimbra.common.service.ServiceException.FAILURE(ServiceException.java:288)

I'm giving up today ;-(

Thank you for any suggest.
phoenix
Ambassador
Ambassador
Posts: 27278
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Moving OSE to new server

Post by phoenix »

I've already given you my answer and it's by far the easiest method. Create a new server with your desired O/S (I prefer Centos7) then install the latest version of ZCS on there, next get the ZeXtras migration tool (install it) and move your old server to the new server - simple as that. It works, it's easy and it's free to use. What more could you ask for?
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
Post Reply