1.现象:升级完JavaVM补丁之后,db启动报错
SQL> startup ORACLE instance started. Total System Global Area 1.3362E+10 bytes Fixed Size 2240984 bytes Variable Size 7247760936 bytes Database Buffers 6106906624 bytes Redo Buffers 4935680 bytes ORA-00205: error in identifying control file, check alert log for more info
2.db alert日志如下:
ORA-00210: cannot open the specified control file ORA-00202: control file: '+DATADG/sg3pd/controlfile/current.260.790090209' ORA-17503: ksfdopn:2 Failed to open file +DATADG/sg3pd/controlfile/current.260.790090209 ORA-15001: diskgroup "DATADG" does not exist or is not mounted ORA-15055: unable to connect to ASM instance ORA-01034: ORACLE not available ORA-27123: unable to attach to shared memory segment Linux-x86_64 Error: 13: Permission denied ORA-205 signalled during: ALTER DATABASE
3.asm实例正常启动
$ps -ef| grep smon root 26666 1 0 16:25 ? 00:00:34 /apps/opt/grid/product/11.2.0/bin/osysmond.bin grid 27105 1 0 16:26 ? 00:00:00 asm_smon_+ASM2 oracle 27223 32077 0 19:26 pts/0 00:00:00 grep smon
4.查看oracle可执行文件
[oracle@rac1 ~]$ ls -l $ORACLE_HOME/bin/oracle -rwsr-s--x 1 oracle oinstall 242826331 Sep 27 16:23 /u01/app/oracle/product/11.2.0/db_1/bin/oracle
5.解决办法
(1)关闭集群
crsctl stop crs
(2)文件重新赋权
#chmod 6751 /apps/opt/grid/product/11.2.0/bin/oracle
(3)重启集群
crsctl start crs