Chaps - great article but I couldn't get the relinking to work until I downloaded the preinstall package:
# yum install oracle-rdbms-server-12cR1-preinstall

The doc says it's for Linux 6 but the package comes down for "el7".
After this the install ran fine with the env_rdbms.mk file mods.

Tim... said...

Hi.

The oracle-rdbms-server-12cR1-preinstall package is not yet in the OL7 yum repository, so I guess you downloaded it from the OL6 repository...

Also, you don't need the relink if you install 12.1.0.2, which is what you should be installing now as it is available from OTN.

Cheers

Tim...

AVman said...

On your ctx.mk error correction field, the right syntax will be (instead of --W1),
LINK=$(LDCCOM) -Wl,--no-as-needed
Also, I had to install an enchilada of zlib and zlib-devel libraries on top of what you mentioned.

Tim... said...

Hi.

My text does say "Wl". Put the text into an editor and Ucase it. You will see it is a lower case "L". It is the monospace font that makes it look like a one. :)

I've not needed those extra libraries. You must be picking a different base installation to me.

Cheers

Tim...

AVman said...

Thanks Tim. Good thing, I copied your -Wl part and pasted it, otherwise I would have scratched my head for another 10 minutes to figure out the error. Regarding you other comments, I think you are right. Linux should have a common "almost complete" base install. Too many install option creates an heterogeneous echosystem.

Travis said...

Great tutorial! I spent 3 days with Oracle "installation guides"...

Anyway I ran into an error with the Oracle Database Configuration Assistant failing with error INS-20802.

Looking through the trace file I saw:
java.lang.InternalError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.

Not sure why but this fixed me right up:
xhost +

Louis said...

Thanks for the articule it's great.

But I followed util I can't continue, I'm still getting the "Error in invoking target 'install' of makefile "

I add "--Wl,--no-as-needed" but the error continue.

Any Idea?

Oracle 12c 12.1.0.1
Oralce Linux 7 (x86_64)

Tim... said...

Hi.

Not really. I've not done a 12.1.0.1 install for ages. I use 12.1.0.2 now. Why are you still using 12.1.0.1 when 12/1/0/2 is available for download from OTN? Is this an SE installation?

Cheers

Tim...

Louis said...

Hi Tim,

12.1.0.2 is available only for "Enterprise Edition", I'm trying to install a "Standat Edition"

Thanks in advance

Tim... said...

Hi.

The certification matrix on MOS says 12.1.0.1 (EE or SE) is NOT certified on OL7. If you need to install SE, you MUST use OL6, until such a time as the 12.1.0.2 patch is released for SE.

Cheers

Tim...

SajjaD said...

Hi.
I did exactly as the the article said, but I got this error:
" bash: ./runInstaller: Permission denied "
Any idea?

Tim... said...

Hi.

Looks like you have unzipped the software as another user, so the Oracle user doesn't have permission to execute the installer. Change the ownership of the unzipped media.

chown -R oracle.oinstall /path/to/software/database

Cheers

Tim...

SajjaD said...

I changed the owner of oracle database folder but still I get "Permission denied "

Tim... said...

Does it have execute permission?

chmod u+x runInstaller

Cheers

Tim...

SajjaD said...

Still getting "Permission denied ".
I installed Oracle Linux 7.1 in virtualbox, created a local user "oracle" and installed "oracle-rdbms-server-12cR1-preinstall" package from the .iso file that installed the OS.
I don't know what is wrong?

Tim... said...

Hi.

I don't know what to say. The instructions are correct. You must have done something wrong. How can a file with execute permissions not have execute permissions. I've done this several time and so have others. It just works...

It must match the result of the "hostname" command. That will not cause permission denied though.

Cheers

Tim...

SajjaD said...

When I run this command:
chmod u+x runInstaller
After that I got this:
oracle@sajjad-v:~/database$ ./runInstaller
./runInstaller: 249: ./runInstaller: /home/oracle/database/install/.oui: Permission denied

Tim... said...

Hi.

I don't know what you have done, but it seems like it is messed up big style. All I can suggest is you go back and check *everything*. You need to have done the OS installation the way I said, with SELinux set to permissive. If that is not the answer I don't know what to suggest. I've never had this problem.

Cheers

Tim...

SajjaD said...

I run this command and:
chmod -R 777 /home/oracle/database
My problem has gone and I installed it successfully

Thank you so much Tim

ahsiang said...

Hi, great steps by steps that helps me get things done. A suggestion though.

You may want to create a separate filesystem and have it as u01 so that it will not be on the default / folder which by default could be small. Eg, The default linux installation has only 20GB in it (depends on the total harddisk). If you do not create a new filesystem, it will go into / and you may have problem later.

Tim... said...

Hi.

Yes. Typically, the only thing in "/" is the OS and all other mount points (/u01 - /uNN) are LUNs presented from SAN, so this is not an issue normally.

The mount points here are purposely kept simple for people to follow in a quick test VM. I'll put a note in there in case anyone falls foul of it. :)

Cheers

Tim...

DO NOT ask technical questions here! They will be deleted!

These comments should relate to the contents of a specific article. Constructive criticism is good. Advertising and offensive comments are bad and will be deleted!