Odhiambo Washington wrote:

How do people run freshclam in daemon mode,

Tried freshclam -d yet?



From cron???




No, from command line. Just execute `/usr/local/bin/freshclam -d` as root or as clamav user.
You can monitor its activities from freshclam.log (look for UpdateLogFile on /usr/local/etc/freshclam.log)


At the moment I run it via cron like this:

0 */8 * * * root /usr/local/bin/freshclam --quiet -d -c 4 -l /usr/local/share/clamav/clam-update.log



Which means you spawn multiple freshclam daemon every 8 hours!. Freshclam entry in crontab do not require "-d"
Check your system process : there must be only one freshclam process running. Kill other freshclam processess.
Besides, the "-c" and "-l" is deprecated on new clamav releases. Modify freshclam.conf instead.
All you need is freshclam -d, run from command line. Not from crontab.



I meant like running clamd in daemon mode ;)



Then my answer is right :)

Regards,

Fajar A. Nugraha


------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to