Friday, January 4, 2013
Error while loading shared libraries: libdb.so.2 - After Migrating REHL4 to REHL5
We have migrated Oracle Agile application from RedHat Linux 4 to RedHat Linux 5 and while starting up the Agile application we have received following error.
$ opmnctl startall
opmnctl: starting opmn and all managed processes...
================================================================================
opmn id=agile:6201
1 of 2 processes started.
ias-instance id=plm922.etna.corp.intusurg.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
--------------------------------------------------------------------------------
ias-component/process-type/process-set:
HTTP_Server/HTTP_Server/HTTP_Server/
Error
--> Process (index=1,uid=6575556334,pid=75645)
failed to start a managed process after the maximum retry limit
Log:
/oracle/product/10.1.3.1/OracleAS/opmn/logs//HTTP_Server~1.log
From HTTP Serve log, we have found that Apache service failed while coming up. We have found below error message
/oracle/product/10.1.3.1/OracleAS/Apache/Apache/bin/apachectl startssl: execing httpd
/oracle/product/10.1.3.1/OracleAS Apache/Apache/bin/httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory
There is no shared library/usr/lib/ libdb.so.2 and found that the soft link is missing.
You may see this error with applications that are using Oracle Application services after cloning or migrating from REHL 4 to REHL5.
To resolve the issue follow the steps
1. Stop the Oracle Application Service
2. Login as root and create the soft link
# ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2
3. Start the Oracle Application Service.
Regards,
Satishbabu Gunukula, Oracle ACE
http://www.oracleracexpert.com
Subscribe to:
Post Comments (Atom)
amazing. thanks for sharing. Happy Independence Day Dp For Whatsapp 2018
ReplyDelete