AW: AW: AW: AW: [Clamav-users] clamav stops running

2004-03-02 Thread Power-Netz \(Schwarz\)
> > > supervise .. but , as said, it won't help it the demon stops > answering but > > does not > > crash at all. > > supervise is part of daemontools. good to know, i never installed / compilied or viewed daemontools :-)) ( multi admin server )

AW: AW: AW: [Clamav-users] clamav stops running

2004-03-02 Thread Power-Netz \(Schwarz\)
>> That will not help you, because clam will stop working, not crashing. > > > > Works just fine for me - my spamd occasionally dies, but never hangs > > with the daemon still running. > > > > daemontools is said to work on unix only, what is the altenative in linux? supervise .. but , as said, i

AW: AW: [Clamav-users] clamav stops running

2004-03-02 Thread Power-Netz \(Schwarz\)
> I personally run clamd under daemontools as I'm already running > daemontools for qmail. Works a treat. > > You can find daemontools at http://cr.yp.to/daemontools.html That will not help you, because clam will stop working, not crashing. ---

AW: [Clamav-users] clamav stops running

2004-03-02 Thread Power-Netz \(Schwarz\)
> > I frequently have to run clamav manually, what makes to stop? Is > there a way to re-run > it automatically! Read the ML-History , you will find some restartscripts for clamd. make a cronjob */1 * * * * for it. --- SF.Net is sponsored b

AW: [Clamav-users] clamd crash detection ?

2004-01-07 Thread Power-Netz \(Schwarz\)
> This could be hacked into a nagios/netsaint plugin quite easily. can snmp access local unix sockets from external? and what would it do? I think its not a good solution if you need to restart it anyway :) max. 1 minute later clamd would be restartet anyway ( we run our cronscript */1 ). Your

AW: [Clamav-users] clamd crash detection ?

2004-01-07 Thread Power-Netz \(Schwarz\)
> You should have a program called nc, you can use that thus: > > [EMAIL PROTECTED] njh]$ echo PING | nc 192.168.1.9 3310 > PONG > [EMAIL PROTECTED] njh]$ > looks like it's configured to use unix sockets only... unix 2 [ ACC ] STREAM H™RT 19872360 11751/clamd /tmp/clamd uni

[Clamav-users] clamd crash detection ?

2004-01-07 Thread Power-Netz \(Schwarz\)
Hi, I found in the manpage docs some commands to send to clamd like PING. Question is now, HOW ? Directly to the port or throu the socket ( in which case the how is a how^2 :) ). We discovered 2 typical crash situations with clamd and build a detection script which restarts clamd wenn needed..