Link to home
Start Free TrialLog in
Avatar of bromley_college
bromley_college

asked on

Installing Oracle on Oracle Enterprise Linux

Hi experts,

I have installed Oracle Enterprise Linux successfully using VMWare. I followed Oracle's installation guidelines found at: http://www.oracle.com/technology/pub/articles/smiley_10gdb_install.html

However, when I try and install Oracle 10g, it fails. It says something a long the lines of "supported operating systems are red hat 4.... etc ".
Ive also tried installed using ./runInstaller -ignoresysprereqs However this fails too. It hangs at java 866.

I followed the instructions when installing Linux and enabled all the necessary packages mentioned in Oracle's instructions during installation, however after install, I checked to see if the packages were installed and some were not installed. The following packages were not installed:

1. Compat-db
2. Gnome libs
3. pdksh
4. Xscreensaver
5. openmotif

Are these packages required? If so, how do I now install them?

I changed the necessary kernal parameters, which were:
kernel.shmall = 2097152
kernel.shmmax = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default=262144
net.core.wmem_default=262144
net.core.rmem_max=262144
net.core.wmem_max=262144

What am I doing wrong?

Many thanks

Colin
ASKER CERTIFIED SOLUTION
Avatar of mrjoltcola
mrjoltcola
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
- is it failing when you run the
linux> . runinstaller
- what is the output you're getting when you type the followign on your unix.
linux> xhost
- did you login as a oracle user when you run the intaller (OUI)?
the package openmotif is required. I'll check with the Gnome libs.
I do not think others are required to install oracle.
what did you get
linux> rpm -qa c*
 
the following are required...
 1.Compat-db

3. pdksh

5. openmotif
 
Avatar of sugarfreeless
sugarfreeless

I use this to find the packages needed by RHEL 4.

rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE}  (%{ARCH})\n' \
binutils compat-db compat-db compat-gcc-32 compat-libstdc++-296 compat-libstdc++-33 | grep 386 compat-libstdc++-33 control-center gcc gcc-c++ glibc | grep 64 glibc | grep 686 glibc-common  glibc-devel glibc-devel gnome-libs libstdc++ libstdc++ libstdc++-devel libgcc libgcc make pdksh sysstat xscreensaver libaio libaio setarch
Sorry I had some typoes

rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE}  (%{ARCH})\n' \
binutils compat-db compat-db compat-gcc-32 compat-libstdc++-296 compat-libstdc++-33 compat-libstdc++-33 control-center gcc gcc-c++ glibc glibc glibc-common  glibc-devel glibc-devel gnome-libs libstdc++ libstdc++ libstdc++-devel libgcc libgcc make pdksh sysstat xscreensaver libaio libaio setarch
sorry for the confusion..
you need to have all 5 packages for your oracle installation
1. compat-db
2. gnome libs
3. pdksh
4. xscreensaver
5. openmotif
Avatar of bromley_college

ASKER

Hi,

Sorry I will try and answer everyones questions below.

I am trying to install version Oracle 10g release 2 on OEL 5. I have mounted the CD-ROM but have not yet tried searching for the rpms on the CD. I will do that today.
When I downloaded the ISO's from Oracle, there were 5 CDs, however the Linux installation only required disks 1-3. What are disks 4 and 5 for?

Yes Oracle fails when I run ./runInstaller.  I get something a long these lines:

Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1, asianux-2 or redhat-5
FAILED

Why does the operating system version fail? Is it because of the missing packages or is it because Oracle Enterprise Linux is not mentioned in the list above?
OEL looks exactly like Red Hat, is OEL based on Red Hat Enterprise?

Many thanks

Colin
SOLUTION
Avatar of schwertner
schwertner
Flag of Antarctica image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi schwertner,

How do I get back into the Linux setup to add these packages? Can I do that after Linux installation?

Do I used Kickstart?

Thanks

Colin
Im trying to install the rpms however I get a permission denied error???

root@localhost# ./compat-db-4.2.52-5.1.i386.rpm
-bash: ./compat-db-4.2.52-5.1.i386.rpm: Permission denied

Any ideas?

Many thanks
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I am guessing you are Enterprise Linux 5. This is not a supported OS for Oracle 10. You could install Oracle 11 instead. Or use Enterprise 4. Alternatively you could trick the installed and change the entry in /etc/redhat-release to say redhat 4. That will get you past the prereqs. Check out

http://it.toolbox.com/wiki/index.php/Installation_of_Oracle_database_10g_on_RHEL_5
Enterprise Linux 5 is indeed supported for 10gR2. Please check the support matrix.
I have installed on Redhat 5 and OEL5 without disabling prereq check, so I don't think that is the problem here, unless possibly you are installed an older 10g binary. 10.1  perhaps?
I checked the ittoolbox link Herstal supplied, it is out of date. Its always best to check Oracle's site first, before using info elsewhere, as Oracle will always be up to date. Nothing wrong with the link itself, it does provide good info, but out of date, nonetheless.

The problem here is missing rpms, if the OP will confirm he can install those RPMs we can probably resolve it.
There is a trick used by Oracle.
They are always 1 release behind the curren.
I mean the libraries and especially the glibc
librariea (devel) and etc.

Look here

http://www.oracle.com/technology/pub/articles/smiley_10gdb_install.html


This helps previosly:

https://www.experts-exchange.com/questions/23151549/Installing-Oracle-10g-on-Oracle-Unbreakable-Linux.html
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
@stecal2: User also said he ran "./runInstaller -ignoresysprereqs", so there is more to the problem than that. He also is missing RPMs as stated previously.

I agree with stecal2, we provided solutions to the problems, but the problem is not as simple as the prereq / version check. I still agree that points should be split:

http:#24100262
http:#24105055
http:#24108221
http:#24293549
http:#24521272
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Also a big difference between ignoresysprereqs and ignoreSysPrereqs. One is a valid flag/parameter, the other is not.
Wasn't duping your post, just clicked Submit a bit later than you while writing the comment. :)
@angelIII I have added  http://#24522264 (and stecals comment following) as possible solutions too. :) We will likely never know.

@stecal: Yes, I see. Unfortunately we just caught that weeks later. :(