freshclam-sleep zombiefied

1 post / 0 new
#1 Tue, 09/18/2007 - 03:00

freshclam-sleep zombiefied

freshclam-sleep not exiting properly, and zombiefies there by not allowing future attempts at running the freshclam. I did the following:

[code:1] rm -f/etc/cron.d/clamav-update [/code:1] then I made a file called freshclam in /etc/cron.daily [code:1]


A simple update script for the clamav virus database.

This could as well be replaced by a SysV script.

fix log file if needed

LOG_FILE="/var/log/freshclam.log" if [ ! -f "$LOG_FILE" ]; then touch "$LOG_FILE" chmod 644 "$LOG_FILE" chown clamav.clamav "$LOG_FILE" fi

/usr/bin/freshclam \ --quiet \ --datadir="/var/lib/clamav" \ --log="$LOG_FILE" \ --log-verbose \ --daemon-notify="/etc/clamd.conf" [/code:1] then made it permissible [code:1] chmod +x /etc/cron.daily/freshclam [/code:1] Was just wondering if future releases from virtualmin would wipe that change out?<br><br>Post edited by: CrankyCronos, at: 2007/09/18 03:01