Running the root.sh script

After successfully running an Oracle client or server installation, you must run the root.sh script.

About this task

To run the root.sh script:

Procedure

  1. Log in as root or as superuser.
  2. Change to the directory where Oracle server files were installed.
    The directory that is set in the ORACLE_HOME environment variable. For example,
    # cd /opt/oracle/product/18.0.0
  3. Run the following command:
    1. Run the following command:
      # ./root.sh

      The output for the root.sh script can be seen from the log file created.

    2. Check the following log file for the output of root script: /opt/oracle/product/18.0.0/install/root_ <server_hostname>_<timestamp>.log
    3. The following is an example of the content of the log:
      Performing root user operation.
      
      The following environment variables are set as:
          ORACLE_OWNER= oracle
          ORACLE_HOME=  /opt/oracle/product/18.0.0
         Copying dbhome to /usr/local/bin ...
         Copying oraenv to /usr/local/bin ...
         Copying coraenv to /usr/local/bin ...
      
      Entries will be added to the /etc/oratab file as needed by
      Database Configuration Assistant when a database is created
      Finished running generic part of root script.
      Now product-specific root actions will be performed.
      Oracle Trace File Analyzer (TFA) is available at : 
      /opt/oracle/product/18.0.0/suptools/tfa/release/tfa_home/bin/tfactl