Hi,
I have encountering below error when restarting xinetd on remote host
Started working: 3 available services
Sep 24 19:31:00 abtonlinepacih xinetd[21957]: execv( /usr/local/nagios/bin/nrpe ) failed: Exec format error (errno = 8)
Sep 24 19:31:00 abtonlinepacih xinetd[21918]: START: nrpe pid=21957 from=ip address here
I can confirmed check_ssh or tcp on localhost work fine, just when I execute the check_nrpe from nagios xi server, the remote host prompted the above error in /var/log/message.
any help would be much appreciated
Regards,
Steve
Error after restart xinetd on remote host
-
steven.giang
- Posts: 38
- Joined: Tue May 12, 2015 3:08 am
Re: Error after restart xinetd on remote host
What does your /etc/xinetd.d/nrpe file look like?
Former Nagios Employee.
me.
me.
-
steven.giang
- Posts: 38
- Joined: Tue May 12, 2015 3:08 am
Re: Error after restart xinetd on remote host
# default: onhsmith wrote:What does your /etc/xinetd.d/nrpe file look like?
# description: NRPE (Nagios Remote Plugin Executor)
service nrpe
{
flags = REUSE
socket_type = stream
port = 5666
wait = no
user = nagios
group = nagios
server = /usr/local/nagios/bin/nrpe
server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd
log_on_failure += USERID
disable = no
only_from = ip address here
Re: Error after restart xinetd on remote host
Did you edit out your IP address, or does it actually say "ip address here" under only_from?
Former Nagios Employee.
me.
me.
-
steven.giang
- Posts: 38
- Joined: Tue May 12, 2015 3:08 am
Re: Error after restart xinetd on remote host
Hi hsmith,
Please mark as resolved,
I haven't does a clean installation of nrpe, I have remove all nrpe and reinstall fresh nrpe and it is working.
Thanks,
Please mark as resolved,
I haven't does a clean installation of nrpe, I have remove all nrpe and reinstall fresh nrpe and it is working.
Thanks,