freshclam process starts despite clamav disabled

Article ID: 5566 
Last Review: Oct,9 2008
Author: Rodion Smirnov
Last updated by: Rodion Smirnov APPLIES TO:
  • Parallels Pro Control Panel Linux

Cause

freshclam process started by /etc/cron.daily/freshclam script which doesn't check if clamd is disabled

Resolution

Modify the /etc/cron.daily/freshclam script adding the check whether the clamd is disabled.

1. Log into your Parallels Pro Control Panel box as root

2. Open the /etc/cron.daily/freshclam

3. Replace the following lines

 

/usr/bin/freshclam \

 --quiet \

 --datadir="/var/clamav" \

 --log="$LOG_FILE" \

 --log-verbose \

 --daemon-notify="/etc/clamd.conf"

 

with the lines

 

if [ "x" != "x`chkconfig --list clamd | grep on`" ]; then

    /usr/bin/freshclam \

     --quiet \

     --datadir="/var/clamav" \

     --log="$LOG_FILE" \

     --log-verbose \

     --daemon-notify="/etc/clamd.conf"

fi



Subscription for this article changesSubscription for this article changes

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields