My denyhosts problem on fedora seems to correspond to logrotate.  It
is trying to "condrestart" denyhosts and that doesn't seem to be
working correctly (it's in /var/logrotate.d/denyhosts).  Here's what
I've tried:

[EMAIL PROTECTED] ~]# service denyhosts status
denyhosts.py is stopped
[EMAIL PROTECTED] ~]# ll /var/lock/subsys/denyhosts
ls: cannot access /var/lock/subsys/denyhosts: No such file or directory
[EMAIL PROTECTED] ~]# /usr/bin/denyhosts.py --daemon
--config=/etc/denyhosts.conf --debug
[EMAIL PROTECTED] ~]# service denyhosts status
denyhosts.py (pid 28859) is running...
[EMAIL PROTECTED] ~]# ll /var/lock/subsys/denyhosts
-rw-r--r-- 1 root root 6 2008-07-01 07:02 /var/lock/subsys/denyhosts
[EMAIL PROTECTED] ~]# service denyhosts condrestart
Stopping denyhosts:                                        [  OK  ]
Starting denyhosts:                                        [  OK  ]
[EMAIL PROTECTED] ~]# service denyhosts status
denyhosts.py is stopped
[EMAIL PROTECTED] ~]# ll /var/lock/subsys/denyhosts
ls: cannot access /var/lock/subsys/denyhosts: No such file or directory
[EMAIL PROTECTED] ~]#

So, when the "condrestart" goes it does kill my running denyhosts
process, but it doesn't restart it correctly.  The fact that the lock
file doesn't exist when I try running the service is puzzling.  Can it
not get the lock file?  Could that be why it's dying?

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Denyhosts-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/denyhosts-user

Reply via email to