On Mon, 12 Jul 2010, noob wrote:
Hi All: I installed ClamAV 0.96.1 from source on Mac OS 10.6.4 (client, not
server) as part of an ASSP intallation.
I have installed from source on various OS X client versions with no
problems.
Logs are currently in /var/log/clamd.log and /var/log/freshclam.log
If I run freshclam, though, I receive an error:
Jul 12 09:34:43 mail net.clamav.clamd[950]: ERROR: Can't initialize the
internal logger
Jul 12 09:34:43 mail net.clamav.clamd[950]: ERROR: Can't open
/var/log/clamav/clamd.log in append mode (check permissions!).
Jul 12 09:34:43 mail com.apple.launchd[1] (net.clamav.clamd[950]): Exited
with exit code: 1
Jul 12 09:34:43 mail com.apple.launchd[1] (net.clamav.clamd): Throttling
respawn: Will start in 10 seconds
Jul 12 09:34:43 mail net.clamav.freshclam[951]: ERROR: Problem with internal
logger (UpdateLogFile =
/var/log/clamav/freshclam.log).
Jul 12 09:34:43 mail net.clamav.freshclam[951]: ERROR: Can't open
/var/log/clamav/freshclam.log in
append mode (check permissions!).
Jul 12 09:34:43 mail com.apple.launchd[1] (net.clamav.freshclam[951]): Exited
with exit code: 62
Well, maybe you need to do just what it says: "check permissions". And
maybe share with us what the permissions and ownership is for clamd.log
and freshclam.log.
My permissions and ownership for clamd.log are:
-rw-r----- 1 _amavisd admin 77026 Jul 12 10:51 /var/log/clamd.log
It's owned by _amavisd since I use amavisd-new to call ClamAV.
I do not use freshclam.log and instead have freshclam configured to log
via syslog.
But it looks like you have both clamd and freshclam both starting
together. Are you sure you're just trying to run freshclam when this
happens?
-- Larry Stone
[email protected]
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml