Oracle Database 11g Release 2 Installation on RHEL/CentOS 6.x/5.x/4.x

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.95/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Narad Shrestha

He has over 10 years of rich IT experience which includes various Linux Distros, FOSS and Networking. Narad always believes sharing IT knowledge with others and adopts new technology with ease.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

61 Responses

  1. reza says:

    ./runInstaller -silent -force -responsefile /home/oracle/database/response/db_install.rsp
    INFO: Setting variable ‘ROOTSH_LOCATION’ to ‘/u01/app/oracle/product/11.2.0.4/db_1/root.sh’. Received the value from a code block.
    INFO: Setting variable ‘ROOTSH_LOCATION’ to ‘/u01/app/oracle/product/11.2.0.4/db_1/root.sh’. Received the value from a code block.
    INFO: InstallProgressMonitor: Starting phase 2
    INFO: Installation in progress
    INFO: Installation in progress
    INFO: Extracting files to ‘/u01/app/oracle/product/11.2.0.4/db_1’.
    INFO: Extracting files to ‘/u01/app/oracle/product/11.2.0.4/db_1’.
    INFO: Performing fastcopy operations based on the information in the file ‘oracle.server_EE_exp_1.xml’.
    INFO: Performing fastcopy operations based on the information in the file ‘racfiles.jar’.
    INFO: Performing fastcopy operations based on the information in the file ‘oracle.server_EE_dirs.lst’.
    INFO: Performing fastcopy operations based on the information in the file ‘oracle.server_EE_filemap.jar’.
    INFO: Performing fastcopy operations based on the information in the file ‘oracle.server_EE_1.xml’.
    INFO: Performing fastcopy operations based on the information in the file ‘setperms1.sh’.
    INFO: Number of threads for fast copy :1
    INFO: invalid distance code
    SEVERE: oracle.sysman.oii.oiif.oiifb.OiifbEndIterateException: invalid distance code
    at oracle.sysman.oii.oiic.OiicInstallAPISession.doOperation(OiicInstallAPISession.java:490)
    at oracle.sysman.oii.oiic.OiicAPIInstaller.doOperation(OiicAPIInstaller.java:1010)
    at oracle.sysman.oii.oiic.OiicAPIInstaller.doOperation(OiicAPIInstaller.java:971)
    at oracle.install.driver.oui.OUISetupDriver.setup(OUISetupDriver.java:459)
    at oracle.install.driver.oui.SetupJob.call(SetupJob.java:178)
    at oracle.install.driver.oui.SetupJob.call(SetupJob.java:52)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
    at java.util.concurrent.FutureTask.run(FutureTask.java:123)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:662)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:688)
    at java.lang.Thread.run(Thread.java:637)

    INFO: Update the state machine to STATE_READY
    INFO: isSuccessfullInstallation: false
    INFO: isSuccessfullRemoteInstallation: true
    INFO: Adding ExitStatus FAILURE to the exit status set
    INFO: Shutting down OUISetupDriver.JobExecutorThread
    SEVERE: [FATAL] invalid distance code
    CAUSE: No additional information available.
    ACTION: Refer to the logs or contact Oracle Support Services
    SUMMARY:
    – invalid distance code.
    Refer associated stacktrace #oracle.install.commons.util.exception.DefaultErrorAdvisor:6214
    INFO: Advice is ABORT
    SEVERE: Unconditional Exit
    INFO: Adding ExitStatus FAILURE to the exit status set
    INFO: Adding ExitStatus SUCCESS_WITH_WARNINGS to the exit status set
    INFO: Finding the most appropriate exit status for the current application
    INFO: Exit Status is -1
    INFO: Shutdown Oracle Database 11g Release 2 Installer

    pls help

  2. Harsh says:

    I tried installing on Cent0S 6.6, Getting below error at 6th step of installation :

    [INS-32021 ]Insufficient disk space on this volume for selected Oracle home
    

    Output of df -h looks like :

    Filesystem      Size  Used Avail Use% Mounted on
    /dev/sda2        18G   14G  3.1G  82% /
    
  3. Hugo González says:

    Excellent, I installed it on CentOS 6.8 and this step by step work correctly.

    Congratulations on this article.

    Regards,
    Hugo González
    Caracas,
    Venezuela

  4. Julio Reyes says:

    Seems that wget https://public-yum.oracle.com/public-yum-ol6.repo is not working anymore

    • Ravi Saive says:

      @Julio,

      The repository is working fine, I just checked the repo and its showing the content as:

      [ol6_latest]
      name=Oracle Linux $releasever Latest ($basearch)
      baseurl=http://yum.oracle.com/repo/OracleLinux/OL6/latest/$basearch/
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
      gpgcheck=1
      enabled=1
      [ol6_addons]
      name=Oracle Linux $releasever Add ons ($basearch)
      baseurl=http://yum.oracle.com/repo/OracleLinux/OL6/addons/$basearch/
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
      gpgcheck=1
      enabled=0
      ...
      
  5. Kamal says:

    Hello Sir,

    if we choose the option of Install software only at during the installation of Oracle 11G data base after which command is used to create the database.

    Can you help to sort out my query.

  6. Raju says:

    Hi narad,

    I am getting the dependency errors while installing Oracle 11g on CentOS 7
    can you help me how to solve these issues

    Thanks in advance

    • Ravi Saive says:

      @Raju,

      What dependency errors you getting on the screen while installing Oracle 11g? could you share the error output with us? so that we can help you out.

  7. elem says:

    Hello Everyone.

    Good day.

    I am new to Oracle and I am on the way of installing Oracle Database 12C. I would like just like to know if the files that I have download [linuxamd64_12c_database_1of2.zip and linuxamd64_12c_database_2of2.zip ] can be also installed in the Linux Server RHEL 6.7 just all using all the terminal? Because what I saw in the internet is that they do it in the terminal and then after some configurations, there will be a GUI for to continue the installation.. With my case, I am just connecting to server located remotely using ssh..

    Please advise.

    Thanks in advance for the help

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *