[PLUG] PLUG Digest, Vol 68, Issue 31

Agent Dale Cooper agentdcooper at gmail.com
Wed May 19 20:18:57 UTC 2010


marvin,

interesting... now that u mention it -- I too am seeing intermittent
timeouts in my denyhosts log when it is attempting to sync here and there.
actually, ALL sync attempts from one of my servers starting on May 17th
@ 15:24 (PST) up through today May 19th @ 09:44 (PST) failed with the
similar log entries you show. my last failure actually says "sync       
: ERROR    [Errno 111] Connection refused"
it appears now all is well, as of my last sync attempt = May 19th @
12:45 it was successful.
so you definitely weren't the only one. thanks to your post, I wouldn't
have even known the sync server was down (which is my suspicion).
denyhosts appears to be working for me now, I hope yours is workin' now too.

:: here's a couple examples of the failures ::

May 17 15:24:36 - denyfileutil: INFO     purging entries older than: Wed
May 12 15:24:36 2010
May 17 15:24:36 - denyfileutil: INFO     num entries purged: 0
May 17 15:24:37 - sync        : ERROR    <Fault 1:
"exceptions.KeyError:'timestamp'">
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/DenyHosts/sync.py", line 117,
in receive_new_hosts
    self.__prefs.get("SYNC_DOWNLOAD_RESILIENCY"))
  File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.6/xmlrpclib.py", line 1253, in request
    return self._parse_response(h.getfile(), sock)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1392, in _parse_response
    return u.close()
  File "/usr/lib/python2.6/xmlrpclib.py", line 838, in close
    raise Fault(**self._stack[0])
Fault: <Fault 1: "exceptions.KeyError:'timestamp'">


May 19 09:44:26 - sync        : ERROR    [Errno 111] Connection refused
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/DenyHosts/sync.py", line 117,
in receive_new_hosts
    self.__prefs.get("SYNC_DOWNLOAD_RESILIENCY"))
  File "/usr/lib/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.6/xmlrpclib.py", line 1235, in request
    self.send_content(h, request_body)
  File "/usr/lib/python2.6/xmlrpclib.py", line 1349, in send_content
    connection.endheaders()
  File "/usr/lib/python2.6/httplib.py", line 868, in endheaders
    self._send_output()
  File "/usr/lib/python2.6/httplib.py", line 740, in _send_output
    self.send(msg)
  File "/usr/lib/python2.6/httplib.py", line 699, in send
    self.connect()
  File "/usr/lib/python2.6/httplib.py", line 683, in connect
    self.timeout)
  File "/usr/lib/python2.6/socket.py", line 512, in create_connection
    raise error, msg
error: [Errno 111] Connection refused

:: and then the latest result of it now successfully sync'n ::

May 19 12:45:48 - denyfileutil: INFO     purging entries older than: Fri
May 14 12:45:48 2010
May 19 12:45:50 - denyfileutil: INFO     num entries purged: 0
May 19 12:45:51 - sync        : INFO     received 50 new hosts
May 19 12:45:51 - denyhosts   : INFO     received new hosts:
['212.174.54.162', '74.208.193.165', '125.163.73.146', '64.71.178.197',
'64.61.11.34', '81.23.121.38', '125.7.209.4', '174.123.166.146',
'123.252.140.194', '212.108.228.201', '210.51.48.67', '89.251.105.114',
'190.26.212.20', '201.47.122.162', '217.168.44.130', '222.68.195.228',
'61.56.69.12', '218.58.78.85', '222.46.121.106', '193.33.186.3',
'219.114.195.126', '84.47.145.86', '83.233.149.162', '222.68.195.239',
'220.248.36.138', '12.69.143.123', '113.59.254.6', '221.122.76.150',
'190.144.128.235', '116.214.25.66', '212.59.255.216', '190.154.68.114',
'134.53.38.40', '222.185.254.18', '216.55.186.92', '93.37.63.21',
'89.137.111.213', '194.145.188.239', '173.45.82.146', '202.126.39.97',
'68.11.25.188', '202.218.119.98', '85.236.47.228', '83.3.25.94',
'217.58.199.134', '202.41.76.192', '81.28.196.116', '124.7.56.174',
'218.199.200.70', '189.108.138.148']


On 5/19/2010 12:00 PM, plug-request at lists.pdxlinux.org wrote:
> Message: 5
> Date: Tue, 18 May 2010 23:24:40 -0700
> From: Marvin Kosmal <mkosmal at gmail.com>
> Subject: [PLUG] denyhost
> To: "General Linux/UNIX discussion and help,	civil and on-topic"
> 	<plug at lists.pdxlinux.org>
> Message-ID:
> 	<AANLkTilp57s83k0FceILBX_Hylnb0A-lBihiWB-ylDX4 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi All
>
> My sync for Denyhost is failing.
>
>
> Anyone else having this problem...????
>
>
> TIA
>
> Marvin
>
> PS
>
> Here is error message...
>
>
> May 18 22:43:05 - denyfileutil: INFO     purging entries older than:
> Tue Apr 20 22:43:05 2010
> May 18 22:43:05 - denyfileutil: INFO     num entries purged: 0
> May 18 22:53:06 - sync        : ERROR    <Fault 1:
> "exceptions.KeyError:'timestamp'">
> Traceback (most recent call last):
>   File "/usr/share/denyhosts/DenyHosts/sync.py", line 117, in receive_new_hosts
>     self.__prefs.get("SYNC_DOWNLOAD_RESILIENCY"))
>   File "/usr/lib/python2.5/xmlrpclib.py", line 1147, in __call__
>     return self.__send(self.__name, args)
>   File "/usr/lib/python2.5/xmlrpclib.py", line 1437, in __request
>     verbose=self.__verbose
>   File "/usr/lib/python2.5/xmlrpclib.py", line 1201, in request
>     return self._parse_response(h.getfile(), sock)
>   File "/usr/lib/python2.5/xmlrpclib.py", line 1340, in _parse_response
>     return u.close()
>   File "/usr/lib/python2.5/xmlrpclib.py", line 787, in close
>     raise Fault(**self._stack[0])
> Fault: <Fault 1: "exceptions.KeyError:'timestamp'">
>
>
> Config  file has NOT been changed..
>
>   




More information about the PLUG mailing list