Comments for Oracle Database 12c Release 1 (12.1) Installation On Oracle Linux 7 (OL7)
RikTheHib said...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.
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 188.8.131.52, which is what you should be installing now as it is available from OTN.
AVman said...On your ctx.mk error correction field, the right syntax will be (instead of --W1),
Also, I had to install an enchilada of zlib and zlib-devel libraries on top of what you mentioned.
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.
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:
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.
Oracle 12c 184.108.40.206
Oralce Linux 7 (x86_64)
Not really. I've not done a 220.127.116.11 install for ages. I use 18.104.22.168 now. Why are you still using 22.214.171.124 when 12/1/0/2 is available for download from OTN? Is this an SE installation?
Louis said...Hi Tim,
126.96.36.199 is available only for "Enterprise Edition", I'm trying to install a "Standat Edition"
Thanks in advance
The certification matrix on MOS says 188.8.131.52 (EE or SE) is NOT certified on OL7. If you need to install SE, you MUST use OL6, until such a time as the 184.108.40.206 patch is released for SE.
I did exactly as the the article said, but I got this error:
" bash: ./runInstaller: Permission denied "
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
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
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?
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...
SajjaD said...What about hostname and bash profile configurations?
[oracle@sajjadpc database2]$ cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
[oracle@sajjadpc database2]$ hostname
What hostname I have to set for in bash profile and hostname?
It must match the result of the "hostname" command. That will not cause permission denied though.
SajjaD said...When I run this command:
chmod u+x runInstaller
After that I got this:
./runInstaller: 249: ./runInstaller: /home/oracle/database/install/.oui: Permission denied
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.
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.
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. :)
Karel said...Yea you are definately going to need zlib-devel.i686 zlib-devel.x86_64 when installing SE on RHEL7.1
I've added it to the list. It must have been included already with one of my package groups, because I didn't have this problem, but it's worth including if it helps others.
Thomas C. said...Addon to the Oracle Linux 7 installation when Error
Error in invoking target 'install' of makefile '/u01/app/oracle/product/220.127.116.11/db_1/ctx/lib/ins_ctx.mk' arrive and
it will not be possible to continue i found here => https://community.oracle.com/thread/3724599 why
it works for me to continue ..
"yum install zlib-devel -y"
If you've done the same OS installation as me, this will already be done. Just to be on the safe side I've added a note to say run all the YUM commands from the manual setup section, which will definitely sort this out. :)
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!