* Fajar A. Nugraha <[EMAIL PROTECTED]> [20040217 13:49]: wrote:
> 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!. 

unfortunately ;)


> Freshclam entry in crontab do not require "-d"

Thanks for this. Since when did this change though?


> Check your system process : there must be only one freshclam process 
> running. Kill other freshclam processess.

Ok. I must comply.


> 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.


So what do you recommend for crontab?

> >I meant like running clamd in daemon mode ;)
> >
> > 
> >
> Then my answer is right :)


Again, unfortunately ;)



        cheers
       - wash 
+----------------------------------+-----------------------------------------+
Odhiambo Washington                     . WANANCHI ONLINE LTD (Nairobi, KE)  |
<wash at wananchi dot com>              . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223                 . # 10286, 00100 NAIROBI             |
GSM: (+254) 733 744 121                 . (+254) 020 313 985 - 9             |
+---------------------------------+------------------------------------------+
"Oh My God! They killed init! You Bastards!"  
                                                 --from a /. post


-------------------------------------------------------
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