httpd: error while loading shared libraries: libdb.so.2: cannot open shared object

Hi Guys,

In this post, we will see how to resolve the below issue OEL 7.5.

httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory

Issue :

I restored successfully EBS 12.1.3 in OEL 7.5 os, but when going to start adopmnctl.sh startall, it’s throwing below error.

/apps1213/UAT/apps/inst/apps/UAT_ebs122app01/ora/10.1.3/Apache/Apache/bin/apachectl startssl: execing httpd
/apps1213/UAT/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

 

Resolution:

Metalink id :

Have to copy  old version of libgdbm.so.2.0.0 i.e from OEL 5 OR OEL 6 to OEL 7.5 /usr/lib directory and issue below command.

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
And now try to start Apache server, it should have to start successfully.
Thanks,
Firoz Hussain K.

Add Your Comment