当前位置:爱推吧 » [Errno 17] File exists: ‘/var/run/denyhosts.pid’

lnmp1.4下denyhosts安装出错的解决方法

在系统是centos 6.8,lnmp1.4下安装使用denyhosts过程中,出现如下错误: service denyhosts status Denyhosts is not running service denyhosts start starting DenyHosts:    /usr/bin/env python /usr/sbin/denyhosts --daemon --config=/etc/denyhosts.conf DenyHosts could not obtain lock (pid: 9120) [Errno 17] File exists: '/var/run/denyhosts.pid' 在论坛中问了军哥,给出的解决方法如下: sed -i 's#/...