Oracle 10G R2 on CentOS 5 X32 i686

Installation and support for Oracle DB on CentOS.
Post Reply
pugu
Posts: 2
Joined: 2009/09/09 14:40:34

Oracle 10G R2 on CentOS 5 X32 i686

Post by pugu » 2009/09/09 14:44:58

It work Oracle10g r2 on Centos ?

Starting Oracle Universal Installer...

Checking installer requirements...

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

Exiting Oracle Universal Installer, log for this session can be found at /tmp/OraInstall2009-09-09_04-59-12PM/installActions2009-09-09_04-59-12PM.log
sivadoc:/srv/sivadoc/0-dba/database$ ./runInstaller
Starting Oracle Universal Installer...

Checking installer requirements...

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

Exiting Oracle Universal Installer, log for this session can be found at /tmp/OraInstall2009-09-09_05-27-40PM/installActions2009-09-09_05-27-40PM.log

Please Help,
Thanks
Vali

pugu
Posts: 2
Joined: 2009/09/09 14:40:34

Re: Oracle 10G R2 on CentOS 5 X32 i686

Post by pugu » 2009/09/09 15:25:11

resolved

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: Oracle 10G R2 on CentOS 5 X32 i686

Post by pschaff » 2009/09/10 19:18:48

Welcome to the CentOS fora and glad you resolved your problem. It would be polite to post [i]how[/i] you resolved the issue for the sake of future Forum users.

KermitDaFragger
Posts: 195
Joined: 2009/09/11 19:23:05
Location: the Netherlands

Re: Oracle 10G R2 on CentOS 5 X32 i686

Post by KermitDaFragger » 2009/09/11 22:17:43

For anyone googling this thread to get Oracle and Centos to work: iirc Oracle checks the /etc/redhat-release file. Just change it to a RHEL value and the installer should proceed normally.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: Oracle 10G R2 on CentOS 5 X32 i686

Post by pschaff » 2009/09/12 01:37:04

So, as root [code]
cp -a /etc/redhat-release /etc/redhat-release.orig
echo redhat-4, > /etc/redhat-release
... install Oracle ...
mv /etc/redhat-release.orig /etc/redhat-release
[/code]
should work.

See also
https://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=13854&forum=49
https://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=18985&forum=49

For more google [code]
/etc/redhat-release oracle site:centos.org
[/code]

Thanks for stepping in [b]Kermit[/b], guess [b]pugu[/b] has moved on.

yyagol
Posts: 1015
Joined: 2006/06/10 18:27:44
Location: 32 4&#8242;N 34 47&#8242;E
Contact:

Oracle 10G R2 on CentOS 5 X32 i686

Post by yyagol » 2009/10/02 17:27:36

Note that when installing RAC , this method will not be acceptable by cluvfy (cluster verification utility) checks .
it will look for redhat-release package . to overcome this problem one can install redhat-release package
by geting the spec file and build the rpm

[code]yum install rpm-build -y
wget ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/redhat-release-5Server-5.4.0.3.src.rpm
rpmbuild --rebuild redhat-release-5Server-5.4.0.3.src.rpm

-- remove centos-release because of conflict --

rpm -e --nodeps centos-release-5-3.el5.centos.1
rpm -Uvh /usr/src/redhat/RPMS/i386/redhat-release-5Server-5.4.0.3.i386.rpm[/code]
resolts are :

[code]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
# cat /etc/issue.net
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
Kernel \r on an \m
# cat /etc/issue
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
Kernel \r on an \m
# rpm -qa|grep redhat-release
redhat-release-5Server-5.4.0.3[/code]
this will make sure you can go on with RAC install :-)
after you are done , reinstall the centos-release .

[code]wget http://ftp.linux.org.tr/centos/5.3/os/i386/CentOS/centos-release-5-3.el5.centos.1.i386.rpm
rpm -e --nodeps redhat-release
rpm -Uvh centos-release-5-3.el5.centos.1.i386.rpm[/code]

Post Reply