4 Replies Latest reply: Sep 4, 2012 5:42 PM by Hussein Sawwan-Oracle RSS

    libdb-4.3.so: cannot open shared object file: No such file or dii rectory

    907416
      Hi Experts... I am a new to Oracle APPS trying to install Ebusiness suite in oracle enterprise linux ver 6,1 using oracle virtualbox.. and I am stuck with libdb-4.3.so for last 3 days.. searched google and bing, not able to find any information.

      Could you please help me..
      $ADMIN_SCRIPTS_HOME/adapcctl.sh start

      /home/oracle/ebs/inst/apps/VIS_localhost/ora/10.1.3/Apache/Apache/bin/apachectl stt
      artssl: execing httpd
      /home/oracle/ebs/apps/tech_st/10.1.3/Apache/Apache/bin/httpd: error while loading
      shared libraries: libdb-4.3.so: cannot open shared object file: No such file or dii
      rectory


      --------------------------------------------------------------------------------
      11/12/26 00:10:25 Start process

      --------------------------------------------------------------------------------
      /home/oracle/ebs/inst/apps/VIS_localhost/ora/10.1.3/Apache/Apache/bin/apachectl stt
      artssl: execing httpd
      /home/oracle/ebs/apps/tech_st/10.1.3/Apache/Apache/bin/httpd: error while loading
      shared libraries: libdb-4.3.so: wrong ELF class: ELFCLASS64

      getting bellow error.


      /home/oracle/ebs/inst/apps/VIS_localhost/ora/10.1.3/Apache/Apache/bin/apachectl stt
      artssl: execing httpd
      /home/oracle/ebs/apps/tech_st/10.1.3/Apache/Apache/bin/httpd: error while loading
      shared libraries: libdb-4.3.so: cannot open shared object file: No such file or dii
      rectory




      --------------------------------------------------------------------------------
      I started httpd from /home/oracle/ebs/apps/tech_st/10.1.3/Apache/Apache/bin/ by using service httpd start and then run $ADMIN_SCRIPTS_HOME/adapcctl.sh start got bellow message

      11/12/26 00:10:25 Start process



      --------------------------------------------------------------------------------
      /home/oracle/ebs/inst/apps/VIS_localhost/ora/10.1.3/Apache/Apache/bin/apachectl stt
      artssl: execing httpd
      /home/oracle/ebs/apps/tech_st/10.1.3/Apache/Apache/bin/httpd: error while loading
      shared libraries: libdb-4.3.so: wrong ELF class: ELFCLASS64

      Not able to figure it out the file libdb-4.3.so issue.

      Here is the...
      IDD for httpd... not sure, why it has two folderss.. one with 10.1.3 and another one with 10.1.2..

      [root@localhost appl]# ldd /home/oracle/ebs/apps/tech_st/10.1.3/Apache/Apache/bin/httpd
      linux-gate.so.1 => (0xf7795000)
      libdms2.so => not found
      libdl.so.2 => /lib/libdl.so.2 (0x49c7b000)
      libcrypt.so.1 => /lib/libcrypt.so.1 (0xf7742000)
      libpthread.so.0 => /lib/libpthread.so.0 (0xf7727000)
      libdb.so.2 => /usr/lib/libdb.so.2 (0xf7724000)
      libm.so.6 => /lib/libm.so.6 (0x49c09000)
      libc.so.6 => /lib/libc.so.6 (0x4d737000)
      /lib/ld-linux.so.2 (0x4d715000)
      libfreebl3.so => /lib/libfreebl3.so (0xf76d7000)
      libdb-4.3.so => not found
      [root@localhost appl]# ldd /home/oracle/ebs/apps/tech_st/10.1.2/Apache/Apache/bin/httpd
      linux-gate.so.1 => (0xf7704000)
      libdms2.so => not found
      libpthread.so.0 => /lib/libpthread.so.0 (0xf76c6000)
      libnsl.so.1 => /lib/libnsl.so.1 (0xf76ac000)
      libm.so.6 => /lib/libm.so.6 (0x49c09000)
      libcrypt.so.1 => /lib/libcrypt.so.1 (0xf767b000)
      libdl.so.2 => /lib/libdl.so.2 (0x49c7b000)
      libdb.so.2 => /usr/lib/libdb.so.2 (0xf7679000)
      libc.so.6 => /lib/libc.so.6 (0x4d737000)
      /lib/ld-linux.so.2 (0x4d715000)
      libfreebl3.so => /lib/libfreebl3.so (0xf762c000)
      libdb-4.3.so => not found

      [root@localhost appl]# find / -type f | grep -i "libdb"
      /lib64/libdb_cxx-4.3.so
      /lib64/libdb_cxx-4.2.so
      /lib64/libdbus-1.so.3.4.0
      /lib64/libdb-4.3.sobackup
      /lib64/libdb-4.2.so
      /lib64/libdb-4.7.so
      /home/backup/startCD/Disk1/rapidwiz/jre/IBM_AIX/1.6.0/lib/ppc/libdbx_j9.so
      /home/oracle/Downloads/6078836/libdb.so.2
      /home/oracle/ebs/apps/tech_st/10.1.2/rdbms/lib/libdbtools10.a
      /home/oracle/ebs/apps/tech_st/10.1.2/.patch_storage/7379122/rdbms/lib/impdta.o_libdbtools10.a_pre_7379122
      /home/oracle/ebs/apps/tech_st/10.1.2/.patch_storage/7379122/rdbms/lib/impdrv.o_libdbtools10.a_pre_7379122
      /home/oracle/ebs/apps/tech_st/10.1.2/inventory/filemap/rdbms/lib/libdbtools10.a/files.map
      /home/oracle/ebs/apps/apps_st/appl/gl/12.0.0/patch/115/sql/glibdbts.pls
      /home/oracle/ebs/apps/apps_st/appl/gl/12.0.0/patch/115/sql/glibdbtb.pls
      /home/oracle/ebs/apps/apps_st/appl/msd/12.0.0/patch/115/sql/MSDRETLIBDBNAME.sql
      /home/oracle/ebs/apps/apps_st/appl/msd/12.0.0/patch/115/sql/MSDNEWLIBDB.sql
      /home/oracle/ebs/db/tech_st/11.1.0/rdbms/lib32/libdbtools11.a
      /home/oracle/ebs/db/tech_st/11.1.0/rdbms/lib/libdbtools11.a
      /home/oracle/ebs/db/tech_st/11.1.0/srvm/lib/libdbcfg11.a
      /home/oracle/ebs/db/tech_st/11.1.0/lib32/libdbcfg11.so
      /home/oracle/ebs/db/tech_st/11.1.0/lib/libdbcfg11.so
      /usr/lib64/xulrunner-1.9.2/components/libdbusservice.so
      /usr/lib64/compiz/libdbus.so
      /usr/lib64/libdbus-c++-1.so.0.0.0
      /usr/lib64/libdbus-glib-1.so.2.1.0
      /usr/lib64/libdb_cxx-4.7.so
      /usr/lib64/xorg/modules/extensions/libdbe.so
      /usr/lib64/libdbus-qt-1.so.1.0.0
      /usr/share/doc/rsyslog-4.6.2/omlibdbi.html
      /usr/lib/libdb.so.2
      /root/rpmbuild/SOURCES/libdbi-drivers-0.8.3.tar.gz
      /root/rpmbuild/SOURCES/libdbi-0.8.3.tar.gz
      /root/rpmbuild/SOURCES/libdbi-drivers-error-handler.patch
      /root/rpmbuild/SOURCES/libdbi-drivers-cflags.patch
      /root/rpmbuild/SOURCES/libdbi-cflags.patch
      /root/rpmbuild/SPECS/libdbi-drivers.spec
      /root/rpmbuild/SPECS/libdbi.spec
      find: `/proc/5275/task/5275/fd/5': No such file or directory
      find: `/proc/5275/task/5275/fdinfo/5': No such file or directory
      find: `/proc/5275/fd/5': No such file or directory
      find: `/proc/5275/fdinfo/5': No such file or directory
      /lib/libdbus-1.so.3.4.0
      [root@localhost appl]#



      [root@localhost lib]# ls -ltr libdb* from /usr/lib
      -rwxr-xr-x. 1 root root 5825 Dec 25 12:06 libdb.so.2


      [root@localhost lib64]# ls -ltr libdb* /usr/lib64
      -rwxr-xr-x. 1 root root 195696 Apr 28 2010 libdbus-c++-1.so.0.0.0
      -rwxr-xr-x. 1 root root 71136 Jul 3 2010 libdbus-qt-1.so.1.0.0
      -rwxr-xr-x. 1 root root 1647120 Jul 22 2010 libdb_cxx-4.7.so
      -rwxr-xr-x. 1 root root 144960 Nov 19 2010 libdbus-glib-1.so.2.1.0
      lrwxrwxrwx. 1 root root 24 Dec 14 22:45 libdb-4.7.so -> ../../lib64/libdb-4.7.so
      lrwxrwxrwx. 1 root root 23 Dec 14 22:46 libdbus-glib-1.so.2 -> libdbus-glib-1.so.2.1.0
      lrwxrwxrwx. 1 root root 23 Dec 14 22:47 libdbus-glib-1.so -> libdbus-glib-1.so.2.1.0
      lrwxrwxrwx. 1 root root 22 Dec 14 22:50 libdbus-c++-1.so.0 -> libdbus-c++-1.so.0.0.0
      lrwxrwxrwx. 1 root root 21 Dec 14 22:50 libdbus-qt-1.so.1 -> libdbus-qt-1.so.1.0.0
      lrwxrwxrwx. 1 root root 24 Dec 14 23:07 libdb.so -> ../../lib64/libdb-4.7.so
      lrwxrwxrwx. 1 root root 16 Dec 14 23:07 libdb_cxx.so -> libdb_cxx-4.7.so


      [root@localhost lib]# ls -ltr libdb* from /lib
      -rwxr-xr-x. 1 root root 284764 Mar 22 2011 libdbus-1.so.3.4.0
      lrwxrwxrwx. 1 root root 18 Dec 18 00:39 libdbus-1.so.3 -> libdbus-1.so.3.4.0
      lrwxrwxrwx. 1 root root 17 Dec 25 01:40 libdb-3.3.so -> /lib/libdb-4.3.so

      [root@localhost lib64]# ls -ltr libdb* from /lib64
      -rwxr-xr-x. 1 root root 1139224 Jul 22 2010 libdb_cxx-4.3.so
      -rwxr-xr-x. 1 root root 1055864 Jul 22 2010 libdb_cxx-4.2.so
      -rwxr-xr-x. 1 root root 976976 Jul 22 2010 libdb-4.2.so
      -rwxr-xr-x. 1 root root 1526952 Jul 22 2010 libdb-4.7.so
      -rwxr-xr-x. 1 root root 268200 Mar 22 2011 libdbus-1.so.3.4.0
      lrwxrwxrwx. 1 root root 18 Dec 14 22:45 libdbus-1.so.3 -> libdbus-1.so.3.4.0
      lrwxrwxrwx. 1 root root 18 Dec 14 22:46 libdbus-1.so -> libdbus-1.so.3.4.0
      -rwxr-xr-x. 1 root root 1043696 Dec 25 12:04 libdb-4.3.sobackup
      lrwxrwxrwx 1 root root 18 Dec 25 23:16 libdb-4.3.so -> libdb-4.3.sobackup

      Any one help me, what I am missing from above.. and also, my post installation rapidwizard is cancelled, so Do I need to install from scratch? or If I fix this issue, can i access the application using web url?

      Edited by: user1254389 on Dec 25, 2011 10:06 PM

      Edited by: user1254389 on Dec 25, 2011 10:10 PM