Freshclam damon - logging
Hi all, I've got clamav running with amavis, all seems fine now for the most part. Except that when when running freshclam in daemon mode, and when I enable the "UpdateLogFile" in freshclam.conf, on start I get an error "Can't open /var/log/freshclam.log in append mode (check permissions!)". If I change the owner and group to /var/log/freshclam.log to "vscan", all works and logging is successful. However I did not need to do this for the clamav log, own/grp are "root" for that log file. Is it safe to set the perms in freshclam.log to "vscan", or do I need to do something else? Many thanks, Jim
On Sunday 29 January 2006 07:26, Jim Flanagan wrote:
Hi all,
I've got clamav running with amavis, all seems fine now for the most part. Except that when when running freshclam in daemon mode, and when I enable the "UpdateLogFile" in freshclam.conf, on start I get an error "Can't open /var/log/freshclam.log in append mode (check permissions!)".
If I change the owner and group to /var/log/freshclam.log to "vscan", all works and logging is successful. However I did not need to do this for the clamav log, own/grp are "root" for that log file. Is it safe to set the perms in freshclam.log to "vscan", or do I need to do something else?
Many thanks,
Jim I had to do the scame thing. works under vscan but nothing else. -- Russ
Jim Flanagan wrote:
I've got clamav running with amavis, all seems fine now for the most part. Except that when when running freshclam in daemon mode, and when I enable the "UpdateLogFile" in freshclam.conf, on start I get an error "Can't open /var/log/freshclam.log in append mode (check permissions!)".
Which user/group is freshclam running under? Change the owner of /var/log/freshclam.log to match that. /Per Jessen, Zürich
participants (3)
-
Jim Flanagan
-
Per Jessen
-
russbucket