after update (8.6->8.7) zmauditswatchctl fails

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
whyme?
Posts: 2
Joined: Wed Oct 12, 2016 2:53 pm

after update (8.6->8.7) zmauditswatchctl fails

Post by whyme? »

Hello, after update to 8.7 (OSE)

[zimbra@mail ~]$ zmauditswatchctl start
Starting auditswatch...failed.
[zimbra@mail ~]$ cat /opt/zimbra/log/zmauditswatch.out
/opt/zimbra/bin/zmauditswatchctl: line 107: /opt/zimbra/libexec/auditswatch: No such file or directory
User avatar
jorgedlcruz
Zimbra Alumni
Zimbra Alumni
Posts: 2782
Joined: Thu May 22, 2014 4:47 pm

Re: after update (8.6->8.7) zmauditswatchctl fails

Post by jorgedlcruz »

Hi whyme,
It's a known error in 8.7, so for the moment no fix until next Patch or minor release: Best regards
Jorge de la Cruz https://jorgedelacruz.es
Systems Engineer at Veeam Software https://www.veeam.com/
ethermeister
Posts: 1
Joined: Thu Jun 29, 2017 2:35 pm

Re: after update (8.6->8.7) zmauditswatchctl fails

Post by ethermeister »

The commands below will make it all work if the old zmaudtwswatch files are all present:

# cd /opt/zimbra/conf/
# cp auditswatchrc swatchdogrc
# cp auditswatchrc.in swatchdogrc.in
# chown zimbra:zimbra swatchdogrc swatchdogrc.in
# cd /opt/zimbra/bin
# cp zmauditswatchctl zmswatchdogctl
# sed -i 's/auditswatch/swatchdog/g' ./zmswatchdogctl
# ln -s /opt/zimbra/common/bin/swatchdog /opt/zimbra/libexec/swatchdog
# ln -s /opt/zimbra/bin/zmshutil /opt/zimbra/libexec/zmshutil
# cd /etc/init.d
# cp zmauditswatch zmswatchdog
# sed -i 's/auditswatch/swatchdog/g' zmswatchdog
# zmswatchdogctl start
# chkconfig zmswatchdog on

The new service will be called zmswatchdogctl.

Just in case it helps anyone...
Post Reply