Forums | Aggregator | Books | Industry News | Firefox Plugins | Social | Links

Comments

Oracle Database 11g Release 2 (11.2) Installation On Oracle Linux 6 - A brief guide to installing Oracle 11g Release 2 (11.2) on Oracle Linux 6.



lesio said...

What about RAC ? Thank You for this tutorial :) it's great as always

Tim... said...

Hi.

It's only just been released. Give me chance. :)

I'm going to start looking at RAC, but remember, until some official notes come out it is risky to do anything important on OL6.

Cheers

Tim...

Arun said...

Doesn't Oracle have an oracle-validated rpm for OEL6? It saves lot of time in installing the pre-requisite packages one at a time.

Tim... said...

Hi.

It normally runs a little behind. Not sure if the updated version is out yet.

Cheers

Tim...

Peter said...

Anyone try this on ESXi 4.1?

I got an "root device not found" after Step #19 :{

James said...

Tim:

Great tutorial, very detail and clear. Thanks!

However I encounter following missing packages errors when installing 11.2.0.2 on Oracle Linux 6 64 bit:

Package: libaio-0.3.105 FAILED
Package: compat-libstdc++-33-3.2.3 FAILED
Package: libaio-devel-0.3.105 FAILED
Package: libgcc-3.4.6 FAILED
Package: libstdc++-3.4.6 FAILED
Package: unixODBC-2.2.11 FAILED
...

Tim... said...

Hi.

Then you didn't do the install I suggested with the package groups I picked and the additional packages added. If you had you would not see these failures.

Cheers

Tim...

alok said...

Tim,

i'm getting the following error

./runInstaller: line 254: /home/oracle/database/install/.oui: cannot execute binary file

i did a uname -r
2.6.32-100.34.1.el6uek.x86_64

I downloaded MOS from Oracle Support. I unzipped the file in MAC OS and then copied it to my home directory guest OEL 6 on VirtualBox.

Any help will be appreciated..

Tim... said...

Hi.

Note. OL6 is not yet certified. Don't do any real DB installations using it yet.

I don't get this issue. Looks like somewhere between the unzip and copy you got your permissions shot.

Either unzip directly on the Linux box you change the permissions on the media.

Cheers

Tim...

alok said...

Tim,

You were correct, i unzipped the file on Linux Box, and the error went away, then another error xhost protocol not defined. I still haven't found the fix yet but I will figure out. In the mean time i just ssh from another computer got the installation going. So far its looking good!! Thank you for the post!!


Chet said...

Tim,

I only did a basic installation of the OL6 per your tutorial - http://www.oracle-base.com/articles/linux/OracleLinux6Installation.php

Not sure if that has all the required packages for installing Oracle Database 11g Release 2. If I did not install all the required packages for 11g R2 during original install, can I install them later? If so how?

Tim... said...

Hi.

The article tells you how to install the necessary packages.

Cheers

Tim...

Ritesh said...

Hi Tim,

Is 11.2.0.2 certified on Redhat 6 as of now?

Thanks

Tim... said...

Hi.

Still not certified. You can check yourself on support.oracle.com, then click the "Certification" tab.

Cheers

Tim...

Arif Imam said...

Thanks Tim!
I installed 11.2.0.3 on OEL 6.1. All your rpm listed for 11.2.0.2 were just fine, however I found that compat-libcap* was missing in the list.

Tim... said...

Hi.

Interesting. I didn't notice that from my installation, so I'm wondering if there was a package group you didn't select. I've added it to the list anyway, just in case.

Cheers

Tim...

Marouan said...

thanks a lot Tim , i'm a newbie in DBA world and i was trying to make this installation successful for 4 days now , yeah i'm a noob :D but finnaly i get it to work .
i just want to add one thing for those who struggle with INSTALLING THE PACKAGES :
use YUM wich is a powerful tool , it install packages AND their dependencies . take a look at http://public-yum.oracle.com/ for setup

Marouan said...

one more thing Tim , if you can comment some commands that you see important with a little of explanation , it would be great .. thanks again

mahesh said...

hi
i got RHEL 5 Enterprise Server
at time of installation of oracle 11gr2 the following error is firing up
/runInstaller: line 254: /home/oracle/database/install/.oui: cannot execute binary file...

Any help will be appreciated..

Tim... said...

Hi.

Why would you follow an OL/RHEL6 guide when there is a OL/RHEL5 guide?

http://www.oracle-base.com/articles/11g/OracleDB11gR2InstallationOnEnterpriseLinux5.php

Cheers

Tim...

Apprentice said...

If you are installing on RHEL/OEL6 x86_64, you can save yourself a lot of time up front by installing packages that Tim noted for both X86_64 and i686. Installer will then be happy. Great install guide.

SJ said...

Hi

you wrote:
11.2.0.2: The installer should only show a single "missing package" failure for the "pdksh" package. It can be ignored because we installed the "ksh" package in its place.
11.2.0.3: The installer shows no failures and continues normally.

11.2.0.3 still asking for the "pdksh" !!!

Tim... said...

Hi.

What can I say. I did not get that issue. Provided you have installed the ksh package, it is not an issue anyway and can be ignored.

Cheers

Tim...

Adrie T said...

I tried to install grid infrastructure ver 12.0.1 using this guide on OL 6.2 x86_64 and also in OL 6.2 i686 and both instalation fail.
The instalation fail when it tried to start ohasd. I haven't tried this with ver 12.0.3. Since Oracle has been certified 11gR2 on OL 6 I just courious which version Oracle has certified ? I don't find any information about that.
Did somebody have any information ?

Tim... said...

Hi.

Oracle 12.x? You mean 12c Beta? I've not used it so I can't comment.

Oracle has only certified 11.2.0.3 on OL6/RHEL6.

Cheers

Tim...

Samim said...

who is the user for Unzip the oracle .rmp files as root or oracle
I am new in oracle and linux
can u please anyone help me
thanks

Tim... said...

Hi.

RPMs are OS packages, so they always installed by root.

The Oracle database software is typically unzipped by the "oracle" user.

Cheers

Tim...

Kyle Hailey said...

Few error codes from silent install
1) error code 35: machine name wasn't in /etc/hosts
2) error code 37: DNS not working
3) successful but no database created and sqlplus gives "sqlplus: error while loading shared libraries: libclntsh.so.11.1" , gcc missing during install, do "yum install gcc"

also would be nice to include a silent response file but at 400 char limit here, don't have space

Kyle Hailey said...

PS iptables was turned out by default, which annd
connecting to instance from other machines gave

TNS-12560: TNS:protocol adapter error
TNS-12543: TNS:destination host unreachable

Turn it off:
# service iptables stop
# chkconfig iptables off
# iptables -F
# service iptables save

see: http://www.dba-village.com/village/dvp_forum.OpenThread?ThreadIdA=46883

Kyle Hailey
http://dboptimizer.com

Tim... said...

Hi.

I've emailed you direct. Looks like your missed out some of the prerequisites. The articles says to have SELinux and the firewall disabled. The articles links to an example of the OS install that includes those instructions. :)

Cheers

Tim...

emre said...

after following manual setup of your directions I was never able to restart or open vm again.
your mention of /etc/security/limit.d/config is totaly wrong

Tim... said...

Hi.

It works fine for me and it is a recommendation from oracle, as described in the MOS note. I think you must have done something wrong.

Cheers

Tim..

Rovshan Pashayev said...

libXext.so.6: cannot open shared object file: No such file or directory ??? HELP

Tim... said...

Hi.

If you have run the "yum install oracle-rdbms-server-11gR2-preinstall" you will have this already.

If you have installed the same package groups I did you will already have this.

You can install it manually with "yum install libXext".

Cheers

Tim...

Tonny. said...

Hi Tim,

Oracle 11.2.0.4 complete install
p13390677_112040_Linux-x86-64_1of7
p13390677_112040_Linux-x86-64_2of7

just for an update on your list of versions.

Cheers Tonny.

Tim... said...

Hi.

Thanks for that. I've added it. :)

Cheers

Tim...

man said...

while installing oracle databse ..i am getting error ORCALE_BASE geeting start html nt found

Tim... said...

Hi.

Not enough information to comment. Please ask the question with some more detail in the forum, not here in the comments.

Cheers

Tim...

Nico said...

Hi.
Concerning Oracle 11.2.0.4 the list of files is bad.
It should be :
p13390677_112040_Linux-x86-64_1of7.zip
p13390677_112040_Linux-x86-64_3of7.zip

The file p13390677_112040_Linux-x86-64_2of7.zip concern Oracle RAC.

Tim... said...

Hi.

You are confused. If you check the patch note it says file 1of7 and 2of7 are database. File 3of7 is Grid.

The first two files being for the database has been common for quite some time now, as shown by the other patches...

Read the patch note again and you will see your mistake.

Cheers

Tim...
Prepared Statement Error: Table './oraclebasecms/cms_page_comment_uuids' is marked as crashed and should be repaired