Exception: Could not publish message. Connection may be down
2012-10-17 09:51:52,584 INFO zen.ZenHub: Worker (5192) reports 2012-10-17 09:51:52,583 INFO zen.zenoss.protocols.amqp: amqp connection was closed [Errno 111] Connection refused
2012-10-17 09:51:52,583 INFO zen.zenoss.protocols.amqp: amqp connection was closed [Errno 111] Connection refused
2012-10-17 09:51:52,583 ERROR zen.Events: Could not publish message. Connection may be down
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenEvents/MySqlSendEvent.py", line 42, in sendEvents
self._publishEvent(event, publisher)
File "/opt/zenoss/Products/ZenEvents/MySqlSendEvent.py", line 82, in _publishEvent
publisher.publish(event)
File "/opt/zenoss/Products/ZenMessaging/queuemessaging/publisher.py", line 283, in publish
self._publish("$RawZenEvents", routing_key, event, mandatory=mandatory, immediate=immediate)
File "/opt/zenoss/Products/ZenMessaging/queuemessaging/publisher.py", line 302, in _publish
mandatory, immediate)
File "/opt/zenoss/Products/ZenMessaging/queuemessaging/publisher.py", line 376, in publish
headers=headers, declareExchange=declareExchange)
File "/opt/zenoss/lib/python/zenoss/protocols/amqp.py", line 138, in publish
raise Exception("Could not publish message. Connection may be down")
Exception: Could not publish message. Connection may be down
2012-10-17 09:51:54,878 WARNING relstorage.adapters.mysql: Unable to connect: (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)")
2012-10-17 09:51:54,879 ERROR relstorage: Reconnect failed.
Traceback (most recent call last):
File "/opt/zenoss/lib/python/relstorage/storage.py", line 264, in _restart_load_and_call
self._open_load_connection()
File "/opt/zenoss/lib/python/relstorage/storage.py", line 218, in _open_load_connection
conn, cursor = self._adapter.connmanager.open_for_load()
File "/opt/zenoss/lib/python/relstorage/adapters/mysql.py", line 260, in open_for_load
return self.open(self.isolation_repeatable_read)
File "/opt/zenoss/lib/python/relstorage/adapters/mysql.py", line 231, in open
conn = MySQLdb.connect(**self._params)
File "/opt/zenoss/lib/python/MySQLdb/__init__.py", line 81, in Connect
return Connection(*args, **kwargs)
File "/opt/zenoss/lib/python/MySQLdb/connections.py", line 187, in __init__
super(Connection, self).__init__(*args, **kwargs2)
OperationalError: (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)")
2012-10-17 09:51:54,913 WARNING zen.ZenHub: Connection to ZODB interrupted, will try to reconnect again in 1 seconds.
2012-10-17 09:51:56,531 WARNING relstorage.adapters.mysql: Unable to connect: (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)")
2012-10-17 09:51:56,531 WARNING zen.ZenHub: Connection to ZODB interrupted, will try to reconnect again in 2 seconds.
2012-10-17 09:51:59,149 WARNING relstorage.adapters.mysql: Unable to connect: (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)")
2012-10-17 09:51:59,149 WARNING zen.ZenHub: Connection to ZODB interrupted, will try to reconnect again in 4 seconds.
2012-10-17 09:52:03,385 WARNING relstorage.adapters.mysql: Unable to connect: (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)")
2012-10-17 09:52:03,385 WARNING zen.ZenHub: Connection to ZODB interrupted, will try to reconnect again in 6 seconds.
2012-10-17 09:52:10,239 WARNING relstorage.adapters.mysql: Unable to connect: (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)")
2012-10-17 09:52:10,239 WARNING zen.ZenHub: Connection to ZODB interrupted, will try to reconnect again in 11 seconds.
2012-10-17 09:52:11,012 WARNING relstorage.adapters.mysql: Unable to connect: (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)")
2012-10-17 09:52:11,039 WARNING zen.ZenHub: Connection to ZODB interrupted, will try to reconnect again in 17 seconds.
2012-10-17 09:52:11,502 WARNING relstorage.adapters.mysql: Unable to connect: (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)")
2012-10-17 09:52:11,502 WARNING zen.ZenHub: Connection to ZODB interrupted, will try to reconnect again in 29 seconds.
2012-10-17 09:52:11,591 WARNING relstorage.adapters.mysql: Unable to connect: (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)")
2012-10-17 09:52:11,591 WARNING zen.ZenHub: Connection to ZODB interrupted, will try to reconnect again in 30 seconds.
2012-10-17 09:54:17,618 INFO zen.HubService.RenderConfig: Starting graph retrieval listener on port 8090
2012-10-17 10:01:04,809 INFO zen.ZenHub: Worker (4031) reports 2012-10-17 10:01:04,801 INFO zen.zenhubworker: Shutting down
2012-10-17 10:01:04,802 INFO zen.zenhubworker: Stopping reactor
2012-10-17 10:01:04,982 WARNING zen.ZenHub: Worker (4031) exited with status: 0 (Success)
2012-10-17 10:01:04,982 INFO zen.ZenHub: Starting new zenhubworker
2012-10-17 10:01:09,748 INFO zen.ZenHub: Worker (4030) reports 2012-10-17 10:01:09,739 INFO zen.zenhubworker: Shutting down
2012-10-17 10:01:09,740 INFO zen.zenhubworker: Stopping reactor
2012-10-17 10:01:09,905 WARNING zen.ZenHub: Worker (4030) exited with status: 0 (Success)
2012-10-17 10:01:09,905 INFO zen.ZenHub: Starting new zenhubworker