Author Topic: ClamAV and AMaViS (A Mail Virus Scanner)stop working  (Read 18766 times)

0 Members and 1 Guest are viewing this topic.

Offline
***
ClamAV and AMaViS (A Mail Virus Scanner)stop working
« on: April 06, 2016, 07:11:53 AM »
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

Offline
***
Re: ClamAV and AMaViS (A Mail Virus Scanner)stop working
« Reply #1 on: April 06, 2016, 08:19:33 AM »
usually it is caused by server with small ram, eq 512mb, but you have lot of email transaction

Offline
*****
Re: ClamAV and AMaViS (A Mail Virus Scanner)stop working
« Reply #2 on: April 06, 2016, 08:43:50 AM »
you need 2 gb ram and above for normal operation

Offline
***
Re: ClamAV and AMaViS (A Mail Virus Scanner)stop working
« Reply #3 on: April 06, 2016, 08:46:28 AM »
I have 8 GB RAM

Offline
*****
Re: ClamAV and AMaViS (A Mail Virus Scanner)stop working
« Reply #4 on: April 06, 2016, 08:53:50 AM »
what did you last modified ?

Offline
***
Re: ClamAV and AMaViS (A Mail Virus Scanner)stop working
« Reply #5 on: April 06, 2016, 08:59:09 AM »
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...

Offline
*
Re: ClamAV and AMaViS (A Mail Virus Scanner)stop working
« Reply #6 on: April 07, 2016, 09:54:41 AM »
try to uninstall ClamAV whith yum :
Code: [Select]
yum remove clamav -yand 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

Offline
***
Re: ClamAV and AMaViS (A Mail Virus Scanner)stop working
« Reply #7 on: April 07, 2016, 01:50:38 PM »
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

Offline
***
Re: ClamAV and AMaViS (A Mail Virus Scanner)stop working
« Reply #8 on: April 07, 2016, 02:12:38 PM »
... and ClamAV stopped working and can not be started...

Offline
*
Re: ClamAV and AMaViS (A Mail Virus Scanner)stop working
« Reply #9 on: April 08, 2016, 01:56:43 PM »
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
Code: [Select]
chown -R clamav.clamav /var/log/clamav
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
***
Re: ClamAV and AMaViS (A Mail Virus Scanner)stop working
« Reply #10 on: May 15, 2016, 03:14:49 PM »
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

Offline
*****
Re: ClamAV and AMaViS (A Mail Virus Scanner)stop working
« Reply #11 on: May 15, 2016, 03:30:17 PM »
Enter the code in ssh/terminal

Offline
***
Re: ClamAV and AMaViS (A Mail Virus Scanner)stop working
« Reply #12 on: May 15, 2016, 03:33:45 PM »
Service SSH/ Send Shell command ?
« Last Edit: May 17, 2016, 02:09:59 PM by venty »

Offline
***
Re: ClamAV and AMaViS (A Mail Virus Scanner)stop working
« Reply #13 on: May 24, 2016, 05:45:32 AM »
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