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
-
Log in as
rootor as superuser. -
Change to the directory where Oracle server files were installed.
The directory that is set in the
ORACLE_HOMEenvironment variable. For example,# cd /opt/oracle/product/18.0.0 -
Run the following command:
- Run the following command:
# ./root.shThe output for the root.sh script can be seen from the log file created.
- Check the following log file for the output of root script:
/opt/oracle/product/18.0.0/install/root_ <server_hostname>_<timestamp>.log - 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
- Run the following command: