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] #
ERROR - NRPE - How To Install NRPE v3 From Source
ERROR - NRPE - How To Install NRPE v3 From Source
You do not have the required permissions to view the files attached to this post.
Re: ERROR - NRPE - How To Install NRPE v3 From Source
I'm not clear on this - did you run:
yum install -y gcc glibc glibc-common openssl openssl-devel perl wget
? to download and install the required packages? If not, this needs to be done. If you did do this, please provide the config.log created when you try to compile.
yum install -y gcc glibc glibc-common openssl openssl-devel perl wget
? to download and install the required packages? If not, this needs to be done. If you did do this, please provide the config.log created when you try to compile.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: ERROR - NRPE - How To Install NRPE v3 From Source
Yes, thank you very much.
I managed to solve it after several attempts, what happens is that this server did not have the partitions by default, so after I realized that, install the agent from a different route to the / tmp and manage to execute all the scripts without problems .
I managed to solve it after several attempts, what happens is that this server did not have the partitions by default, so after I realized that, install the agent from a different route to the / tmp and manage to execute all the scripts without problems .
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: ERROR - NRPE - How To Install NRPE v3 From Source
Excellent, glad to hear it is resolved!
Locking
Locking