Failed to load libaio

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • gwise@pressganey.com

    #1

    Failed to load libaio

    I'm trying to use LINUXAIO on my EMT64 db2 v9 FP 2 database server,
    but I keep getting the following error in my db2diag.log. Funny
    thing, the file is actually in /usr/lib. For some reason DB2 can't
    find it. I read some other posts where people said that you have to
    make sure you have the 64-bit version of LIBAIO and at first, we
    didn't -- but then we found the 64-bit package and reinstalled it and
    we still have the problem. We're running Red Hat Enterprise 4. Any
    help would be appreciated.

    Thanks,
    Greig Wise

    ---------------------------------------------------------------------------------------------------------

    2007-07-13-09.32.12.752284-240 E49993E530 LEVEL: Error (OS)
    PID : 20480 TID : 183029688704PRO C : db2pclnr 0
    INSTANCE: userid NODE : 000
    FUNCTION: DB2 UDB, oper system services, sqloLoadModule, probe:190
    CALLED : OS, -, dlopen OSERR: EINTR (4)
    DATA #1 : Library name or path, 11 bytes
    libaio.so.1
    DATA #2 : shared library load flags, PD_TYPE_LOAD_FL AGS, 4 bytes
    0
    DATA #3 : String, 70 bytes
    libaio.so.1: cannot open shared object file: No such file or directory

    2007-07-13-09.32.12.752552-240 E50524E446 LEVEL: Error
    PID : 20480 TID : 183029688704PRO C : db2pclnr 0
    INSTANCE: userid NODE : 000
    FUNCTION: DB2 UDB, oper system services, sqloLinuxLoadLi bAio, probe:10
    CALLED : DB2 UDB, oper system services, sqloLoadModule
    RETCODE : ZRC=0x870F009B=-2029059941=SQLO _MOD_LOAD_FAILE D
    "Dynamic library load failed."
    MESSAGE : Failed to load libaio, AIO disabled.

  • sadanjan@gmail.com

    #2
    Re: Failed to load libaio

    could you post the output of

    rpm -qa | grep aio

    Ensure you just have single aio package (64 bit only )



    On Jul 13, 6:59 pm, gw...@pressgane y.com wrote:
    I'm trying to use LINUXAIO on my EMT64 db2 v9 FP 2 database server,
    but I keep getting the following error in my db2diag.log. Funny
    thing, the file is actually in /usr/lib. For some reason DB2 can't
    find it. I read some other posts where people said that you have to
    make sure you have the 64-bit version of LIBAIO and at first, we
    didn't -- but then we found the 64-bit package and reinstalled it and
    we still have the problem. We're running Red Hat Enterprise 4. Any
    help would be appreciated.
    >
    Thanks,
    Greig Wise
    >
    ---------------------------------------------------------------------------­------------------------------
    >
    2007-07-13-09.32.12.752284-240 E49993E530 LEVEL: Error (OS)
    PID : 20480 TID : 183029688704PRO C : db2pclnr 0
    INSTANCE: userid NODE : 000
    FUNCTION: DB2 UDB, oper system services, sqloLoadModule, probe:190
    CALLED : OS, -, dlopen OSERR: EINTR (4)
    DATA #1 : Library name or path, 11 bytes
    libaio.so.1
    DATA #2 : shared library load flags, PD_TYPE_LOAD_FL AGS, 4 bytes
    0
    DATA #3 : String, 70 bytes
    libaio.so.1: cannot open shared object file: No such file or directory
    >
    2007-07-13-09.32.12.752552-240 E50524E446 LEVEL: Error
    PID : 20480 TID : 183029688704PRO C : db2pclnr 0
    INSTANCE: userid NODE : 000
    FUNCTION: DB2 UDB, oper system services, sqloLinuxLoadLi bAio, probe:10
    CALLED : DB2 UDB, oper system services, sqloLoadModule
    RETCODE : ZRC=0x870F009B=-2029059941=SQLO _MOD_LOAD_FAILE D
    "Dynamic library load failed."
    MESSAGE : Failed to load libaio, AIO disabled.

    Comment

    • stefan.albert

      #3
      Re: Failed to load libaio


      is the directory where the lib lives in the current path of the user
      running db2start?


      On Jul 13, 3:59 pm, gw...@pressgane y.com wrote:
      I'm trying to use LINUXAIO on my EMT64 db2 v9 FP 2 database server,
      but I keep getting the following error in my db2diag.log. Funny
      thing, the file is actually in /usr/lib. For some reason DB2 can't
      find it. I read some other posts where people said that you have to
      make sure you have the 64-bit version of LIBAIO and at first, we
      didn't -- but then we found the 64-bit package and reinstalled it and
      we still have the problem. We're running Red Hat Enterprise 4. Any
      help would be appreciated.
      >
      Thanks,
      Greig Wise
      >
      ---------------------------------------------------------------------------­------------------------------
      >
      2007-07-13-09.32.12.752284-240 E49993E530 LEVEL: Error (OS)
      PID : 20480 TID : 183029688704PRO C : db2pclnr 0
      INSTANCE: userid NODE : 000
      FUNCTION: DB2 UDB, oper system services, sqloLoadModule, probe:190
      CALLED : OS, -, dlopen OSERR: EINTR (4)
      DATA #1 : Library name or path, 11 bytes
      libaio.so.1
      DATA #2 : shared library load flags, PD_TYPE_LOAD_FL AGS, 4 bytes
      0
      DATA #3 : String, 70 bytes
      libaio.so.1: cannot open shared object file: No such file or directory
      >
      2007-07-13-09.32.12.752552-240 E50524E446 LEVEL: Error
      PID : 20480 TID : 183029688704PRO C : db2pclnr 0
      INSTANCE: userid NODE : 000
      FUNCTION: DB2 UDB, oper system services, sqloLinuxLoadLi bAio, probe:10
      CALLED : DB2 UDB, oper system services, sqloLoadModule
      RETCODE : ZRC=0x870F009B=-2029059941=SQLO _MOD_LOAD_FAILE D
      "Dynamic library load failed."
      MESSAGE : Failed to load libaio, AIO disabled.

      Comment

      • gwise@pressganey.com

        #4
        Re: Failed to load libaio

        On Jul 16, 1:38 am, sadan...@gmail. com wrote:
        could you post the output of
        >
        rpm -qa | grep aio
        >
        Ensure you just have single aio package (64 bit only )
        >
        On Jul 13, 6:59 pm, gw...@pressgane y.com wrote:
        >
        >
        >
        I'm trying to use LINUXAIO on my EMT64 db2 v9 FP 2 database server,
        but I keep getting the following error in my db2diag.log. Funny
        thing, the file is actually in /usr/lib. For some reason DB2 can't
        find it. I read some other posts where people said that you have to
        make sure you have the 64-bit version ofLIBAIOand at first, we
        didn't -- but then we found the 64-bit package and reinstalled it and
        we still have the problem. We're running Red Hat Enterprise 4. Any
        help would be appreciated.
        >
        Thanks,
        Greig Wise
        >
        ---------------------------------------------------------------------------­­------------------------------
        >
        2007-07-13-09.32.12.752284-240 E49993E530 LEVEL: Error (OS)
        PID : 20480 TID : 183029688704PRO C : db2pclnr 0
        INSTANCE: userid NODE : 000
        FUNCTION: DB2 UDB, oper system services, sqloLoadModule, probe:190
        CALLED : OS, -, dlopen OSERR: EINTR (4)
        DATA #1 : Library name or path, 11 bytes
        libaio.so.1
        DATA #2 : shared library load flags, PD_TYPE_LOAD_FL AGS, 4 bytes
        0
        DATA #3 : String, 70 bytes
        libaio.so.1: cannot open shared object file: No such file or directory
        >
        2007-07-13-09.32.12.752552-240 E50524E446 LEVEL: Error
        PID : 20480 TID : 183029688704PRO C : db2pclnr 0
        INSTANCE: userid NODE : 000
        FUNCTION: DB2 UDB, oper system services, sqloLinuxLoadLi bAio, probe:10
        CALLED : DB2 UDB, oper system services, sqloLoadModule
        RETCODE : ZRC=0x870F009B=-2029059941=SQLO _MOD_LOAD_FAILE D
        "Dynamic library load failed."
        MESSAGE : Failed to loadlibaio, AIO disabled.- Hide quoted text -
        >
        - Show quoted text -
        Here it is:

        rpm -qa | grep aio
        libaio-devel-0.3.105-2
        libaio-0.3.105-2


        It doesn't say anywhere that it's 64-bit but, the following seems to
        indicate it is:

        ls /usr/lib64/libaio*
        /usr/lib64/libaio.a /usr/lib64/libaio.so

        Now there are other libaio files in /usr/lib:

        ls -lrt /usr/lib/libaio*
        -rwxr-xr-x 1 root root 2628 Sep 16 2005 /usr/lib/libaio.so.1.0.1
        -rwxr-xr-x 1 root root 2632 Sep 16 2005 /usr/lib/libaio.so.1.0.0
        lrwxrwxrwx 1 root root 15 Mar 19 15:26 /usr/lib/libaio.so.1 ->
        libaio.so.1.0.1

        Is this what I should see if I have the 64-bit version installed? My
        sysadmin says it was the 64-bit version.
        Should I question him further?

        Thanks,
        Greig Wise



        Comment

        • gwise@pressganey.com

          #5
          Re: Failed to load libaio

          On Jul 17, 3:27 am, "stefan.alb ert" <stefan.alb...@ spb.dewrote:
          is the directory where the lib lives in the current path of the user
          running db2start?
          >
          On Jul 13, 3:59 pm, gw...@pressgane y.com wrote:
          >
          >
          >
          I'm trying to use LINUXAIO on my EMT64 db2 v9 FP 2 database server,
          but I keep getting the following error in my db2diag.log. Funny
          thing, the file is actually in /usr/lib. For some reason DB2 can't
          find it. I read some other posts where people said that you have to
          make sure you have the 64-bit version ofLIBAIOand at first, we
          didn't -- but then we found the 64-bit package and reinstalled it and
          we still have the problem. We're running Red Hat Enterprise 4. Any
          help would be appreciated.
          >
          Thanks,
          Greig Wise
          >
          ---------------------------------------------------------------------------­­------------------------------
          >
          2007-07-13-09.32.12.752284-240 E49993E530 LEVEL: Error (OS)
          PID : 20480 TID : 183029688704PRO C : db2pclnr 0
          INSTANCE: userid NODE : 000
          FUNCTION: DB2 UDB, oper system services, sqloLoadModule, probe:190
          CALLED : OS, -, dlopen OSERR: EINTR (4)
          DATA #1 : Library name or path, 11 bytes
          libaio.so.1
          DATA #2 : shared library load flags, PD_TYPE_LOAD_FL AGS, 4 bytes
          0
          DATA #3 : String, 70 bytes
          libaio.so.1: cannot open shared object file: No such file or directory
          >
          2007-07-13-09.32.12.752552-240 E50524E446 LEVEL: Error
          PID : 20480 TID : 183029688704PRO C : db2pclnr 0
          INSTANCE: userid NODE : 000
          FUNCTION: DB2 UDB, oper system services, sqloLinuxLoadLi bAio, probe:10
          CALLED : DB2 UDB, oper system services, sqloLoadModule
          RETCODE : ZRC=0x870F009B=-2029059941=SQLO _MOD_LOAD_FAILE D
          "Dynamic library load failed."
          MESSAGE : Failed to loadlibaio, AIO disabled.- Hide quoted text -
          >
          - Show quoted text
          Tried it both in the PATH and in the LD_LIBRARY_PATH . Didn't seem to
          make a difference.

          Greig Wise

          Comment

          Working...