I am using Zimbra 8.7.1 on Ubuntu 14.04 (live) and 16.04 (testing).
To run backups through Veeam Endpoint for Linux I would like to stop Zimbra before the backup and start them once backup succeeded.
Therefor I generated two scripts:
Stop
Code: Select all
#!/bin/bash
sudo -u zimbra /opt/zimbra/bin/zmcontrol stop
Code: Select all
#!/bin/bash
sudo -u zimbra /opt/zimbra/bin/zmcontrol start
Code: Select all
Host zimbratest.local
Starting ldap...Done.
Starting zmconfigd...Done.
Starting logger...Failed.
Starting logswatch...failed.
Starting mailbox...Done.
Starting memcached...Done.
Starting proxy...Done.
Starting amavis...Done.
Starting antispam...Done.
Starting antivirus...Done.
Starting opendkim...Failed.
opendkim: /opt/zimbra/conf/opendkim.conf: ldap://zimbratest.local:389/?DKIMSelector?sub?(DKIMIdentity=$d): dkimf_db_open(): Connect error
Failed to start opendkim: 0
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.
Code: Select all
sudo ./zmcontrol_start.sh
Doing
Code: Select all
sudo /bin/bash
su zimbra
zmcontrol start
Does anyone have an idea what could be wrong or where in the logs could be more output to retrieve the actual error?
Thanks in advance!