Good day,

Here the result :

13:19 r...@srv ~# rm /var/run/denyhosts.pid
rm: détruire fichier régulier `/var/run/denyhosts.pid'? o
13:19 r...@srv ~# /etc/init.d/denyhosts restart
Restarting DenyHosts (warning).
Starting DenyHosts: denyhosts.
Done (warning).

Thank you

Regards,
Arnaud

2009/5/26 chupacerveza <[email protected]>

> Yes, do the sudo rm step and restart your daemon.
>
>
> On May 25, 2009, at 4:03 PM, Nabbox <[email protected]> wrote:
>
> thank you.
>
> Here the result :
>
> 23:00 r...@srv /etc# cat /var/run/denyhosts.pid
> 6895
> 23:00 r...@srv /etc# ps -A | grep deny
> zsh: done       ps -A |
> zsh: exit 1     grep deny
>
> That talk to you ?
>
> Regards,
> Arnaud
>
> 2009/5/25 Chupacerveza < <[email protected]>[email protected]>
>
>> My guess is that your system crashed or denyhosts was otherwise terminated
>> abnormally, this will result in a leftover pid file which will effectively
>> stop denyhosts from starting.
>>
>> To check this you would do something like:
>>
>> 1) cat /var/run/denyhosts.pid
>>
>> This will tell you whether there is a value in that field. If there is a
>> value there then do:
>>
>> 2) ps -A | grep deny
>>
>> Does anything show up besides 'grep deny'?
>>
>> If no, then do:
>>
>> 3) sudo rm /var/run/denyhosts.pid
>>
>> ... and then restart your daemon.
>>
>> If you do not find a value in step 1, then stop and let us know.
>> If you do find a value in step 2 besides grep deny, then stop and let us
>> know.
>>
>>
>> --Robert
>>
>>
>>
>> Nabbox wrote:
>>
>>> Thank you.
>>>
>>> I tried your solution, but nothing, look the result :
>>>
>>> 20:57 r...@srv /var/run# start-stop-daemon --start --verbose --pidfile
>>> /var/run/denyhosts.pid --exec /usr/sbin/denyhosts --
>>> Starting /usr/sbin/denyhosts...
>>>
>>> But no (wanring) when I just stop, then start the service.
>>>
>>> (warning) appears only when I make a "restart".
>>>
>>> Thank you.
>>>
>>> 2009/5/25 Chupacerveza < 
>>> <[email protected]>[email protected]<mailto:<[email protected]>
>>> [email protected]>>
>>>
>>>
>>>    Try starting the daemon in verbose mode (I think it is the -v
>>>    option) and see if there are other messages.
>>>
>>>    Nabbox wrote:
>>>
>>>        Good day all,
>>>
>>>        However, I have a question because I have found nowhere an
>>>        answer on this in different website.
>>>
>>>        I just installed Denyhosts 2.3 on 2 servers, Debian Etch and
>>>        Debian Lenny.
>>>
>>>        Everything seems ok, however, I have two different messages
>>>        depending on the version used in Debian.
>>>
>>>        For Lenny:
>>>
>>>        Restarting DenyHosts *(warning)*.
>>>        Stopping DenyHosts: denyhosts.
>>>        Starting DenyHosts: denyhosts.
>>>        Done *(warning)*.
>>>
>>>        For Etch:
>>>
>>>        * Restarting DenyHosts
>>>        Stopping DenyHosts: denyhosts.
>>>        Starting DenyHosts: denyhosts.
>>>        * Done
>>>
>>>        My question is simple: what does (warning) mean for Lenny? It
>>>        appears in yellow as the '*' message in Etch.
>>>
>>>        I look at the logs, nothing to report, the two look alike, I
>>>        have no error message.
>>>
>>>        So (warning) is it normal or not? Kind it is here to inform that
>>>        I have to restart the service?
>>>
>>>        Thank you in advance.
>>>
>>>        Best regards,
>>>        Arnaud
>>>
>>>
>>>
>>>  ------------------------------------------------------------------------
>>>
>>>
>>>  
>>> ------------------------------------------------------------------------------
>>>        Register Now for Creativity and Technology (CaT), June 3rd, NYC.
>>> CaT
>>>        is a gathering of tech-side developers & brand creativity
>>>        professionals. Meet
>>>        the minds behind Google Creative Lab, Visual Complexity,
>>>        Processing, & iPhoneDevCamp asthey present alongside digital
>>>        heavyweights like Barbarian
>>>        Group, R/GA, & Big Spaceship. <http://www.creativitycat.com>
>>> http://www.creativitycat.com
>>>
>>>
>>>  ------------------------------------------------------------------------
>>>
>>>        _______________________________________________
>>>        Denyhosts-user mailing list
>>>         <[email protected]>
>>> [email protected]
>>>        <mailto: <[email protected]>
>>> [email protected]>
>>>         <https://lists.sourceforge.net/lists/listinfo/denyhosts-user>
>>> https://lists.sourceforge.net/lists/listinfo/denyhosts-user
>>>
>>>
>>>
>
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Denyhosts-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/denyhosts-user

Reply via email to