tehseen wrote:I have stopped all service via zmcontrol stop
then I issue ps -ef | grep zimbra
Code: Select all
zimbra 479436 1 7 15:02 pts/4 00:00:23 /opt/zimbra/common/lib/jvm/java/bin/java -XX:ErrorFile=/opt/zimbra/log -client -Xmx256m -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2 -Djdk.tls.client.protocols=TLSv1,TLSv1.1,TLSv1.2 -Djava.net.preferIPv4Stack=true -Dzimbra.home=/opt/zimbra -Djava.library.path=/opt/zimbra/lib -classpath /opt/zimbra/common/lib/jvm/java/lib/ext:/opt/zimbra/lib/jars:/opt/zimbra/lib/ext-common/*:/opt/zimbra/lib/ext/clamscanner/*:/opt/zimbra/lib/ext/zimbra-license/*:/opt/zimbra/lib/ext/twofactorauth/*:/opt/zimbra/lib/ext/com_zimbra_ssdb_ephemeral_store/*:/opt/zimbra/lib/jars/*:/opt/zimbra/conf -Djava.io.tmpdir=/opt/zimbra/data/tmp -Dpython.cachedir.skip=true org.python.util.jython /opt/zimbra/libexec/zmconfigd
I forcefully delete pid and remove pid file as well for
rm -f /opt/zimbra/log/zmconfigd.pid
and restart all service using zmcontrol restart but same
Code: Select all
Starting zmconfigd...Failed.
Starting zmconfigd...failed.
Where else to look for it.
I hit the same, had straced and looked like there was something with a module for apache...
Seeing your post a few times I decided to just try and start zmconfigd.
Incidentially, it also happens on 18.04; so i hope we can not bother with "support" questions, especially since the packages are offered for download.
I advise people against running on 20.04 due to the bad support documentation, but not everyone has been burnt enough times yet.
So some might be misled that if non-beta packages are offered on the official download site it means something.
Code: Select all
zimbra@zimbra:~$ /opt/zimbra/common/lib/jvm/java/bin/java -XX:ErrorFile=/opt/zimbra/log -client -Xmx256m -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2 -Djdk.tls.client.protocols=TLSv1,TLSv1.1,TLSv1.2 -Djava.net.preferIPv4Stack=true -Dzimbra.home=/opt/zimbra -Djava.library.path=/opt/zimbra/lib -classpath /opt/zimbra/common/lib/jvm/java/lib/ext:/opt/zimbra/lib/jars:/opt/zimbra/lib/ext-common/*:/opt/zimbra/lib/ext/clamscanner/*:/opt/zimbra/lib/ext/zimbra-license/*:/opt/zimbra/lib/ext/twofactorauth/*:/opt/zimbra/lib/ext/com_zimbra_ssdb_ephemeral_store/*:/opt/zimbra/lib/jars/*:/opt/zimbra/conf -Djava.io.tmpdir=/opt/zimbra/data/tmp -Dpython.cachedir.skip=true org.python.util.jython /opt/zimbra/libexec/zmconfigd
Aug 22, 2022 1:46:54 AM 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
As for the issue, this is also explaining why nothing is logged.
If you check, this is the "classic" issue from p32.
My zmcontrol -v says the system has p33 but maybe some little redeploy was missing?
you should be able to retry reinstalling zm-core-utils and zm-jython, but tbh I can not confident about this anymore. I fetched the p32 files and manually put them in place.
The following are the commands I tried.
Code: Select all
mkdir /backup
mv /opt/zimbra/libexec/zmconfigd /backup
mv /opt/zimbra/common/lib/jylibs/commands.py /backup
wget -O /opt/zimbra/libexec/zmconfigd https://raw.githubusercontent.com/Zimbra/zm-core-utils/8.8.15.p32/src/libexec/zmconfigd
wget -O /opt/zimbra/common/lib/jylibs/commands.py https://raw.githubusercontent.com/Zimbra/zm-jython/8.8.15.p32/jylibs/commands.py
/opt/zimbra/libexec/zmfixperms
Afterwards, using the zimbra user, it's finally again possible to start this.
Code: Select all
zimbra@zimbra:~$ zmconfigdctl restart
Stopping zmconfigd...zmconfigd is not running.
Starting zmconfigd...done.
I suppose the p33 Patch has some cumulative update and the files are not updated on some weird instance.
Whatever. Hoping there's be a chance of switching to OEL8, or the FreeBSD port getting fixed or a working k8s deployment shows up.
This single server install on a consumer distro is a clusterf*** in any case.