在将 Ubuntu 从 12.04 升级到 14.04 后,我刚刚尝试将 Zimbra 版本从 8.0.5 升级到 8.7。我遵循了以下指南:https://wiki.zimbra.com/wiki/Ubuntu_Upgrades但我仍然收到此错误:Socket 的 Perl API 版本 v5.14.0 与 v5.18.0 不匹配并执行了以下步骤(仅用于重现:
- 停止 zimbra(zmcontrol 停止为 zimbra)
- 更新和升级所有现有软件包:apt-get update && apt-get upgrade
- Ubuntu 版本升级(正如 Wiki 中声明的那样,我始终选择默认选项,即保留原始配置)
- 检查 Ubuntu 版本:Linux 版本 3.13.0-95-generic (buildd@lgw01-58) (gcc 版本 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3) ) #142-Ubuntu SMP 2016 年 8 月 12 日星期五 17:00:09 UTC
- 重启,apt-get update && apt-get upgrade,再次重启(为了保存)
- 下载并解压适用于 Ubuntu 14.04 的 zimbra 8.7(软件包名称:zcs-8.7.0_GA_1659.UBUNTU14_64.20160628202701.tgz)
- 安装 PERL 5.18:apt-get install libperl5.18
- ./安装.sh -s
完成最后一步后我得到以下输出:
root@mail:~/zcs-8.7.0_GA_1659.UBUNTU14_64.20160628202701# ./install.sh -s
Operations logged to /tmp/install.log.H0RNHBEX
Checking for existing installation...
zimbra-ldap...FOUND zimbra-ldap-8.0.5.GA.5839.UBUNTU12.64
zimbra-logger...FOUND zimbra-logger-8.0.5.GA.5839.UBUNTU12.64
zimbra-mta...FOUND zimbra-mta-8.0.5.GA.5839.UBUNTU12.64
zimbra-dnscache...NOT FOUND
zimbra-snmp...FOUND zimbra-snmp-8.0.5.GA.5839.UBUNTU12.64
zimbra-store...FOUND zimbra-store-8.0.5.GA.5839.UBUNTU12.64
zimbra-apache...FOUND zimbra-apache-8.0.5.GA.5839.UBUNTU12.64
zimbra-spell...FOUND zimbra-spell-8.0.5.GA.5839.UBUNTU12.64
zimbra-convertd...NOT FOUND
zimbra-memcached...FOUND zimbra-memcached-8.0.5.GA.5839.UBUNTU12.64
zimbra-proxy...FOUND zimbra-proxy-8.0.5.GA.5839.UBUNTU12.64
zimbra-archiving...NOT FOUND
zimbra-core...FOUND zimbra-core-8.0.5.GA.5839.UBUNTU12.64
ZCS upgrade from 8.0.5 to 8.7.0 will be performed.
Checking for existing proxy service in your environment
Perl API version v5.14.0 of Socket does not match v5.18.0 at /usr/share/perl/5.18/XSLoader.pm line 92.
Compilation failed in require at /opt/zimbra/zimbramon/lib/Net/LDAP.pm line 8.
BEGIN failed--compilation aborted at /opt/zimbra/zimbramon/lib/Net/LDAP.pm line 8.
Compilation failed in require at bin/checkService.pl line 21.
BEGIN failed--compilation aborted at bin/checkService.pl line 21.
Error: Unable to contact the LDAP server.
任何帮助都将不胜感激。虽然我有 LVM 快照和完整备份,但由于一系列安全升级,我真的想升级。