Thursday 17 April 2008

Zenoss Installation Fedora 7

Zenoss requires older version of python. But Fedora 7 or later comes with newer version.

Mysql installation
------
Mysql packages
mysql-devel-5.0.37-2.fc7.i386.rpm
mysql-libs-5.0.37-2.fc7.i386.rpm
mysql-5.0.37-2.fc7.i386.rpm
perl-DBI-1.53-2.fc7.i386.rpm
mysql-server-5.0.37-2.fc7.i386.rpm
perl-DBD-MySQL-3.0008-1.fc7.i386.rpm

# chkconfig mysqld on
# service mysqld start

Give password for mysql
# /usr/bin/mysqladmin -u root password pass

Some other packages you need:
make-3.81-6.fc7
swig-1.3.31-0.fc7
autoconf-2.61-8.fc7

python installation
------
You need older version of python (2.4) for zenoss installation. You can compile and install to another path

# mkdir /opt/python/python2.4.4
# ./configure --prefix=/opt/python/python2.4.4
# make
# make install
# cd /usr/local/bin
# ln -s /opt/python/python2.4.4/bin/python
# ln -s /opt/python/python2.4.4/bin/python2.4



zenoss installation
------
# useradd zenoss
# cat /etc/passwd | grep zenoss


edit profile
cd /home/zenoss
vi .bashrc
export ZENHOME=/usr/local/zenoss
export PYTHONPATH=$ZENHOME/lib/python
export PATH=$ZENHOME/bin:$PATH

# mkdir /usr/local/zenoss
# chown zenoss /usr/local/zenoss

$ tar xvf zenoss-2.1.3.tar.gz
$ cd zenoss-2.1.3
$ ./install.sh


I got this error
AttributeError: /usr/local/zenoss/bin/python: undefined symbol: netsnmp_get_version

Solve this with installing packages below
# rpm -ivh lm_sensors-2.10.3-2.fc7.i386.rpm
# rpm -ivh net-snmp-libs-5.4-13.fc7.i386.rpm
# rpm -ivh net-snmp-5.4-13.fc7.i386.rpm

No comments: