AIX Open Source

 View Only
  • 1.  lslpp -Lc ...Memory fault(coredump)

    Posted 7 days ago
     
      I am managing several AIX servers with the same configuration:
     AIX 7200-05-07-2346
     local copy of AIX Toolbox repository
     lslpp -l rpm*
     Path: /usr/lib/objrepos
        rpm.rte                4.15.1.1011  COMMITTED  RPM Package Manager
        wxr-xr-x 1 root system 599 15. bře  2021 /usr/bin/rpm
     
     
     On some servers, a problem started to appear:
    lslpp -Lc openssl.base
    Memory fault(coredump)
     
    I figured there was a problem with the consistency of the RPM db, but the "dnf check" didn't find anything wrong.
    Then I found that if I use 
           env -i /usr/bin/ksh -c "lslpp -Lc openssl.base"
     instead of
          lslpp -Lc openssl.base
      the problem does not occur
     
     The problem does not occur even if I remove /usr/bin/rpm.


    ------------------------------
    Antonin Rozehnal
    ------------------------------


  • 2.  RE: lslpp -Lc ...Memory fault(coredump)

    Posted 7 days ago

    You may hit the problem https://www.ibm.com/support/pages/apar/IJ46087

    Why don't you install SP8/SP9?



    ------------------------------
    Andrey Klyachkin

    https://www.power-devops.com
    ------------------------------



  • 3.  RE: lslpp -Lc ...Memory fault(coredump)

    Posted 7 days ago

    Run updtvpkg and try again



    ------------------------------
    Srikanth Thanneeru
    ------------------------------



  • 4.  RE: lslpp -Lc ...Memory fault(coredump)
    Best Answer

    Posted 7 days ago
    Hello Antonin,

    Please check your ulimits on the systems where it runs and fails:

    ulimit -a

    If the ulimits have been tuned down from the defaults, this can happen. 

    Thanks!

    Grover Davidson
    AIX Screen Team
    grover@us.ibm.com

    Dick Stratton, who was held in the Hanoi Hilton for 2,251 days as a "prisoner at war," had taught me that a call from the field is not an interruption of the daily routine; it's the reason for the daily routine. - General James Mattis

    Teamwork is built on individual contributions, each working independently but willingly helping others when needed. It is by sharing knowledge and skills that the abilities of the individual contributors is increased, and as a result, the whole team. - Grover Davidson

     

     






  • 5.  RE: lslpp -Lc ...Memory fault(coredump)

    Posted 6 days ago

    Thank you all for your ideas and comments. The problem is/was caused by an unintentional reduction in RAM size combined with setting or not setting ulimits. 
    I have checked the consistency of the RPM database. The rpm commands themselves work reliably. The problem occurs when calling the rpm commands internally e.g., from lslpp or updtvkpg,
    lslpp -h did not have the problem
    lslpp -Lc openssl.base ended Memory fault


    #Andrey K. Thanks for the tip, but I don't have the competence to deploy the fix, I have to get it approved first



    ------------------------------
    Antonin Rozehnal
    ------------------------------



  • 6.  RE: lslpp -Lc ...Memory fault(coredump)

    Posted 7 days ago

    Hi Antonin,

    Are you able to run rpm query commands like "rpm -qa".

    If /usr/bin/rpm failing did you also try with  /opt/freeware/bin/rpm and /usr/opt/rpm/bin/rpm commands ?



    ------------------------------
    SANGAMESH
    ------------------------------