首页 > 数据库 > > 管理(006):启用只读Oracle Home目录
在启用只读 Oracle Home 目录之前,Oracle Home不应创建任何数据库或Listener
$ cd $ORACLE_HOME/bin $ ./roohctl -enable
$ cd $ORACLE_HOME/bin $ ./orabasehome如果orabasehome命令的输出与 $ORACLE_HOME相同,则Oracle Home目录处于读/写模式。 如果输出显示路径ORACLE_BASE/ homes/HOME_NAME,则表示您的Oracle Home目录处于只读模式。
| 目录 | Read/Write Oracle Home 文件路径 | 只读 Oracle Home 文件路径 |
| ORACLE_HOME | /refresh/home/oracle/product/18.0.0/dbhome_1 | /refresh/home/oracle/product/18.0.0/dbhome_1 |
| ORACLE_BASE | /refresh/home/oracle/ | /refresh/home/oracle/ |
| ORACLE_BASE_HOME |
ORACLE_HOME(或者)
/refresh/home/oracle/product/18.0.0/dbhome_1 |
ORACLE_BASE/homes/HOME_NAME(或者)
/refresh/home/oracle/homes/OraDB18Home1 |
| ORACLE_BASE_CONFIG |
ORACLE_HOME (或者)
/refersh/home/oracle/product/18.0.0/dbhome_1 |
ORACLE_BASE (或者)
/refresh/home/oracle/ |
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/31490526/viewspace-3138643/ ,如需转载,请注明出处,否则将追究法律责任。