Notifications
Clear all

Upgrade to ZEXTRAS Release 9.0.0.ZEXTRAS.20221203.UBUNTU20.64 Build (fromzimbra OSE Release 8.8.15.GA.4179.UBUNTU20.64) succeeded but failed after running apt update post-upgrade

1 Posts
1 Users
0 Reactions
894 Views
(@sarmamv)
Joined: 1 year ago
Posts: 1
Topic starter  

Environment:

zimbra OSE Release 8.8.15.GA.4179.UBUNTU20.64 UBUNTU20_64 FOSS edition on Ubuntu 20.04.6 LTS

Upgraded to Release 9.0.0.ZEXTRAS.20221203.UBUNTU20.64 UBUNTU20_64 FOSS edition via (wget download.zextras.com/zcs-9.0.0_OSE_UBUNTU20_latest-zextras.tgz and running install.sh and choosing to upgrade)

Upgrade was smooth.

Then:

apt update

apt list --upgradable
Listing... Done
zimbra-mta-patch/unknown 9.0.0.1629795032.p18-1.u20 amd64 [upgradable from: 8.8.15.1679578642.p39-1.u20]
zimbra-patch/unknown 9.0.0.1629795032.p18-1.u20 amd64 [upgradable from: 8.8.15.1680534965.p39-1.u20]
zimbra-proxy-patch/unknown 9.0.0.1629795032.p18-1.u20 amd64 [upgradable from: 8.8.15.1679578642.p39-1.u20

apt upgrade

su - zimbra

zmcontrol restart

zmcontrol status

Host mail.mycompany.org
amavis Running
antispam Running
antivirus Running
dnscache Running
ldap Running
logger Running
mailbox Stopped
zmmailboxdctl is not running.
memcached Running
mta Running
opendkim Running
proxy Running
service webapp Stopped
zmmailboxdctl is not running.
snmp Running
spell Running
stats Running
zimbra webapp Stopped
zmmailboxdctl is not running.
zimbraAdmin webapp Stopped
zmmailboxdctl is not running.
zimlet webapp Stopped
zmmailboxdctl is not running.
zmconfigd Running

zmcontrol restart
Host mail.mycompany.org
Stopping zmconfigd...Done.
Stopping zimlet webapp...Done.
Stopping zimbraAdmin webapp...Done.
Stopping zimbra webapp...Done.
Stopping service webapp...Done.
Stopping stats...Done.
Stopping mta...Done.
Stopping spell...Done.
Stopping snmp...Done.
Stopping cbpolicyd...Done.
Stopping archiving...Done.
Stopping opendkim...Done.
Stopping amavis...Done.
Stopping antivirus...Done.
Stopping antispam...Done.
Stopping proxy...Done.
Stopping memcached...Done.
Stopping mailbox...Done.
Stopping logger...Done.
Stopping dnscache...Done.
Host mail.gameshastra.in
Starting ldap...Done.
Failed.
/opt/zimbra/libexec/zmslapd: line 23: /opt/zimbra/common/libexec/slapd: Permission denied
/opt/zimbra/libexec/zmslapd: line 23: exec: /opt/zimbra/common/libexec/slapd: cannot execute: Permission denied
/opt/zimbra/libexec/zmslapd: line 23: /opt/zimbra/common/libexec/slapd: Permission denied
/opt/zimbra/libexec/zmslapd: line 23: exec: /opt/zimbra/common/libexec/slapd: cannot execute: Permission denied
/opt/zimbra/libexec/zmslapd: line 23: /opt/zimbra/common/libexec/slapd: Permission denied
/opt/zimbra/libexec/zmslapd: line 23: exec: /opt/zimbra/common/libexec/slapd: cannot execute: Permission denied
/opt/zimbra/libexec/zmslapd: line 23: /opt/zimbra/common/libexec/slapd: Permission denied
/opt/zimbra/libexec/zmslapd: line 23: exec: /opt/zimbra/common/libexec/slapd: cannot execute: Permission denied
/opt/zimbra/libexec/zmslapd: line 23: /opt/zimbra/common/libexec/slapd: Permission denied
/opt/zimbra/libexec/zmslapd: line 23: exec: /opt/zimbra/common/libexec/slapd: cannot execute: Permission denied
/opt/zimbra/libexec/zmslapd: line 23: /opt/zimbra/common/libexec/slapd: Permission denied
/opt/zimbra/libexec/zmslapd: line 23: exec: /opt/zimbra/common/libexec/slapd: cannot execute: Permission denied
/opt/zimbra/libexec/zmslapd: line 23: /opt/zimbra/common/libexec/slapd: Permission denied
/opt/zimbra/libexec/zmslapd: line 23: exec: /opt/zimbra/common/libexec/slapd: cannot execute: Permission denied
Failed to start slapd. Attempting debug start to determine error.

URL: https://wiki.zimbra.com/wiki/Fix_the_Zimbra_Collaboration_Permissions

As root:

/opt/zimbra/libexec/zmfixperms --extended --verbose

the issue was not fixed

chown -R zimbra:zimbra /opt/zimbra

su - zimbra

zmcontrol restart
Host mail.mycompany.org
Stopping zmconfigd...Done.
Stopping zimlet webapp...Done.
Stopping zimbraAdmin webapp...Done.
Stopping zimbra webapp...Done.
Stopping service webapp...Done.
Stopping stats...Done.
Stopping mta...Done.
Stopping spell...Done.
Stopping snmp...Done.
Stopping cbpolicyd...Done.
Stopping archiving...Done.
Stopping opendkim...Done.
Stopping amavis...Done.
Stopping antivirus...Done.
Stopping antispam...Done.
Stopping proxy...Done.
Stopping memcached...Done.
Stopping mailbox...Done.
Stopping logger...Done.
Stopping dnscache...Done.
Stopping ldap...Done.
Host mail.gameshastra.in
Starting ldap...Done.
Failed.
Failed to start slapd. Attempting debug start to determine error.
644cd13a daemon: bind(7) failed errno=13 (Permission denied)
644cd13a slap_open_listener: failed on ldap://mail.gameshastra.in:389

URL: https://www.youtube.com/watch?v=xTuaFLWW01M

edit /etc/hosts and modify line and made sure the seperator is tab

w.z.y.z    mail.mycompany.org    mail

zmcontrol restart
Host mail.mycompany.org
Stopping zmconfigd...Done.
Stopping zimlet webapp...Done.
Stopping zimbraAdmin webapp...Done.
Stopping zimbra webapp...Done.
Stopping service webapp...Done.
Stopping stats...Done.
Stopping mta...Done.
Stopping spell...Done.
Stopping snmp...Done.
Stopping cbpolicyd...Done.
Stopping archiving...Done.
Stopping opendkim...Done.
Stopping amavis...Done.
Stopping antivirus...Done.
Stopping antispam...Done.
Stopping proxy...Done.
Stopping memcached...Done.
Stopping mailbox...Done.
Stopping logger...Done.
Stopping dnscache...Done.
Stopping ldap...Done.
Host mail.gameshastra.in
Starting zmconfigd...Done.
Starting dnscache...Done.
Starting logger...Done.
Starting mailbox...Done.
Starting memcached...Done.
Starting proxy...Done.
Starting amavis...Done.
Starting antispam...Done.
Starting antivirus...Done.
Starting opendkim...Done.
Starting snmp...Done.
Starting spell...Done.
Starting mta...Failed.
Starting amavisd-mc...amavisd-mc is already running.
Starting amavisd...amavisd is already running.
Starting milter server...done.
Starting saslauthd...done.
postalias: fatal: open database /etc/aliases.lmdb: Permission denied
postsuper: fatal: scan_dir_push: open directory defer: Permission denied
postfix failed to start

Starting stats...Done.
Starting service webapp...Done.
Starting zimbra webapp...Done.
Starting zimbraAdmin webapp...Done.
Starting zimlet webapp...Done.

tried suggestion from @jasgg_it in ZEXTRAS forum (URL: https://community.zextras.com/forum/zimbra-ose-9-by-zextras/mailbox-service-is-not-starting-after-os-update-this-morning/paged/2/)

created file 02_zimbra-ldap configuration file with content:

the issue was not fixed

tried even suggestion by lando4k2 https://community.zextras.com/forum/zimbra-ose-9-by-zextras/mailbox-service-is-not-starting-after-os-update-this-morning/paged/2/)

'

apt-get install zimbra-openjdk=13.0.1-1zimbra8.8b1.20.04 zimbra-core-components=3.0.11-1zimbra8.8b1.20.04 zimbra-jetty-distribution=9.4.18.v20190429-2.u20 zimbra-ldap-components=2.0.5-1zimbra8.8b1.20.04

zmcontrol restart failed to work because the downgrade apprently removed zibra-core components.

I was forced to revert back to zimbra OSE Release 8.8.15.GA.4179.UBUNTU20.64 UBUNTU20_64 FOSS edition from Backup

Any suggestions on how to make this upgrade from 8.8.15 to 9.0.0 is hugely appreciated

Thanks in Advance,

SarmaMV


   
Quote