Source Guardian error

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
Locked
ColinL
Posts: 7
Joined: Tue Sep 12, 2017 12:17 pm

Source Guardian error

Post by ColinL »

Trying to install Network analyzer on a clean install of RHEL 7.3 and get the error message, ./libinstall.sh: line 312: php-config: command not found.

The step that failed was : 'sourceguardian'.

Any help would be great. Thanks.
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Source Guardian error

Post by tgriep »

That section of the fullinstall script uses the php-config application to determine the version of PHP which it uses to install the SourceGuardian PHP module.
The package that application comes in is the php-devel package and if your system did not have access to the internet to download it or a local repository and the package did not get installed.
Or that your Redhat server is not registered and it could not install that package.

To manually install the package, run the following as root

yum install php-devel -y

Then try running the NNA fulinstall and see if it finishes.

If not, post the error you see and the output of the following commands.
php -v
yum repolist
Be sure to check out our Knowledgebase for helpful articles and solutions!
ColinL
Posts: 7
Joined: Tue Sep 12, 2017 12:17 pm

Re: Source Guardian error

Post by ColinL »

No luck. no package php-devel available
error: nothing to do.

PHP -v result PHP 5.4.16

yum reposlist result rhel-7-server-rpms/7Server/x86_64
repolist: 29,086
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Source Guardian error

Post by tgriep »

You will probably have to enable the server to access the optional RPMs repositories.
Take a look at this link for instructions on doing that.
https://access.redhat.com/solutions/265523
Be sure to check out our Knowledgebase for helpful articles and solutions!
ColinL
Posts: 7
Joined: Tue Sep 12, 2017 12:17 pm

Re: Source Guardian error

Post by ColinL »

It worked! Thanks.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Source Guardian error

Post by dwhitfield »

It sounds like this issue has been resolved. Is it okay if we lock this thread? Thanks for choosing the Nagios forums!
Locked