Zimbra 9: zmmailboxdctl is not starting after applying latest patches(p26)

Ask questions about your setup or get help installing ZCS server (ZD section below).
stasouv
Advanced member
Advanced member
Posts: 63
Joined: Sat Sep 13, 2014 2:25 am
ZCS/ZD Version: 8.8.15_GA_3869.RHEL7_64_20190917004

Re: Zimbra 9: zmmailboxdctl is not starting after applying latest patches(p26)

Post by stasouv »

In other news, following a brief conversation, has there been any update to this problem?

I remind, our server has presented disfunctionality since the latest patch (34).

Key configuration variables are not loaded from config when the mailbox server boots.

We had to manually interfere with XML configuration files because variables were not picked.

No error was reported during installation (patch process)
No error was encountered by zimbra installation concerning access rights on temp folder

Errors appeared on zmmailbox.out log, concerning "malformed" variables, exactly as OP describes (no need to repeat).

Having bypassed these, we found that we also had to add to xml:
- zimbra http port (8080)
- zimbra admin url (/zimbraAdmin)
- zimbra admin port (7071)

We are not sure what else was not picked, the server seems to function ok-ish after we manually added these values.

We would deeply appreciate an applicable response.

Best regards,
Stavros
aner
Posts: 6
Joined: Fri Sep 12, 2014 10:31 pm
ZCS/ZD Version: ZCS 8.0.7

Re: Zimbra 9: zmmailboxdctl is not starting after applying latest patches(p26)

Post by aner »

I just ran into this after upgrading to Zimbra 9 p29 (from p24).

After a lot of digging, I got it to work by running

Code: Select all

chmod u+w jetty_base/webapps/zimbra/WEB-INF
Before doing this the permissions on that directory were:

Code: Select all

$ ls -ld jetty_base/webapps/zimbra/WEB-INF
dr-xr-xr-x. 6 zimbra zimbra 4096 Jan 13 20:09 jetty_base/webapps/zimbra/WEB-INF
mattezp
Posts: 1
Joined: Fri Feb 03, 2023 11:53 am

Re: Zimbra 9: zmmailboxdctl is not starting after applying latest patches(p26)

Post by mattezp »

aner wrote:I just ran into this after upgrading to Zimbra 9 p29 (from p24).
After a lot of digging, I got it to work by running

Code: Select all

chmod u+w jetty_base/webapps/zimbra/WEB-INF
THANK YOU, this fixed it for me too!! How did you figure this out?
rbustos
Posts: 1
Joined: Thu Feb 23, 2023 8:19 pm

Re: Zimbra 9: zmmailboxdctl is not starting after applying latest patches(p26)

Post by rbustos »

I was able to workaround this by doing next steps:

1) hardcode values in xml
2) disable html check otherwise email body will not be shown in webmail interface.
3) clean caches
4) restart services

Code: Select all

#as zimbra user
cd /opt/zimbra/jetty_base
sed -i 's@%%zimbraHttpDosFilterMaxRequestsPerSec%%@100@g' etc/service.web.xml.in etc/zimbra.web.xml.in etc/zimbraAdmin.web.xml.in webapps/zimbra/WEB-INF/web.xml webapps/zimbraAdmin/WEB-INF/web.xml
sed -i 's@%%list VAR:zimbraHttpContextPathBasedThreadPoolBalancingFilterRules , %%@zimbraAdmin:max=100%@g' etc/service.web.xml.in etc/zimbra.web.xml.in etc/zimbraAdmin.web.xml.in webapps/zimbra/WEB-INF/web.xml webapps/zimbraAdmin/WEB-INF/web.xml
sed -i 's@<env-entry-value>%%zimbraAdminURL%%</env-entry-value>@<env-entry-value>/zimbraAdmin</env-entry-value>@g' etc/zimbraAdmin.web.xml.in etc/zimbra.web.xml.in webapps/zimbra/WEB-INF/web.xml webapps/zimbraAdmin/WEB-INF/web.xml
sed -i 's/%%zimbraAdminPort%%/7071/g' etc/zimbra.web.xml.in etc/zimbraAdmin.web.xml.in webapps/zimbra/WEB-INF/web.xml webapps/zimbraAdmin/WEB-INF/web.xml

zmlocalconfig -e zimbra_use_owasp_html_sanitizer=false
zmprov fc all
Zimbra Version: Release 8.8.15_GA_4362.RHEL8_64_20220721104405 RHEL8_64 FOSS edition, Patch 8.8.15_P37.

Notes:

[*] Reinstall (with -s or all options) doesn't fix this (but can help rebuilding zimlets if you need.
[*] It was introduced in lastest patches (maybe 35, 36 or 37), most probably in 36. Since before all worked fine.
[*] If you are not using Zimbra interface for your users (like a basic email service POP/IMAP) then just apply 7071 modifications in order to bring Zimbra Admin interface online.
Post Reply