Marconi wrote:

> I've installed denyhosts on a 10.3.9 system. I want to ensure that 
> denyhosts launches at startup.
> 
> When trying to manually start the daemon, I get:
> 
> ns1:/usr/share/denyhosts root# ./daemon-control start
> starting DenyHosts:    /usr/bin/env python 
> /Library/Frameworks/Python.framework/Versions/2.5/bin/denyhosts.py 
> --daemon --config=/usr/share/denyhosts/denyhosts.cfg
> Traceback (most recent call last):
>    File 
> "/Library/Frameworks/Python.framework/Versions/2.5/bin/denyhosts.py", 
> line 5, in ?
>      import DenyHosts.python_version
> ImportError: No module named DenyHosts.python_version
> 
> Did something go wrong with the installation? There is no 
> "DenyHosts.python_version" anywhere that I can find.

Yes, something went wrong installing.

You should have something like:

$ ls /usr/lib/python2.5/site-packages/DenyHosts
__init__.py       deny_hosts.pyc    plugin.py           report.pyc
__init__.pyc      denyfileutil.py   plugin.pyc          restricted.py
allowedhosts.py   denyfileutil.pyc  prefs.py            restricted.pyc
allowedhosts.pyc  filetracker.py    prefs.pyc           sync.py
constants.py      filetracker.pyc   purgecounter.py     sync.pyc
constants.pyc     lockfile.py       purgecounter.pyc    util.py
counter.py        lockfile.pyc      python_version.py   util.pyc
counter.pyc       loginattempt.py   python_version.pyc  version.py
daemon.py         loginattempt.pyc  regex.py            version.pyc
daemon.pyc        old-daemon.py     regex.pyc
deny_hosts.py     old-daemon.pyc    report.py

Notice that version.* is there (source and compiled file), as well as the rest
of the libraries used.
-- 
René Berber


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Denyhosts-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/denyhosts-user

Reply via email to