安裝EBS R12.1.1-error while loading shared libraries: libdb.so.2

tolywang發表於2013-07-16
安裝Oracle EBS R12.1.1 ,    在最後檢測的時候發現錯誤, http開不起來, 其他服務可以開啟, 查詢開啟 apache 的log , 發現錯誤  /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
  。   

在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/,如需轉載,請註明出處,否則將追究法律責任。

相關文章