![]() |
![]() |
Subject: | Issue installation Zenoss 4.2.4 on CentOS 6.5 |
Author: | [Not Specified] |
Posted: | 2014-01-20 05:02 |
Hi,
I try to install a Zenoss in version 4.2.4 (same issue on 4.2.3) on a Centos 6.5 (also tested in CentOS 6.4). I have used the procedure http://wiki.zenoss.org/Install_Zenoss, the auto-deploy installation.
The installation of every components works: there is no error. When Zenoss starts, it creates the MySQL DB, add a vhost and a user in rabbitMQ ... And Zeneventserver starts. After that, it try to install the Zenpack (I have not changed the file "zenpack_actions.txt") and it hangs up on the first Zenpack, ZenPacks.zenoss.ApacheMonitor-2.1.3-py2.7.egg. There is nothing in the log files.
Below, the information I have after the starting of zenoss:
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
Dropping database: zodb_session
Creating database: zodb_session
Applying schema version: 1
Applying schema version: 2
Dropping database: zodb
Creating database: zodb
Applying schema version: 1
Applying schema version: 2
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-01-17 13:32:54,552 INFO zen.ZPLoader: Loading /opt/zenoss/ZenPacks/ZenPacks.zenoss.ApacheMonitor-2.1.3-py2.7.egg/ZenPacks/zenoss/ApacheMonitor/objects/objects.xml
2014-01-17 13:32:54,652 INFO zen.AddToPack: End loading objects
2014-01-17 13:32:54,652 INFO zen.AddToPack: Processing links
I have to make a "ctrl+c" to stop the process. I have tried to install Zenpack manually but the problem occures. With option "-v 1", I have no more informations.
Have you got any idea of what happens
Note: I have also tried to install every package manually, without the auto-deploy script. Same issue.
Thanks in advance
ps: sorry for my english!
Subject: | Make sure MySQL is running, |
Author: | Andrew Kirch |
Posted: | 2014-01-20 12:04 |
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: | It would appear that |
Author: | Andrew Kirch |
Posted: | 2014-01-21 13:58 |
It would appear that something went awry when you ran the auto-installer script. The easy solution is to remove the zenoss rpm:
# rpm -e zenoss
and re-run the script. If that fails start from a clean OS/VM image.
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: | Hello, |
Author: | [Not Specified] |
Posted: | 2014-01-22 02:19 |
Hello,
I have tried the reinstallation three times using the auto-installer script and two times using the zenoss core rpm. I will make a test again!
Thanks
Subject: | starting from a clean vm may |
Author: | Andrew Kirch |
Posted: | 2014-01-22 12:13 |
starting from a clean vm may help, this is most likely a rabbit issue.
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: | Hi, |
Author: | [Not Specified] |
Posted: | 2014-01-23 02:21 |
Hi,
I have tried a fresh installation of Zenoss.
I have re-installed a Centos 6.5, delete the packages below:
mysql-libs-5.1.71-1.el6.x86_64
postfix
java-1.6.0-openjdk-1.6.0.0-1.66.1.13.0.el6.x86_64
java-1.7.0-openjdk-1.7.0.51-2.4.4.1.el6_5.x86_64
java-1.6.0-openjdk-devel-1.6.0.0-1.66.1.13.0.el6.x86_64
java-1.7.0-openjdk-devel-1.7.0.51-2.4.4.1.el6_5.x86_64
To install Zenoss, I have followed the procedure below:
wget --no-check-certificate https://github.com/zenoss/core-autodeploy/tarball/4.2.4 -O auto.tar.gz
tar -xzvf auto.tar.gz
cd zenoss-core-autodeploy-9342e87/
./core-autodeploy.sh
The installation hangs up at this point:
Restricting permissions on /opt/zenoss/etc/*.conf*
Assigning secure password for global.conf:zodb-password
Assigning secure password for global.conf:amqppassword
Assigning secure password for global.conf:zep-password
Assigning secure password for global.conf:hubpassword
Assigning secure password for hubpassword:admin
MySQL is configured with a blank root password.
Configure a secure MySQL root password [Yn]: n
Forcing zeneventserver to only listen on 127.0.0.1:8084
Configuring and Starting some Base Services and Zenoss...
Starting memcached: [ OK ]
Starting snmpd:
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
Dropping database: zodb_session
Creating database: zodb_session
Applying schema version: 1
Applying schema version: 2
Dropping database: zodb
Creating database: zodb
Applying schema version: 1
Applying schema version: 2
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-01-23 09:08:37,483 INFO zen.ZPLoader: Loading /opt/zenoss/ZenPacks/ZenPacks.zenoss.ApacheMonitor-2.1.3-py2.7.egg/ZenPacks/zenoss/ApacheMonitor/objects/objects.xml
2014-01-23 09:08:37,583 INFO zen.AddToPack: End loading objects
2014-01-23 09:08:37,583 INFO zen.AddToPack: Processing links
One, I have waited during a night but the installation does not continue.
RabbitMQ is started and configured:
#rabbitmqctl -p /zenoss list_queues
Listing queues ...
zenoss.queues.zep.modelchange 0
zenoss.queues.zep.migrated.summary 0
zenoss.queues.zep.heartbeats 0
zenoss.queues.zep.zenevents 0
zenoss.queues.zep.migrated.archive 0
...done.
Memcached is also started:
# /etc/init.d/memcached status
memcached (pid 9771) is running...
MySQL is working fine: I can connect using root without any password and I can see the databases needed by Zenoss. I have also tried the connection to MySQL using zenoss user: it is OK!
If you have any other idea, it will be great.
Has someone installed Zenoss in CentOS 6.5 Maybe, a package is missing... But I don't find which one!
Thanks in advance
Subject: | Hi, |
Author: | [Not Specified] |
Posted: | 2014-01-23 08:53 |
Hi,
The installation of the Zenpacks blocked in the function "commit" located in the file "Products/ZenRelations/ImportRM.py". The line "trans.commit()" does not complete. I continue my investigation.
Subject: | I maintain the install script |
Author: | Andrew Kirch |
Posted: | 2014-01-28 18:13 |
I maintain the install script you're using and have had no issues on Centos 6.5. If you're looking at the ZenPack you're looking in the wrong direction. Start from a CentOS 6.5 minimal install and tell me if you run into trouble.
Also tell me what install media you are using because I'm having a horrible time recreating this issue.
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: | Hi, |
Author: | [Not Specified] |
Posted: | 2014-01-29 01:31 |
Hi,
Thanks for your time! I install CentOs with a "kickstart" so we have defined a list of package we install. I will try to install with the classic procedure. I keep you inform.
note: I have installed Zenoss on a CentOS 6.4 (it works well) and compare the packages installed (6.4 vs 6.5).Few packages were different.
Thanks
Subject: | I have tried to install a |
Author: | [Not Specified] |
Posted: | 2014-01-29 09:25 |
I have tried to install a CentOS 6.5 using the iso "CentOS-6.5-x86_64-minimal.iso". After the installation, I have done the following commands:
yum install telnet.x86_64 telnet-server.x86_64 rsh-server.x86_64 rsh.x86_64 ntp.x86_64 wget.x86_64
rpm -ivh net-snmp-5.5-49.el6.x86_64.rpm
iptables -F
iptables -L
/etc/init.d/iptables save
/etc/init.d/iptables stop
chkconfig iptables off
rpm -e mysql-libs-5.1.71-1.el6.x86_64 postfix-2.6.6-2.2.el6_1.x86_64 cronie-1.4.4-12.el6.x86_64 cronie-anacron-1.4.4-12.el6.x86_64 crontabs-1.10-33.el6.noarch
yum install crontabs
A DNS and NTP are configured. SELINUX has been disabled.
After that, I have followed the procedure to install Zenoss core:
wget --no-check-certificate https://github.com/zenoss/core-autodeploy/tarball/4.2.4 -O auto.tar.gz
tar xvf auto.tar.gz
cd zenoss-core-autodeploy-*
./core-autodeploy.sh
The issue is the same. The process hangs up during the Zenpack installation.
Note: the server is a Dell Poweredge R720. I will try on a VM.
Thanks
Subject: | can you hop on IRC, we're on |
Author: | Andrew Kirch |
Posted: | 2014-01-29 12:48 |
can you hop on IRC, we're on #zenoss on irc.freenode.net. Lets see if we can get this fixed. You're using the same installation medium I am.
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: | I got it working finally |
Author: | [Not Specified] |
Posted: | 2014-01-29 17:16 |
I just wanted to say I finally got it up and running after 2 days of frustration. I followed the steps on this site, http://binarynature.blogspot.com/2012/11/zenoss-core-4-installation.html using a clean, CentOS 6.5 minimal install and I am up and running. Even on this install there were the same zenpack errors, but it didn't stop the procedure, and by the end, everything seems to be working.
I hope this can help others who were as frustrated as I was.
Subject: | Hagritty: Sorry it was such |
Author: | Andrew Kirch |
Posted: | 2014-01-30 11:44 |
Hagritty: Sorry it was such a pain. I've been attempting to reproduce the issue you ran into for months with no avail.
What hardware were you installing on
Were you behind a firewall
I had a user have problems installing from Europe, any chance you're from the EU
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: | I am not available until the |
Author: | [Not Specified] |
Posted: | 2014-01-31 08:02 |
I am not available until the next week but yes, I will try to come on IRC.
Hargitty, thanks for your procedure. I will try to follow it step by step! But I am not sure that it will solve my issue!! I am using the auto deploy script for the moment!
I am from EU and behind a firewall. But all the ports are opened for my server!
Thanks
Subject: | I have tried one more time: |
Author: | [Not Specified] |
Posted: | 2014-01-31 08:53 |
I have tried one more time: installation on a RHEL6. It did not work. But, I have updated RabbitMQ in the last version (3.2.3-1) and it has worked.
I will try to install a Centos6 and install the last version of RabbitMQ. I keep you inform!!!
Subject: | Hardware platform |
Author: | [Not Specified] |
Posted: | 2014-01-31 12:45 |
I was installing it into VMware Workstation 9 on my local workstation. Now that it is up and running, and I have smoothed out a few bumps (bad counters messages, but fixed that now) I REALLY love this software. My advice is figure out what works for you and get it going. It is worth the effort. I have moved my VM to an ESXi server now, and it is all still working great.
I followed the steps in that previous link every step, and like I said, I got the same zenpack error, it just didn't prevent me from moving on in the process. Good luck all and if there is anything else I can tell you, I would be glad to help.
Subject: | same issue |
Author: | [Not Specified] |
Posted: | 2014-02-02 10:02 |
Hi Guys,
I was trying the same config (Zenoss 4.2.4 and CentOS 6.5) in a openvz containet inside a ESX vmware server, and I had the same issue 11 days before. I was doing some tests with Hackman on IRC but we didn't notice what was done at the moment.
Can we work together on IRC to try to solve this
I have my vz container ready to test and I could follow what you need to test.
Thanks in advance
Regards
Subject: | try running this as root: |
Author: | Andrew Kirch |
Posted: | 2014-02-02 13:05 |
try running this as root: (remove the #'s)
# $ZENHOME/bin/zenoss_upgrade_pre
# service zenoss start
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: | Hi, |
Author: | [Not Specified] |
Posted: | 2014-02-04 02:42 |
Hi,
I have installed a CentOS 6.5 (mini) and zenoss 4.2.4. I have installed rabbitMQ in version 3.2.3-1. It's working fine.
edit: I have not used the script $ZENHOME/bin/zenoss_upgrade_pre
Subject: | Ygirerd: There's no need to |
Author: | Andrew Kirch |
Posted: | 2014-02-04 09:13 |
Ygirerd: There's no need to run that unless you run into difficulties.
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: | Hi!! |
Author: | [Not Specified] |
Posted: | 2014-02-10 08:14 |
Hi!!
This use to help me while installing Zenoss! I use CentOS too,
export VHOST="/zenoss"
export USER="zenoss"
export PASS="zenoss"
rabbitmqctl stop_app
rabbitmqctl reset
rabbitmqctl start_app
rabbitmqctl add_vhost "$VHOST"
rabbitmqctl add_user "$USER" "$PASS"
rabbitmqctl set_permissions -p "$VHOST" "$USER" '.*' '.*' '.*'
Tell me if it worked!
Regards,
Subject: | Erodriguez that is definitely |
Author: | [Not Specified] |
Posted: | 2014-02-10 11:35 |
Erodriguez that is definitely a helpful tip!
I created this wiki page to help users troubleshoot this problem in the future: http://wiki.zenoss.org/AutoDeploy_-_ZenPack_Operation_Errors
Hydruid
< |
Previous solution to zenpack installation problem (when it killed other zenoss processes) |
Next How to disable specific alarms |
> |