[bug-notifications] [nrpe 0005087]: Skript Error: /var/opt/csw/svc/method/svc-cswnrpe: line 44: syntax error at line 58: `('

Mantis Bug Tracker noreply at opencsw.org
Mon Aug 26 12:15:01 CEST 2013


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=5087 
====================================================================== 
Reported By:                cgrzemba
Assigned To:                
====================================================================== 
Project:                    nrpe
Issue ID:                   5087
Category:                   regular use
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-07-04 11:27 CEST
Last Modified:              2013-08-26 12:15 CEST
====================================================================== 
Summary:                    Skript Error: /var/opt/csw/svc/method/svc-cswnrpe:
line 44: syntax error at line 58: `('
Description: 
SMF cswnrpe is in maintenance because:  


root at delphi:/home/admin# sh -x /var/opt/csw/svc/method/svc-cswnrpe
+ BINDIR=/opt/csw/bin
+ BINFILE=/opt/csw/bin/nrpe
+ RUNFLAG=1
+ uname -r
+ awk -F. '{print $2}'
+ SOLREL=11
+ [ 11 -ge 10 ]
+ /sbin/zonename
+ ZONENAME=global
+ . /lib/svc/share/smf_include.sh
+ SMF_EXIT_OK=0
+ SMF_EXIT_ERR_FATAL=95
+ SMF_EXIT_ERR_CONFIG=96
+ SMF_EXIT_MON_DEGRADE=97
+ SMF_EXIT_MON_OFFLINE=98
+ SMF_EXIT_ERR_NOSMF=99
+ SMF_EXIT_ERR_PERM=100
+ SMF_EXIT_TEMP_DISABLE=101
+ SMF_EXIT_TEMP_TRANSIENT=102
+ SMF_SYSVOL_FS=/system/volatile
+ __smf_exit_fmri=''
+ CONFIG_FILE=/etc/opt/csw/nrpe.cfg
+ [ ! -f /etc/opt/csw/nrpe.cfg ]
/var/opt/csw/svc/method/svc-cswnrpe: line 44: syntax error at line 58: `('
unexpected


stopping also produce an error:

root at delphi:/home/admin# sh -x /var/opt/csw/svc/method/svc-cswnrpe stop
+ BINDIR=/opt/csw/bin
+ BINFILE=/opt/csw/bin/nrpe
+ RUNFLAG=1
+ uname -r
+ awk -F. '{print $2}'
+ SOLREL=11
+ [ 11 -ge 10 ]
+ /sbin/zonename
+ ZONENAME=global
+ . /lib/svc/share/smf_include.sh
+ SMF_EXIT_OK=0
+ SMF_EXIT_ERR_FATAL=95
+ SMF_EXIT_ERR_CONFIG=96
+ SMF_EXIT_MON_DEGRADE=97
+ SMF_EXIT_MON_OFFLINE=98
+ SMF_EXIT_ERR_NOSMF=99
+ SMF_EXIT_ERR_PERM=100
+ SMF_EXIT_TEMP_DISABLE=101
+ SMF_EXIT_TEMP_TRANSIENT=102
+ SMF_SYSVOL_FS=/system/volatile
+ __smf_exit_fmri=''
+ CONFIG_FILE=/etc/opt/csw/nrpe.cfg
+ [ ! -f /etc/opt/csw/nrpe.cfg ]
+ kill -s STOP
Usage: kill [-l] [-n signum] [-s signame] job ...
   Or:job ...
killjob ...
[job ...
optionsjob ...
] -l [arg ...]
+ exit 0

====================================================================== 

---------------------------------------------------------------------- 
 (0010551) cgrzemba (developer) - 2013-08-26 12:15
 https://www.opencsw.org/mantis/view.php?id=5087#c10551 
---------------------------------------------------------------------- 
The background of the problem described here:
http://www.opencsw.org/community/questions/274/annoying-ksh-builtin-aliases-why-service-stop-not-work



More information about the bug-notifications mailing list