[Nagiosplug-help] NRPE deamon vs xinetd

Gilbert MARIN gilbert at marin-fr.com
Fri May 5 08:57:08 CEST 2006


Hi Jason				



that's right

in logs I have permission denied (errno = 13)

If I run xinetd in debug mode (xinetd -d) I have this:

Service defaults

        Instances = 60

        CPS = max conn:25 wait:30

        Bind = All addresses.

        Only from: All sites

        No access: No blocked sites

        Logging to syslog. Facility = authpriv, level = info

        Log_on_success flags = HOST PID

        Log_on_failure flags = HOST



Service configuration: nrpe

        id = nrpe

        flags = REUSE IPv4

        socket_type = stream

        Protocol (name,number) = (tcp,6)

        port = 5666

        wait = no

        user = 12602

        group = 54324

        Groups = no

        PER_SOURCE = -1

        Bind = All addresses.

        Server = /usr/local/nagios/bin/

        Server argv =  -c /usr/local/nagios/bin/nrpe.cfg --inetd

        Only from:  192.168.0.254(NUMERIC)

        No access: No blocked sites

        Logging to syslog. Facility = authpriv, level = info

        Log_on_success flags = HOST PID

        Log_on_failure flags = HOST USERID



and when I check from the nagios server:

check_nrpe -H 192.168.0.3 - c check_command



06/5/5 at 17:54:42: DEBUG: 4405 {cnf_start_services} Started service:
 nrpe

06/5/5 at 17:54:42: DEBUG: 4405 {cnf_start_services} mask_max = 6,
 services_started = 1

06/5/5 at 17:54:42: NOTICE: 4405 {main} xinetd Version 2.3.13 started
 with libwrap loadavg options compiled in.

06/5/5 at 17:54:42: NOTICE: 4405 {main} Started working: 1 available
 service

06/5/5 at 17:54:42: DEBUG: 4405 {main_loop} active_services = 1

06/5/5 at 17:54:55: DEBUG: 4405 {main_loop} select returned 1

06/5/5 at 17:54:55: DEBUG: 4405 {server_start} Starting service nrpe

06/5/5 at 17:54:55: DEBUG: 4770 {exec_server} duping 7

06/5/5 at 17:54:55: ERROR: 4770 {exec_server} execv( /usr/local/nagios/bin/
 ) failed: Permission denied (errno = 13)

06/5/5 at 17:54:55: DEBUG: 4405 {main_loop} active_services = 1

06/5/5 at 17:54:55: DEBUG: 4405 {main_loop} select returned 1

06/5/5 at 17:54:55: DEBUG: 4405 {check_pipe} Got signal 17 (Child exited)

06/5/5 at 17:54:55: DEBUG: 4405 {child_exit} waitpid returned = 4770

06/5/5 at 17:54:55: DEBUG: 4405 {server_end} nrpe server 4770 exited

06/5/5 at 17:54:55: INFO: 4405 {conn_free} freeing connection

06/5/5 at 17:54:55: DEBUG: 4405 {child_exit} waitpid returned = -1

06/5/5 at 17:54:55: DEBUG: 4405 {main_loop} active_services = 1





There is always the errno =13

Any idea ?

Thanks





- Gilbert MARIN (gmarin)



-----------------------

This thread is located in the archive at this URL:

http://www.nagiosexchange.org/nagiosplug-help.32.0.html?&tx_maillisttofaq
_pi1[showUid]=17892

					




More information about the Help mailing list