Nagios xi installation error "pnp"
Nagios xi installation error "pnp"
I am trying to install nagios xi(manual install) on CENTOS 5.6 (32bit) but i am getting following error when the installation program is configuring PNP:
/usr/bin/install -c -m 755 -o nagios -g nagios -d /usr/local/nagios/etc/pnp
/usr/bin/install: `/usr/local/nagios/etc/pnp' exists but is not a directory
make[1]: *** [install-config] Error 1
make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/pnp/pnp-0.4.14/sample-config'
make: *** [install-config] Error 2
cd ./scripts && make install-init
make[1]: Entering directory `/tmp/nagiosxi/subcomponents/pnp/pnp-0.4.14/scripts'
/usr/bin/install -c -m 755 -o root -g root -d /etc/rc.d/init.d
/usr/bin/install -c -m 755 -o root -g root rc.npcd /etc/rc.d/init.d/npcd
make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/pnp/pnp-0.4.14/scripts'
/tmp/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
mkdir: cannot create directory `/usr/local/nagios/var/stats': File exists
ERROR: PNP install appears to have failed - exiting. Missing file = /usr/local/nagios/etc/pnp/process_perfdata.cfg
ERROR: Subcomponent 'pnp' installation failed - exiting.
Subcomponents installation failed - exiting
What should i do to get rid of this error.
/usr/bin/install -c -m 755 -o nagios -g nagios -d /usr/local/nagios/etc/pnp
/usr/bin/install: `/usr/local/nagios/etc/pnp' exists but is not a directory
make[1]: *** [install-config] Error 1
make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/pnp/pnp-0.4.14/sample-config'
make: *** [install-config] Error 2
cd ./scripts && make install-init
make[1]: Entering directory `/tmp/nagiosxi/subcomponents/pnp/pnp-0.4.14/scripts'
/usr/bin/install -c -m 755 -o root -g root -d /etc/rc.d/init.d
/usr/bin/install -c -m 755 -o root -g root rc.npcd /etc/rc.d/init.d/npcd
make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/pnp/pnp-0.4.14/scripts'
/tmp/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
mkdir: cannot create directory `/usr/local/nagios/var/stats': File exists
ERROR: PNP install appears to have failed - exiting. Missing file = /usr/local/nagios/etc/pnp/process_perfdata.cfg
ERROR: Subcomponent 'pnp' installation failed - exiting.
Subcomponents installation failed - exiting
What should i do to get rid of this error.
Re: Nagios xi installation error "pnp"
Hi,
Have you got any solution for this? I am also facing the same propblem.
Have you got any solution for this? I am also facing the same propblem.
Re: Nagios xi installation error "pnp"
Did you try to install Nagios XI on a "clean" system? Was Gnome installed?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios xi installation error "pnp"
Yes. It was clean install. Gnome is also installed.
Re: Nagios xi installation error "pnp"
Are you running the installer from the /tmp/nagiosxi directory and are you running this as the root user?
Re: Nagios xi installation error "pnp"
Has anybody been able to resolve this issue. I am experiencing the same problem installing Nagios XI on RHEL 5. The install is running from the /tmp/nagiosxi directory and running as root. Please assist.
Re: Nagios xi installation error "pnp"
Please can you share what the resolution was?
Re: Nagios xi installation error "pnp"
The installer should be creating a file /tmp/nagiosxi/install.log. Can you guys post the log so we can see where the problem is occurring?
-
cwscribner
- Posts: 316
- Joined: Thu Mar 31, 2011 9:54 am
- Location: Patten, ME
- Contact:
Re: Nagios xi installation error "pnp"
Just some possibly helpful notes. I encountered errors much like this during a recent install. Here are a few things to do/check
- Be sure gcc is installed . Otherwise you can't compile anything.
Code: Select all
yum install gcc
- In /usr/local/nagios/etc/, make sure that there isn't a file called "pnp" created already. Somehow, this happened to me and that's why you get the "Not a directory" error. If it is created, just do
Code: Select all
rm -rf /usr/local/nagios/etc/pnp
- Uninstall mod_perl then rerun the install script
Code: Select all
yum remove mod_perl