IBM Support

IZ32966: Patchman can enter an infinite loop when removing a patch.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If you try to uninstall a patch on Unix systems when the agent
    has been abnormally terminated, either a crash or forcefully
    killed through kill -9, patchman will enter an infinite loop
    trying to uninstall the patch. The user will see the following
    output repeated:
    
    IBM Tivoli Netcool/SSM is not running as a service.
    IBM Tivoli Netcool/SSM is not running as a service.
    IBM Tivoli Netcool/SSM is not running as a service.
    IBM Tivoli Netcool/SSM is not running as a service.
    IBM Tivoli Netcool/SSM is not running as a service.
    IBM Tivoli Netcool/SSM is not running as a service.
    IBM Tivoli Netcool/SSM is not running as a service.
    IBM Tivoli Netcool/SSM is not running as a service.
    IBM Tivoli Netcool/SSM is not running as a service.
    IBM Tivoli Netcool/SSM is not running as a service.
    IBM Tivoli Netcool/SSM is not running as a service.
    
    The only way to stop this is to break out of the patchman
    process with a control-c.
    

Local fix

  • Break out of the patchman process and start and stop the agent
    normally. Then try and uninstall again.
    
    If it's not possible to start and stop the agent, then remove
    the lock file in /var/tmp. The lock file should have a name
    similar to:
    
    NetcoolSSMPID_161@_opt_netcool_ssm_bin
    

Problem summary

  • If the agent was not shut down gracefully and the lock file in
    /var/tmp was left behind then the patchman program will not be
    able to remove a patch and will instead print out infinite
    output. Note: This defect does not affect Windows based system.
    

Problem conclusion

  • Fixed the patchman process running detection algorithm so that
    it will continue to remove a patch even if the agent wasn't shut
    down properly.
    
    The fix for this APAR is contained in the following maintenance
    packages:
       | fix pack | 4.0.0-TIV-SSM-FP0006
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ32966

  • 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

    2008-09-22

  • Closed date

    2008-09-25

  • Last modified date

    2008-09-25

  • 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

  • R400 PSY

       UP

[{"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:
25 September 2008