[email protected] wrote:
> Hi,
> I have a problem with the denyhosts daemon-control script.
> When I do daemon-control stop, it give me this:
> DenyHosts is not running
> r...@mtgames:/usr/share/denyhosts
> <mailto:r...@mtgames:/usr/share/denyhosts>#
> Then I do start, and:
> starting DenyHosts: /usr/bin/env python /usr/local/bin/denyhosts.py
> --daemon
> --config=/usr/share/denyhosts/denyhosts.cfg
> DenyHosts could not obtain lock (pid: 5818)
> [Errno 17] File exists: '/var/run/denyhosts.pid'

Try:

sudo rm /var/run/denyhosts.pid

and then try to restart your daemon.


> r...@mtgames:/usr/share/denyhosts
> <mailto:r...@mtgames:/usr/share/denyhosts>#
> I don't know why it either is not starting when I start it after
> removing denyhosts.pid, or not stopping, or anything else why it would
> be doing this.
> As another note, this is a line from ps ux
> root 5818 0.0 1.2 9572 4452 ? S 21:35 0:00 python /usr/loc
> I think that is referring to /usr/local/bin/denyhosts.py, but not sure.
> Any help is appreciated.
> -Michael
> AI5HF
> Http://ai5hf.mtgames.org/ <http://ai5hf.mtgames.org/>
> http://moo.mtgames.org/
> "A world that contained something as amazing as that bumblebee was a
> world in which he wanted to live." -- Christopher Paolini, Brisingr
> "The songs of the dead are the lamentations of the living." --
> Christopher Paolini, Eldest
> skype: lilmike2
> msn: [email protected] <mailto:[email protected]>
> gmail: [email protected] <mailto:[email protected]>
> pc details:
> Intel quad core q6700-2.66 GHz; 4 gb ddr2 duel channel ram; 500 gb
> harddrive; windows xp pro.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Denyhosts-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/denyhosts-user

Reply via email to