clamav / freshclam mac osx server 10.6.3 ? permissions for freshclam.conf
Hi
Anyone else having this issue: http://www.clamxav.com/index.php?page=dl
I'm behind an authenticating proxy, so I edit the freshclam.conf file to activate its proxy settings. Now I can get the files. But then the freshclam.conf file won't read properly when run by launchd. I can run freshclam under sudo in the terminal, but if I don't sudo it, I get the same error as appears in the log. I find on the net how to set its permissions to be read properly when launched via the launch daemon, but then get a different error is because the permissions are too lax.... they must be less than 700, but it just won't work.
Then the console tells me that freshclam has Error Can't Parse the config file, followed a moment later by launchd telling me that freshclam is exiting, then throttling respawn, then relaunching freshclam with a new ID, and so on infinitely every 10s. I can't find any matching launchctl process that might be doing this.
So for now I've given up; I've kind of solved my problem by turning it all off by uncommenting the Example line in the freshclam.conf file.
And the website mentioned above says that clamav is not compatible with 10.6. Why then is it installed?
I'll try again but for now I'm beat. Anyone with similar experiences, in particular with solutions, including the correct permissions for freshclam.conf, please let me know what worked for you.
Thanks
Chris
Anyone else having this issue: http://www.clamxav.com/index.php?page=dl
I'm behind an authenticating proxy, so I edit the freshclam.conf file to activate its proxy settings. Now I can get the files. But then the freshclam.conf file won't read properly when run by launchd. I can run freshclam under sudo in the terminal, but if I don't sudo it, I get the same error as appears in the log. I find on the net how to set its permissions to be read properly when launched via the launch daemon, but then get a different error is because the permissions are too lax.... they must be less than 700, but it just won't work.
Then the console tells me that freshclam has Error Can't Parse the config file, followed a moment later by launchd telling me that freshclam is exiting, then throttling respawn, then relaunching freshclam with a new ID, and so on infinitely every 10s. I can't find any matching launchctl process that might be doing this.
So for now I've given up; I've kind of solved my problem by turning it all off by uncommenting the Example line in the freshclam.conf file.
And the website mentioned above says that clamav is not compatible with 10.6. Why then is it installed?
I'll try again but for now I'm beat. Anyone with similar experiences, in particular with solutions, including the correct permissions for freshclam.conf, please let me know what worked for you.
Thanks
Chris
Quad intel mac pro, Mac OS X (10.6.3)