IBM Support

IV06178: IMPORTVG HANGS WHEN RUN FROM A SCRIPT APPLIES TO AIX 7100-00

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If running importvg from a script, it may hang. The
    cause of the hang is because the trustchk process,
    which is called during the execution of importvg, is
    hung.
    
    If a truss is taken of the importvg process, the last
    thing seen will be:
    
    16646306:       71237679: 88.5006:        kfcntl(0,
     F_SETLK, 0x2FF214C0)
    (sleeping...)
    
    
    kdb will show a stack similar to this:
    
    pvthread+014E00 STACK:
    [000D50D0]e_block_thread+000290 ()
    [00014F50].kernel_add_gate_cstack+000030 ()
    [04923F68]start_rtcm_listener+000228 (??, ??, ??)
    [049259C4]rtcm_send+000064 (??, ??, ??, ??)
    [049207B8]clnt_tcp_callit+000738 (F1000A04013F4428,
    0000000000000003,
       0000000004B45578, F00000002FF46930, 00000000049695A0,
    F00000002FF468A0,
       000000000000000F, 0000000000000000)
    [04AC8174]lm_get_pmap_addr+0001F4 (??, ??, ??, ??, ??)
    [04AC7CF8]lm_get_rpc_handle+000058 (??, ??, ??, ??, ??,
    ??, ??, ??)
    [04AC8520]lm_get_client+000220 (??, ??, ??, ??, ??,
    ??, ??)
    [04ACB094]lm_callrpc+0001F4 (??, ??, ??, ??, ??, ??, ??,
    ??)
    [04ACE9BC]lm4_frlock+0004FC (??, ??, ??, ??, ??, ??, ??)
    [04AC5638]nfs3_frlock+000258 (??, ??, ??, ??, ??, ??)
    [0498385C]aix2onc_lockctl+00023C (??, ??, ??, ??, ??,
     ??, ??)
    [00585924]vnop_lockctl+000104 (??, ??, ??, ??, ??, ??,
    ??)
    [00765AC4]kfcntl+000B24 (??, ??, ??)
    [00003850]ovlya_addr_sc_flih_main+000130 ()
    [D0135810]__fcntl+0001D0 (??, ??, ??)
    [1000F350]writeRelease@AF29_17+000050 (??, ??)
    [10010770]closeStanzaDB+000050 (??)
    [1000D5FC]writeDiskHT+0001BC (??, ??)
    [10058D5C]10058D5C (??, ??)
    [10000718]main+000358 (??, ??)
    [10000168]__start+000068 ()
    

Local fix

Problem summary

  • System may hang by running importvg command from
    script if Trusted execution is enabled.
    

Problem conclusion

  • Release file locks prior to closing the file.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV06178

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2011-08-12

  • Closed date

    2011-08-12

  • Last modified date

    2013-04-08

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

    IV03876

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

    U848776

Fix information

  • Fixed component name

    AIX V7.1

  • Fixed component ID

    5765H4000

Applicable component levels

  • R710 PSY U848776

       UP11/11/16 I 1000

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSMV87","label":"AIX 6.1 Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMVAX","label":"AIX Express Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11R","label":"AIX 7.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
08 April 2013