Portal Home > Knowledgebase > Articles Database > Logwatch not detecting clam AV updates
Logwatch not detecting clam AV updates
Posted by web_host, 05-30-2012, 12:03 AM |
Hello,
I have a cent os box with cpanel/WHM, I have installed Clam AV via WHM --> cpanel plugins.
Its was installed successfully and is working fine, updating properly.
Issue that i am facing is that everyday when i get Logwatch report by mail, there in clam section it says -
--------------------- clam-update Begin ------------------------
No updates detected in the log for the freshclam daemon (the
ClamAV update process). If the freshclam daemon is not running,
you may need to restart it. Other options:
A. If you no longer wish to run freshclam, deleting the log file
(default is freshclam.log) will suppress this error message.
B. If you use a different log file, update the appropriate
configuration file. For example:
echo "LogFile = log_file" >> /etc/logwatch/conf/logfiles/clam-update.conf
where log_file is the filename of the freshclam log file.
C. If you are logging using syslog, you need to indicate that your
log file uses the syslog format. For example:
echo "*OnlyService = freshclam" >> /etc/logwatch/conf/logfiles/clam-update.conf
echo "*RemoveHeaders" >> /etc/logwatch/conf/logfiles/clam-update.conf
---------------------- clam-update End -------------------------
How do i fix this, plz guide me.
Thanks
|
Posted by caisc, 06-01-2012, 11:34 AM |
create a file as - /etc/logwatch/conf/logfiles/clam-update.conf
with the path of clam-update.log
|
Posted by web_host, 06-01-2012, 11:48 AM |
Thanks @caisc,
I did that but that did not fixed the issue. don't know what tweak is to be done for this.
|
Posted by RoseHosting, 06-03-2012, 03:27 AM |
Edit the '/usr/share/logwatch/scripts/services/clam-update' file.
Search for this line:
$ThisLine =~ s/ $//;
and add the following line after it:
$ThisLine = substr($ThisLine, 28);
|
Posted by web_host, 06-05-2012, 04:32 AM |
Thanks for your help RoseHosting, I did what you mentioned in the post but this did not fixed the issue.
|
Posted by web_host, 06-08-2012, 10:06 AM |
Getting No reply, Not a single expert here knows solution to this issue?
plz someone help me out to fix this issue.
|
Add to Favourites Print this Article
Also Read
nginx config (Views: 466)