Page 1 of 1

upgrade from ubuntu 12.04 to ubuntu 16.04

Posted: Fri Nov 16, 2018 11:07 am
by velin.budinov
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

Re: upgrade from ubuntu 12.04 to ubuntu 16.04

Posted: Fri Nov 16, 2018 7:42 pm
by axslingr
What was your upgrade process? Did you run do-release-upgrade or clean install of 16.04?

Lance

Re: upgrade from ubuntu 12.04 to ubuntu 16.04

Posted: Fri Nov 16, 2018 8:30 pm
by velin.budinov
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

Re: upgrade from ubuntu 12.04 to ubuntu 16.04

Posted: Fri Nov 16, 2018 10:26 pm
by axslingr
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

Re: upgrade from ubuntu 12.04 to ubuntu 16.04

Posted: Sat Nov 17, 2018 7:17 am
by velin.budinov
Yes, I did all those steps. I've followed that article:
https://wiki.zimbra.com/wiki/How_to_mov ... her_server

Regards,
Velin

Re: upgrade from ubuntu 12.04 to ubuntu 16.04

Posted: Sat Nov 17, 2018 2:19 pm
by axslingr
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

Re: upgrade from ubuntu 12.04 to ubuntu 16.04

Posted: Mon Nov 19, 2018 11:29 am
by velin.budinov
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