烦人的permission denied-凯发app官方网站

凯发app官方网站-凯发k8官网下载客户端中心 | | 凯发app官方网站-凯发k8官网下载客户端中心
  • 博客访问: 3502847
  • 博文数量: 718
  • 博客积分: 1860
  • 博客等级: 上尉
  • 技术积分: 7790
  • 用 户 组: 普通用户
  • 注册时间: 2008-04-07 08:51
个人简介

偶尔有空上来看看

文章分类

全部博文(718)

文章存档

2024年(4)

2023年(74)

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 都没用上。

阅读(930) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~
")); function link(t){ var href= $(t).attr('href'); href ="?url=" encodeuricomponent(location.href); $(t).attr('href',href); //setcookie("returnouturl", location.href, 60, "/"); }
网站地图