ORA-15025, ORA-27041

升级11.2.0.3.0的单实例grid到11.2.0.3.7的时候由于没有成功在打开db的时候报错如下:

[15:27:54]SQL> startup
[15:27:57]ORACLE instance started.
[15:28:06]
[15:28:06]Total System Global Area 2137886720 bytes
[15:28:06]Fixed Size                  2230072 bytes
[15:28:06]Variable Size            1124075720 bytes
[15:28:06]Database Buffers         1006632960 bytes
[15:28:06]Redo Buffers                4947968 bytes
[15:28:12]ORA-03113: end-of-file on communication channel
[15:28:12]Process ID: 13046
[15:28:12]Session ID: 125 Serial number: 3

在看alert日志报错如下:

ALTER DATABASE   MOUNT
NOTE: Loaded library: System
ORA-15025: could not open disk "/dev/asm-diskb"
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 9
ORA-15025: could not open disk "/dev/asm-diskc"
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 9
ORA-15025: could not open disk "/dev/asm-diskd"
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 9
ORA-15025: could not open disk "/dev/asm-diske"
ORA-27041: unable to open file
Linux-x86_64 Error: 13: Permission denied
Additional information: 9
SUCCESS: diskgroup DATA was mounted
NOTE: dependency between database zxy and diskgroup resource ora.DATA.dg is established
Errors in file /u01/app/oracle/diag/rdbms/zxy/zxy/trace/zxy_ckpt_29080.trc  (incident=54097):
ORA-00600: internal error code, arguments: [kfioTranslateIO03], [], [], [], [], [], [], [], [], [], [], []
Incident details in: /u01/app/oracle/diag/rdbms/zxy/zxy/incident/incdir_54097/zxy_ckpt_29080_i54097.trc
Use ADRCI or Support Workbench to package the incident.
See Note 411.1 at My Oracle Support for error and packaging details.
Wed Aug 28 17:13:30 2013
Sweep [inc][52898]: completed
Sweep [inc][52897]: completed
Sweep [inc2][52898]: completed
Sweep [inc2][52897]: completed
Errors in file /u01/app/oracle/diag/rdbms/zxy/zxy/trace/zxy_ckpt_29080.trc  (incident=54098):
ORA-00600: internal error code, arguments: [17090], [], [], [], [], [], [], [], [], [], [], []
Incident details in: /u01/app/oracle/diag/rdbms/zxy/zxy/incident/incdir_54098/zxy_ckpt_29080_i54098.trc
Dumping diagnostic data in directory=[cdmp_20130828171332], requested by (instance=1, osid=29080 (CKPT)), summary=[incident=54097].
Use ADRCI or Support Workbench to package the incident.
See Note 411.1 at My Oracle Support for error and packaging details.
ERROR: unrecoverable error ORA-600 raised in ASM I/O path; terminating process 29080
Dumping diagnostic data in directory=[cdmp_20130828171333], requested by (instance=1, osid=29080 (CKPT)), summary=[incident=54098].
PMON (ospid: 29058): terminating the instance due to error 469

首先是磁盘没有权限打不开,而且下面也有600的错误还是先解决权限的问题吧:

[grid@11gasm dev]$ ls -l asm*
brw-rw---- 1 grid asmadmin 8, 16 Aug 28 18:15 asm-diskb
brw-rw---- 1 grid asmadmin 8, 32 Aug 28 18:15 asm-diskc
brw-rw---- 1 grid asmadmin 8, 48 Aug 28 18:15 asm-diskd
brw-rw---- 1 grid asmadmin 8, 64 Aug 28 18:15 asm-diske
brw-rw---- 1 grid asmadmin 8, 80 Aug 28 18:15 asm-diskf

查看/bin/oracle的用户和组:

[grid@11gasm ~]$ ls -l /u01/app/oracle/product/11.2.0/db_1/bin/oracle
-rwxr-s--x 1 oracle oinstall 232617576 Aug 28 14:14 /u01/app/oracle/product/11.2.0/db_1/bin/oracle

可以看到其用户组是oinstall与设备的组权限不一样,接着执行下面的命令:

[grid@11gasm ~]$ /u01/app/11.2.0/grid/bin/setasmgidwrap o=/u01/app/oracle/product/11.2.0/db_1/bin/oracle

可以看到已经改变成asmadmin了:

[grid@11gasm ~]$ ls -l /u01/app/oracle/product/11.2.0/db_1/bin/oracle
-rwxr-s--x 1 oracle asmadmin 232617576 Aug 28 14:14 /u01/app/oracle/product/11.2.0/db_1/bin/oracle

尝试打开db也能正常的打开了,可怕的600错误也消失了。

 

 

你可能感兴趣的:(故障解决)