getting error execv /opt/nrpe/bin/nrpe: Exec format error
-
- Posts: 29
- Joined: Thu Apr 25, 2019 2:04 pm
getting error execv /opt/nrpe/bin/nrpe: Exec format error
Getting error execv /opt/nrpe/bin/nrpe: Exec format error in /var/adm/syslog/syslog.log
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: getting error execv /opt/nrpe/bin/nrpe: Exec format erro
Hello @nagiosuser1000,
Did you follow the instructions for compiling NRPE from source ( see below)? Also, what version of HP-UX are you running?
NRPE - How To Install NRPE v3 From Source
Thanks.
Did you follow the instructions for compiling NRPE from source ( see below)? Also, what version of HP-UX are you running?
NRPE - How To Install NRPE v3 From Source
Thanks.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 29
- Joined: Thu Apr 25, 2019 2:04 pm
Re: getting error execv /opt/nrpe/bin/nrpe: Exec format erro
Thanks a lot for your reply. we are in the process of compiling now.
We are also getting another error
(No output on stdout) stderr: connect to address X.X.X.X port 5666: No route to host
Thank you
We are also getting another error
(No output on stdout) stderr: connect to address X.X.X.X port 5666: No route to host
Thank you
-
- Posts: 29
- Joined: Thu Apr 25, 2019 2:04 pm
Re: getting error execv /opt/nrpe/bin/nrpe: Exec format erro
The compilation was successful. I see there is no instruction for hpux
We have hpux 11.11,11.23 and 11.31
Thank you
We have hpux 11.11,11.23 and 11.31
Thank you
-
- Posts: 29
- Joined: Thu Apr 25, 2019 2:04 pm
Re: getting error execv /opt/nrpe/bin/nrpe: Exec format erro
Getting following error when we execute " make all " command
*** Configuration summary for nrpe 3.2.1 2017-09-01 ***:
General Options:
-------------------------
NRPE port: 5666
NRPE user: nagios
NRPE group: nagios
Nagios user: nagios
Nagios group: nagios
Review the options above for accuracy. If they look okay,
type 'make all' to compile the NRPE daemon and client
or type 'make' to get a list of make options.
[root:/nfs/downloads/linux/nagios/nrpe-nrpe-3.2.1]make all
cd ./src/; make
gcc -g -O2 -I/usr/include -I/usr/include/openssl -DHAVE_CONFIG_H -I ../include -I ./../include -c ./snprintf.c
snprintf.c: In function `smb_snprintf':
snprintf.c warning: second parameter of `va_start' not last named argument
snprintf.c internal compiler error: in convert_move, at expr.c:565
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Configuration summary for nrpe 3.2.1 2017-09-01 ***:
General Options:
-------------------------
NRPE port: 5666
NRPE user: nagios
NRPE group: nagios
Nagios user: nagios
Nagios group: nagios
Review the options above for accuracy. If they look okay,
type 'make all' to compile the NRPE daemon and client
or type 'make' to get a list of make options.
[root:/nfs/downloads/linux/nagios/nrpe-nrpe-3.2.1]make all
cd ./src/; make
gcc -g -O2 -I/usr/include -I/usr/include/openssl -DHAVE_CONFIG_H -I ../include -I ./../include -c ./snprintf.c
snprintf.c: In function `smb_snprintf':
snprintf.c warning: second parameter of `va_start' not last named argument
snprintf.c internal compiler error: in convert_move, at expr.c:565
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: getting error execv /opt/nrpe/bin/nrpe: Exec format erro
Hi @nagiosuser1000,
Looks like a compiler error. What version of gcc is installed on this system? Can you try upgrading gcc and then re-compile?
Looks like a compiler error. What version of gcc is installed on this system? Can you try upgrading gcc and then re-compile?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 29
- Joined: Thu Apr 25, 2019 2:04 pm
Re: getting error execv /opt/nrpe/bin/nrpe: Exec format erro
It is working now.
Thanks a lot Benjamin
Thanks a lot Benjamin
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: getting error execv /opt/nrpe/bin/nrpe: Exec format erro
Hi @nagiosuser1000,
I'll close out this thread, but feel free to open a new one if you have any other questions.
That's good news. Thanks for the follow up.It is working now.
Thanks a lot Benjamin
I'll close out this thread, but feel free to open a new one if you have any other questions.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!