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.
Source Guardian error
Re: Source Guardian error
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
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!
Re: Source Guardian error
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
error: nothing to do.
PHP -v result PHP 5.4.16
yum reposlist result rhel-7-server-rpms/7Server/x86_64
repolist: 29,086
Re: Source Guardian error
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
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!
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Source Guardian error
It sounds like this issue has been resolved. Is it okay if we lock this thread? Thanks for choosing the Nagios forums!