Saturday, January 1, 2011

"libdb.so.2: cannot open shared object file"

Problem:

I installed Oracle SOA Suite 10g (which is 32-bit based)  on top of Oracle Enterprise Linux 5.5 64-bit. I installed 10.1.3.1 and upgraded it to 10.1.3.5.

When I issued an "opmnctl startall", all components come up except for the Oracle HTTP Server (OHS), even though all prerequisites were satisfied.

I received the following error in the $ORACLE_HOME/opmn/logs/HTTP_Server~1.log:
--------
10/12/26 20:20:51 Start process
--------
/u01/app/oracle/product/10.1.3/soa_1/Apache/Apache/bin/apachectl startssl: execing httpd
/u01/app/oracle/product/10.1.3/soa_1/Apache/Apache/bin/httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory
Solution:

1. Run the following command as 'root':
ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2

Applicable Versions:
  • Oracle SOA Suite 10g (10.1.3.x)
  • Oracle Enterprise Linux 5.5 64-bit

References:
  • http://oraclenz.com/2009/12/15/error-libdbso2-cannot-open-shared-object-file-when-installing-grid-control/

No comments: