[Pkg-nagios-devel] Bug#689016: nagios-nrpe-server: /etc/init.d/nagios-nrpe-server, stop, does not stops the daemon

varacanero varacanero at zeromail.org
Fri Jan 25 12:29:56 UTC 2013


output of bash -x /etc/init.d/nagios-nrpe-server stop is attached

i am experiencing this behaviour on all (~6) our wheezy machines.

thanks for caring, varac

additional infos:

root at humpback:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 7.0 (wheezy)
Release:	7.0
Codename:	wheezy

nagios-nrpe-server  is version 2.13-1


-------------- next part --------------
root at humpback:~# pgrep nrpe
root at humpback:~# /etc/init.d/nagios-nrpe-server start && sleep 10
[ ok ] Starting nagios-nrpe: nagios-nrpe.
root at humpback:~# bash -x /etc/init.d/nagios-nrpe-server stop
+ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+ DAEMON=/usr/sbin/nrpe
+ NAME=nagios-nrpe
+ DESC=nagios-nrpe
+ CONFIG=/etc/nagios/nrpe.cfg
+ PIDDIR=/var/run/nagios
+ test -x /usr/sbin/nrpe
+ '[' -x /lib/lsb/init-functions ']'
+ . /lib/lsb/init-functions
+++ run-parts --lsbsysinit --list /lib/lsb/init-functions.d
++ for hook in '$(run-parts --lsbsysinit --list /lib/lsb/init-functions.d 2>/dev/null)'
++ '[' -r /lib/lsb/init-functions.d/20-left-info-blocks ']'
++ . /lib/lsb/init-functions.d/20-left-info-blocks
++ FANCYTTY=
++ '[' -e /etc/lsb-base-logging.sh ']'
++ true
+ '[' -f /etc/default/nagios-nrpe-server ']'
+ . /etc/default/nagios-nrpe-server
+ '[' -f /etc/default/nagios-nrpe ']'
+ '[' '' ']'
+ '[' '!' -d /var/run/nagios ']'
+ set -e
+ case "$1" in
+ log_daemon_msg 'Stopping nagios-nrpe' nagios-nrpe
+ '[' -z 'Stopping nagios-nrpe' ']'
+ log_daemon_msg_pre 'Stopping nagios-nrpe' nagios-nrpe
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ '[' -t 1 ']'
+ '[' xxterm '!=' x ']'
+ '[' xxterm '!=' xdumb ']'
+ '[' -x /usr/bin/tput ']'
+ '[' -x /usr/bin/expr ']'
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ '[' -z ']'
+ FANCYTTY=1
+ case "$FANCYTTY" in
+ true
+ /bin/echo -n '[....] '
[....] + '[' -z nagios-nrpe ']'
+ /bin/echo -n 'Stopping nagios-nrpe: nagios-nrpe'
Stopping nagios-nrpe: nagios-nrpe+ log_daemon_msg_post 'Stopping nagios-nrpe' nagios-nrpe
+ :
+ start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/nagios/nrpe.pid --retry 15
+ log_end_msg 0
+ '[' -z 0 ']'
+ local retval
+ retval=0
+ log_end_msg_pre 0
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ '[' -t 1 ']'
+ '[' xxterm '!=' x ']'
+ '[' xxterm '!=' xdumb ']'
+ '[' -x /usr/bin/tput ']'
+ '[' -x /usr/bin/expr ']'
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ '[' -z 1 ']'
+ true
+ case "$FANCYTTY" in
+ true
++ /usr/bin/tput setaf 1
+ RED=''
++ /usr/bin/tput setaf 2
+ GREEN=''
++ /usr/bin/tput setaf 3
+ YELLOW=''
++ /usr/bin/tput op
+ NORMAL=''
+ /usr/bin/tput civis
+ /usr/bin/tput sc
+ /usr/bin/tput hpa 0
+ '[' 0 -eq 0 ']'
+ /bin/echo -ne '[ ok '
[ ok + /usr/bin/tput rc
+ /usr/bin/tput cnorm
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ '[' -t 1 ']'
+ '[' xxterm '!=' x ']'
+ '[' xxterm '!=' xdumb ']'
+ '[' -x /usr/bin/tput ']'
+ '[' -x /usr/bin/expr ']'
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ '[' -z 1 ']'
+ true
+ case "$FANCYTTY" in
+ true
++ /usr/bin/tput setaf 1
+ RED=''
++ /usr/bin/tput setaf 3
+ YELLOW=''
++ /usr/bin/tput op
+ NORMAL=''
+ '[' 0 -eq 0 ']'
+ echo .
.
+ log_end_msg_post 0
+ :
+ return 0
+ exit 0
root at humpback:~# pgrep nrpe
28569



More information about the Pkg-nagios-devel mailing list