Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3559955
  • 博文数量: 715
  • 博客积分: 1860
  • 博客等级: 上尉
  • 技术积分: 7745
  • 用 户 组: 普通用户
  • 注册时间: 2008-04-07 08:51
个人简介

偶尔有空上来看看

文章分类

全部博文(715)

文章存档

2023年(75)

2022年(134)

2021年(238)

2020年(115)

2019年(11)

2018年(9)

2017年(9)

2016年(17)

2015年(7)

2014年(4)

2013年(1)

2012年(11)

2011年(27)

2010年(35)

2009年(11)

2008年(11)

最近访客

分类: Oracle

2022-07-29 19:11:19

一个备库,检查发现日志不断出现以下告警:

  1. Errors in file /oracle/app/oracle/diag/rdbms/orcldg/orcldg/trace/orcldg_ora_126106.trc:
  2. ORA-15025: could not open disk "/dev/asm-diskf"
  3. ORA-27041: unable to open file
  4. Linux-x86_64 Error: 13: Permission denied
  5. Additional information: 3
  6. Errors in file /oracle/app/oracle/diag/rdbms/orcldg/orcldg/trace/orcldg_ora_126106.trc:
  7. ORA-15025: could not open disk "/dev/asm-diskf"
  8. ORA-27041: unable to open file
  9. Linux-x86_64 Error: 13: Permission denied
  10. Additional information: 3
  11. WARNING: failed to read mirror side 1 of virtual extent 7 logical extent 0 of file 256 in group [1.1312465768] from disk DATA_0003 allocation unit 67556 reason error; if possible, will try another mirror side
  12. Fri Jul 29 17:49:03 2022
  13. Errors in file /oracle/app/oracle/diag/rdbms/orcldg/orcldg/trace/orcldg_ora_126495.trc:
  14. ORA-15025: could not open disk "/dev/asm-diskf"
  15. ORA-27041: unable to open file
  16. Linux-x86_64 Error: 13: Permission denied
  17. Additional information: 3
  18. Errors in file /oracle/app/oracle/diag/rdbms/orcldg/orcldg/trace/orcldg_ora_126495.trc:
  19. ORA-15025: could not open disk "/dev/asm-diskf"
  20. ORA-27041: unable to open file
  21. Linux-x86_64 Error: 13: Permission denied
  22. Additional information: 3
  23. WARNING: failed to read mirror side 1 of virtual extent 7 logical extent 0 of file 256 in group [1.1312465768] from disk DATA_0003 allocation unit 67556 reason error; if possible, will try another mirror side
每30秒就出现一次,而且每次都是diskf,简单看一眼 ls -l /dev/asm-diskf 权限正常,

  1. [root@db01 ~]# ls -l /dev/|grep asm
  2. lrwxrwxrwx 1 root root 3 Jul 29 16:55 asm-diske -> sdf
  3. lrwxrwxrwx 1 root root 3 Jul 29 16:55 asm-diskf -> sdg
  4. lrwxrwxrwx 1 root root 3 Jul 29 16:55 asm-diskg -> sdh
  5. lrwxrwxrwx 1 root root 3 Jul 29 16:55 asm-diskh -> sdi
  6. brw-rw---- 1 grid asmadmin 8, 80 Jul 29 17:49 sdf
  7. brw-rw---- 1 grid asmadmin 8, 96 Jul 29 17:49 sdg
  8. brw-rw---- 1 grid asmadmin 8, 112 Jul 29 17:49 sdh
  9. 。。。
dg状态正常。

看看这个trc文件中有啥线索没

  1. [root@db02 ~]# cat /oracle/app/oracle/diag/rdbms/orcldg/orcldg/trace/orcldg_ora_108564.trc
  2. Trace file /oracle/app/oracle/diag/rdbms/orcldg/orcldg/trace/orcldg_ora_108564.trc
  3. Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
  4. With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
  5. Data Mining and Real Application Testing options
  6. ORACLE_HOME = /oracle/app/oracle/product/11.2.0/db_1
  7. System name: Linux
  8. Node name: db02
  9. Release: 2.6.32-696.el6.x86_64
  10. Version: #1 SMP Tue Feb 21 00:53:17 EST 2017
  11. Machine: x86_64
  12. VM name: VMWare Version: 6
  13. Instance name: orcldg
  14. Redo thread mounted by this instance: 1
  15. Oracle process number: 56
  16. Unix process pid: 108564, image: oracle@db02 (TNS V1-V3)


  17. *** 2022-07-29 17:08:37.046
  18. *** SESSION ID:(6.809) 2022-07-29 17:08:37.046
  19. *** CLIENT ID:() 2022-07-29 17:08:37.046
  20. *** SERVICE NAME:(SYS$USERS) 2022-07-29 17:08:37.046
  21. *** MODULE NAME:(sqlplus@db02 (TNS V1-V3)) 2022-07-29 17:08:37.046
  22. *** ACTION NAME:() 2022-07-29 17:08:37.046
  23.  
  24. WARNING: failed to open a disk[/dev/asm-diskf]
  25. ORA-15025: could not open disk "/dev/asm-diskf"
  26. ORA-27041: unable to open file
  27. Linux-x86_64 Error: 13: Permission denied
  28. Additional information: 3
  29. kfk_debug_get_user_groups: uid:10050, euid:502, gid:10050, egid:1001
  30. WARNING: failed to open a disk[/dev/asm-diskf]
  31. ORA-15025: could not open disk "/dev/asm-diskf"
  32. ORA-27041: unable to open file
  33. Linux-x86_64 Error: 13: Permission denied
  34. Additional information: 3
  35. kfk_debug_get_user_groups: uid:10050, euid:502, gid:10050, egid:1001
  36. WARNING: disk locally closed resulting in I/O error
  37. WARNING: Read Failed. group:1 disk:3 AU:67556 offset:532480 size:8192
  38. path:Unknown disk
  39.          incarnation:0x57da53a8 synchronous result:'I/O error'
  40.          subsys:Unknown library iop:0x7f3be4747000 bufp:0x2146f0000 osderr:0x0 osderr1:0x0
  41. WARNING: failed to read mirror side 1 of virtual extent 7 logical extent 0 of file 256 in group [1.1312465768] from disk DATA_0003 allocation unit 67556 reason error; if possible, will try another mirror side
  42. DDE rules only execution for: ORA 1110
  43. ----- START Event Driven Actions Dump ----
  44. ---- END Event Driven Actions Dump ----
  45. ----- START DDE Actions Dump -----
  46. Executing SYNC actions
  47. ----- START DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (Async) -----
  48. Successfully dispatched
  49. ----- END DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (SUCCESS, 0 csec) -----
  50. Executing ASYNC actions

根据uid信息可以看出关联的用户grep 10050 /etc/passwd
是一个sdata用户,ps -ef|grep sdata 看到启动的zabbix相关进程(我就不点名批评奇点了)

此备库原先应该是一套RAC,节点2估计是废弃了,只有节点1在运行,数据文件都在asm磁盘组上

检查文件权限
[oracle@db01 ~]$ ls -l $ORACLE_HOME/bin/oracle
-rwsr-s--x 1 oracle oinstall 242786629 Jul  3  2021 /oracle/app/oracle/product/11.2.0/db_1/bin/oracle
[oracle@db01 ~]$ chown oracle:asmadmin $ORACLE_HOME/bin/oracle

烦人的Permission denied消失,连 chmod 6751 $ORACLE_HOME/bin/oracle 都没用上。

阅读(1033) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~