This happens when using auto-deploy installation (hint).
The error happens in https://gist.github.com/fortran01/e6eb87c87fa8bb7aa3eb/ebdcce749b366c6cf97346f0411e91dd114a61d4#file-zenoss-core-autodeploy-ec817e6_core-autodeploy-sh-L261-L265 when the zenoss service is started.
Zenoss not initialized. Performing first-boot initialization... Fresh install pre steps Checking RRDtool version >= 1.4.7: [FAIL] Missing. Error: rrdtool is not in the search path. Please confirm that RRDtool (version >= 1.4.7) is installed.
It can be verified that rrdtool is already installed.
# rrdtool --version RRDtool 1.4.7 Copyright 1997-2012 by Tobias OetikerCompiled Apr 5 2012 17:36:08
The routine that checks for rrdtool is in /opt/zenoss/bin/install-functions.sh. Look for confirm_rrd(). It uses the command `which` that is not installed by default in the Centos 6 docker image.
# yum install which -y Loaded plugins: fastestmirror Setting up Install Process Loading mirror speeds from cached hostfile * base: mirrors.vinahost.vn * extras: mirror.vietoss.com * updates: mirror.vietoss.com Resolving Dependencies --> Running transaction check ---> Package which.x86_64 0:2.19-6.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: which x86_64 2.19-6.el6 base 38 k Transaction Summary ================================================================================ Install 1 Package(s) Total download size: 38 k Installed size: 71 k Downloading Packages: which-2.19-6.el6.x86_64.rpm | 38 kB 00:01 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : which-2.19-6.el6.x86_64 1/1 install-info: No such file or directory for /usr/share/info/which.info.gz Verifying : which-2.19-6.el6.x86_64 1/1 Installed: which.x86_64 0:2.19-6.el6 Complete!
It should now work.
# for service in memcached snmpd zenoss; do /sbin/chkconfig $service on; /sbin/service $service start; done 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
Comments