/
Read-Only Oracle Home issue
Read-Only Oracle Home issue
Oracle 18c introduced the concept of a read-only Oracle home, where all configuration and log files can be kept separate from the Oracle binaries.
Read-only Oracle homes are the default in Oracle 21c onward.
Issue:
Read-Only oracle home creates spfile, lock files and other logs in $ORACLE_BASE/dbs directory instead of $ORACLE_HOME hence causing issue when VDB needs to be restarted.
Determine if ORACLE_HOME is read-only:
$ cd $ORACLE_HOME/bin
$ ./orabasehome
/home/oracle/homes/OraDB21Home1
In this example, the Oracle home is in read-only mode, since you can see it goes into $ORA_BASE/homes
Solution:
Disable Read-Only ORACLE_HOME.
cd $ORACLE_HOME/bin
./roohctl -disable
This should generate a message about successfull disable of read-only home:
[oracle@localhost bin]$ ./roohctl -disable
Disabling Read-Only Oracle home.
Update orabasetab file to disable Read-Only Oracle home.
Orabasetab file has been updated successfully.
Read-Only Oracle home has been disabled successfully.
Check the log file /home/oracle/cfgtoollogs/roohctl/roohctl-230517PM125220.log for more details.
, multiple selections available,
Related content
GI creation fails because sqlplus cannot connect to the database, error ORA-12547: TNS:lost contact
GI creation fails because sqlplus cannot connect to the database, error ORA-12547: TNS:lost contact
More like this
PL/SQL package SYS.DBMS_RCVMAN version 19.18.00.00 is too old
PL/SQL package SYS.DBMS_RCVMAN version 19.18.00.00 is too old
More like this
Installation Guide
Installation Guide
Read with this
VDB is failing to start, reports error ORA-03135: connection lost contact
VDB is failing to start, reports error ORA-03135: connection lost contact
More like this
VDB Creation fails in Oracle 12.1 and 12.2 if during RMAN backup job new datafiles have been added
VDB Creation fails in Oracle 12.1 and 12.2 if during RMAN backup job new datafiles have been added
More like this
Oracle Version 12.1.0.2 - RMAN Recovery fails with ORA-1610
Oracle Version 12.1.0.2 - RMAN Recovery fails with ORA-1610
More like this