Author Topic: rebuild postfix and getting can't open clamd.log  (Read 1486 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
rebuild postfix and getting can't open clamd.log
« on: June 12, 2016, 08:17:22 PM »
Hi

I changed the domain for postfix and rebuilt postfix and now I get the following error

Stopping Clam AntiVirus Daemon: [FAILED]
Starting Clam AntiVirus Daemon: ERROR: Can't open /var/log/clamav/clamd.log in append mode (check permissions!).

ClamAV is now RED and I cannot restart/start it.

Any ideas?

IDC

Offline
***
Re: rebuild postfix and getting can't open clamd.log
« Reply #1 on: June 13, 2016, 03:26:59 AM »
Several times install cwp, always get same problem. Also happen when rebuilding postfix.
Try to remove  clamav, spamassasin and amavis, and reinstall all of them manually from ssh, might will fix problem.

http://forum.centos-webpanel.com/e-mail/about-clamd-and-amavisd/msg6288/#msg6288
http://blog.simplehost.web.id/2016/05/21/cwp-reinstall-amavis-spamassasin-clamav/

but for me, i only need amavis as email content filter, so clamav removed, spamassasin disabled.

Offline
*
Re: rebuild postfix and getting can't open clamd.log
« Reply #2 on: June 14, 2016, 06:59:54 AM »
Hi Jae

Thanks for responding.

Uninstalling and re-installing done the trick

Thanks