Hello,
I'm on a RHEL 32 bit machine and when I run the fullinstall script, I get the following:
ERROR: PNP install appears to have failed - exiting. Missing file = /usr/local/nagios/bin/npcd
/tmp/nagiosxi/subcomponents
ERROR: Subcomponent 'pnp' installation failed - exiting.
/tmp/nagiosxi
Subcomponents installation failed - exiting
RESULT=1
===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
The script that failed was: './A-subcomponents'
You have new mail in /var/spool/mail/root
[root@ip-10-169-61-127 nagiosxi]# ls /usr/local/nagios/etc/pnp
/usr/local/nagios/etc/pnp
PNP install failed
Re: PNP install failed
Are you behind a proxy?
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: PNP install failed
Is your server behind a proxy? If not lets do this.
Remove all files from your "/tmp" directory.
Then,
If it fails again, post the errors found in the "install.log" file.
Remove all files from your "/tmp" directory.
Then,
Code: Select all
cd /tmp
wget http://assets.nagios.com/downloads/nagiosxi/xi-2011-latest.tar.gz
tar xzf xi-2011-latest.tar.gz
cd /tmp/nagiosxi
chmod +x ./fullinstall
./fullinstallRe: PNP install failed
i am now seeing the following:
Do I need to register this machine? I'm using Amazon EC2. It's strange that this wasn't showing up before..?
[root@ip-10-169-61-127 nagiosxi]# less install.log
Nagios XI Installation Log
==========================
DATE: Tue Dec 20 15:47:45 EST 2011
DISTRO INFO:
RedHatEnterpriseServer
6.1
i686
THIS IS A NEW INSTALL!
INSTALLING:
full=2011R1.9
major=2011
minor=R1.9
releasedate=2011-12-13
release=209
Configuring Yum...
ERROR: unable to read system id.
Your Red Hat Installation is not registered or does not have proper entitlements.
Please register or enable entitlements at rhn.redhat.com.
Do I need to register this machine? I'm using Amazon EC2. It's strange that this wasn't showing up before..?
[root@ip-10-169-61-127 nagiosxi]# less install.log
Nagios XI Installation Log
==========================
DATE: Tue Dec 20 15:47:45 EST 2011
DISTRO INFO:
RedHatEnterpriseServer
6.1
i686
THIS IS A NEW INSTALL!
INSTALLING:
full=2011R1.9
major=2011
minor=R1.9
releasedate=2011-12-13
release=209
Configuring Yum...
ERROR: unable to read system id.
Your Red Hat Installation is not registered or does not have proper entitlements.
Please register or enable entitlements at rhn.redhat.com.
Re: PNP install failed
I have also tried on a centos machine.
[root@ip-10-168-74-78 nagiosxi]# uname -a
Linux ip-10-168-74-78 2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:39:36 EST 2008 i686 i686 i386 GNU/Linux
[root@ip-10-168-74-78 nagiosxi]# cat /etc/redhat-release
CentOS release 5.4 (Final)
I am seeing the following error:
[root@ip-10-168-74-78 nagiosxi]# ./fullinstall
========================
Nagios XI Full Installer
========================
This script will do a complete install of Nagios XI by executing all necessary sub-scripts.
IMPORTANT: This script should only be used on a 'clean' install of CentOS or RedHat. Do NOT use this on a system that has been tasked with other purposes or has an existing install of
Nagios Core. To create such a clean install you should have selected ONLY the 'Base' package in the OS installer.
Do you want to continue? [Y/n] y
Proceeding with installation...
Checking MySQL credentials...
MySQL not yet installed - that's okay.
Running './0-yum'...
Configuring Yum...
2.6.21.7-2.fc8xen is not currently supported. Please use CentOS or RHEL versions 5 or 6 instead.
RESULT=1
===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.
The script that failed was: './0-yum'
[root@ip-10-168-74-78 nagiosxi]# uname -a
Linux ip-10-168-74-78 2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:39:36 EST 2008 i686 i686 i386 GNU/Linux
[root@ip-10-168-74-78 nagiosxi]# version
-bash: version: command not found
[root@ip-10-168-74-78 nagiosxi]# uname -a
Linux ip-10-168-74-78 2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:39:36 EST 2008 i686 i686 i386 GNU/Linux
[root@ip-10-168-74-78 nagiosxi]# cat /etc/redhat-release
CentOS release 5.4 (Final)
I am seeing the following error:
[root@ip-10-168-74-78 nagiosxi]# ./fullinstall
========================
Nagios XI Full Installer
========================
This script will do a complete install of Nagios XI by executing all necessary sub-scripts.
IMPORTANT: This script should only be used on a 'clean' install of CentOS or RedHat. Do NOT use this on a system that has been tasked with other purposes or has an existing install of
Nagios Core. To create such a clean install you should have selected ONLY the 'Base' package in the OS installer.
Do you want to continue? [Y/n] y
Proceeding with installation...
Checking MySQL credentials...
MySQL not yet installed - that's okay.
Running './0-yum'...
Configuring Yum...
2.6.21.7-2.fc8xen is not currently supported. Please use CentOS or RHEL versions 5 or 6 instead.
RESULT=1
===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.
The script that failed was: './0-yum'
[root@ip-10-168-74-78 nagiosxi]# uname -a
Linux ip-10-168-74-78 2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:39:36 EST 2008 i686 i686 i386 GNU/Linux
[root@ip-10-168-74-78 nagiosxi]# version
-bash: version: command not found
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: PNP install failed
With RHEL machines you dowill wrote:i am now seeing the following:
...
2.6.21.7-2.fc8xen is not currently supported. Please use CentOS or RHEL versions 5 or 6 instead.
...
Do I need to register this machine? I'm using Amazon EC2. It's strange that this wasn't showing up before..?
http://support.nagios.com/wiki/index.ph ... ptions..22
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: PNP install failed
I'm not sure why it is reporting 2.6.21.7-2.fc8xen in the distribution, our install script is looking for the standard which would contain el5 or el6 at the end.will wrote:I have also tried on a centos machine.
...
[root@ip-10-168-74-78 nagiosxi]# uname -a
Linux ip-10-168-74-78 2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:39:36 EST 2008 i686 i686 i386 GNU/Linux
Here is a hack/workaround.
If you edit the file ./0-yum and change the following line (3):
Code: Select all
dist=$(uname -r | sed 's/.*\.\(el[0-9]\+\).*/\1/')Code: Select all
dist=$"el5"If this is CentOS 5.4 it should work fine.
Re: PNP install failed
Yes, you need to register with Red Hat in order to use Nagios XI. It will not work if you don't enable entitlements.Do I need to register this machine? I'm using Amazon EC2. It's strange that this wasn't showing up before..?
"2.6.21.7-2.fc8xen" doesn't seem to be an "official" CentOS kernel.2.6.21.7-2.fc8xen is not currently supported. Please use CentOS or RHEL versions 5 or 6 instead.
Be sure to check out our Knowledgebase for helpful articles and solutions!