Article ID: 5566, created on Aug 21, 2008, last review on May 11, 2014

  • Applies to:
  • 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

4cc899da08664637a8bc437308d3ddd7 3ccb419cf98083f3bb45808fba8dbc7c 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF