Roger Lynn ha scritto:
Package: denyhosts
Version: 2.6-1etch1
Followup-For: Bug #436417

I am also regularly getting the same error in my logs:

2008-09-04 05:43:25,894 - denyfileutil: INFO     purging entries older than: 
Thu Aug 28 05:43:25 2008
2008-09-04 05:43:26,370 - loginattempt: INFO     purging_hosts: [ <snipped> ]
2008-09-04 05:43:27,500 - denyfileutil: INFO     num entries purged: 7
2008-09-04 05:43:28,181 - sync : ERROR <Fault 1: '_mysql_exceptions.OperationalError:(1054, "Unknown column \'None\' in \'field list\'")'>
Traceback (most recent call last):
  File "/usr/share/denyhosts/DenyHosts/sync.py", line 100, in __send_new_hosts
    self.__server.add_hosts(hosts)
  File "xmlrpclib.py", line 1096, in __call__
    return self.__send(self.__name, args)
  File "xmlrpclib.py", line 1383, in __request
    verbose=self.__verbose
  File "xmlrpclib.py", line 1147, in request
    return self._parse_response(h.getfile(), sock)
  File "xmlrpclib.py", line 1286, in _parse_response
    return u.close()
  File "xmlrpclib.py", line 744, in close
    raise Fault(**self._stack[0])
Fault: <Fault 1: '_mysql_exceptions.OperationalError:(1054, "Unknown column \'None\' in \'field list\'")'>
2008-09-04 05:43:28,182 - sync        : INFO     sent 1 new host
2008-09-04 05:43:28,833 - sync        : INFO     received 50 new hosts
2008-09-04 05:43:28,835 - denyhosts   : INFO     received new hosts: [ 
<snipped> ]

I can supply my configuration if it helps.

I also get tracebacks for various network errors, such as 'Connection
timed out', 'Temporary failure in name resolution' or 'Name or service
not known'. Is that the best way to handle such conditions?

Sorry,

I was a bit busy and can take care of this bug only now.

Seems that denyhosts use a function for logging python exceptions and this is the results.

The exceptions are generated and handled, but their output is notified in the log file, so this is not a bug.

I haven't found nothing to configure this, in configuration file.
I think that handle this issue need a patch (and now I cannot work on this, but if somebody write one i'm happy to include it)

Excuse me for my orrible english

--
Marco Bertorello
System Administrator
http://bertorello.ns0.it




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to