TECHZEN Zenoss User Community ARCHIVE  

fresh insyall issue core_4.2.5_2108

Subject: fresh insyall issue core_4.2.5_2108
Author: [Not Specified]
Posted: 2014-11-13 04:40

Hi all,

after installing all deps and services needed and the zenoss_core_4.2.4_2108 rpm i got this:

service zenoss start
Zenoss not initialized. Performing first-boot initialization...
Fresh install pre steps
Checking RRDtool version >= 1.4.7: [ OK ] 1.4.7
Adding RabbitMQ user: zenoss
Adding RabbitMQ vhost: /zenoss
Error: invalid command 'list_user_permissions -p /zenoss zenoss'
Dropping database: zodb_session
Creating database: zodb_session
Applying schema version: 1
Applying schema version: 2
Applying schema version: 3
Dropping database: zodb
Creating database: zodb
Applying schema version: 1
Applying schema version: 2
Applying schema version: 3
Creating database: zenoss_zep
Applying schema version: 1
Applying schema version: 2
Applying schema version: 3
Applying schema version: 4
Applying schema version: 5
Applying schema version: 6
make zope instance.
Loading initial Zenoss objects into the Zeo database
(this can take a few minutes)
Zenoss initialization complete.
Daemon: zeneventserver starting...
Waiting for zeneventserver to start........
2014-11-13 12:30:37,593 INFO zen.ZPLoader: Loading /opt/zenoss/ZenPacks/ZenPacks.zenoss.ApacheMonitor-2.1.4-py2.7.egg/ZenPacks/zenoss/ApacheMonitor/objects/objects.xml
2014-11-13 12:30:37,750 INFO zen.AddToPack: End loading objects
2014-11-13 12:30:37,750 INFO zen.AddToPack: Processing links
2014-11-13 12:30:40,754 ERROR zen.ZenPackCMD: Error installing ZenPack /opt/zenoss/packs/ZenPacks.zenoss.ApacheMonitor-2.1.4-py2.7.egg
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 247, in InstallEggAndZenPack
fromUI=fromUI)
File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 477, 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 436, 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 106, 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 101, 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 269, in beforeCompletionHook
dataManager = AmqpDataManager(self._queuePublisher.channel, tx._manager)
File "/opt/zenoss/Products/ZenMessaging/queuemessaging/publisher.py", line 420, in channel
return self._client.getChannel()
File "/opt/zenoss/lib/python/zenoss/protocols/amqp.py", line 90, in getChannel
ssl=self._connectionInfo.usessl)
File "/opt/zenoss/lib/python/zenoss/protocols/amqp.py", line 47, in __init__
super(Connection, self).__init__(*args, **kwargs)
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
2014-11-13 12:30:43,761 CRITICAL zen.zenoss.protocols.amqp: Could not use exchange $RawZenEvents: [Errno 104] Connection reset by peer
2014-11-13 12:30:43,761 CRITICAL zen.Events: Unable to publish event: [Errno 104] Connection reset by peer
2014-11-13 12:30:43,761 ERROR zen.ZenPackCmd: zenpack command failed
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 487, in
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 263, in InstallEggAndZenPack
raise e
error: [Errno 104] Connection reset by peer
Exception socket.error: (107, 'Transport endpoint is not connected') in > ignored
Exception socket.error: (107, 'Transport endpoint is not connected') in > ignored
There was an error during the ZenPack operation: Command 'zenpack --install /opt/zenoss/packs/ZenPacks.zenoss.ApacheMonitor-2.1.4-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.

Fresh install post step
--2014-11-13 12:30:50-- http://localhost:8080/zport/dmd/DeviceLoader/loadDevicedeviceName=local...
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:8080... failed: Connection refused.
Connecting to localhost|127.0.0.1|:8080... failed: Connection refused.
Zenoss installation completed.

Did i miss something



Subject: I would strongly suggest
Author: Andrew Kirch
Posted: 2014-11-13 11:06

I would strongly suggest using the automated install script found here: http://wiki.zenoss.org/Install_Zenoss. It's going to save you hours of headaches.

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



Subject: Adding RabbitMQ user: zenoss
Author: Jan Garaj
Posted: 2014-11-13 12:02

Adding RabbitMQ user: zenoss
Adding RabbitMQ vhost: /zenoss
Error: invalid command 'list_user_permissions -p /zenoss zenoss'
...
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

=> you have some problem with RabbitMQ, maybe your version is too new for Zenoss ;-)

check rabbitmq conf/logs, free disk space, ...
root@server:~# df -ha
root@server:~# rabbitmqctl status
zenoss@server:~# rabbitmqctl -p /zenoss list_queues

Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.

DevOps stack: Docker / Kubernetes / Mesos / Zabbix / Zenoss / Grafana / Puppet / Ansible / Vagrant / Terraform / Elasticsearch



Subject: http://community.zenoss.org
Author: Jan Garaj
Posted: 2014-11-13 12:08

http://community.zenoss.org/message/68758#68758

Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.

DevOps stack: Docker / Kubernetes / Mesos / Zabbix / Zenoss / Grafana / Puppet / Ansible / Vagrant / Terraform / Elasticsearch



< Previous
No data returned for command when modeling with VMwareESXiMonitor
  Next
Dev hours in 2.5 hours
>