New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Freshclam DB update fail

Started by markz, September 17, 2015, 07:44:09 PM

Previous topic - Next topic

markz

Hello to all,

I try to update Clamd database by running "freshclam". But I got the following error, any hint how to fix this?

Quote[root@host log]# freshclam
ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!).
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).

Igor S.

Hi.

Try to create the /var/log/clamav/freshclam.log and change owner to it.



You can ask me to solve any problem with your server for some money in pm  ;)






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


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

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services

Glenn

Check what version of clam and clamd you are using , version 0.98.4 works better than 0.98.7 in regard to log file owner

brijendrasial

Quotechown clamav:clamav /var/log/clamav/freshclam.log
touch /var/run/clamav/clamd.sock
chown clamav:clamav /var/run/clamav/clamd.sock

Then run the update.
Quotefreshclam


infinitech07

The weird thing that I noticed on the old CWP version & the new CWP version is that the user & usergroup of the folders i.e. /var/log/clamav & /var/lib/clamav are different; the old one using "clamav" while the new one using "clam". Why??

Please refer to this post as well regarding the same issue reported lately.
Quotehttp://forum.centos-webpanel.com/centos-6-problems/clamav-update-problem/

Administrator

new version has newer clamAV from different repository so there are probably changes in the paths and username.