1 Reply Latest reply: Jan 29, 2013 10:51 AM by Dtreviza-Oracle RSS

    Patching failed  "Unable to allocate memory in procedure aiumab()" on AIX

    user597172-Oracle
      Hi All,

      For EBS AIX customer, it's recommended to setting LDR_CNTRL=MAXDATA=0x40000000 before applying a large patch such as a Release Update Pack (RUP), an upgrade driver (for example, upgrading from 11i to 12.1) or a large merged patch (>1GB)

      See Note 761569.1 : Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for IBM AIX on Power Systems (64-bit)


      Customer using ACMP 4.01 on top of EM 11g, and when applying a large patch using ACMP, receive the following error in log file


      LOG : Command result: AutoPatch error:
      LOG : Command result: Unable to allocate memory in procedure aiumab().
      LOG : Command result:
      LOG : Command result: You should check the file
      LOG : Command result: /busapps/sfop/map0/apps/apps_st/appl/admin/SFOPMAP0/log/u_EM_0124131806.drv.log
      LOG : Command result:
      LOG : Command result: for errors.
      LOG : Command result:
      LOG ERROR : Applying patch failed.


      Question : How to set up export LDR_CNTRL=MAXDATA=0x40000000 on AIX platform, when using ACMP to apply large patches ?

      NB: GC/ACMP itself runs on Linux, but the target EBS instances run on IBM AIX.


      Thank you for your Help
      Regards
      Valerie
        • 1. Re: Patching failed  "Unable to allocate memory in procedure aiumab()" on AIX
          Dtreviza-Oracle
          Valerie,

          Export the variable on the AIX agent. Do these steps:

          1. On the AIX, login as the owner user of the Agent
          2. Export the ORACLE_HOME variable to the $AGENT_HOME as well the PATH to $ORACLE_HOME/bin:$PATH
          3. Export the LDR_CNTR variable:
          export LDR_CNTRL=MAXDATA=0x40000000
          4. Bounce the agent:
          $ORACLE_HOME/bin/emctl stop agent
          $ORACLE_HOME/bin/emctl start agent
          5. Check agent is running:
          $ORACLE_HOME/bin/emctl status agent
          6. Just to make sure the information went through, upload the information to the OMS manually:
          $ORACLE_HOME/bin/emctl upload agent
          Ensure the output is ok.
          6. Retry the patch

          Regards,
          Danilo.