Sunday 10 July 2011

Error While Loading Shared Libraries: libdb.so.2 on RedHat Linux 5

After clonning (or installing) an Oracle Applications Release 12.0 or 12.1 instance on Linux 5, an error may occur while starting up the Apache service. The error would be this: 

You are running adapcctl.sh version 120.6.12000000.4
Starting OPMN managed Oracle HTTP Server (OHS) instance ...
adapcctl.sh: exiting with status 204


After review the HTTP log file. The error is very clear about the missing soft link. It would show this error:

/u01/apps/AJI_apps12/ora/10.1.3/Apache/Apache/bin/apachectl startssl: execing httpd
/u01/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

Soft link libdb.so.2 is missing.



To solve this issue, Shut down all Oracle Application Services

As root user, create a soft link as follows:
# ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2

Start up all Oracle Application Services


Cheers!!!
SocialTwist Tell-a-Friend

Related Posts by Categories



4 comments:

Hanish said...

Thank You Ajikumar, It helped me :)

M K Sinha said...

Nice Finding

Anonymous said...

Thank you very much :)

Jorge Abreu said...

So many thanks for this!!!!

From Argentina.

Best regards.