upgrade from ubuntu 12.04 to ubuntu 16.04

Looking to migrate to ZCS? Ask here. Got a great tip or script that helped you migrate? Post it here.
velin.budinov
Posts: 5
Joined: Sat Sep 13, 2014 2:28 am

upgrade from ubuntu 12.04 to ubuntu 16.04

Postby velin.budinov » Fri Nov 16, 2018 11:07 am

Hi guys,

after successful migration and upgrade from Ubuntu 12.04 Zimbra 8.7.1_GA_1670 (build 20161025050642) to Ubuntu 16.04 Zimbra 8.8.10_GA_3041 (build 20181008051741), zmlogswatchctl is not running:

cat zmlogswatch.out
/usr/bin/perl: symbol lookup error: /opt/zimbra/common/lib/perl5/x86_64-linux-gnu-thread-multi/auto/RRDs/RRDs.so: undefined symbol: Perl_xs_apiversion_bootcheck

/opt/zimbra/common/bin/swatchdog --config-file=/opt/zimbra/conf/logswatchrc --use-cpan-file-tail --pid-file=/opt/zimbra/log/logswatch.pid --daemon --script-dir=/opt/zimbra/data/tmp --tail-file /var/log/zimbra-stats.log
/usr/bin/perl: symbol lookup error: /opt/zimbra/common/lib/perl5/x86_64-linux-gnu-thread-multi/auto/RRDs/RRDs.so: undefined symbol: Perl_xs_apiversion_bootcheck

Already tried "for pkg in $(dpkg -l | grep zimbra | grep perl | awk '{print $2}'); do sudo apt-get install --reinstall $pkg; done" because I've had this error during upgrade process:
Validating ldap configuration
/usr/bin/perl: symbol lookup error: /opt/zimbra/common/lib/perl5//x86_64-linux-gnu-thread-multi/auto/Socket/Socket.so: undefined symbol: Perl_xs_apiversion_bootcheck
And after reinstalling all perl packages upgrade process succeeded, but can't start logswatch

Thanks in advance,
Velin


axslingr
Advanced member
Advanced member
Posts: 94
Joined: Sat Sep 13, 2014 2:20 am
ZCS/ZD Version: Release 8.8.9.GA.3019.UBUNTU14.64

Re: upgrade from ubuntu 12.04 to ubuntu 16.04

Postby axslingr » Fri Nov 16, 2018 7:42 pm

What was your upgrade process? Did you run do-release-upgrade or clean install of 16.04?

Lance
velin.budinov
Posts: 5
Joined: Sat Sep 13, 2014 2:28 am

Re: upgrade from ubuntu 12.04 to ubuntu 16.04

Postby velin.budinov » Fri Nov 16, 2018 8:30 pm

Hi Lance,

It was on clean ubuntu install. First i've upgrade it to same version 8.7.1 with installation package for ubuntu 16.04, and after that upgrade it to 8.8.10

Ragards,
Velin
axslingr
Advanced member
Advanced member
Posts: 94
Joined: Sat Sep 13, 2014 2:20 am
ZCS/ZD Version: Release 8.8.9.GA.3019.UBUNTU14.64

Re: upgrade from ubuntu 12.04 to ubuntu 16.04

Postby axslingr » Fri Nov 16, 2018 10:26 pm

Ok, good. When you first installed 8.7.1 on 16.04, did you use the -s option on install.sh, delete the resulting /opt/zimbra directory, restore your /opt/zimbra directory and run install.sh in normal mode?

Lance
velin.budinov
Posts: 5
Joined: Sat Sep 13, 2014 2:28 am

Re: upgrade from ubuntu 12.04 to ubuntu 16.04

Postby velin.budinov » Sat Nov 17, 2018 7:17 am

Yes, I did all those steps. I've followed that article:
https://wiki.zimbra.com/wiki/How_to_mov ... her_server

Regards,
Velin
axslingr
Advanced member
Advanced member
Posts: 94
Joined: Sat Sep 13, 2014 2:20 am
ZCS/ZD Version: Release 8.8.9.GA.3019.UBUNTU14.64

Re: upgrade from ubuntu 12.04 to ubuntu 16.04

Postby axslingr » Sat Nov 17, 2018 2:19 pm

Only other thing I can think of is make sure apparmor is disabled/removed and check permissions. I've never had issues doing this kind of upgrade.

Lance
velin.budinov
Posts: 5
Joined: Sat Sep 13, 2014 2:28 am

Re: upgrade from ubuntu 12.04 to ubuntu 16.04

Postby velin.budinov » Mon Nov 19, 2018 11:29 am

I've resolved that issue! I"ve copied RRDs.so file from another zimbra installation on ubuntu 16.04 and it's working now!

Regards,
Velin

Return to “Migration”

Who is online

Users browsing this forum: No registered users and 1 guest