rendered paste bodyroot@Ubuntu:/usr/share/denyhosts# gedit daemon-control
(in the file)
DENYHOSTS_BIN = "/usr/bin/denyhosts.py"
DENYHOSTS_LOCK = "/var/lock/subsys/denyhosts"
DENYHOSTS_CFG = "/usr/share/denyhosts/denyhosts.cfg"
PYTHON_BIN = "/usr/bin/env python"
------
root@Ubuntu:/usr/share/denyhosts# ls
CHANGELOG.txt daemon-control-dist denyhosts.cfg denyhosts.cfg-dist LICENSE.txt plugins README.txt scripts setup.py
------
root@Ubuntu:/etc/init.d# ln -s /usr/share/denyhosts/daemon-control denyhosts
------
root@Ubuntu:/etc/init.d# denyhosts.py start
Error reading file: denyhosts.cfg
[Errno 2] No such file or directory: 'denyhosts.cfg'
------
root@Ubuntu:/usr/share/denyhosts# /usr/share/denyhosts/daemon-control start
starting DenyHosts: /usr/bin/env python /usr/bin/denyhosts.py --daemon --config=/usr/share/denyhosts/denyhosts.cfg
Can't read: /private/var/log/system.log
[Errno 2] No such file or directory: '/private/var/log/system.log'
Error deleting DenyHosts lock file: /var/lock/subsys/denyhosts
[Errno 2] No such file or directory: '/var/lock/subsys/denyhosts'
------
root@Ubuntu:~# python /usr/bin/denyhosts.py -c /usr/share/denyhosts/denyhosts.cfg
Can't read: /private/var/log/system.log
[Errno 2] No such file or directory: '/private/var/log/system.log'
Error deleting DenyHosts lock file: /var/lock/subsys/denyhosts
[Errno 2] No such file or directory: '/var/lock/subsys/denyhosts'