Tonight schedule is updating our Zimbra Servers. Everything seems fine. As usual, the update procedures starts from MTA, Proxy, LDAP, and finally the maiboxes servers. MTA and Proxy update process completed without a problem. But after updating Zimbra’s LDAP server, suddenly zmconfigd refused to start.
Log files is no use here. Trying to execute /opt/zimbra/libexec/zmconfigd manually returns this cryptic errors
Jun 23, 2022 9:34:44 PM org.python.google.common.base.internal.Finalizer getInheritableThreadLocalsField INFO: Couldn't access Thread.inheritableThreadLocals. Reference finalizer threads will inherit thread local values. Traceback (most recent call last): File "/opt/zimbra/libexec/zmconfigd", line 32, in <module> from org.apache.log4j import PropertyConfigurator ImportError: No module named apache
After searching around, I found this thread. And at least my problems could be solved by replacing these files (Please make a backup first by simply copy those two to another directory)
- /opt/zimbra/common/lib/jylibs/commands.py replaced with https://raw.githubusercontent.com/Zimbra/zm-jython/8.8.15.p32/jylibs/commands.py
- /opt/zimbra/libexec/zmconfigd replaced with https://raw.githubusercontent.com/Zimbra/zm-core-utils/8.8.15.p32/src/libexec/zmconfigd
Permission for those files is as follows