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

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)