Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Strange restart problem on Zimbra 8.8.5/Ubuntu16 #40
I installed a fresh Zimbra 8.8.5 and this letsencrypt set. Using the git versions. Zimbra is working, and restart works fine.
The error I am able to find is in zmwatch.out:
Can't locate Swatchdog/Actions.pm in @inc (you may need to install the Swatchdog::Actions module) (@inc contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /opt/zimbra/data/tmp/.swatchdog_script.16404 line 29.
The first per module reported 'missing' (in another error message was Date::Parse which I could solve with installing it:
I am seeing the same..
Brand new install of CentOS 6.9 minimal with Zimbra 8.8.5.
I modified the /etc/cron.d/letsencrypt-zimbra file a little bit, hoping to work around the issue.. Also don't need this running every day taking down the server.
Hopefully this will help.
Had the same problem.
[root@zimbraserver letsencrypt-zimbra-perm-fix]# uname -a
Zimbra 8.7.11 freshly installed.
Manual stop and start as zimbra user worked.
Maybe the problem is in restart? Because of some services not running it can't restart?
Confirming the issue affects me as well. Ubuntu 16.04 and Zimbra 8.7.0GA
obtain-and-deploy-letsencrypt-cert.sh: info: start nginx obtain-and-deploy-letsencrypt-cert.sh: info: assemble cert files obtain-and-deploy-letsencrypt-cert.sh: info: test and deploy certificates obtain-and-deploy-letsencrypt-cert.sh: info: restart zimbra obtain-and-deploy-letsencrypt-cert.sh: error: Restarting zimbra failed. root@mx01:/opt/letsencrypt-zimbra# cp configs/cron.conf /etc/cron.d/letsencrypt-zimbra root@mx01:/opt/letsencrypt-zimbra# su - zimbra zimbra@mx01:~$ zmcontrol status Host mx01.mail.routh.io amavis Running antispam Running antivirus Running dnscache Running ldap Running logger Stopped zmlogswatchctl is not running mailbox Running memcached Running mta Running opendkim Running proxy Running service webapp Running snmp Stopped zmswatch is not running. spell Running stats Running zimbra webapp Running zimbraAdmin webapp Running zimlet webapp Running zmconfigd Running zimbra@mx01:~$
And zmcontrol stop; zmcontrol start (as the zimbra user of course) fixes it:
zimbra@mx01:~$ zmcontrol stop Host mx01.mail.routh.io 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. zimbra@mx01:~$ zmcontrol start Host mx01.mail.routh.io Starting ldap...Done. 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...Done. Starting stats...Done. Starting service webapp...Done. Starting zimbra webapp...Done. Starting zimbraAdmin webapp...Done. Starting zimlet webapp...Done. zimbra@mx01:~$
Try setup cron as zimbra user.
root@mail:/opt/letsencrypt-zimbra# su zimbra
referenced this issue
Mar 5, 2018
I am sorry for the delay.
Finally I found that
Thank you all for the tips, specially @mvhconsult
Can anyone test the