libraries: libdb.so.2: cannot open shared object file: No such file or directory 。
在Metalink 查询发现解决方法;
Attempting to Start Apache (adapcctl.sh) Throws an 'Error While Loading Shared Libraries: libdb.so.2' on RedHat Linux 5 [ID 879522.1]
Cause
Review the HTTP log file. The error is very clear about the missing soft link. It would show this error:
...
/10.1.3/Apache/Apache/bin/apachectl startssl: execing httpd
/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.
Solution
To implement the solution, please execute the following steps:
1. Shut down all Oracle Application Services.
2. 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
3. Start up all Oracle Application Services.
This requirement is outlined in the 'Follow Operating System Requirements for OEL 5.x or RHEL 5.x' section of Note 564174.1 - "Oracle Application Server 10g (10.1.2) Requirements for Linux : OEL 5 and RHEL 5".
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/35489/viewspace-766416/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/35489/viewspace-766416/