How do I check my DB status?
Checking the database status
- As user root, ensure that the log and tmp directories that are used by the script are owned by the Oracle: owner user, by default oracle:dba. …
- As user oracle, enter the following command to ensure that the environment variable ORACLE_SID is set.