您的位置:首页 > 数据库 > Oracle

11.2 RAC 修改了目录权限(u01)后crs不能启动的解决方法

2014-10-19 14:21 435 查看
1.使用root.sh 修复

2.手工修改权限

首先修改/u01目录为grid:oinstall,并修改/u01/app/oracle为oracle:oinstall
chown -Rgrid:oinstall /u01
chown -Roracle:oinstall /u01/app/oracle
cd /u01/app/11.2.0/grid/log/lunardb1/crsd
chown root:root *
cd ../ohasd
chown root:root *

cd agent/crsd/orarootagent_root
chown root:root *
cd/u01/app/11.2.0/grid/log/lunardb1/agent/ohasd/orarootagent_root
chown root:root *
cd $GRID_HOME/bin
chown root:oinstall oradism
chmod 4750 oradism 
chmod 6751
$GRID_HOME/bin/oracle

官方给的推荐方法就是removenodes and add nodes:
Thepermissions can be reverted back to original values with rootcrs.pl orroothas.pl . There is a option -init :    
Resetthe permissions of all files and directories under Oracle CRS/HA home. 
forGRID:
rootcrs.pl-init  
ForStandalone Grig:
roothas.pl  -init  
If that does not work then permissions can be altered manually with information found  from crsconfig_fileperms and crsconfig_dirs files.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  oracle 数据库 database