Error "libdb.so.2: cannot open shared object file: No such file or directory "

libdb.so.2: cannot open shared object file: No such file or directory

 Applicable to :-

Oracle E-Business Suite Technology Stack - Version 12.0 to 12.1.3 [Release 12.0 to 12.1]
Linux x86
Linux x86-64


So , while doing a fresh clone in a new hardware, we faced the error message “libdb.so.2: cannot open shared object file: No such file or directory”  during startup of apache service in EBS. This error is also common in any other oracle application(such as discoverer, demantra) where oracle http service is being used.

 

Reason: This error is observed on linux server 5 and above where Soft link libdb.so.2 is missing.

SOLUTION:-

It might happen that file libgdbm.so.2.0.0 may not exist in server, for that you need to copy it from another server where this file exists or you can download it from below link

libgdbm.so.2.0.0

Now, execute the following steps:

1. Shut down all services on the Application tier

2. Copy libgdbm.so.2.0.0 inside /usr/lib

3. As the unix root user, create a soft link as follows:

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

4. Start application tier services again and this time will start without error.


No comments:

Post a Comment