NNA installation error

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
Locked
inas.labib
Posts: 170
Joined: Tue Sep 11, 2012 3:48 am

NNA installation error

Post 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).
inas.labib
Posts: 170
Joined: Tue Sep 11, 2012 3:48 am

Re: NNA installation error

Post by inas.labib »

install.log attached
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: NNA installation error

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
inas.labib
Posts: 170
Joined: Tue Sep 11, 2012 3:48 am

Re: NNA installation error

Post by inas.labib »

Thanks for the response. "php-devel" is not available

please confirm which is the "base repo"
dwasswa

Re: NNA installation error

Post 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
inas.labib
Posts: 170
Joined: Tue Sep 11, 2012 3:48 am

Re: NNA installation error

Post by inas.labib »

Thanks for the update. Successfully installed Nagios Network Analyzer.
dwasswa

Re: NNA installation error

Post 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.
Locked