zmamavisdctl is not running
zmamavisdctl is not running ini terjadi ketika server zimbra sama sekali belum pernah dipakai masih fresh install. Jadi ketika awal instalasi, semua service normal. Ketika ip address server diganti dan ada proses migrate vm dikarenakan harus mematikan dan menghidupkan vm, amavisd tidak jalan. Untuk log sebagai berikut.
Jan 7 14:15:35 mail amavis[21860]: Ignoring stale PID file /opt/zimbra/log/amavisd.pid, older than system uptime 0 2:49:00 Jan 7 14:15:35 mail amavis[21860]: starting. /opt/zimbra/common/sbin/amavisd at mail.saad.my.id amavisd-new-2.10.1 (20141025), Unicode aware, LC_ALL="C", LANG="C" Jan 7 14:15:35 mail amavis[21860]: perl=5.016003, user=998, EUID: 998 (998); group=, EGID: 996 5 89 996 (996 5 89 996) Jan 7 14:15:35 mail amavis[21860]: SpamControl: init_pre_chroot on SpamAssassin done Jan 7 14:15:35 mail amavis[21860]: (!)Net::Server: 2020/01/07-14:15:35 Pid_file already exists for running process (2049)... aborting\n\n at line 144 in file /opt/zimbra/common/lib/perl5/Net/Server.pm Jan 7 14:15:35 mail amavis[21860]: Net::Server: 2020/01/07-14:15:35 Server closing!
Solusi
1. Stop terlebih dahulu service zimbra
su - zimbra zmcontrol stop exit
2. Cek pid zimbra, bila ada yang masih running kill prosesnya
ps ax | grep zimbra
3. Pindahkan amavisd.pid dan rename menjadi amavisd.pid.backup
mv /opt/zimbra/log/amavisd.pid /opt/zimbra/log/amavisd.pid.backup
4. jalankan kembali zimbra
su - zimbra zmcontrol start
Selesai
Semoga bermanfaat