Issue with Nagios XI installation at step A-subcomponents
Issue with Nagios XI installation at step A-subcomponents
Linux distro:
- Red Hat Enterprise Linux Server release 5.6 (Tikanga), 64-bit
Environment:
- POWER6 LPAR
Install:
- Manual install of Nagios XI
Issue:
- Having issue with step A-subcomponents (have successfully completed previous steps w/o serious issues)
- Output of error of script is as follows:
cd ./sample-config && make install
make[1]: Entering directory `/tmp/nagiosxi/subcomponents/pnp/pnp-0.4.14/sample-config'
rm -f /usr/local/nagios/share/pnp/conf/config.php
/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] Error 1
make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/pnp/pnp-0.4.14/sample-config'
make: *** [install] Error 2
- Checked Makefile in /tmp/nagiosxi/subcomponents/pnp/pnp-0.4.14/sample-config and SYSCONFDIR is set to /usr/local/nagios/etc/pnp
which is not a directory
Question:
- Should the SYSCONFDIR be set to something else or did something get missed in the install/build of PNP that the /usr/local/nagios/etc/pnp folder did not get created?
Thanks in advance
- Red Hat Enterprise Linux Server release 5.6 (Tikanga), 64-bit
Environment:
- POWER6 LPAR
Install:
- Manual install of Nagios XI
Issue:
- Having issue with step A-subcomponents (have successfully completed previous steps w/o serious issues)
- Output of error of script is as follows:
cd ./sample-config && make install
make[1]: Entering directory `/tmp/nagiosxi/subcomponents/pnp/pnp-0.4.14/sample-config'
rm -f /usr/local/nagios/share/pnp/conf/config.php
/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] Error 1
make[1]: Leaving directory `/tmp/nagiosxi/subcomponents/pnp/pnp-0.4.14/sample-config'
make: *** [install] Error 2
- Checked Makefile in /tmp/nagiosxi/subcomponents/pnp/pnp-0.4.14/sample-config and SYSCONFDIR is set to /usr/local/nagios/etc/pnp
which is not a directory
Question:
- Should the SYSCONFDIR be set to something else or did something get missed in the install/build of PNP that the /usr/local/nagios/etc/pnp folder did not get created?
Thanks in advance
Re: Issue with Nagios XI installation at step A-subcomponent
Hello,
I am going to run a test server and post the method I use here when completed to see if there are any oddities we are unaware of.
I am going to run a test server and post the method I use here when completed to see if there are any oddities we are unaware of.
Re: Issue with Nagios XI installation at step A-subcomponent
The following method for setting up RHEL and installing Nagios XI works for me:
type "linux text" (not UI)
Register RHEL (this step is REQUIRED)
choose language
set up partition, networking, time zone, root password
Set up package selection DESELECT ALL, run, reboot.
In Setup Agent "exit".
Login.
http://<xiserver>/
where <xiserver> is the IP address of the server you just installed Nagios XI on.
Tested and verified.
Could you please do an install like this and respond back with results?
Thank you.
type "linux text" (not UI)
Register RHEL (this step is REQUIRED)
choose language
set up partition, networking, time zone, root password
Set up package selection DESELECT ALL, run, reboot.
In Setup Agent "exit".
Login.
Code: Select all
cd /tmp Code: Select all
wget http://assets.nagios.com/downloads/nagiosxi/xi-2011r1.2.tar.gzCode: Select all
tar xzf xi-2011r1.2.tar.gz Code: Select all
cd /tmp/nagiosxi Code: Select all
./0-yum Code: Select all
./0-yum [yes, this is twice] Code: Select all
./1-prereqs Code: Select all
./2-usersgroups Code: Select all
./3-dbserversCode: Select all
./4-servicesCode: Select all
./6-firewall Code: Select all
./7-sendmailCode: Select all
./8-selinux Code: Select all
./9-dbbackups Code: Select all
./10-phplimits Code: Select all
./11-sourceguardian Code: Select all
./12-mrtgCode: Select all
./13-cacti Code: Select all
./A-subcomponents Code: Select all
./B-installxiCode: Select all
./C-cronjobsCode: Select all
./D-chkconfigalldaemonsCode: Select all
./E-importnagiosqlCode: Select all
./F-startdaemons Code: Select all
./Z-webroot where <xiserver> is the IP address of the server you just installed Nagios XI on.
Tested and verified.
Could you please do an install like this and respond back with results?
Thank you.
-
tonyyarusso
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: Issue with Nagios XI installation at step A-subcomponent
Two thoughts:
- We haven't tested on POWER, so it's possible that has something different that's throwing things off. Tested architectures currently are x86 and x86_64.
- I wonder if on the other architectures 'install' is a shell built-in rather than a standalone. I'm not sure if it is, but that could have different behavior.
Re: Issue with Nagios XI installation at step A-subcomponent
Thanks for the replies.
I have attempted the re-install with the same result as I posted earlier. Running Nagios XI on a POWER6 LPAR will not be our long-term solution (will eventually be built out on a Red Hat x86 platform), so I'm not investing any more effort in this direction. However, it would be nice to know if there are issues with this architecture.
I have gone ahead and downloaded the CentOS-based VM and that seems to be working well so far.
Thanks,
Tom
I have attempted the re-install with the same result as I posted earlier. Running Nagios XI on a POWER6 LPAR will not be our long-term solution (will eventually be built out on a Red Hat x86 platform), so I'm not investing any more effort in this direction. However, it would be nice to know if there are issues with this architecture.
I have gone ahead and downloaded the CentOS-based VM and that seems to be working well so far.
Thanks,
Tom
Re: Issue with Nagios XI installation at step A-subcomponent
Agreed, we'll have to do some testing on that at some point.However, it would be nice to know if there are issues with this architecture.
Glad the VM is working well for you! Let us know if you have any additional questions.