After successfully running an Oracle client or server installation,
you must run the root.sh script.
About this task
This step is also required after an Oracle patch installation.
See Verify the required operating system packages.
To run the root.sh script:
Procedure
- Log in as root or become superuser. Set the DISPLAY environment
variable.
- Change to the directory where Oracle server files were
installed. (This is the directory as set in the ORACLE_HOME environment
variable.) For example:
# cd /opt/oracle/product/12.1.0
- Run the following command:
./root.sh
Messages
like the following are displayed:
Running Oracle12c root.sh script...
# ./root.sh
Check /opt/oracle/product/12.1.0/install/root_
<server_hostname>_2014-03-18_13-45-04.log for the output of root script
File contents:
Performing root user operation for Oracle 12c
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /opt/oracle/product/12.1.0
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.
Finished product-specific root actions.