Re: [Denyhosts-user] denyhosts exited abnormally

2006-04-09 Thread Phil Schwartz


The problem only occurred when a restricted username (ie. 
WORK_DIR/restricted-usernames) was encountered there was a type-o in the 
file, so it crashed.  2.4b fixes this issue and should behave correctly.


Regards,

Phil

On Sun, 9 Apr 2006, René Berber wrote:


Phil Schwartz wrote:


Whoops.  My bad.  I just released 2.4b which should fix this problem.



Just out of curiosity, what was the problem?  Version 2.4 works fine for me.



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

Re: [Denyhosts-user] denyhosts exited abnormally

2006-04-09 Thread René Berber
Phil Schwartz wrote:
> 
> Whoops.  My bad.  I just released 2.4b which should fix this problem.
> 

Just out of curiosity, what was the problem?  Version 2.4 works fine for me.
-- 
René Berber



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Denyhosts-user mailing list
Denyhosts-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/denyhosts-user


Re: [Denyhosts-user] denyhosts exited abnormally

2006-04-09 Thread Phil Schwartz


Whoops.  My bad.  I just released 2.4b which should fix this problem.

Regards,

Phil

On Sun, 9 Apr 2006, William Curley wrote:


No, it was installed under root and no error messages occurred.

René Berber wrote:

William Curley wrote:


Hi,

I'm trying to get DenyHosts 2.4 running on my system. I am running
Python2.4. I have configured everything correctly (I believe), however
when I try to load DenyHosts via daemon-control I receive a series of
trackback messages and then "DenyHosts exited abnormally". I tried
version DH2.3 and experienced the same problem. The log file doesn't
appear to have any blatant errors in it. The stout that I receive is:

/Traceback (most recent call last):
  File "/usr/bin/denyhosts.py", line 164, in ?
first_time, noemail, daemon)
  File "/usr/lib/python2.4/site-packages/DenyHosts/deny_hosts.py", line
82, in __init__
offset = self.process_log(logfile, last_offset)
  File "/usr/lib/python2.4/site-packages/DenyHosts/deny_hosts.py", line
423, in process_log
login_attempt.add(user, host, success, invalid)
  File "/usr/lib/python2.4/site-packages/DenyHosts/loginattempt.py",
line 106, in add
elif user in __restricted:
NameError: global name '_LoginAttempt__restricted' is not defined

DenyHosts exited abnormally/

I didn't see this error in the mailing list, or in my web searches. Any
ideas on what I should change to resolve this? Thank you.



When you installed it, using "python setup.py install", did you see any 
"access

denied" or similar errors?







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

Re: [Denyhosts-user] denyhosts exited abnormally

2006-04-09 Thread William Curley




No, it was installed under root and no error messages occurred.

René Berber wrote:

  William Curley wrote:
  
  
Hi,

I'm trying to get DenyHosts 2.4 running on my system. I am running
Python2.4. I have configured everything correctly (I believe), however
when I try to load DenyHosts via daemon-control I receive a series of
trackback messages and then "DenyHosts exited abnormally". I tried
version DH2.3 and experienced the same problem. The log file doesn't
appear to have any blatant errors in it. The stout that I receive is:

/Traceback (most recent call last):
  File "/usr/bin/denyhosts.py", line 164, in ?
first_time, noemail, daemon)
  File "/usr/lib/python2.4/site-packages/DenyHosts/deny_hosts.py", line
82, in __init__
offset = self.process_log(logfile, last_offset)
  File "/usr/lib/python2.4/site-packages/DenyHosts/deny_hosts.py", line
423, in process_log
login_attempt.add(user, host, success, invalid)
  File "/usr/lib/python2.4/site-packages/DenyHosts/loginattempt.py",
line 106, in add
elif user in __restricted:
NameError: global name '_LoginAttempt__restricted' is not defined

DenyHosts exited abnormally/

I didn't see this error in the mailing list, or in my web searches. Any
ideas on what I should change to resolve this? Thank you.

  
  
When you installed it, using "python setup.py install", did you see any "access
denied" or similar errors?
  



-- 
William Curley IV
[EMAIL PROTECTED]
http://www.dodgethis.org




Re: [Denyhosts-user] denyhosts exited abnormally

2006-04-09 Thread René Berber
William Curley wrote:
> Hi,
> 
> I'm trying to get DenyHosts 2.4 running on my system. I am running
> Python2.4. I have configured everything correctly (I believe), however
> when I try to load DenyHosts via daemon-control I receive a series of
> trackback messages and then "DenyHosts exited abnormally". I tried
> version DH2.3 and experienced the same problem. The log file doesn't
> appear to have any blatant errors in it. The stout that I receive is:
> 
> /Traceback (most recent call last):
>   File "/usr/bin/denyhosts.py", line 164, in ?
> first_time, noemail, daemon)
>   File "/usr/lib/python2.4/site-packages/DenyHosts/deny_hosts.py", line
> 82, in __init__
> offset = self.process_log(logfile, last_offset)
>   File "/usr/lib/python2.4/site-packages/DenyHosts/deny_hosts.py", line
> 423, in process_log
> login_attempt.add(user, host, success, invalid)
>   File "/usr/lib/python2.4/site-packages/DenyHosts/loginattempt.py",
> line 106, in add
> elif user in __restricted:
> NameError: global name '_LoginAttempt__restricted' is not defined
> 
> DenyHosts exited abnormally/
> 
> I didn't see this error in the mailing list, or in my web searches. Any
> ideas on what I should change to resolve this? Thank you.

When you installed it, using "python setup.py install", did you see any "access
denied" or similar errors?
-- 
René Berber



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Denyhosts-user mailing list
Denyhosts-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/denyhosts-user


[Denyhosts-user] denyhosts exited abnormally

2006-04-09 Thread William Curley




Hi,

I'm trying to get DenyHosts 2.4 running on my system. I am running
Python2.4. I have configured everything correctly (I believe), however
when I try to load DenyHosts via daemon-control I receive a series of
trackback messages and then "DenyHosts exited abnormally". I tried
version DH2.3 and experienced the same problem. The log file doesn't
appear to have any blatant errors in it. The stout that I receive is:

Traceback (most recent call last):
  File "/usr/bin/denyhosts.py", line 164, in ?
    first_time, noemail, daemon)
  File "/usr/lib/python2.4/site-packages/DenyHosts/deny_hosts.py", line
82, in __init__
    offset = self.process_log(logfile, last_offset)
  File "/usr/lib/python2.4/site-packages/DenyHosts/deny_hosts.py", line
423, in process_log
    login_attempt.add(user, host, success, invalid)
  File "/usr/lib/python2.4/site-packages/DenyHosts/loginattempt.py",
line 106, in add
    elif user in __restricted:
NameError: global name '_LoginAttempt__restricted' is not defined

DenyHosts exited abnormally

I didn't see this error in the mailing list, or in my web searches. Any
ideas on what I should change to resolve this? Thank you.
-- 
William Curley IV
[EMAIL PROTECTED]
http://www.dodgethis.org