Error :
While starting the application services, Apache services do not start.
Error in the log file:
/dap01/appldev/EBSDEV/apps/tech_st/10.1.3/Apache/Apache/bin/httpd: error while loading shared libraries: libdb-4.3.so: cannot open shared object file: No such file or directory
Cause:
This is caused by having an older Oracle HTTP Server installed on a newer Operating System. For the OPatch issue, Perl is expecting to find the /usr/lib/libdb-3.3.so library, but it is missing.
The following command locates a higher version of the library (for example, /usr/lib/libdb-4.1.so)
/libdb ls -al /usr/lib *.so
 
Note that the error can be a newer library, depending which is found and used from the operating system. (e.g., libdb-4.2.so, libdb-4.3.so, libdb-4.4.so, etc).
The correct libdb filename to use should depend on output of ldd httpd, for example:
cd $ORACLE_HOME/Apache/Apache/bin
ldd httpd | grep libdb
libdb.so.2 => /usr/lib/libdb.so.2 (0x00868000)
•In this case, libdb.so.2 is expected
•In this case, having libdb-3.3.so will not help
Solution:
To resolve the patching problem, create a symbolic link from /usr/lib/libdb-3.3.so to the higher version of the library.
 
After locating the applicable higher version of libdb on your system, the following is an example command to be run:
ln -s /usr/lib/libdb-4.1.so /usr/lib/libdb-3.3.so
or
ln -s /usr/lib/libdb-4.3.so /usr/lib/libdb-3.3.so
 
Stop the database, application and listener.
[root@ebs01 ~]# ldconfig -v
 
[root@ebs01 oelmount]# yum install libdb*
 
[root@ebs01 oelmount]# yum install libdb-4.7.so
 
[root@ebs01 6078836]# ls -l /usr/lib/libdb.so.2
-rw-r--r-- 1 root root 5825 May 23 09:49 /usr/lib/libdb.so.2
[root@ebs01 lib]# ls -l libdb-4.3.so
lrwxrwxrwx 1 root root 12 May 23 09:51 libdb-4.3.so -> libdb-4.7.so
 
[appldev@ebs01 ~]$ cd $ORACLE_HOME/Apache/Apache/bin
 
[appldev@ebs01 bin]$ ldd httpd | grep libdb
libdb.so.2 => /lib/libdb.so.2 (0xf76c7000)
libdb-4.3.so => /lib/libdb-4.3.so (0xf7389000)
Start the database, listener and application services.