Issue regarding OEM 10g Grid installation (error while loading shared libraries: libdb.so.2)

Configuration assistant “OC4J Instance Configuration Assistant” failed

Solution:

Ensure that the dcm-daemon is running on all the nodes of the cluster.

1. Ensure that the dcm-daemon is running on all the nodes of the cluster.

2. To confirm the same, check the output of the following command from all the nodes.

ORACLE_HOME/opmn/bin> opmnctl status

3. After starting the ‘dcm-daemon’, execute the following command and confirm the status.

ORACLE_HOME/dcm/bin> dcmctl getState

libdb.so.2: cannot open shared object file
ln -s   /usr/lib/libgdbm.so.2.0.0  /usr/lib/libdb.so.2

libdb.so.2: cannot open shared object file

During Installation GRID START ERROR(error while loading shared libraries: libdb.so.2)

/u01/app/oracle/products/oms10g/Apache/Apache/bin/apachectl start: execing httpd
/u01/app/oracle/products/oms10g/Apache/Apache/bin/httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory

Solution:

ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2

Commands used check grid status

$/bin/emctl start oms
$/bin/emctl status oms
$/opmn/bin/opmnctl startall
$/opmn/bin/opmnctl status

Advertisements