Hi, Check the: /etc/cron.hourly/msec and /etc/cron.daily/msec ...
This is the problem, the script msec, chown all files in /var/log to root user. -----Mensaje original----- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nombre de [EMAIL PROTECTED] Enviado el: jueves, 16 de octubre de 2003 09:36 Para: [EMAIL PROTECTED] Asunto: [Clamav-users] clam-update log file... Hi, I'm runing freshclam daily (or at least I want it to do that): # touch /var/log/clam-update.log # chmod 600 /var/log/clam-update.log # chown clamav /var/log/clam-update.log I placed a cronjob in crontab to run every morning to update clamav: 0 8 * * * /usr/local/bin/freshclam --quiet -l /var/log/clam-update.log I noticed that (I don't know why or when, this is what I'm posting this mail for) the log file changes it's owner to root from clamav: # ls -al /var/log/clam-update.log -rw------- 1 root adm 232 Oct 13 21:45 /var/log/clam-update.log And of course now freshclam with -l won't work: # /usr/local/bin/freshclam -l /var/log/clam-update.log ERROR: LOGGER: Can't open file /var/log/clam-update.log to write. ERROR: Problem with internal logger. Changing it back to chown clamav fixes this problem... untill the next time check on updates and notice that the log file changed it's owner, yet again, to root: # chown clamav /var/log/clam-update.log Any ideas? I'm using Mandrake9.1 if that should help. Cheers, Shai ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users