Talk:Install Zenoss

From Zenoss Wiki
Revision as of 11:56, 6 October 2012 by (Talk) (Zenoss core 4.2 on Centos 6)

Jump to: navigation, search


If you did a manual install of Centos 6.3, the firewall will be enabled by default, and you will not be able to connect to the Zenoss web page on port 8080 until you disable it:

  1. service iptables save
  2. service iptables stop
  3. chkconfig iptables off

Updated end-of-install docs

I have tweaked the auto-deploy script to provide firewall info after it completes successfully. See

Command failure: /sbin/service zenoss start


I have try to install Zenoss with the auto-script, but I have this issue:

Starting MySQL SUCCESS! Zenoss not initialized. Performing first-boot initialization... Fresh install pre steps Please confirm that the JRE in the PATH is Oracle's version. Command failure: /sbin/service zenoss start

Thank you for your help.

Edit: I am on a Centos 6.3

This should now be fixed - you probably had java-openjdk installed. The updated version of the script should now remove it first so that it will find the Oracle JRE. -DR

From my perspective as a FAASTeam Program Manager in NJ .your site is great. I want you to know that Avi Weiss and I are builidng on-line courses for and Jim Leavitt (FPM Albany,NY) and I are pushing the Helicopter CFI modules for the FAASTeam CFI project. All this specifically for helo pilots. Good Job on your site!

Wget failure zenoss 4.2.0 packages from

[root@zenoss-master ~]# ./ Ensuring This server is in a clean state before we start Ensuring Zenoss RPMs are not already present Disabling SELinux... Downloading zenoss-4.2.0.el6.x86_64.rpm... --2012-08-08 14:42:24-- Resolving Connecting to||:80... connected. HTTP request sent, awaiting response... 404 Not Found 2012-08-08 14:42:24 ERROR 404: Not Found.

Command failure: wget -N

Try again - I have confirmed the URL is correct and this path exists. This may have been due to a sourceforge quirk at the time. - DR

mysql service

on 64 bit centos 6.3 I had to modify installation script so it started mysqld service, because mysql service didn't exist. I also noticed a bunch of notifications for setting env variables trying to access /usr/local/zenoss, while installation was put in /opt/zenoss. But it works anyway.

Centos 6.3 base install mysql-libs

I did a base install of Centos 6.3 using the netinstall image and choosing minimal. I did not install any other packges except wget. When I ran the Auto Deploy script it said it couldn't continue because I had an older version of the mysql-libs library installed. I used yum to remove them which also removed postfix. After doing this the Auto Deploy script ran fine, however now I don't have postfix installed, if I try to do a yum to install it again it wants to install mysql-libs, and I"m not sure if this will break the Zenoss install.

-- I found that if I do a yum remove mysql-libs it removes many packages, however, if I followed it up with a "yum install sysstat" (one of the packages it removed) it added them all back, except mysql-libs

-- I replace postfix with sendmail, thus #yum install sendmail; yum remove mysql-libs Then only mysql-libs and postfix removed, not cron packages as well.

I have created the following bug to track this issue:

It appears this bug is not public viewable --David Petzel (talk) 01:25, 31 August 2012 (UTC)

Centos 6.2 ZODB installation issue

Running the script gives the following error on a fresh install of CentOS release 6.2:

  zenoss.x86_64 0:4.2.0-1586.el6                                                                                    

Configuring and Starting some Base Services
Starting memcached: 
Starting snmpd: 
Zenoss not initialized.  Performing first-boot initialization...
Fresh install pre steps
Checking RRDtool version >= 1.4.7: [ OK ] 1.4.7
ERROR 1548 (HY000) at line 6 in file: '/opt/zenoss/Products/ZenUtils/relstorage/mysql/001.sql': Cannot load from mysql.proc. The table is probably corrupted
Dropping database: zodb_session
Creating database: zodb_session
Applying schema version: 1
Failed to create ZODB session database
Command failure: /sbin/service zenoss start
[root@localhost zenoss]#

The fix for this is to run mysql_upgrade from the command prompt (as root)

  1. mysql_upgrade

Centos 6.3 rabbit-mq issue

[root@Muon-Z ~]# chkconfig iptables off [root@Muon-Z ~]# service rabbitmq-server start Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_{log, _err} rabbitmq-server.

in the /var/log/rabbitmq/ startup_log I get

Activating RabbitMQ plugins ... 0 plugins activated:

ERROR: epmd error for host "Muon-Z": address (unable to establish tcp connection)

How is this corrected?

The solution is by adding the server name in the hosts file


CentOS 6.3 Fresh Install

Attempting a fresh install using the automated script. Minimal server CentOS installation with only wget added to allow download of the script. Script installs everything until the zenoss start portion:

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
grep: Unmatched [ or [^
Adding RabbitMQ user:
grep: Unmatched [ or [^
Adding RabbitMQ vhost:
Setting RabbitMQ permissions for user:
Usage: zeneventserver-create-db [options]

zeneventserver-create-db: error: option --dbport: invalid integer value: '\x1b[H\x1b[2J3306'
Failed to create ZODB session database
Command failure: /sbin/service zenoss start

It appears to be a problem with the zenoss pre install script, but I am unsure.


Centos 6.3 failed to install at Zenoss

I ran into some of the problems listed, such as the mysql-libs, and a couple other dependancy issues, but got through them all, but this one doesn't give me much to work with and since I'm not real experianced with linux i'm not sure how to work around it.

Installing Zenoss Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile epel/metalink | 11 kB 00:00

* base:
* epel:
* extras:
* updates:

Setting up Local Package Process Cannot open: zenoss-4.2.0.el6.x86_64.rpm. Skipping. Nothing to do Configuring and Starting some Base Services error reading information on service memcached: No such file or directory Command failure: /sbin/chkconfig memcached on

P.s. I also don't know how to use a wiki.

This sounds a lot like The problem this user has was their local proxy was blocking access to the download. I've submitted a Pull Request to help address this situation. Since we can't obviously fix the proxy, the update really does nothing more than try and detect the condition and provide more meaningful out. --David Petzel (talk) 03:33, 25 August 2012 (UTC)

EPEL Repo RPM Issue

I ran into a situation tonight, where the epel-release RPM was already installed on base image, however the conf.d files had been removed. This was causing the script to bail. I've submitted a Pull Request which handles this situation better --David Petzel (talk) 04:18, 25 August 2012 (UTC)

ce9fceb9 ceb4ceb1cebdceb5ceb9cf83cf84ceadcf82 cebcceb1cf82 cebacf81ceb1cf84cebfcf8dcebd cf80cebbceadcebfcebd ceb1cf80cf8c cf84ceb1 ceb1cf87ceb1cebccebdceac. ce9aceb1ceb9 cf80cebfcf85 cebeceadcf81ceb5cebfcf85cebcceb5 cf8ccf84ceb9 cebfceb9 cebeceadcebdcebfceb9 ceb4ceb5cebd ceadcf87cebfcf85cebd cf84ceb5cebbceb5ceb9cf8ecf83ceb5ceb9 cf84cebf firewall cf80ceb5cf81ceb9cebfcf81ceb9cf83cebccebfcf8d cf84cebfcf85 cebaceb9cebdceb4cf8dcebdcebfcf85 ceb1cf80cf8c cf84cf85cf87cf8ccebd ceb5cebbcebbceb7cebdceb9cebaceae cf87cf81ceb5cf89cebacebfcf80ceafceb1 cf80cebfcf85 cf85cebbcebfcf80cebfceb9cebfcf8dcebd cf84cf8ccf83cebfcebd cebaceb1ceb9cf81cf8c; ce94ceb7cebbceb1ceb4ceae cf80cebfcf85 cebeceadcf81cebfcf85cebcceb5 cf8ccf84ceb9 ce94ce95ce9d cebccf80cebbcebfcf86ceaccf81cebfcf85cebd cebaceb1ceb9 cf8ccf84ceb9 ceb4ceb5cebd cf85cf80ceaccf81cf87ceb5ceb9 cf80ceb5cf81ceafcf80cf84cf89cf83ceb7 cebdceb1 cebcceb7cebd cebcceb1cf82 ceb4cf8ecf83cebfcf85cebd cebbceb5cf86cf84ceac;ce94ceb5cebd cf84cebf cebeceadcf81cebfcf85cebcceb5, cebfcf80cf8ccf84ceb5 cf80ceb5cf81ceb9ceb8cf8ecf81ceb9ceb1 ceb3ceb9ceb1 cebcceb1ceb3cebaceb9ceadcf82 ceb4ceb5cebd cf85cf80ceaccf81cf87cebfcf85cebd. ce94ceb5cebd ceadcf87cebfcf85cebcceb5 cf84cebf cf80ceb5cf81ceb9ceb8cf8ecf81ceb9cebf cebdceb1 cf87cf81ceb5cf89cebacebfcf80ceaecf83cebfcf85cebcceb5 cf84cf8ecf81ceb1, ceb7 cf87cf8ecf81ceb1 ceb5ceafcebdceb1ceb9 cf80ceb1cebdcf84ceb5cebbcf8ecf82 ceb1cebdceadcf84cebfceb9cebcceb7, ceb1cf85cf84cf8c cebcceb5 ceb5cf85ceb8cf8dcebdceb7 ceb2ceadceb2ceb1ceb9ceb1 cf84ceb7cf82 cebacf85ceb2ceadcf81cebdceb7cf83ceb7cf82 cf84cebfcf85 cea0ce91cea3ce9fce9a cebaceb1ceb9 cf84cebfcf85 cea0ceb1cf80ceb1ceb4ceaecebccebfcf85.cea4cebf cebccf8ccebdcebfcebd cf80cebfcf85 cebccf80cebfcf81ceb5ceaf cebdceb1 cebaceaccebdceb5ceb9 cebf cf80cf81cf8cceb5ceb4cf81cebfcf82 cf84ceb7cf82 ce9dce94 ceb5ceafcebdceb1ceb9 cebdceb1 cebaceb1cf84ceb1cf83cf84ceaecf83ceb5ceb9 cf83ceb1cf86ceadcf82 cebaceb1ceb9 100% cf83ceafceb3cebfcf85cf81cebf cf8ccf84ceb9 ceb5cebacebbcebfceb3ceadcf82 ceb8ceb1 ceb3ceafcebdcebfcf85cebd cf84cebf ceb1cf81ceb3cf8ccf84ceb5cf81cebf cebcceadcf83ceb1 cf83cf84cebfcebd ce91cf80cf81ceafcebbceb9cebf. ce98ceb1 cebccf80cebfcf81cf8ccf85cf83ceb5 cebcceaccebbceb9cf83cf84ceb1 cebdceb1 cf84cebf ceb8ceadcf83ceb5ceb9 cf83ceb1cebd cf8ccf81cebf cebfcf80cebfceb9ceb1cf83ceb4ceaecf80cebfcf84ceb5 cf85cf80cebfceb3cf81ceb1cf86ceaecf82 cf84ceb7cf82 cebdceadceb1cf82 ceb4ceb1cebdceb5ceb9ceb1cebaceaecf82 cf83cf8dcebcceb2ceb1cf83ceb7cf82. ce95ceb1cebd cebaceb1cf84ceb1cf86ceadcf81ceb5ceb9 cf86cf85cf83ceb9cebaceac cebcceb5 cebaceb1cebdceadcebdceb1 cf80ceb1ceb6ceb1cf81ceaccebaceb9 cebdceb1 ceb1cebbcebbceaccebeceb5ceb9 cebaceaccf80cebfceb9ceb1 cf83ceb7cebcceb5ceafceb1 cf84ceb7cf82 cf83cf8dcebcceb2ceb1cf83ceb7cf82, cf8ccf87ceb9 ceb1cf80ceb5ceb9cebbcf8ecebdcf84ceb1cf82, ceb1cebbcebbceac cf80ceb5ceafceb8cebfcebdcf84ceb1cf82 cf84cebfcf85cf82 ceb4ceb1cebdceb5ceb9cf83cf84ceadcf82 ceb3ceb9ceb1 cf84cf85cf87cf8ccebd cebbceb1cebdceb8ceb1cf83cebcceadcebdceb1 cf83ceb7cebcceb5ceafceb1 cf84ceb7cf82 cf83cf8dcebcceb2ceb1cf83ceb7cf82, ceb1cf85cf84cf8c ceb8ceb1 ceaecf84ceb1cebd ceb5cf85cf87ceaecf82 ceadcf81ceb3cebfcebd.ce91cf85cf84ceae cf84ceb7 cf83cf84ceb9ceb3cebcceae ceb1cf85cf84cf8c cf80cebfcf85 cf80cf81cebfceadcf87ceb5ceb9 ceb5ceafcebdceb1ceb9 cebdceb1 ceb1cebbcebbceaccebeceb5ceb9 ceb1cf85cf84ceae ceb7 ceb3ceb5cebbcebfceafceb1 cebacf85ceb2ceadcf81cebdceb7cf83ceb7 cebcceb1cf81ceb9cebfcebdceadcf84ceb1 cf80cebfcf85 cebcceb1cf82 cebacf85ceb2ceb5cf81cebdceac . ce9cceb5cf84ceac ceb5cebacebcceb5cf84ceb1cebbcebbceb5cf85cf8ccebcceb5cebdcebfceb9 cf84cebfcf85cf82 cf8ccf80cebfceb9cebfcf85cf82 cebcceaecebdceb5cf82 cebaceb5cf81ceb4ceafcf83cebfcf85cebcceb5 ceb1cf80cf8c cf84ceb7cebd cebdceadceb1 cf83cf8dcebcceb2ceb1cf83ceb7 cebdceb1 ceb1cf81cf87ceafcf83cebfcf85cebcceb5 cebdceb1 ceb8cf89cf81ceb1cebaceafceb6cebfcf85cebcceb5 cf84ceb7 cf87cf8ecf81ceb1, cf88ceaccf87cebdcebfcebdcf84ceb1cf82 ceb3ceb9ceb1 cebdceadceb5cf82 cf83cf85cebccebcceb1cf87ceafceb5cf82, ceb5cebdceb5cf81ceb3ceb5ceb9ceb1cebacebfcf8dcf82 cf80cf8ccf81cebfcf85cf82, cf87cf84ceafceb6cebfcebdcf84ceb1cf82 ceb8ceb5cf83cebccebfcf8dcf82, ceb2ceacceb6cebfcebdcf84ceb1cf82 cf86cf85cebbceb1cebaceae cf8ccf83cebfcf85cf82 cebcceb1cf82 ceadcf86ceb5cf81ceb1cebd cf83ceb5 ceb1cf85cf84cf8c cf84cebf cf87ceaccebbceb9 , ceb5cf80ceb9ceb4ceb5ceb9cebacebdcf8dcebfcebdcf84ceb1cf82 cf83cebfceb2ceb1cf81cf8ccf84ceb7cf84ceb1 cebaceb1ceb9 ceb1cebeceb9cebfcf80ceb9cf83cf84ceafceb1.ce9cceb9ceac cebdceadceb1 cf83cebfceb2ceb1cf81ceae cebacf85ceb2ceadcf81cebdceb7cf83ceb7 cebcceadcf83ceb1 cf83cf84cebfcf85cf82 cf84cf81ceb5ceb9cf82 cebcceaecebdceb5cf82 ceb1cf80cf8c cf84cebfcebd ce91cf80cf81ceafcebbceb9cebf, cebcceadcf87cf81ceb9 cebaceb1ceb9 cf84cebfcebd ce99cebfcf8dcebbceb9cebf, cebccf80cebfcf81ceb5ceaf cebdceb1 cebaceaccebdceb5ceb9 ceb8ceb1cf8dcebcceb1cf84ceb1 cebaceb1ceb9 cebdceb1 ceb1cebbcebbceaccebeceb5ceb9 cf84cebf cebacebbceafcebcceb1 cf80cf81cebfcf82 cf84ceb7cebd ce95cebbcebbceacceb4ceb1 cf80cebfcf85 cf85cf80ceaccf81cf87ceb5ceb9 cf83ceaecebcceb5cf81ceb1.ce91cf85cf84ceae cf84ceb7 cf83cf84ceb9ceb3cebcceae cf8ccebccf89cf82 ceb5ceafcebcceb1cf83cf84ceb5 cebecf85cf80cf8ccebbceb7cf84cebfceb9 cebcceadcf83ceb1 cf83cf84'ceb1ceb3cebaceacceb8ceb9ceb1 cebaceb1ceb9 cf80cebfcebbcebbceadcf82 cebcceb1ceb3cebaceb9ceadcf82 ceb4ceb5cebd cebcceb1cf82 cf80ceb1ceafcf81cebdceb5ceb9 cebdceb1 cebaceaccebdcebfcf85cebcceb5. ce97 ce9dce94 ceadcebdceb1 cebbceacceb8cebfcf82 ceadcebaceb1cebdceb5, cf84cebf cf8ccf84ceb9 ceb4ceb5cebd cf80ceafceb5cf83ceb5 ceb3ceb9ceb1 ceb5cebacebbcebfceb3ceadcf82 cebcceadcf83ceb1 cf83cf84cebf 2011, cf84ceb5cf81ceaccf83cf84ceb9cebf cf83cf86ceaccebbcebcceb1, ceb8ceb1 ceaecf84ceb1cebd ceb1cebbcebbceb9cf8ecf82 cf84ceb1 cf80cf81ceacceb3cebcceb1cf84ceb1 ceb3ceb9ceb1 cf84ceb7cebd cf80ceb1cf84cf81ceafceb4ceb1 cf83ceaecebcceb5cf81ceb1. ce95cebd cf80ceaccf83ceb7 cf80ceb5cf81ceb9cf80cf84cf8ecf83ceb5ceb9 ceb1cebacf8ccebcceb1 cf80cf81cebfcebbceb1ceb2ceb1ceafcebdceb5ceb9 cebdceb1 ceb1cebbcebbceaccebeceb5ceb9 cf84ceb7cebd cebaceb1cf84ceaccf83cf84ceb1cf83ceb7. ce91cf81cebaceb5ceaf cebdceb1 cf80ceaccf81ceb5ceb9 cf84ceb7cebd ceb4ceb9ceb1cebacf85ceb2ceadcf81cebdceb7cf83ceb7 cebcceadcf87cf81ceb9 cf84cebfcebd ce91cf80cf81ceafcebbceb9cebf. ce9cceb5cf84ceac cf80ceadcf84ceb1cebeceb5 cebfcf81ceb9cf83cf84ceb9cebaceac cf84cebf cf80cebfcf85cebbceaccebaceb9, ceb7 ce9dce94 ceb8ceb1 cf83cf85cebccf80ceb1cf81ceb1cf83cf85cf81ceb8ceb5ceaf ceb1cf80cf8c cf84ceb1 cf80cf81ceacceb3cebcceb1cf84ceb1 cebaceb1ceb9 cf84ceb9cf82 cebaceb1cf84ceb1cf83cf84ceaccf83ceb5ceb9cf82 cf80cebfcf85 ceb8ceb1 cf80cf81cebfcebacf8dcf88cebfcf85cebd ceb1cf80cf8c cf84cebf cf87ceaccebfcf82 cf80cebfcf85 ceb8ceb1 ceb4ceb7cebcceb9cebfcf85cf81ceb3ceb7ceb8ceb5ceaf cebaceb1ceb9 ceb8ceb1 ceb4ceb9ceb1cebbcf85ceb8ceb5ceaf cebaceb1ceb9 ceb1cf85cf84ceae cebcceb1ceb6ceaf cebcceb5 cf8ccebbceb1 cf84ceb1 cf85cf80cf8ccebbcebfceb9cf80ceb1 cebacf8ccebccebcceb1cf84ceb1 cebaceb1ceb9 cf86cf85cf83ceb9cebaceac cf84ceb7 cf87cf8ecf81ceb1.

Fresh install of CentOS

I have installed a fresh Minimal install of Centos 6.3 and did a yum install of wget.

Ran the scripts listed with the final command of ./

It downloaded a bunch of stuff and saved to zenoss-4.2.0.el6.x86_64.rpm

It looks like it fails when attempting to download the zenpacks "zenoss-core-zenpacks-4.2.0.el6.x86_64.rpm" The first error occurs is:

"Connecting to||:80... connected. HTTP request sent, awaiting response... 403: Forbidden. 2012-80-31 14:06:01 Error 403: Forbidden."

Then I get a "Command failure: wget -N http://downloads/"

And it stops....

Any help would be appreciated.

This looks like you either have a local proxy that is blocking access to the file download, or sourceforge is having issues. Can you manually download the file from that box? --David Petzel (talk) 19:59, 31 August 2012 (UTC)

Problems with MySQL not initialized

When running core-autoploy for install Zenoss Core 4.2 on a fully updated Centos 6.3 (Minimal install) I get problems when starting MySQL since the MySQL install isn't initialized.

Added the command mysql_install_db followed by changing owner on the files in /var/lib/mysql/mysql and then it ran perfectly.

The change I did was like this:

echo "Configuring MySQL"

'# Two new lines


chown mysql:mysql /var/lib/mysql/mysql/*

'# Now over to the original script

enable_service mysql

/usr/bin/mysqladmin -u root password

/usr/bin/mysqladmin -u root -h localhost password


Cannot get past MySQL installation

The script works fine until it gets to this message:

100%[================================================================>] 18,620,065 357K/s in 57s

2012-09-10 15:45:21 (322 KB/s) - âzenoss-core-zenpacks-4.2.0.el6.x86_64.rpmâ

Auto-detecting most recent MySQL Community release

After about a minute it will just go back to the command prompt. I have tried a few times and get stuck here every time. Any one have any suggestions?

This is on a fresh Centos 6.3 minimal install

I am also facing same issue on Linux - Is there any way to resolve this. In script it tries to get mysql, but somehow its failing try rm -f .listing try wget --no-remove-listing $mysql_ftp_mirror >/dev/null 2>&1

Debian installer

I'm not particularly proficient in Linux and would really like to use a Debian installer to upgrade my Zenoss installation. Is one available?

Debian installer is not available, as the current supported platforms are RHEL/CentOS only. We will be starting an effort via the Open Source project to support other distributions.