Mengatasi Masalah Zmclamdctl Is Not Running

Mengatasi Masalah Zmclamdctl Is Not Running, ini terjadi ketika restart semua service zimbra, tiba-tiba clamd tidak jalan. Jika dilakukan pengecekan pengecekan pada zimbra.log muncul seperti berikut pada log:

1
2
3
4
Mar 14 00:01:08 mail amavis[523]: (00523-01) (!)connect to /opt/zimbra/data/clamav/clamav.sock failed, attempt #1: Can't connect to a UNIX socket /opt/zimbra/data/clamav/clamav.sock: No such file or directory
Mar 14 00:01:08 mail amavis[523]: (00523-01) (!)ClamAV-clamd av-scanner FAILED: run_av error: Too many retries to talk to /opt/zimbra/data/clamav/clamav.sock (All attempts (1) failed connecting to /opt/zimbra/data/clamav/clamav.sock) at (eval 107) line 613.\n
Mar 14 00:01:08 mail amavis[523]: (00523-01) (!)WARN: all primary virus scanners failed, considering backups
Mar 14 00:01:08 mail amavis[523]: (00523-01) (!!)AV: ALL VIRUS SCANNERS FAILED

Solusi
1. Buat folder backup data clamav

1
mkdir -p /tmp/clamav-backup

2. Pindahkan semua isi data clamav ke clamav-backup

1
2
cd /opt/zimbra/data/clamav/db/
mv *.* /tmp/clamav-backup/

3. Jalan perintah berikut untuk mendownload data clamav yang baru

1
2
su - zimbra
/opt/zimbra/common/bin/freshclam --config-file=/opt/zimbra/conf/freshclam.conf

Selesai

source : https://saad.web.id/2020/03/masalah-zmclamdctl-is-not-running/

Posted on: August 29, 2022, by :  | 4 views