lnmp1.4安装工具denyhosts,出现以下错误,无法解决,请军哥帮忙。
service denyhosts statusDenyhosts 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)
File exists: '/var/run/denyhosts.pid'
不管是杀掉进程重新启动,或者是 rm -rf /var/run/denyhosts.pid都不能解决问题。
请求军哥帮忙,lnmp1.3 没有出现过这种问题。
谢谢。
系统是centos 6.8 sed -i 's#/run/denyhosts.pid#/var/run/denyhosts.pid#g' /etc/init.d/denyhosts
应该就好了
页:
[1]