Hello

Looks like my problem was my startup script calling an older version of clamd which lived in /usr/local/bin. Current versions of clamd live in /usr/local/sbin. This version dates back to 0.51. Once I removed that and cleaned up my startup script, all was well.

The FreeBSD port sets up user:group as clamav, doesn't work very well with Amavisd-new/Spamassassin install.

thanks
Ken

On Nov 12, 2003, at 3:55 AM, Rob B wrote:

At 07:42 AM 12/11/2003, Ken McKittrick sent this up the stick:
I've updated 2 of my servers to use the latest FreeBSD port of clamav 0.60_4. Clamscan works fine. However fresclam fails with permission denied errors and clamdscan doesn't see to work at all. The FreeBSD port uses the user "clamav". I changed this to use "vscan" to work better with Spamassassin.

Here's a cut-n-paste.

I'm wondering what other people are doing with clamd on FreeBSD 4.9.

smtp1# freshclam
Current working dir is /usr/local/share/clamav
Checking for a new database - started at Tue Nov 11 15:39:08 2003
Connected to clamav.elektrapro.com.
Reading md5 sum (viruses.md5): OK
Reading md5 sum (viruses2.md5): OK
ERROR: Can't open new file ./207776ebb5a41e75 to write
open: Permission denied
ERROR: Can't download viruses.db from clamav.elektrapro.com

Does the user you are running freshclam as have write permissions to /usr/local/share/clamav?


Cheers,
Rob


-- But I don't like Spam!!!

This is random quote 351 of 1254.

Distance from the centre of the brewing universe
[15200.8 km (8207.8 mi), 262.8 deg](Apparent) Rennerian

Public Key fingerprint = 6219 33BD A37B 368D 29F5 19FB 945D C4D7 1F66 D9C5



-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users




------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to