Alexander Hansen wrote:
> glenn millhauser wrote:
>> Hi All,
>>     Okay -- the files below (pointed out in Robert's message) were all
>> found to be in place.  Also, based on the thread
>>   
>>  http://thread.gmane.org/gmane.comp.security.denyhosts.user/397/focus=399
>>
>> I changed:
>>
>> SECURE_LOG = /var/log/asl.log   to    SECURE_LOG = /var/log/secure.log
>>
>> I also commented out the statement   SSHD_FORMAT_REGEX=       
>> Then, I ran the way Alexander did:
>>
>> sudo denyhosts-py25.py -c /sw/etc/denyhosts-py25/denyhosts.cfg --daemon
>>
>>
>> It now appears that denyhosts finds the denyhosts.cfg file.  However,
>> I get the error:
>>
>> DenyHosts could not obtain lock (pid: 112)
>> [Errno 17] File exists: '/sw/var/run/denyhosts-py25.pid'
>>
>>
>> I think I might be getting closer but don't know what to do with this.
>>  Any ideas??
>>
>> thanks,
>> g
> That would make me suspect that the daemon is already running for you,
> and it won't let you do a second instance.

I agree with Alex and if you 'cat /sw/var/run/denyhosts-py25.pid' you
will obtain the process id of the running instance and can then kill
the process (sudo kill -TERM PID --where PID is the process id) so
that you can restart it manually.

FWIW, I think fink's denyhosts puts its log in /sw/var/log/denyhosts
or somewhere very close to that; the log should give the loaded
configuration, PID, DH's recommended kill command, and a lot of other
goodies.

Sounds like you're making good progress!

--rtw

-------------------------------------------------------------------------
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
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to