Issue: EBS 12.1.3 apachectl startssl libdb.so.2: cannot open shared object file: No such file or directory
Error:
cat /var/lib/logrotate/status
Error: /u01/TEST/inst/apps/TEST_ebs121ap1/ora/10.1.3/Apache/Apache/bin/apachectl startssl: execing httpd /u01/TEST/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
Solution
ls -l /usr/lib/libdb.so.2
ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2 [root@ebs121ap1 lib]# ls -ltr libgdbm.so.2.0.0 -rw-r--r-- 1 opc opc 24876 Jul 29 15:38 libgdbm.so.2.0.0 [root@ebs121ap1 lib]# ls -l /usr/lib/libdb.so.2 ls: cannot access /usr/lib/libdb.so.2: No such file or directory [root@ebs121ap1 lib]# ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2 [root@ebs121ap1 lib]# [root@ebs121ap1 lib]# [root@ebs121ap1 lib]# ls -l /usr/lib/libdb.so.2 lrwxrwxrwx 1 root root 25 Jul 29 15:39 /usr/lib/libdb.so.2 -> /usr/lib/libgdbm.so.2.0.0 [root@ebs121ap1 lib]#
Download file from here