CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 5 - Application & Software Support
  Oracle Application Server Installation

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  dfebb
      dfebb
Oracle Application Server Installation
#1
Newbie
Joined: 2007/11/9
From
Posts: 3
Howdy people!

I'm installing OAS 10.1.3.1 on CentOS 5, and although the install goes pretty much smoothly throughout (with a few 'skip this step because I'm not using RHEL' steps), I'm getting stuck near the end with starting the HTTP Server.

(from the error logs)
.../Apache/Apache/bin/apachectl startssl: execing httpd
.../Apache/Apache/bin/httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory

The lib exists in /usr/local/lib, should I put that in the PATH environment variable, perhaps?
There seems to be a bit of an issue with CentOS and OAS where it can't find the appropriate libraries, even though they're installed. I'm guessing this comes down to some config files and the installer is looking in places where the libs aren't. I could just copy the libs into every single lib folder all over my hd, but it's not exactly a very elegant way of going about getting this thing to install properly.

Anyone managed to install OAS on CentOS 5?
Posted on: 2007/11/20 23:11
Create PDF from Post Print
Top
  •  aero123
      aero123
Re: Oracle Application Server Installation
#2
Newbie
Joined: 2008/2/13
From
Posts: 3
Hi,

You can check out:
http://vnull.pcnet.com.pl/blog/?p=79#comments

"CentOS5 and RHEL5 comes without libdb.so.2 library (old Sleepycat database software). The problem is that there is no RPM for this library in the repositories (newest is only compat-db-4.3 which provides libdb4-3.so."

This is what someone there posted:

=======================
This is from the Oracle 10.2 release notes found here:

http://download.oracle.com/docs/cd/B19306_01/relnotes.102/b15659/toc.htm#CJAHFHCJ

There is actually a compatible library already installed as part of the gdbm-1.8.0-xx.x.x install, which is available for RHEL/OEL/CentOS 5. All you need to do is add a symlink:

ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2

I hope this helps. I struggled for a few hours finding this out! It is not particularly well documented that this symlink is required.

– Dave
=======================
Posted on: 2008/2/13 7:20
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com