I've seen similar issues on two of my machines (fc4 and centos5).  I
finally created a Nagios monitor to check how old the
/var/log/denyhosts file is, so I can restart it when this happens.

Dave

On Mon, May 12, 2008 at 9:37 AM, Jan <[EMAIL PROTECTED]> wrote:
> Hi!
>
>  I have noticed a strange problem with DenyHosts on both servers which I run. 
> After two or three weeks of running Denyhosts (as a daemon) it will stop 
> responding. The process is still there when I do a "ps", but the 
> synchronization stops working and the logs are not analyzed anymore, so new 
> bruteforce attempts are not immediately blocked. Also killing the process 
> doesn't work, I have to issue a "kill -5". In regular operation a "kill" 
> works fine quits the process.
>
>  I also noticed that that issuing a "/etc/init.d/denyhosts stop" always gives 
> me the message "DenyHosts is not running", even though it is running and when 
> I try to restart it tells me the that the pid files exists "DenyHosts could 
> not obtain lock (pid: 21999)
>  [Errno 17] File exists: '/var/run/denyhosts.pid'" - as expected.
>
>  Any ideas?
>
>  System is Debian Linux 4.0
>
>  Thanks,
>  Jan
>
>
>
>
>
>
>
>
>
>
>  -------------------------------------------------------------------------
>  This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>  Don't miss this year's exciting event. There's still time to save $100.
>  Use priority code J8TL2D2.
>  
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>  _______________________________________________
>  Denyhosts-user mailing list
>  [email protected]
>  https://lists.sourceforge.net/lists/listinfo/denyhosts-user
>

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Denyhosts-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/denyhosts-user

Reply via email to