Permission denied nrpe error

Mukarram Syed muksyed at yahoo.com
Tue Nov 16 19:56:26 CET 2004


Hi,
I am getting the following error when I run telnet to
port 5666 to use nrpe:

[root at triton libexec]# telnet triton 5666
Trying 10.0.250.100...
Connected to triton (10.0.250.100).
Escape character is '^]'.
Connection closed by foreign host.

In the /var/log/messages I am getting this:

Nov 16 13:49:30 triton xinetd[30641]: execv(
/usr/local/etc/nagios/libexec ) failed: Permission
denied (errno = 13)

This is the nrpe file in the /etc/xinetd.d directory:
# default: on
# description: NRPE
service nrpe
{
                disable         = no
                id              = nrpe
                socket_type     = stream        
                flags           = REUSE
                protocol        = tcp
                wait            = no
                user            = root
                server          =
/usr/local/etc/nagios/libexec
                server_args     = -i
/usr/local/etc/nagios/libexec 
                log_on_failure  += USERID
}

Nrpe is listening on port 5666:

[root at triton poseidon]# netstat -a |grep nrpe
tcp        0      0 *:nrpe                  *:*       
             LISTEN     

 
This is a RedHat ES2.1 Client.  The Nagios server is a
Freebsd box.

The /usr/local/etc/nagios/ directory is owned by
"nagios" both on the server and the client.

[root at triton libexec]# ./check_nrpe -H triton -p 5666
CHECK_NRPE: Error receiving data from daemon.

Can any of you please tell me what's wrong.  Any
suggestions why I am getting permission denied errors.

 
Appreciate the response.
Regards.

-Mukarram Syed.






=====
Mukarram Syed
muksyed at yahoo.com


		
__________________________________ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 



-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list