[EMAIL PROTECTED] wrote:

>> > When I run qmail-scanner's ./configure it auto finds Clamuko and uses
> it.
>>
>> This is a stupid qmail-scanner naming "bug". You're not REALLY using
> clamuko.
>> They just say you are. Basically, they mistakenly named clamd or
>> clamdscan "clamuko". Silliness, I say.
> 
> That's what I was starting to think because best I can tell is that I'm
> using clamdscan.  Not really sure how to tell qmail-scanner to use
> clamscan or clamd specifically.
> 
> 
>> > When I execute /usr/local/sbin/clamd it fires up the clamd daemon.  How
> am
>> > I
>> > supposed to stop it etc.?
>>
>> If you're using linux, you'll have to do:
>>
>> ps auxwww | grep clamd
>>
>> then
>>
>> kill <clamd-pid>
> 
> I am using Linux (sorry forgot to include that).  That just didn't seem
> like
> a clean way to stop it.

Well, if it's properly written, it should be a perfectly clean way
to stop it. And even if it isn't properly written, Linux should clean
up the mess for you. No harm done. We're not running Windows, after all.


>  I tried
> kill -3 <clamd-pid>
> and nothing happens.  So then I did
> kill -9 <clamd-pid>
> which kills it but I have to go and manually delete the socket /tmp/clamd

Sometimes that happens on FreeBSD too. That's why I wrote a howto for running
clamd under DJB's daemontools package. My clamdctl script (after the fashion
of apachectl and qmailctl) properly handles the socket file cleanup and even
makes sure that if clamd dies it will be immediately restarted.

Check out this thread:

http://news.gmane.org/onethread.php?group=gmane.comp.security.virus.clamav.user&root=%3C689CD4F4-E482-11D7-9771-000393DC8E02%40oakley.nyi.net%3E

If you're interested in running clamd under daemontools.

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to