Quantcast
Channel: Zimbra Forums
Viewing all articles
Browse latest Browse all 762

Administrators • Zmauditswatch does not start automatically

$
0
0
Hi.

Right now I have to run this manually every time:

Code:

$ sudo su - zimbra$ zmauditswatchctl statuszmauditswatch is not running.$ zmauditswatchctl startStarting auditswatch...done.$ zmauditswatchctl statuszmauditswatch is running.
I'm trying to configure automatic start after server restart:

Code:

$ sudo nano /etc/systemd/system/zmauditswatchctl.service
I pasted the text from the website https://wiki.zimbra.com/wiki/Zmauditswatch into the file.

Code:

$ sudo systemctl daemon-reload$ sudo systemctl enable zmauditswatchctlCreated symlink from /etc/systemd/system/multi-user.target.wants/zmauditswatchctl.service to /etc/systemd/system/zmauditswatchctl.service.$ sudo systemctl start zmauditswatchctl$ systemctl status zmauditswatchctl● zmauditswatchctl.service - Zimbra Collaboration Suite Zmauditswatch   Loaded: loaded (/etc/systemd/system/zmauditswatchctl.service; enabled; vendor preset: enabled)   Active: inactive (dead) since czw 2024-05-02 11:39:04 CEST; 27min ago  Process: 16042 ExecStop=/opt/zimbra/bin/zmauditswatchctl stop (code=exited, status=0/SUCCESS)  Process: 15948 ExecStart=/opt/zimbra/bin/zmauditswatchctl start (code=exited, status=0/SUCCESS) Main PID: 15948 (code=exited, status=0/SUCCESS)

Why does this remain inactive? I thought maybe I was checking it on the wrong user. After all, earlier it was for "zimbra". But when I switch to the user "zimbra", the status is also "not running".

Statistics: Posted by WebGreg — Thu May 02, 2024 10:08 am



Viewing all articles
Browse latest Browse all 762

Trending Articles