IBM Support

IV39829: `INIT.SSMAGENT SCRIPT START` SHOULD RETURN 0 WHEN IT IS ALREADY RUNNING

Readmes are available

IBM Netcool System Service Monitor SSM 4.0 Fix Pack 1 README 4.0.1-TIV-SSM-FP0001
IBM Netcool System Service Monitor SSM 4.0 Fix Pack 14 README 4.0.0-TIV-SSM-FP0014
IBM Netcool System Service Monitor SSM 4.0 Interim Fix 1 README 4.0.0.14-TIV-SSM-IF0001
IBM Netcool System Service Monitor SSM 4.0 Interim Fix 2 README 4.0.0.14-TIV-SSM-IF0002
IBM Netcool System Service Monitor SSM 4.0 Interim Fix 1 README 4.0.1.1-TIV-SSM-IF0001
IBM Netcool System Service Monitor SSM 4.0 Interim Fix 2 README 4.0.1.1-TIV-SSM-IF0002
IBM Netcool System Service Monitor SSM 4.0 Interim Fix 3 README 4.0.0.14-TIV-SSM-IF0003
IBM Netcool System Service Monitor SSM 4.0 Interim Fix 3 README 4.0.1.1-TIV-SSM-IF0003
IBM Netcool System Service Monitor SSM 4.0 Interim Fix 4 README 4.0.0.14-TIV-SSM-IF0004
IBM Netcool System Service Monitor SSM 4.0 Fix Pack 2 README 4.0.1-TIV-SSM-FP0002
IBM Netcool System Service Monitor SSM 4.0 Interim Fix 1 README 4.0.1.2-TIV-SSM-IF0001
IBM Netcool System Service Monitor SSM 4.0 Interim Fix 5 README 4.0.0.14-TIV-SSM-IF0005
IBM Netcool System Service Monitor SSM 4.0 Interim Fix 2 README 4.0.1.2-TIV-SSM-IF0002
IBM Netcool System Service Monitor SSM 4.0 Interim Fix 6 README 4.0.0.14-TIV-SSM-IF0006
IBM Netcool System Service Monitor SSM 4.0 Interim Fix 3 README 4.0.1.2-TIV-SSM-IF0003
IBM Netcool System Service Monitor SSM 4.0 Interim Fix 7 README 4.0.0.14-TIV-SSM-IF0007
IBM Netcool System Service Monitor SSM 4.0 Interim Fix 4 README 4.0.1.2-TIV-SSM-IF0004
IBM Netcool System Service Monitor SSM 4.0 Interim Fix 8 README 4.0.0.14-TIV-SSM-IF0008
IBM Netcool System Service Monitor SSM 4.0 Interim Fix 1 README 4.0.1.3-TIV-SSM-IF0001
IBM Netcool System Service Monitor SSM 4.0 Interim Fix 1 README 4.0.0.15-TIV-SSM-IF0001
IBM Netcool System Service Monitor SSM 4.0 Interim Fix 2 README 4.0.1.3-TIV-SSM-IF0002

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If SSM process is already running and if someone tries to
    start it once again the exist code 1 is given indicating
    "FAILED"
    
    
    It should be 0 and something like "SSM is already running"
    should be display
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All SSM 4.0 Linux Users                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * The SSM init.ssmagent start script returns                   *
    * a non zero error code if the agent is already running. This  *
    * is                                                           *
    * incorrect as it should return a zero error code. Furthermore *
    * there are several inconsistencies in user output. The        *
    * following                                                    *
    * details the updates made:                                    *
    *                                                              *
    * :/etc/rc.d # ./rc.ssmagent status                            *
    * ssmagent.bin (pid 26009) is running                          *
    * :/etc/rc.d # echo $?                                         *
    * 0                                                            *
    * Note: The ... dots has been removed                          *
    *                                                              *
    * :/etc/rc.d # ./rc.ssmagent start                             *
    * ssmagent.bin (pid 26009) is already running                  *
    * :/etc/rc.d # echo $?                                         *
    * 0                                                            *
    * Note: It now doesn't try to start the agent if it detects it *
    * is                                                           *
    * already running and returns 0.                               *
    *                                                              *
    * :/etc/rc.d # ./rc.ssmagent stop                              *
    * Stopping Netcool/SSM (pid 26009): .OK                        *
    * :/etc/rc.d # echo $?                                         *
    * 0                                                            *
    * Note: No Change - the dot is a status feedback (i.e. it      *
    * prints                                                       *
    * one every second whilst waiting for the process to stop      *
    * nicely)                                                      *
    *                                                              *
    * :/etc/rc.d # ./rc.ssmagent stop                              *
    * ssmagent.bin is already stopped                              *
    * :/etc/rc.d # echo $?                                         *
    * 0                                                            *
    * Note: Added new stopped message                              *
    *                                                              *
    * :/etc/rc.d # ./rc.ssmagent status                            *
    * ssmagent.bin is stopped                                      *
    * :/etc/rc.d # echo $?                                         *
    * 3                                                            *
    * Note: No Change                                              *
    *                                                              *
    * :/etc/rc.d # ./rc.ssmagent start                             *
    * Starting Netcool/SSM: OK                                     *
    * ssmagent.bin (pid 26410) started                             *
    * :/etc/rc.d # echo $?                                         *
    * 0                                                            *
    * Note: Added pid of process started                           *
    *                                                              *
    * :/etc/rc.d # ./rc.ssmagent restart                           *
    * Stopping Netcool/SSM (pid 26410): .OK                        *
    * Starting Netcool/SSM: OK                                     *
    * ssmagent.bin (pid 26501) started                             *
    * :/etc/rc.d # echo $?                                         *
    * 0                                                            *
    * Note: Added pid of process started - the dot is a status     *
    * feedback (i.e. it prints one every second whilst waiting     *
    * for the process to stop nicely)                              *
    *                                                              *
    * :/etc/rc.d # ./rc.ssmagent status                            *
    * ssmagent.bin (pid 26501) is running                          *
    * :/etc/rc.d # echo $?                                         *
    * 0                                                            *
    * Note: ... Dots have been removed                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to SSM 4.0 FP14 or SSM 4.0.1 FP1                     *
    ****************************************************************
    

Problem conclusion

  • The init.ssmagent script error has been fixed.
    
    The fix for this APAR is contained in the following packages:
       | fix pack | 4.0.0-TIV-SSM-FP0014
       | fix pack | 4.0.1-TIV-SSM-FP0001
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV39829

  • Reported component name

    NETCOOL SYS SVC

  • Reported component ID

    5724P4300

  • Reported release

    400

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2013-04-16

  • Closed date

    2013-06-04

  • Last modified date

    2013-06-04

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    NETCOOL SYS SVC

  • Fixed component ID

    5724P4300

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCP7NT","label":"Netcool System Service Monitor"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"400","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
04 June 2013