Page 1 of 1

NNA installation error

Posted: Wed Oct 11, 2017 7:44 am
by inas.labib
Hi ,

we are installing Nagios network analyzer getting below error. kindly assist.

System details:
Red Hat Enterprise Linux Server release 6.9 (Santiago)
2.6.32-696.13.2.el6.x86_64


Nagios Network Analyzer Installation
====================================
DATE: Wed Oct 11 16:08:24 +04 2017

DISTRO INFO:
RedHatEnterpriseServer
6.9
x86_64

Running 'prereqs'...
prereqs step already completed - skipping
Running 'sourceguardian'...
Installing sourceguardian...
./libinstall.sh: line 312: php-config: command not found

===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).

Re: NNA installation error

Posted: Wed Oct 11, 2017 8:47 am
by inas.labib
install.log attached

Re: NNA installation error

Posted: Wed Oct 11, 2017 9:14 am
by tgriep
Your system could not file and install the php-devel package NNA needs for installation.
If could be that the yum cache needs to be cleaned out and then the package may install.
Try this

Code: Select all

yum clean all
yum install php-devel -y
If the php-devel package installs, try running the NNA install again.

If the install of the php-devel package fails and says that it cannot be found, make sure the base repo is setup in the server and then try it again.

Re: NNA installation error

Posted: Wed Oct 11, 2017 2:19 pm
by inas.labib
Thanks for the response. "php-devel" is not available

please confirm which is the "base repo"

Re: NNA installation error

Posted: Wed Oct 11, 2017 2:46 pm
by dwasswa
Hi @inas.labib

->As root, enter

Code: Select all

rpm -q php
-> Note the version of the installed package

-> Go on http://rpm.pbone.net/

-> Search for

Code: Select all

php-devel
-> Find the php-devel package that matches your installed php rpm (the one you found above)

-> Copy a mirror link and

Code: Select all

wget
it on your machine

-> enter

Code: Select all

rpm -Uvh <path to downloaded>_rpm

Re: NNA installation error

Posted: Thu Oct 12, 2017 8:39 am
by inas.labib
Thanks for the update. Successfully installed Nagios Network Analyzer.

Re: NNA installation error

Posted: Thu Oct 12, 2017 11:38 am
by dwasswa
Hi @inas.labib,

I am glad it all worked out for you.

I am going to close this thread as resolved.

If you have any other questions please open a new thread and we will be more than happy to help.

Thank you for using Nagios Support Forum.