[Errno 17] File exists: ‘/var/lock/subsys/denyhosts’

今天无意中发现,这几天denyhosts都没有启动~~~汗~~~七手八脚检查系统~~~然后启动denyhosts的时候发现一直报错~~~解决方案如下~~~

[root@linux denyhosts]# ./daemon-control start
starting DenyHosts:    /usr/bin/env python /usr/bin/denyhosts.py –daemon –config=/usr/share/denyhosts/denyhosts.cfg
DenyHosts could not obtain lock (pid: )
[Errno 17] File exists: ‘/var/lock/subsys/denyhosts’
[root@linux denyhosts]# rm -f /var/lock/subsys/denyhosts
You have new mail in /var/spool/mail/root
[root@linux denyhosts]# ./daemon-control start
starting DenyHosts:    /usr/bin/env python /usr/bin/denyhosts.py –daemon –config=/usr/share/denyhosts/denyhosts.cfg

OK!

[Errno 17] File exists: ‘/var/lock/subsys/denyhosts’》上有2条评论

发表评论

电子邮件地址不会被公开。

您可以使用这些HTML标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>