Looks like the corresponding entry in /etc/hosts.deny may have been corrupted. Try searching for "Wed Sep 22 12" in that file and removing it and the next line. The first line is a commented timestamp that DH uses and the second line is the actual line that tcpwrappers uses.
Phil On Fri, 28 Jan 2011, Terry Barnum wrote: > I hadn't check denyhosts logs in several weeks, but yesterday I noticed > denyhosts has been having problems trying to purge old entries. They all > looked like this: > > 2011-01-27 12:26:06.996 - denyfileutil: INFO purging entries oder than: > Thu Jan 6 12:26:06 2011 > 2011-01-27 12:26:07.047 - root : ERROR invalid literal for info() > with base 10: 'Wed Sep 22 12' > Traceback (most recent call last): > File > "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/DenyHosts/deny_hosts.py", > line 241, > in sleepandPurge > purge_time) > ... more traces and then denyhosts is relaunched > > No entries with 'Wed Sep 22 12' in hosts.deny but grep reported that string > in the binary file /opt/local/share/denyhosts/data/purge-history. I removed > purge-history to see if denyhosts would be happier and sure enough it started > working again. > > Any ideas what could've caused purge-history to have problems? It's been > running fine for many months without any problems. > > Thanks, > -Terry > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Denyhosts-user mailing list > Denyhosts-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/denyhosts-user > -- 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 ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Denyhosts-user mailing list Denyhosts-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/denyhosts-user