IBM Support

IZ53277: CT-3686: KILL -HUP CAN'T RESTART THE UNIX LOG PROCESS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Severity:    3
    Approver:   LG
    
    Enter the L2 engineer who did the recreate or "None":
    L2 engineer: None
    Compid:      5724C04LA
    Abstract:    CT-3686: kill -HUP can't restart the unix log
    process
    
    
    Environment:
    
    ITMfOS 6.2 FP2
     SuSE SLES 11.0 64bit AMD64/EM64TProblem
    TEMS/TEPS
     Windows 2003 EE 32bit
    Description:
     Recreation Procedure:
      1. Get the agentPID.
    tivn13:/opt/IBM/ITM/bin # ps -ef|grep ul
    root     20211     1  0 19:34 pts/3    00:00:00
    /opt/IBM/ITM/lx8266/ul/bin/kulagent
    root     20695 18799  0 20:04 pts/3    00:00:00 grep ul
    
    2. modify the $install_dir/config/kul_configfile to make this
    agent not monotor utmp logs
    
    # Linux:  Uses utmp logs.
    #/var/run/utmp                  ;n      ;a
    #/var/log/wtmp                  ;n      ;a
    #
    
    3. Issue the command kill -HUP agentPID to send the monitoring
    agent a refresh signal.
    [root@tiv157 config]# kill -HUP 20211
    
    4. refresh TEP, the utmp logs are not monitored.
    5. the unix log agent process was killed, it not restart. The
    same problem also existed on Suse 11 pSeries.
    6. ITM 6.1 FP7 UA agent on Suse 11 32bit xSeries could get the
    expect result.
    
    Related Files and Output:
    The problem has been reproduced this with a 6.2.1 and a recent
    6.2.2 version on a RHEL4 x86. So this does is not related to the
    Linux version, but rather to the ITM version because 6.1 FP7
    didn't show this problem.
    After a deeper analysis I can conclude that signals management
    code within kul code has not changed since 6.1 FP7. We run
    sigwait() in a separate thread to intercept the SIGHUP signal
    and perform the refresh of the configuration.
    Instead the following behaviour can be observed in the 6.2.*
    agent: attaching the kulagent with gdb and then continuing
    execution, when the SIGHUP is received this is the backtrace:
    (gdb) cont
    Continuing.
    
    Program received signal SIGHUP, Hangup.
    [Switching to Thread 1093780960 (LWP 8977)]
    0x00a897a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
    (gdb) bt
    #0  0x00a897a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
    #1  0x00cf4c26 in pthread_cond_wait@@GLIBC_2.3.2 ()
       from /lib/tls/libpthread.so.0
    #2  0x4006b98c in CallManager ()
       from /opt/IBM/ITM622-d9123/tmaitm6/li6263/lib/libkdc.so
    #3  0x4006bccc in KDCS_AddCallTask ()
       from /opt/IBM/ITM622-d9123/tmaitm6/li6263/lib/libkdc.so
    #4  0x4006f462 in rpc__listen ()
       from /opt/IBM/ITM622-d9123/tmaitm6/li6263/lib/libkdc.so
    #5  0x4063097f in Listen ()
       from /opt/IBM/ITM622-d9123/tmaitm6/li6263/lib/libkra.so
    #6  0x4062fdc7 in kglpsrvr ()
       from /opt/IBM/ITM622-d9123/tmaitm6/li6263/lib/libkra.so
    #7  0x4062f5ec in kramain ()
       from /opt/IBM/ITM622-d9123/tmaitm6/li6263/lib/libkra.so
    #8  0x0805d964 in main ()
    

Local fix

Problem summary

  • The Monitoring Agent for UNIX Log crashes when receiving the
    refresh signal kill -HUP
    

Problem conclusion

  • The fix for this APAR is contained in the following maintenance
    packages:
    | fix pack | 6.2.1-TIV-ITM-FP0001
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ53277

  • Reported component name

    ITM AGENT UNIX

  • Reported component ID

    5724C04LA

  • Reported release

    620

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-06-19

  • Closed date

    2009-09-28

  • Last modified date

    2010-09-22

  • 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

    ITM AGENT UNIX

  • Fixed component ID

    5724C04LA

Applicable component levels

  • R620 PSY

       UP

  • R621 PSY

       UP

  • R622 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCTLML","label":"ITM Agent UNIX Log Alert V6"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"620","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
22 September 2010