Control Web Panel

WebPanel => Postfix => Topic started by: idc on June 12, 2016, 08:17:22 PM

Title: rebuild postfix and getting can't open clamd.log
Post by: idc 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
Title: Re: rebuild postfix and getting can't open clamd.log
Post by: Jae 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.
Title: Re: rebuild postfix and getting can't open clamd.log
Post by: idc on June 14, 2016, 06:59:54 AM
Hi Jae

Thanks for responding.

Uninstalling and re-installing done the trick

Thanks