It's most likely a python-version issue.  Squeeze likely comes w/ a newer 
version than the one you had when you installed DenyHosts.  DenyHosts 
installs file relative to python's site-packages directory 
(eg. /usr/lib/python2.6/site-packages/DenyHosts).

The easiest fix is to re-install from src.  When you build and install it 
from the setup.py command it will install it relative to the current 
python version (eg. /usr/lib/python2.7/site-packages/DenyHosts).

Regards,

Phil


On Sat, 5 Feb 2011, Kevin Andrews wrote:

> Hello everyone. I am new to the list. This evening I updated my system to 
> Debian 6.0, which is codenamed squeeze. I believe it was just released today.
>
> When I do ./daemon-control start in /usr/share/denyhosts, I get the following 
> error, and it also does this on startup, the same error. The output from the 
> shell is below. I hope someone can help me resolve this, or at least point me 
> in the right direction.
>
> Thanks!
>
> starting DenyHosts:    /usr/bin/env python /usr/bin/denyhosts.py --daemon 
> --config=/usr/sh
> are/denyhosts/denyhosts.cfg
> Traceback (most recent call last):
>  File "/usr/bin/denyhosts.py", line 5, in <module>
>    import DenyHosts.python_version
> ImportError: No module named DenyHosts.python_version
>
> Kevin Andrews
> System administrator on Techwizard
> kevinandr...@techwizard.info

-- 

Regards,

Phil Schwartz
http://www.phil-schwartz.com

Open Source Projects:

DenyHosts: http://www.denyhosts.net
Kodos: http://kodos.sourceforge.net
ReleaseForge: http://releaseforge.sourceforge.net
Scratchy: http://scratchy.sourceforge.net
FAQtor: http://faqtor.sourceforge.net

Become a fan of DenyHosts:

http://www.facebook.com/pages/DenyHosts/58269629216


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Denyhosts-user mailing list
Denyhosts-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/denyhosts-user

Reply via email to