At 8:25 PM -0500 7/29/07, René Berber sent email 
regarding Re: [Denyhosts-user] Getting denyhosts 
running on OS X:
>
>You don't copy anything, you install it using the right python, i.e.
>
>/usr/local/bin/python2.5 setup.py install

I did that. I also changed the symbolic link at 
/usr/bin/python so it links to the newer python.

lrwxr-xr-x   1 root  wheel  24 Jul 29 18:56 
/usr/bin/python -> /usr/local/bin/python2.5

        Still, when I try to start the denyhosts daemon:



smtp:/usr/bin root# /usr/share/denyhosts/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 164, in <module>
     first_time, noemail, daemon)
   File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/DenyHosts/deny_hosts.py",
 
line 60, in __init__
     self.init_regex()
   File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/DenyHosts/deny_hosts.py",
 
line 490, in init_regex
     self.__sshd_format_regex = 
self.get_regex('SSHD_FORMAT_REGEX', 
SSHD_FORMAT_REGEX)
   File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/DenyHosts/deny_hosts.py",
 
line 486, in get_regex
     return re.compile(val)
   File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/re.py", 
line 180, in compile
     return _compile(pattern, flags)
   File 
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/re.py", 
line 233, in _compile
     raise error, v # invalid expression
error: unknown specifier: ?P&

DenyHosts exited abnormally


-------------------------------------------------------------------------
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