At 9:23 PM -0500 7/29/07, René Berber sent email regarding Re: [Denyhosts-user] Getting denyhosts running on OS X: > >Did you re-install DenyHosts?
Yes. > >The general problem with changing versions of python is that not only the >interpreter has to be changed but also all the >modules have to be re-installed. > >> --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) > >This looks like a problem in your configuration of DenyHosts, I have it in >/usr/share/denyhosts/deyhosts.cfg, look at the >line that defines SECURE_LOG (is >at the beginning). It says that for Mac OS X you should have: > >SECURE_LOG = /private/var/log/asl.log I do have it just that way. > >Notice no "#" at the beginning, all other definitions (above and below) should >have the pound symbol so they are commented out. > >[snip] > > "/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& > >This last error is really strange, did you change anything in denyhosts.cfg? Several things, to make it suitable for my installation. But note that the error is in "re.py". That's the same error I was getting when it was under python 2.3. (I believe all the errors are the same as previously.) ------------------------------------------------------------------------- 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
