NagiosXI installation error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
lntinfo
Posts: 136
Joined: Tue Mar 01, 2011 10:17 am

NagiosXI installation error

Post by lntinfo »

Hi All,

I am trying to installed NagiosXI xi-2011r1.6.tar on Centos 5.6_32 bit OS but while trying to run below command it shows error pasterd below
./A-subcomponents

checking whether stat accepts an empty string... no
checking for an ANSI C-conforming const... yes
checking for perl... /usr/bin/perl
checking for rrdtool... no
checking rrdtool path ... no
configure: error: is a directory! PNP needs the Path to the rrdtool binary!
make: *** No rule to make target `all'. Stop.
make: *** No rule to make target `install'. Stop.
make: *** No rule to make target `install-config'. Stop.
make: *** No rule to make target `install-init'. Stop.
/local_home/nagiosxi/subcomponents/pnp
PNP-POST
cp: accessing `/usr/local/nagios/etc/pnp/rra.cfg': Not a directory
cp: accessing `/usr/local/nagios/etc/pnp/process_perfdata.cfg': Not a directory
cp: target `/usr/local/nagios/share/pnp/templates' is not a directory
cp: cannot create regular file `/usr/local/nagios/share/pnp/lang': No such file or directory
mkdir: cannot create directory `/usr/local/nagios/var/stats': File exists
ERROR: PNP install appears to have failed - exiting. Missing file = /usr/local/nagios/bin/npcd
/local_home/nagiosxi/subcomponents
ERROR: Subcomponent 'pnp' installation failed - exiting.
/local_home/nagiosxi
Subcomponents installation failed - exiting
You have new mail in /var/spool/mail/root

please help me out with above error.
Thnx in advance.
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: NagiosXI installation error

Post by nscott »

Can you run the following for me and give me the output?

Code: Select all

yum install rrdtool*
Nicholas Scott
Former Nagios employee
lntinfo
Posts: 136
Joined: Tue Mar 01, 2011 10:17 am

Re: NagiosXI installation error

Post by lntinfo »

rrdtool is already installed. but as you suggested run below command and pasted output below.
yum install rrdtool*

http://centos.aol.in/5.7/updates/i386/r ... repomd.xml: [Errno 14] HTTP Error 407: Proxy Authorization Required
Trying other mirror.
http://centos.communilink.net/5.7/updat ... repomd.xml: [Errno 14] HTTP Error 407: Proxy Authorization Required
Trying other mirror.
Trying other mirror.
http://ftp.cuhk.edu.hk/pub/Linux/centos ... repomd.xml: [Errno 14] HTTP Error 407: Proxy Authorization Required
Trying other mirror.
http://mirror-fpt-telecom.fpt.net/cento ... repomd.xml: [Errno 14] HTTP Error 407: Proxy Authorization Required
Trying other mirror.
Setting up Install Process
Package rrdtool-1.4.4-1.el5.rf.i386 already installed and latest version
Package rrdtool-ruby is obsoleted by ruby-rrdtool, trying to install ruby-rrdtool-1.4.4-1.el5.rf.i386 instead
Package rrdtool-tcl is obsoleted by tcl-rrdtool, trying to install tcl-rrdtool-1.4.4-1.el5.rf.i386 instead
Package rrdtool-python is obsoleted by python-rrdtool, trying to install python-rrdtool-1.4.4-1.el5.rf.i386 instead
Package rrdtool-perl is obsoleted by perl-rrdtool, trying to install perl-rrdtool-1.4.4-1.el5.rf.i386 instead
Package perl-rrdtool-1.4.4-1.el5.rf.i386 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package python-rrdtool.i386 0:1.4.4-1.el5.rf set to be updated
---> Package rrdtool-devel.i386 0:1.4.4-1.el5.rf set to be updated
---> Package rrdtool-doc.i386 0:1.2.27-3.el5 set to be updated
---> Package rrdtool-php.i386 0:1.2.27-3.el5 set to be updated
--> Processing Dependency: rrdtool = 1.2.27-3.el5 for package: rrdtool-php
--> Processing Dependency: librrd.so.2 for package: rrdtool-php
---> Package ruby-rrdtool.i386 0:1.4.4-1.el5.rf set to be updated
---> Package tcl-rrdtool.i386 0:1.4.4-1.el5.rf set to be updated
--> Finished Dependency Resolution
rrdtool-php-1.2.27-3.el5.i386 from epel has depsolving problems
--> Missing Dependency: librrd.so.2 is needed by package rrdtool-php-1.2.27-3.el5.i386 (epel)
rrdtool-php-1.2.27-3.el5.i386 from epel has depsolving problems
--> Missing Dependency: rrdtool = 1.2.27-3.el5 is needed by package rrdtool-php-1.2.27-3.el5.i386 (epel)
Error: Missing Dependency: librrd.so.2 is needed by package rrdtool-php-1.2.27-3.el5.i386 (epel)
Error: Missing Dependency: rrdtool = 1.2.27-3.el5 is needed by package rrdtool-php-1.2.27-3.el5.i386 (epel)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package
http://mirror.neu.edu.cn/centos/5.7/upd ... repomd.xml: [Errno 14] HTTP Error 407: Proxy

is there any proxy issue ? plz help me out with above error.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: NagiosXI installation error

Post by mguthrie »

Yes, there is a proxy issue ; )

If you can turn off the proxy while you run the installer, that would be ideal. We can't fully support a proxy install, but here are some user contributed solutions for getting the installer to work behind a proxy.
http://support.nagios.com/wiki/index.ph ... n_Problems
Locked