ERROR - NRPE - How To Install NRPE v3 From Source
Posted: Mon Jun 18, 2018 10:25 am
Hello team,
I'm trying to install the agent on a Red Hat 6.6 linux server that is not registered, to download packages enable the EPEL repository.
I am following the instructions from the following URL: https://support.nagios.com/kb/article.php?id=515
In the compile stage, I get the following error:
[root @ server01 nrpe-nrpe-3.2.1] # ./configure --enable-command-args
-bash: ./configure: Permission denied
[root @ server01 nrpe-nrpe-3.2.1] #
Also try it in the following way:
[root @ server01 nrpe-nrpe-3.2.1] # sh configure --enable-command-args
checking for a BSD-compatible install ... / usr / bin / install -c
checking what the operating system is ... linux
checking what the distribution type is ... rh
checking what init system is being used ... upstart
checking what inetd is being used ... upstart
checking for which paths to use ... default
checking for which init file to use ... rh-upstart-init
checking for which inetd files to use ... unknown
checking for gcc ... gcc
checking whether the C compiler works ... yes
checking for C compiler default output file name ... a.out
checking for suffix of executables ...
checking whether we are cross compiling ... configure: error: in `/tmp/nrpe-nrpe-3.2.1 ':
configure: error: can not run C compiled programs.
If you meant to cross compile, use `--host '.
See `config.log 'for more details
[root @ server01 nrpe-nrpe-3.2.1] #
I'm trying to install the agent on a Red Hat 6.6 linux server that is not registered, to download packages enable the EPEL repository.
I am following the instructions from the following URL: https://support.nagios.com/kb/article.php?id=515
In the compile stage, I get the following error:
[root @ server01 nrpe-nrpe-3.2.1] # ./configure --enable-command-args
-bash: ./configure: Permission denied
[root @ server01 nrpe-nrpe-3.2.1] #
Also try it in the following way:
[root @ server01 nrpe-nrpe-3.2.1] # sh configure --enable-command-args
checking for a BSD-compatible install ... / usr / bin / install -c
checking what the operating system is ... linux
checking what the distribution type is ... rh
checking what init system is being used ... upstart
checking what inetd is being used ... upstart
checking for which paths to use ... default
checking for which init file to use ... rh-upstart-init
checking for which inetd files to use ... unknown
checking for gcc ... gcc
checking whether the C compiler works ... yes
checking for C compiler default output file name ... a.out
checking for suffix of executables ...
checking whether we are cross compiling ... configure: error: in `/tmp/nrpe-nrpe-3.2.1 ':
configure: error: can not run C compiled programs.
If you meant to cross compile, use `--host '.
See `config.log 'for more details
[root @ server01 nrpe-nrpe-3.2.1] #