I got error as " Error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory" while configuring Oracle HTTP server and Oracle workflow middle tier using Oracle 10g(10.2.0.1) companion cd
#> /orasw/app/oracle/product/10.2.0.3/ohs_home2/opmn/bin/opmnctl status
Processes in Instance: standalone
-------------------+--------------------+---------+---------
ias-component | process-type | pid | status
-------------------+--------------------+---------+---------
HTTP_Server | HTTP_Server | N/A | Down
LogLoader | logloaderd | N/A | Down
dcm-daemon | dcm-daemon | N/A | Down
= SF-LINDB-10 Shared DB server = oracle@testdb.sangam.com /orasw/app/oracle/product/10.2.0.3/ohs_home2/cfgtoollogs
Error in HTTP server log is
#> more /orasw/app/oracle/product/10.2.0.3/ohs_home2/opmn/logs/HTTP_Server~1
--------
12/02/23 07:57:48 Start process
--------
/orasw/app/oracle/product/10.2.0.3/ohs_home2/Apache/Apache/bin/apachectl start: execing httpd
/orasw/app/oracle/product/10.2.0.3/ohs_home2/Apache/Apache/bin/httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory
--------
12/02/23 07:57:50 Start process
--------
/orasw/app/oracle/product/10.2.0.3/ohs_home2/Apache/Apache/bin/apachectl start: execing httpd
/orasw/app/oracle/product/10.2.0.3/ohs_home2/Apache/Apache/bin/httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory
--------
12/02/23 08:01:44 Start process
--------
/orasw/app/oracle/product/10.2.0.3/ohs_home2/Apache/Apache/bin/apachectl start: execing httpd
/orasw/app/oracle/product/10.2.0.3/ohs_home2/Apache/Apache/bin/httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory
--------
12/02/23 08:01:46 Start process
--------
/orasw/app/oracle/product/10.2.0.3/ohs_home2/Apache/Apache/bin/apachectl start: execing httpd
/orasw/app/oracle/product/10.2.0.3/ohs_home2/Apache/Apache/bin/httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory
When I tried to bring all components manually, time out happened and got again same above error in the log
#> /orasw/app/oracle/product/10.2.0.3/ohs_home2/opmn/bin/opmnctl startall
opmnctl: starting opmn and all managed processes...
================================================================================
opmn id=testdb.sangam.com:6201
0 of 1 processes started.
ias-instance id=standalone
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
HTTP_Server/HTTP_Server/HTTP_Server
Error
--> Process (pid=17501)
failed to start a managed process after the maximum retry limit
Log:
/orasw/app/oracle/product/10.2.0.3/ohs_home2/opmn/logs/HTTP_Server~1
Solution:
This happened because http web server was unable to start due to missing library libdb.so.2. We can resolve this issue by creating a softlink with root user as below.
ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2
#> /orasw/app/oracle/product/10.2.0.3/ohs_home2/opmn/bin/opmnctl status
Processes in Instance: standalone
-------------------+--------------------+---------+---------
ias-component | process-type | pid | status
-------------------+--------------------+---------+---------
HTTP_Server | HTTP_Server | N/A | Down
LogLoader | logloaderd | N/A | Down
dcm-daemon | dcm-daemon | N/A | Down
= SF-LINDB-10 Shared DB server = oracle@testdb.sangam.com /orasw/app/oracle/product/10.2.0.3/ohs_home2/cfgtoollogs
Error in HTTP server log is
#> more /orasw/app/oracle/product/10.2.0.3/ohs_home2/opmn/logs/HTTP_Server~1
--------
12/02/23 07:57:48 Start process
--------
/orasw/app/oracle/product/10.2.0.3/ohs_home2/Apache/Apache/bin/apachectl start: execing httpd
/orasw/app/oracle/product/10.2.0.3/ohs_home2/Apache/Apache/bin/httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory
--------
12/02/23 07:57:50 Start process
--------
/orasw/app/oracle/product/10.2.0.3/ohs_home2/Apache/Apache/bin/apachectl start: execing httpd
/orasw/app/oracle/product/10.2.0.3/ohs_home2/Apache/Apache/bin/httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory
--------
12/02/23 08:01:44 Start process
--------
/orasw/app/oracle/product/10.2.0.3/ohs_home2/Apache/Apache/bin/apachectl start: execing httpd
/orasw/app/oracle/product/10.2.0.3/ohs_home2/Apache/Apache/bin/httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory
--------
12/02/23 08:01:46 Start process
--------
/orasw/app/oracle/product/10.2.0.3/ohs_home2/Apache/Apache/bin/apachectl start: execing httpd
/orasw/app/oracle/product/10.2.0.3/ohs_home2/Apache/Apache/bin/httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory
When I tried to bring all components manually, time out happened and got again same above error in the log
#> /orasw/app/oracle/product/10.2.0.3/ohs_home2/opmn/bin/opmnctl startall
opmnctl: starting opmn and all managed processes...
================================================================================
opmn id=testdb.sangam.com:6201
0 of 1 processes started.
ias-instance id=standalone
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
HTTP_Server/HTTP_Server/HTTP_Server
Error
--> Process (pid=17501)
failed to start a managed process after the maximum retry limit
Log:
/orasw/app/oracle/product/10.2.0.3/ohs_home2/opmn/logs/HTTP_Server~1
Solution:
This happened because http web server was unable to start due to missing library libdb.so.2. We can resolve this issue by creating a softlink with root user as below.
ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2
No comments:
Post a Comment