From: <rb...@ca...> - 2007-07-31 09:17:02
|
Marconi wrote: [snip] > sh-2.05b# python -v > /Library/Frameworks/Python.framework/Versions/2.5/bin/denyhosts.py > --daemon --config=3D/usr/share/denyhosts/denyhosts.cfg =2E.. > /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-pa= ckages/DenyHosts/python_version.pyc > matches > /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-pa= ckages/DenyHosts/python_version.py >=20 > import DenyHosts.python_version # precompiled from > /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-pa= ckages/DenyHosts/python_version.pyc So, why the error "ImportError: No module named DenyHosts.python_version"= ? =2E.. > DenyHosts could not obtain lock (pid: ) > [Errno 2] No such file or directory: '/var/lock/subsys/denyhosts' [snip] This is the only problem I can see, looks like either an old lock is stil= l there or permission problem (I bet on the former, I even have a little cron com= mand to delete the lock if DenyHosts fails to start -- I know, should have taken = care on the startup script). --=20 Ren=E9 Berber |