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

Mantis Bug Tracker via bug-notifications bug-notifications at lists.opencsw.org
Thu Apr 7 21:43:31 CEST 2016


The following issue has been CLOSED 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=5087 
====================================================================== 
Reported By:                cgrzemba
Assigned To:                raos
====================================================================== 
Project:                    nrpe
Issue ID:                   5087
Category:                   regular use
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2013-07-04 11:27 CEST
Last Modified:              2016-04-07 21:43 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

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

---------------------------------------------------------------------- 
 (0010814) raos (developer) - 2014-05-01 10:34
 https://www.opencsw.org/mantis/view.php?id=5087#c10814 
---------------------------------------------------------------------- 
Adjusted cswnrpe start script in r23530 to first call 'unalias -a' before
doing anything else. This will remove the 'stop' alias.

Package uploaded to unstable catalog as nrpe-2.15,REV=2014.05.01.



More information about the bug-notifications mailing list