ps -a | grep deny
glenn millhauser wrote: > Can you tell me how to check for the running daemon? I do "top" but > don't see anything obvious. Also, can I stop the existing daemon and > restart with the new cfg file? > thanks, > g > > > On May 9, 2008, at 11:20 AM, 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. >> > > > > Glenn L. Millhauser > > Department of Chemistry & Biochemistry > > UC Santa Cruz > > Santa Cruz, CA 95064 > > 831 459 2176 voice > > 831 566 3337 cell > > 831 459 2935 fax > > > http://chemistry.ucsc.edu/~glennm > > http://www.chemistry.ucsc.edu/faculty/millhauser.html > > > ------------------------------------------------------------------------- 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
