ubrob
2013-01-18 06:31:24 UTC
ubrob [http://community.zenoss.org/people/ubrob] created the discussion
"Cannot Start Zenoss"
To view the discussion, visit: http://community.zenoss.org/message/71064#71064
--------------------------------------------------------------
I cannot start Zenoss on my Centos 6.3 x64 after using the install script. The only thing I can think of that might be causing this is that I am behind a proxy that I might need to communicate via.
Below are the errors I receive in the console when running Service zenoss start:
Daemon: zopectl daemon manager not running
Daemon: zeneventserver stopping...
Daemon: zeneventserver starting...
Waiting for zeneventserver to start..........
2013-01-19 02:16:36,290 INFO zen.ZPLoader: Loading /opt/zenoss/ZenPacks/ZenPacks.zenoss.ApacheMonitor-2.1.3-py2.7.egg/ZenPacks/zenoss/ApacheMonitor/objects/objects.xml
2013-01-19 02:16:37,664 INFO zen.AddToPack: End loading objects
2013-01-19 02:16:37,665 INFO zen.AddToPack: Processing links
2013-01-19 02:16:40,675 ERROR zen.ZenPackCMD: Error installing ZenPack /opt/zenoss/packs/ZenPacks.zenoss.ApacheMonitor-2.1.3-py2.7.egg
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 243, in InstallEggAndZenPack
fromUI=fromUI)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 471, in InstallDistAsZenPack
zenPack, deferFileDeletion, existing = transactional_actions()
File "/opt/zenoss/lib/python/ZODB/transact.py", line 44, in g
r = f(*args, **kwargs)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 430, in transactional_actions
zenPack.install(dmd)
File "/opt/zenoss/Products/ZenModel/ZenPack.py", line 240, in install
loader.load(self, app)
File "/opt/zenoss/Products/ZenModel/ZenPackLoader.py", line 107, in load
importer.loadObjectFromXML(xmlfile=f)
File "/opt/zenoss/Products/ZenRelations/ImportRM.py", line 481, in loadObjectFromXML
parser.parse(self.infile)
File "/opt/zenoss/lib/python/_xmlplus/sax/expatreader.py", line 109, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/opt/zenoss/lib/python/_xmlplus/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/opt/zenoss/lib/python/_xmlplus/sax/expatreader.py", line 216, in feed
self._parser.Parse(data, isFinal)
File "/opt/zenoss/lib/python/_xmlplus/sax/expatreader.py", line 315, in end_element
self._cont_handler.endElement(name)
File "/opt/zenoss/Products/ZenModel/ZenPackLoader.py", line 102, in endElement
ImportRM.endElement(self, name)
File "/opt/zenoss/Products/ZenRelations/ImportRM.py", line 229, in endElement
self.commit()
File "/opt/zenoss/Products/ZenRelations/ImportRM.py", line 503, in commit
trans.commit()
File "/opt/zenoss/lib/python/transaction/_transaction.py", line 327, in commit
self._callBeforeCommitHooks()
File "/opt/zenoss/lib/python/transaction/_transaction.py", line 397, in _callBeforeCommitHooks
hook(*args, **kws)
File "/opt/zenoss/Products/ZenMessaging/queuemessaging/publisher.py", line 236, in beforeCompletionHook
dataManager = AmqpDataManager(self._queuePublisher.channel, tx._manager)
File "/opt/zenoss/Products/ZenMessaging/queuemessaging/publisher.py", line 396, in channel
return self._client.getChannel()
File "/opt/zenoss/lib/python/zenoss/protocols/amqp.py", line 69, in getChannel
ssl=self._connectionInfo.usessl)
File "/opt/zenoss/lib/python/amqplib/client_0_8/connection.py", line 147, in __init__
host = self._x_open(virtual_host, insist=insist)
File "/opt/zenoss/lib/python/amqplib/client_0_8/connection.py", line 491, in _x_open
(10, 50), # Connection.redirect
File "/opt/zenoss/lib/python/amqplib/client_0_8/abstract_channel.py", line 95, in wait
self.channel_id, allowed_methods)
File "/opt/zenoss/lib/python/amqplib/client_0_8/connection.py", line 202, in _wait_method
self.method_reader.read_method()
File "/opt/zenoss/lib/python/amqplib/client_0_8/method_framing.py", line 221, in read_method
raise m
error: [Errno 104] Connection reset by peer
2013-01-19 02:16:43,705 CRITICAL zen.zenoss.protocols.amqp: Could not use exchange $RawZenEvents: [Errno 104] Connection reset by peer
2013-01-19 02:16:43,708 CRITICAL zen.Events: Unable to publish event: [Errno 104] Connection reset by peer
2013-01-19 02:16:43,712 ERROR zen.ZenPackCmd: zenpack command failed
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 486, in <module>
zp.run()
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 164, in run
fromUI=self.options.fromui)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 259, in InstallEggAndZenPack
raise e
error: [Errno 104] Connection reset by peer
Exception socket.error: (107, 'Transport endpoint is not connected') in <bound method TCPTransport.__del__ of <amqplib.client_0_8.transport.TCPTransport object at 0x7556390>> ignored
Exception socket.error: (107, 'Transport endpoint is not connected') in <bound method TCPTransport.__del__ of <amqplib.client_0_8.transport.TCPTransport object at 0x75d10d0>> ignored
There was an error during the ZenPack operation: Command 'zenpack --install /opt/zenoss/packs/ZenPacks.zenoss.ApacheMonitor-2.1.3-py2.7.egg' returned non-zero exit status 3
Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss.

I have also tried to remove the zenpack_actions.txt to prevent loading of any zenpacks. However I then get this in my browser when going to the Zenoss url:
*Type: <class 'socket.error'>*
*Value: [Errno 104] Connection reset by peer*
Traceback (most recent call last):
 File "/opt/zenoss/lib/python/ZPublisher/Publish.py", line 134, in publish
   transactions_manager.commit()
 File "/opt/zenoss/lib/python/Zope2/App/startup.py", line 301, in commit
   transaction.commit()
 File "/opt/zenoss/lib/python/transaction/_manager.py", line 89, in commit
   return self.get().commit()
 File "/opt/zenoss/lib/python/transaction/_transaction.py", line 327, in commit
   self._callBeforeCommitHooks()
 File "/opt/zenoss/lib/python/transaction/_transaction.py", line 397, in _callBeforeCommitHooks
   hook(*args, **kws)
 File "/opt/zenoss/Products/ZenMessaging/queuemessaging/publisher.py", line 236, in beforeCompletionHook
   dataManager = AmqpDataManager(self._queuePublisher.channel, tx._manager)
 File "/opt/zenoss/Products/ZenMessaging/queuemessaging/publisher.py", line 396, in channel
   return self._client.getChannel()
 File "/opt/zenoss/lib/python/zenoss/protocols/amqp.py", line 69, in getChannel
   ssl=self._connectionInfo.usessl)
 File "/opt/zenoss/lib/python/amqplib/client_0_8/connection.py", line 147, in __init__
   host = self._x_open(virtual_host, insist=insist)
 File "/opt/zenoss/lib/python/amqplib/client_0_8/connection.py", line 491, in _x_open
   (10, 50),   # Connection.redirect
 File "/opt/zenoss/lib/python/amqplib/client_0_8/abstract_channel.py", line 95, in wait
   self.channel_id, allowed_methods)
 File "/opt/zenoss/lib/python/amqplib/client_0_8/connection.py", line 202, in _wait_method
   self.method_reader.read_method()
 File "/opt/zenoss/lib/python/amqplib/client_0_8/method_framing.py", line 221, in read_method
   raise m
error: [Errno 104] Connection reset by peer
Help!! :)
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/71064#71064]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"Cannot Start Zenoss"
To view the discussion, visit: http://community.zenoss.org/message/71064#71064
--------------------------------------------------------------
I cannot start Zenoss on my Centos 6.3 x64 after using the install script. The only thing I can think of that might be causing this is that I am behind a proxy that I might need to communicate via.
Below are the errors I receive in the console when running Service zenoss start:
Daemon: zopectl daemon manager not running
Daemon: zeneventserver stopping...
Daemon: zeneventserver starting...
Waiting for zeneventserver to start..........
2013-01-19 02:16:36,290 INFO zen.ZPLoader: Loading /opt/zenoss/ZenPacks/ZenPacks.zenoss.ApacheMonitor-2.1.3-py2.7.egg/ZenPacks/zenoss/ApacheMonitor/objects/objects.xml
2013-01-19 02:16:37,664 INFO zen.AddToPack: End loading objects
2013-01-19 02:16:37,665 INFO zen.AddToPack: Processing links
2013-01-19 02:16:40,675 ERROR zen.ZenPackCMD: Error installing ZenPack /opt/zenoss/packs/ZenPacks.zenoss.ApacheMonitor-2.1.3-py2.7.egg
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 243, in InstallEggAndZenPack
fromUI=fromUI)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 471, in InstallDistAsZenPack
zenPack, deferFileDeletion, existing = transactional_actions()
File "/opt/zenoss/lib/python/ZODB/transact.py", line 44, in g
r = f(*args, **kwargs)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 430, in transactional_actions
zenPack.install(dmd)
File "/opt/zenoss/Products/ZenModel/ZenPack.py", line 240, in install
loader.load(self, app)
File "/opt/zenoss/Products/ZenModel/ZenPackLoader.py", line 107, in load
importer.loadObjectFromXML(xmlfile=f)
File "/opt/zenoss/Products/ZenRelations/ImportRM.py", line 481, in loadObjectFromXML
parser.parse(self.infile)
File "/opt/zenoss/lib/python/_xmlplus/sax/expatreader.py", line 109, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/opt/zenoss/lib/python/_xmlplus/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/opt/zenoss/lib/python/_xmlplus/sax/expatreader.py", line 216, in feed
self._parser.Parse(data, isFinal)
File "/opt/zenoss/lib/python/_xmlplus/sax/expatreader.py", line 315, in end_element
self._cont_handler.endElement(name)
File "/opt/zenoss/Products/ZenModel/ZenPackLoader.py", line 102, in endElement
ImportRM.endElement(self, name)
File "/opt/zenoss/Products/ZenRelations/ImportRM.py", line 229, in endElement
self.commit()
File "/opt/zenoss/Products/ZenRelations/ImportRM.py", line 503, in commit
trans.commit()
File "/opt/zenoss/lib/python/transaction/_transaction.py", line 327, in commit
self._callBeforeCommitHooks()
File "/opt/zenoss/lib/python/transaction/_transaction.py", line 397, in _callBeforeCommitHooks
hook(*args, **kws)
File "/opt/zenoss/Products/ZenMessaging/queuemessaging/publisher.py", line 236, in beforeCompletionHook
dataManager = AmqpDataManager(self._queuePublisher.channel, tx._manager)
File "/opt/zenoss/Products/ZenMessaging/queuemessaging/publisher.py", line 396, in channel
return self._client.getChannel()
File "/opt/zenoss/lib/python/zenoss/protocols/amqp.py", line 69, in getChannel
ssl=self._connectionInfo.usessl)
File "/opt/zenoss/lib/python/amqplib/client_0_8/connection.py", line 147, in __init__
host = self._x_open(virtual_host, insist=insist)
File "/opt/zenoss/lib/python/amqplib/client_0_8/connection.py", line 491, in _x_open
(10, 50), # Connection.redirect
File "/opt/zenoss/lib/python/amqplib/client_0_8/abstract_channel.py", line 95, in wait
self.channel_id, allowed_methods)
File "/opt/zenoss/lib/python/amqplib/client_0_8/connection.py", line 202, in _wait_method
self.method_reader.read_method()
File "/opt/zenoss/lib/python/amqplib/client_0_8/method_framing.py", line 221, in read_method
raise m
error: [Errno 104] Connection reset by peer
2013-01-19 02:16:43,705 CRITICAL zen.zenoss.protocols.amqp: Could not use exchange $RawZenEvents: [Errno 104] Connection reset by peer
2013-01-19 02:16:43,708 CRITICAL zen.Events: Unable to publish event: [Errno 104] Connection reset by peer
2013-01-19 02:16:43,712 ERROR zen.ZenPackCmd: zenpack command failed
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 486, in <module>
zp.run()
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 164, in run
fromUI=self.options.fromui)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 259, in InstallEggAndZenPack
raise e
error: [Errno 104] Connection reset by peer
Exception socket.error: (107, 'Transport endpoint is not connected') in <bound method TCPTransport.__del__ of <amqplib.client_0_8.transport.TCPTransport object at 0x7556390>> ignored
Exception socket.error: (107, 'Transport endpoint is not connected') in <bound method TCPTransport.__del__ of <amqplib.client_0_8.transport.TCPTransport object at 0x75d10d0>> ignored
There was an error during the ZenPack operation: Command 'zenpack --install /opt/zenoss/packs/ZenPacks.zenoss.ApacheMonitor-2.1.3-py2.7.egg' returned non-zero exit status 3
Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss.

I have also tried to remove the zenpack_actions.txt to prevent loading of any zenpacks. However I then get this in my browser when going to the Zenoss url:
*Type: <class 'socket.error'>*
*Value: [Errno 104] Connection reset by peer*
Traceback (most recent call last):
 File "/opt/zenoss/lib/python/ZPublisher/Publish.py", line 134, in publish
   transactions_manager.commit()
 File "/opt/zenoss/lib/python/Zope2/App/startup.py", line 301, in commit
   transaction.commit()
 File "/opt/zenoss/lib/python/transaction/_manager.py", line 89, in commit
   return self.get().commit()
 File "/opt/zenoss/lib/python/transaction/_transaction.py", line 327, in commit
   self._callBeforeCommitHooks()
 File "/opt/zenoss/lib/python/transaction/_transaction.py", line 397, in _callBeforeCommitHooks
   hook(*args, **kws)
 File "/opt/zenoss/Products/ZenMessaging/queuemessaging/publisher.py", line 236, in beforeCompletionHook
   dataManager = AmqpDataManager(self._queuePublisher.channel, tx._manager)
 File "/opt/zenoss/Products/ZenMessaging/queuemessaging/publisher.py", line 396, in channel
   return self._client.getChannel()
 File "/opt/zenoss/lib/python/zenoss/protocols/amqp.py", line 69, in getChannel
   ssl=self._connectionInfo.usessl)
 File "/opt/zenoss/lib/python/amqplib/client_0_8/connection.py", line 147, in __init__
   host = self._x_open(virtual_host, insist=insist)
 File "/opt/zenoss/lib/python/amqplib/client_0_8/connection.py", line 491, in _x_open
   (10, 50),   # Connection.redirect
 File "/opt/zenoss/lib/python/amqplib/client_0_8/abstract_channel.py", line 95, in wait
   self.channel_id, allowed_methods)
 File "/opt/zenoss/lib/python/amqplib/client_0_8/connection.py", line 202, in _wait_method
   self.method_reader.read_method()
 File "/opt/zenoss/lib/python/amqplib/client_0_8/method_framing.py", line 221, in read_method
   raise m
error: [Errno 104] Connection reset by peer
Help!! :)
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/71064#71064]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]