ClamAV and AMaViS (A Mail Virus Scanner)stop working

Started by venty, April 06, 2016, 07:11:53 AM

Previous topic - Next topic

venty

Hi,

for some reason, applications ClamAV and  AMaViS (A Mail Virus Scanner) as work, stops and having to start manually .. After some time again stop and again I have to do manually be started ...

All this leads to the danger of losing messages ...

Please help!

BR

Venty

Jae

usually it is caused by server with small ram, eq 512mb, but you have lot of email transaction

Sandeep




venty

I am a rookie and I have installed a new panel. The latter is what I did to create domains and mailboxes ... I made it through user panel...

LiXuS

try to uninstall ClamAV whith yum :
yum remove clamav -y
and after
Rebuild your mail server with ClamAV (AntiSpam and AntiVirus Protection)
from yourdomain.com:2030 Email -> Postfix Mail Server Manager section.
at me it's works....
/var/www/home.ro

venty

Hi,

I did it, but get:

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

What to do?

BR
Venty

venty

... and ClamAV stopped working and can not be started...

Administrator

you should check the permissions of your log folder /var/log/clamav

if owner is clam then replace it with clamav or reverse if different.
example
chown -R clamav.clamav /var/log/clamav

venty

where to put this code?

More .... at this point ClamAV not there a row on the main screen (Dashboard)???

Services Status (chkconfig auto start up)
Apache Webserver      httpd (pid 1571) is running...    Start  Stop  Restart
Varnish Cache Server      varnishd (pid 1640) is running...    Start  Stop  Restart
Nginx Reverse Proxy      nginx (pid 1586) is running...    Start  Stop  Restart
FTP Server      pure-ftpd (pid 1607) is running...    Start  Stop  Restart
MySQL Database Server      mysqld (pid 1398) is running...    Start  Stop  Restart
BIND DNS Server      named (pid 1142) is running...    Start  Stop  Restart
SSH Server      openssh-daemon (pid 1259) is running...    Start  Stop  Restart
Crontab      crond (pid 1619) is running...    Start  Stop  Restart

Mail Server Services

Postfix Mail Server      master (pid 26163) is running...    Start  Stop  Restart
Dovecot IMAP/POP3 Server      dovecot (pid 26062) is running...    Start  Stop  Restart
AMaViS (A Mail Virus Scanner)      amavisd (pid 27448 27447 27160) is running...    Start  Stop  Restart
OpenDKIM      opendkim (pid 26188) is running...    Start  Stop  Restart
SpamAssassin      spamd (pid 26016) is running...    Start  Stop  Restart

Sandeep


venty

Service SSH/ Send Shell command ?

venty

hi,
in daily root messeges, in the end I have the following records:

cpulimit: no process killed
/etc/cron.daily/freshclam:

touch: cannot touch `/var/log/clamav/freshclam.log': No such file or directory
chmod: cannot access `/var/log/clamav/freshclam.log': No such file or directory
chown: cannot access `/var/log/clamav/freshclam.log': No such file or directory
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!).
/etc/cron.daily/logrotate:

error: stat of /var/log/lfd.log failed: No such file or directory

My ClamAV still does not work .. What to do?!!?

BR
Venty