Oracle Apps DBA

My photo
More than 5+ Years of IT Experience in administering Enterprise wide Multi Vendor UNIX Servers, Oracle Databases (8i to 11gR2), Middle-tiers, Applications and Clusters. I am a Sun Certified System Administrator (SCSA) for Solaris 10, oracle 10g database certified associate(OCA), Oracle 10g Database certified professional (OCP) and Oracle E-Business suite R12 certified professionl(OCP)

Oracle Database and Applications

Monday, 4 July 2011

error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory R12.1.1 Installation on Linux 5.6

Hello,

I was Installing Oracle E-Biz R12.1.1 on OEL 5.6 - 64 Bit for one of our customer. All OS pre-requisites has been configured as per the MOS tech note for Installation and all pre-req check from the rapidwiz Installer went fine.

At last steps of Installation during validating system configuration it failed on HTTP, loginpage, Help Directory and JSP.

When checked all services were up and running except web server.




checking status of OPMN managed processes...

Processes in Instance: VIS_oel.oel.WORLD.com
---------------------------------+--------------------+---------+---------
ias-component | process-type | pid | status
---------------------------------+--------------------+---------+---------
OC4JGroup:default_group | OC4J:oafm | 13776 | Alive
OC4JGroup:default_group | OC4J:forms | 13703 | Alive
OC4JGroup:default_group | OC4J:oacore | 13617 | Alive
HTTP_Server | HTTP_Server | 13560 | Down

Http_server is shown as Down.




Error messages recorded in logfiles:

Installation logfile:





HTTP
-----

checking URL = http://oel.WORLD.com:8011

RW-50015: Error: - HTTP Listener is not responding. The service might not have started on the port yet. Please check the service and use the retry button.


Help Page
----------

checking URL = http://oel.WORLD.com:8011/OA_HTML/help

RW-50015: Error: - Help Page is not responding. The service might not have started on the port yet. Please check the service and use the retry button.


Virtual Directory
------------------

RW-50015: Error: - Http Server Virtual Directories is not responding. The service might not have started on the port yet. Please check the service and use the retry button.


JSP
----

checking URL = http://oel.WORLD.com:8011/OA_HTML/jtfTestCookie.jsp

RW-50015: Error: - JSP is not responding. The service might not have started on the port yet. Please check the service and use the retry button.


Login Page
-----------

RW-50015: Error: - Login Page is not responding. The service might not have started on the port yet. Please check the service and use the retry button.
RW-10001: Rapidinstall wizard has detected that your configuration has errors. You must resolve these issues before continuing.



Apache logfiles:



07/04/11-10:23:44 :: adapcctl.sh: starting OPMN managed OHS instance

opmnctl: starting opmn managed processes...
================================================================================
opmn id=OEL.WORLD.COM:6210
0 of 1 processes started.

ias-instance id=VIS_oel.oel.WORLD.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
--------------------------------------------------------------------------------
ias-component/process-type/process-set:
HTTP_Server/HTTP_Server/HTTP_Server/

Error
--> Process (index=1,uid=83499476,pid=12821)
failed to start a managed process after the maximum retry limit
Log:
/u02/oracle/VIS/inst/apps/VIS_oel/logs/ora/10.1.3/opmn/HTTP_Server~1.log





/u02/oracle/VIS/inst/apps/VIS_oel/ora/10.1.3/Apache/Apache/bin/apachectl startssl: execing httpd
/u02/oracle/VIS/apps/tech_st/10.1.3/Apache/Apache/bin/httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory



Cause:

http web server unable to start due to missing library.

Solution:

1) Shutdown all application services.
2) create link for library file as below




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




3) Startup all application services.

Now you should be able to access the application.

Happy reading... :)

8 comments:

Rakesh Singh said...

Thanks, Very Useful

Syed Zaheer said...

thanks rakesh.

Arty Borulia said...

perfect!!! worked also on RH6.2

Anonymous said...

Thanks Very Very helpful!!!

mehnaaz mohiuddin said...

/usr/lib/libgdbm.so.2.0.0 i dont have this file in my system .. how do i get this?please reply soon i am using a 32 bit system

Syed Zaheer said...

Hi mehnaaz,

Please can you check file " /usr/lib/libgdbm* exists on your system.

thanks,
X A H E E R

mehnaaz mohiuddin said...

Thanks, my problem was solved.

Blogger said...

Trying to find the Best Dating Site? Join to find your perfect date.