Discussion:
trouble with fresh install using autodeploy script
Doug C
2012-10-24 18:07:33 UTC
Permalink
Doug C [http://community.zenoss.org/people/thedukeness] created the discussion

"trouble with fresh install using autodeploy script"

To view the discussion, visit: http://community.zenoss.org/message/69514#69514

--------------------------------------------------------------
Hello,

I was having trouble with Zenoss because rabbit was down for me the first time I installed so I did a clean install.  This time I noticed that rabbit is actually down during the initial install.  Also when it tries to install the Zenpacks it gives python errorrs.  I started from CentOS 6.3 "basic server" template except I had removed mysql and java.  I run a post install script that installs these additional packages and binds to directory services: oddjob-mkhomedir sssd pam_krb5 krb5-libs krb5-workstation openldap-clients msktutil krb5-auth-dialog bind policycoreutils-python.  Would those cause a problem and is there something else I should be careful of?


Complete!
Configuring and Starting some Base Services
Starting memcached:                                        [  OK  ]
Starting snmpd:                                            [  OK  ]
Zenoss not initialized.  Performing first-boot initialization...
Fresh install pre steps
Checking RRDtool version >= 1.4.7: [ OK ] 1.4.7
Error: unable to connect to node ***@zenoss: nodedown

DIAGNOSTICS
===========

nodes in question: [***@zenoss]

hosts, their running nodes and ports:
- zenoss: [{rabbitmqctl11606,46684}]

current node details:
- node name: ***@zenoss
- home dir: /var/lib/rabbitmq
- cookie hash: slElq1zerBjZJuDz5d05tw==

Adding RabbitMQ user: zenoss
Error: unable to connect to node ***@zenoss: nodedown


....


Starting zeneventserver...
starting...
Waiting for zeneventserver to start......
Installing /opt/zenoss/packs/ZenPacks.zenoss.ApacheMonitor-2.1.3-py2.7.egg...
2012-10-24 10:44:07,600 INFO zen.ZPLoader: Loading /opt/zenoss/ZenPacks/ZenPacks.zenoss.ApacheMonitor-2.1.3-py2.7.egg/ZenPacks/zenoss/ApacheMonitor/objects/objects.xml
2012-10-24 10:44:08,244 INFO zen.AddToPack: End loading objects
2012-10-24 10:44:08,244 INFO zen.AddToPack: Processing links
2012-10-24 10:44:08,247 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


....
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/69514#69514]

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]
Doug C
2012-10-24 19:03:06 UTC
Permalink
Doug C [http://community.zenoss.org/people/thedukeness] created the discussion

"Re: trouble with fresh install using autodeploy script"

To view the discussion, visit: http://community.zenoss.org/message/69515#69515

--------------------------------------------------------------
Whoops, I jumped the gun a bit in posting.  After doing the "minimal" install it looks like rabbit is working.  So I guess you need to use minimal rather than basic server install.

Complete!
Configuring and Starting some Base Services
Starting memcached:                                        [  OK  ]
Starting snmpd:                                            [  OK  ]
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
Setting RabbitMQ permissions for user: zenoss
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/69515#69515]

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]
pwarren
2012-10-24 21:37:13 UTC
Permalink
pwarren [http://community.zenoss.org/people/pwarren] created the discussion

"Re: trouble with fresh install using autodeploy script"

To view the discussion, visit: http://community.zenoss.org/message/69505#69505

--------------------------------------------------------------
By default the server install will install and start the qpid AMQP message broker. This conflicts with RabbitMQ and it is likely why you ran into the issue you described.

To remove qpid from a basic server install, these were the packages I removed from the system:

yum erase matahari matahari-lib matahari-agent-lib matahari-broker \
matahari-host matahari-service matahari-sysconfig matahari-network \
qpid-cpp-client qpid-cpp-client-ssl qpid-cpp-server-ssl \
qpid-cpp-server sigar polkit dbus qpid-qmf boost ConsoleKit \
eggdbus boost-filesystem boost-program-options boost-graph \
boost-date-time boost-serialization boost-test boost-thread \
boost-regex boost-wave boost-signals boost-iostreams boost-python \
ConsoleKit-libs libicu

Thanks,

Philip Warren
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/69505#69505]

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]
Loading...