I have a brand new RHEL5 update 3, 64 bit server that I am trying to install 
zenoss on but I'm running into some errors.  The install seems to go ok but 
when I try to start the service I get some errors.

# service zenoss start
Zenoss not initialized.  Performing first-boot initialization...
Fresh install pre steps
Stopping snmpd:                                            [  OK  ]
Starting snmpd:                                            [  OK  ]
Stopping MySQL:                                            [  OK  ]
Starting MySQL:                                            [  OK  ]
Starting Zope Object Database
. daemon process started, pid=16089
Loading initial Zenoss objects into the Zeo database
(this can take a few minutes)
zport portal object exits; exiting.
Stopping Zope Object Database
. daemon process stopped
Zenoss initialization complete.
Daemon: zeoctl . daemon process started, pid=16184
Daemon: zopectl . daemon process started, pid=16189
Daemon: zenhub starting...
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenHub/zenhub.py", line 40, in ?
    from Products.ZenUtils.DaemonStats import DaemonStats
  File "/opt/zenoss/Products/ZenUtils/DaemonStats.py", line 19, in ?
    import rrdtool
ImportError: librrd.so.4: cannot open shared object file: No such file or 
directory
Daemon: zenjobs starting...
Daemon: zenping starting...
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenStatus/zenping.py", line 34, in ?
    from Products.ZenHub.PBDaemon import FakeRemote, PBDaemon
  File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 28, in ?
    from Products.ZenUtils.DaemonStats import DaemonStats
  File "/opt/zenoss/Products/ZenUtils/DaemonStats.py", line 19, in ?
    import rrdtool
ImportError: librrd.so.4: cannot open shared object file: No such file or 
directory
Daemon: zensyslog starting...
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenEvents/zensyslog.py", line 31, in ?
    from Products.ZenEvents.EventServer import EventServer
  File "/opt/zenoss/Products/ZenEvents/EventServer.py", line 27, in ?
    from Products.ZenHub.PBDaemon import PBDaemon, FakeRemote
  File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 28, in ?
    from Products.ZenUtils.DaemonStats import DaemonStats
  File "/opt/zenoss/Products/ZenUtils/DaemonStats.py", line 19, in ?
    import rrdtool
ImportError: librrd.so.4: cannot open shared object file: No such file or 
directory
Daemon: zenstatus starting...
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenStatus/zenstatus.py", line 19, in ?
    from Products.ZenHub.PBDaemon import FakeRemote, PBDaemon
  File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 28, in ?
    from Products.ZenUtils.DaemonStats import DaemonStats
  File "/opt/zenoss/Products/ZenUtils/DaemonStats.py", line 19, in ?
    import rrdtool
ImportError: librrd.so.4: cannot open shared object file: No such file or 
directory
Daemon: zenactions starting...
Daemon: zentrap starting...
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenEvents/zentrap.py", line 31, in ?
    from EventServer import EventServer
  File "/opt/zenoss/Products/ZenEvents/EventServer.py", line 27, in ?
    from Products.ZenHub.PBDaemon import PBDaemon, FakeRemote
  File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 28, in ?
    from Products.ZenUtils.DaemonStats import DaemonStats
  File "/opt/zenoss/Products/ZenUtils/DaemonStats.py", line 19, in ?
    import rrdtool
ImportError: librrd.so.4: cannot open shared object file: No such file or 
directory
Daemon: zenmodeler starting...
Traceback (most recent call last):
  File "/opt/zenoss/Products/DataCollector/zenmodeler.py", line 22, in ?
    from Products.ZenHub.PBDaemon import FakeRemote, PBDaemon
  File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 28, in ?
    from Products.ZenUtils.DaemonStats import DaemonStats
  File "/opt/zenoss/Products/ZenUtils/DaemonStats.py", line 19, in ?
    import rrdtool
ImportError: librrd.so.4: cannot open shared object file: No such file or 
directory
Daemon: zenperfsnmp starting...
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenRRD/zenperfsnmp.py", line 44, in ?
    from SnmpDaemon import SnmpDaemon
  File "/opt/zenoss/Products/ZenRRD/SnmpDaemon.py", line 20, in ?
    from RRDDaemon import RRDDaemon
  File "/opt/zenoss/Products/ZenRRD/RRDDaemon.py", line 27, in ?
    from Products.ZenHub.PBDaemon import FakeRemote, PBDaemon
  File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 28, in ?
    from Products.ZenUtils.DaemonStats import DaemonStats
  File "/opt/zenoss/Products/ZenUtils/DaemonStats.py", line 19, in ?
    import rrdtool
ImportError: librrd.so.4: cannot open shared object file: No such file or 
directory
Daemon: zencommand starting...
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenRRD/zencommand.py", line 34, in ?
    from Products.ZenRRD.RRDDaemon import RRDDaemon
  File "/opt/zenoss/Products/ZenRRD/RRDDaemon.py", line 27, in ?
    from Products.ZenHub.PBDaemon import FakeRemote, PBDaemon
  File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 28, in ?
    from Products.ZenUtils.DaemonStats import DaemonStats
  File "/opt/zenoss/Products/ZenUtils/DaemonStats.py", line 19, in ?
    import rrdtool
ImportError: librrd.so.4: cannot open shared object file: No such file or 
directory
Daemon: zenprocess starting...
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenRRD/zenprocess.py", line 37, in ?
    from SnmpDaemon import SnmpDaemon
  File "/opt/zenoss/Products/ZenRRD/SnmpDaemon.py", line 20, in ?
    from RRDDaemon import RRDDaemon
  File "/opt/zenoss/Products/ZenRRD/RRDDaemon.py", line 27, in ?
    from Products.ZenHub.PBDaemon import FakeRemote, PBDaemon
  File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 28, in ?
    from Products.ZenUtils.DaemonStats import DaemonStats
  File "/opt/zenoss/Products/ZenUtils/DaemonStats.py", line 19, in ?
    import rrdtool
ImportError: librrd.so.4: cannot open shared object file: No such file or 
directory
Daemon: zenwin starting...
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenWin/zenwin.py", line 16, in ?
    from Products.ZenWin.WinCollector import WinCollector
  File "/opt/zenoss/Products/ZenWin/WinCollector.py", line 23, in ?
    from Products.ZenHub.PBDaemon import PBDaemon, FakeRemote
  File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 28, in ?
    from Products.ZenUtils.DaemonStats import DaemonStats
  File "/opt/zenoss/Products/ZenUtils/DaemonStats.py", line 19, in ?
    import rrdtool
ImportError: librrd.so.4: cannot open shared object file: No such file or 
directory
Daemon: zeneventlog starting...
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenWin/zeneventlog.py", line 23, in ?
    from Products.ZenWin.WinCollector import WinCollector
  File "/opt/zenoss/Products/ZenWin/WinCollector.py", line 23, in ?
    from Products.ZenHub.PBDaemon import PBDaemon, FakeRemote
  File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 28, in ?
    from Products.ZenUtils.DaemonStats import DaemonStats
  File "/opt/zenoss/Products/ZenUtils/DaemonStats.py", line 19, in ?
    import rrdtool
ImportError: librrd.so.4: cannot open shared object file: No such file or 
directory

Fresh install post step
--11:29:29--  
http://localhost:8080/zport/dmd/DeviceLoader/loadDevice?deviceName=localhost&devicePath=/Server/Linux
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `/dev/null'

     0K .........                                              10.2K=1.0s

11:29:30 (10.2 KB/s) - `/dev/null' saved [10083]

Zenoss installation completed.

# echo $ZENHOME
/home/zenoss

# locate librrd.so.4
/opt/zenoss/lib/librrd.so.4
/opt/zenoss/lib/librrd.so.4.0.4

# cat /etc/ld.so.conf.d/zenoss 
/opt/zenoss/lib/
# yes, I ran ldconfig after adding this file


Then when I go to install the zenpacks package I get another round of errors 
about not having ZENHOME defined (which I show is defined above).  I am running 
the install as root since this is an RPM package.

# yum -y install /usr/local/src/zenoss-core-zenpacks-2.4.0.el5.x86_64.rpm 
--nogpgcheck
Loaded plugins: rhnplugin, security
Setting up Install Process
Parsing package install arguments
Examining /usr/local/src/zenoss-core-zenpacks-2.4.0.el5.x86_64.rpm: 
zenoss-core-zenpacks-2.4.0-309.x86_64
Marking /usr/local/src/zenoss-core-zenpacks-2.4.0.el5.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package zenoss-core-zenpacks.x86_64 0:2.4.0-309 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================================================================================================================================================================
 Package                                           Arch                         
       Version                                   Repository                     
                                                           Size
================================================================================================================================================================================================================================
Installing:
 zenoss-core-zenpacks                              x86_64                       
       2.4.0-309                                 
/usr/local/src/zenoss-core-zenpacks-2.4.0.el5.x86_64.rpm                        
      1.8 M

Transaction Summary
================================================================================================================================================================================================================================
Install      1 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total download size: 1.8 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : zenoss-core-zenpacks                              [1/1] 
Installing /opt/zenoss/packs/ZenPacks.zenoss.ApacheMonitor-2.0.2-py2.4.egg...
ERROR: $ZENHOME is not set.
This is usually caused by executing this command as root rather than as the 
zenoss user. Either define $ZENHOME or run this command as a different user.

Installing /opt/zenoss/packs/ZenPacks.zenoss.DellMonitor-2.0.0-py2.4.egg...
ERROR: $ZENHOME is not set.
This is usually caused by executing this command as root rather than as the 
zenoss user. Either define $ZENHOME or run this command as a different user.

Installing /opt/zenoss/packs/ZenPacks.zenoss.DigMonitor-1.0.1-py2.4.egg...
ERROR: $ZENHOME is not set.
This is usually caused by executing this command as root rather than as the 
zenoss user. Either define $ZENHOME or run this command as a different user.

Installing /opt/zenoss/packs/ZenPacks.zenoss.DnsMonitor-2.0.1-py2.4.egg...
ERROR: $ZENHOME is not set.
This is usually caused by executing this command as root rather than as the 
zenoss user. Either define $ZENHOME or run this command as a different user.

Installing /opt/zenoss/packs/ZenPacks.zenoss.FtpMonitor-1.0.1-py2.4.egg...
ERROR: $ZENHOME is not set.
This is usually caused by executing this command as root rather than as the 
zenoss user. Either define $ZENHOME or run this command as a different user.

Installing /opt/zenoss/packs/ZenPacks.zenoss.HPMonitor-2.0.0-py2.4.egg...
ERROR: $ZENHOME is not set.
This is usually caused by executing this command as root rather than as the 
zenoss user. Either define $ZENHOME or run this command as a different user.

Installing /opt/zenoss/packs/ZenPacks.zenoss.HttpMonitor-2.0.1-py2.4.egg...
ERROR: $ZENHOME is not set.
This is usually caused by executing this command as root rather than as the 
zenoss user. Either define $ZENHOME or run this command as a different user.

Installing /opt/zenoss/packs/ZenPacks.zenoss.IRCDMonitor-1.0.1-py2.4.egg...
ERROR: $ZENHOME is not set.
This is usually caused by executing this command as root rather than as the 
zenoss user. Either define $ZENHOME or run this command as a different user.

Installing /opt/zenoss/packs/ZenPacks.zenoss.JabberMonitor-1.0.1-py2.4.egg...
ERROR: $ZENHOME is not set.
This is usually caused by executing this command as root rather than as the 
zenoss user. Either define $ZENHOME or run this command as a different user.

Installing /opt/zenoss/packs/ZenPacks.zenoss.LDAPMonitor-1.0.1-py2.4.egg...
ERROR: $ZENHOME is not set.
This is usually caused by executing this command as root rather than as the 
zenoss user. Either define $ZENHOME or run this command as a different user.

Installing /opt/zenoss/packs/ZenPacks.zenoss.MySqlMonitor-2.0.2-py2.4.egg...
ERROR: $ZENHOME is not set.
This is usually caused by executing this command as root rather than as the 
zenoss user. Either define $ZENHOME or run this command as a different user.

Installing /opt/zenoss/packs/ZenPacks.zenoss.NNTPMonitor-1.0.1-py2.4.egg...
ERROR: $ZENHOME is not set.
This is usually caused by executing this command as root rather than as the 
zenoss user. Either define $ZENHOME or run this command as a different user.

Installing /opt/zenoss/packs/ZenPacks.zenoss.NtpMonitor-2.0.2-py2.4.egg...
ERROR: $ZENHOME is not set.
This is usually caused by executing this command as root rather than as the 
zenoss user. Either define $ZENHOME or run this command as a different user.

Installing /opt/zenoss/packs/ZenPacks.zenoss.RPCMonitor-1.0.1-py2.4.egg...
ERROR: $ZENHOME is not set.
This is usually caused by executing this command as root rather than as the 
zenoss user. Either define $ZENHOME or run this command as a different user.

Installing /opt/zenoss/packs/ZenPacks.zenoss.ZenJMX-3.1.6-py2.4.egg...
ERROR: $ZENHOME is not set.
This is usually caused by executing this command as root rather than as the 
zenoss user. Either define $ZENHOME or run this command as a different user.

Installing /opt/zenoss/packs/ZenPacks.zenoss.LinuxMonitor-1.0.0-py2.4.egg...
ERROR: $ZENHOME is not set.
This is usually caused by executing this command as root rather than as the 
zenoss user. Either define $ZENHOME or run this command as a different user.

Restarting Zenoss...
Daemon: zeneventlog stopping...
already stopped
Daemon: zenwin stopping...
already stopped
Daemon: zenprocess stopping...
already stopped
Daemon: zencommand stopping...
already stopped
Daemon: zenperfsnmp stopping...
already stopped
Daemon: zenmodeler stopping...
already stopped
Daemon: zentrap stopping...
already stopped
Daemon: zenactions stopping...
Daemon: zenstatus stopping...
already stopped
Daemon: zensyslog stopping...
already stopped
Daemon: zenping stopping...
already stopped
Daemon: zenjobs stopping...
Daemon: zenhub stopping...
already stopped
Daemon: zopectl . daemon process stopped
Daemon: zeoctl . daemon process stopped
Daemon: zeoctl . daemon process started, pid=18520
Daemon: zopectl . daemon process started, pid=18524
Daemon: zenhub starting...
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenHub/zenhub.py", line 40, in ?
    from Products.ZenUtils.DaemonStats import DaemonStats
  File "/opt/zenoss/Products/ZenUtils/DaemonStats.py", line 19, in ?
    import rrdtool
ImportError: librrd.so.4: cannot open shared object file: No such file or 
directory
Daemon: zenjobs starting...
Daemon: zenping starting...
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenStatus/zenping.py", line 34, in ?
    from Products.ZenHub.PBDaemon import FakeRemote, PBDaemon
  File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 28, in ?
    from Products.ZenUtils.DaemonStats import DaemonStats
  File "/opt/zenoss/Products/ZenUtils/DaemonStats.py", line 19, in ?
    import rrdtool
ImportError: librrd.so.4: cannot open shared object file: No such file or 
directory
Daemon: zensyslog starting...
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenEvents/zensyslog.py", line 31, in ?
    from Products.ZenEvents.EventServer import EventServer
  File "/opt/zenoss/Products/ZenEvents/EventServer.py", line 27, in ?
    from Products.ZenHub.PBDaemon import PBDaemon, FakeRemote
  File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 28, in ?
    from Products.ZenUtils.DaemonStats import DaemonStats
  File "/opt/zenoss/Products/ZenUtils/DaemonStats.py", line 19, in ?
    import rrdtool
ImportError: librrd.so.4: cannot open shared object file: No such file or 
directory
Daemon: zenstatus starting...
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenStatus/zenstatus.py", line 19, in ?
    from Products.ZenHub.PBDaemon import FakeRemote, PBDaemon
  File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 28, in ?
    from Products.ZenUtils.DaemonStats import DaemonStats
  File "/opt/zenoss/Products/ZenUtils/DaemonStats.py", line 19, in ?
    import rrdtool
ImportError: librrd.so.4: cannot open shared object file: No such file or 
directory
Daemon: zenactions starting...
Daemon: zentrap starting...
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenEvents/zentrap.py", line 31, in ?
    from EventServer import EventServer
  File "/opt/zenoss/Products/ZenEvents/EventServer.py", line 27, in ?
    from Products.ZenHub.PBDaemon import PBDaemon, FakeRemote
  File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 28, in ?
    from Products.ZenUtils.DaemonStats import DaemonStats
  File "/opt/zenoss/Products/ZenUtils/DaemonStats.py", line 19, in ?
    import rrdtool
ImportError: librrd.so.4: cannot open shared object file: No such file or 
directory
Daemon: zenmodeler starting...
Traceback (most recent call last):
  File "/opt/zenoss/Products/DataCollector/zenmodeler.py", line 22, in ?
    from Products.ZenHub.PBDaemon import FakeRemote, PBDaemon
  File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 28, in ?
    from Products.ZenUtils.DaemonStats import DaemonStats
  File "/opt/zenoss/Products/ZenUtils/DaemonStats.py", line 19, in ?
    import rrdtool
ImportError: librrd.so.4: cannot open shared object file: No such file or 
directory
Daemon: zenperfsnmp starting...
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenRRD/zenperfsnmp.py", line 44, in ?
    from SnmpDaemon import SnmpDaemon
  File "/opt/zenoss/Products/ZenRRD/SnmpDaemon.py", line 20, in ?
    from RRDDaemon import RRDDaemon
  File "/opt/zenoss/Products/ZenRRD/RRDDaemon.py", line 27, in ?
    from Products.ZenHub.PBDaemon import FakeRemote, PBDaemon
  File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 28, in ?
    from Products.ZenUtils.DaemonStats import DaemonStats
  File "/opt/zenoss/Products/ZenUtils/DaemonStats.py", line 19, in ?
    import rrdtool
ImportError: librrd.so.4: cannot open shared object file: No such file or 
directory
Daemon: zencommand starting...
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenRRD/zencommand.py", line 34, in ?
    from Products.ZenRRD.RRDDaemon import RRDDaemon
  File "/opt/zenoss/Products/ZenRRD/RRDDaemon.py", line 27, in ?
    from Products.ZenHub.PBDaemon import FakeRemote, PBDaemon
  File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 28, in ?
    from Products.ZenUtils.DaemonStats import DaemonStats
  File "/opt/zenoss/Products/ZenUtils/DaemonStats.py", line 19, in ?
    import rrdtool
ImportError: librrd.so.4: cannot open shared object file: No such file or 
directory
Daemon: zenprocess starting...
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenRRD/zenprocess.py", line 37, in ?
    from SnmpDaemon import SnmpDaemon
  File "/opt/zenoss/Products/ZenRRD/SnmpDaemon.py", line 20, in ?
    from RRDDaemon import RRDDaemon
  File "/opt/zenoss/Products/ZenRRD/RRDDaemon.py", line 27, in ?
    from Products.ZenHub.PBDaemon import FakeRemote, PBDaemon
  File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 28, in ?
    from Products.ZenUtils.DaemonStats import DaemonStats
  File "/opt/zenoss/Products/ZenUtils/DaemonStats.py", line 19, in ?
    import rrdtool
ImportError: librrd.so.4: cannot open shared object file: No such file or 
directory
Daemon: zenwin starting...
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenWin/zenwin.py", line 16, in ?
    from Products.ZenWin.WinCollector import WinCollector
  File "/opt/zenoss/Products/ZenWin/WinCollector.py", line 23, in ?
    from Products.ZenHub.PBDaemon import PBDaemon, FakeRemote
  File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 28, in ?
    from Products.ZenUtils.DaemonStats import DaemonStats
  File "/opt/zenoss/Products/ZenUtils/DaemonStats.py", line 19, in ?
    import rrdtool
ImportError: librrd.so.4: cannot open shared object file: No such file or 
directory
Daemon: zeneventlog starting...
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenWin/zeneventlog.py", line 23, in ?
    from Products.ZenWin.WinCollector import WinCollector
  File "/opt/zenoss/Products/ZenWin/WinCollector.py", line 23, in ?
    from Products.ZenHub.PBDaemon import PBDaemon, FakeRemote
  File "/opt/zenoss/Products/ZenHub/PBDaemon.py", line 28, in ?
    from Products.ZenUtils.DaemonStats import DaemonStats
  File "/opt/zenoss/Products/ZenUtils/DaemonStats.py", line 19, in ?
    import rrdtool
ImportError: librrd.so.4: cannot open shared object file: No such file or 
directory


Installed: zenoss-core-zenpacks.x86_64 0:2.4.0-309
Complete!




-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=34706#34706

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to