Symptoms:

打完补丁后,数据库报错ORA-15025,数据库无法启动.

alert日志信息:

Wed Jul22 16:26:57 2015

ORA-15025:could not open disk "/dev/12casm-diskb"

ORA-27041:unable to open file

Linux-x86_64Error: 13: Permission denied

Additionalinformation: 9

ORA-15040:diskgroup is incomplete

ORA-15040:diskgroup is incomplete

ORA-15040:diskgroup is incomplete

ORA-15040:diskgroup is incomplete

Wed Jul22 16:26:57 2015

ORA-15025:could not open disk "/dev/12casm-diskc"

ORA-27041:unable to open file

Linux-x86_64Error: 13: Permission denied

Additionalinformation: 9

Wed Jul22 16:26:57 2015

ORA-15025:could not open disk "/dev/12casm-diskd"

ORA-27041:unable to open file

Linux-x86_64Error: 13: Permission denied

Additionalinformation: 9

Wed Jul22 16:26:57 2015

ORA-15025:could not open disk "/dev/12casm-diske"

ORA-27041:unable to open file

Linux-x86_64Error: 13: Permission denied

Additionalinformation: 9

NOTE:Disk 0 in group 1 could not be opened.

WARNING:Failed to complete group 1

WARNING:group 1 is being dismounted.

WARNING:ASMB force dismounting group 1 (DATA) due to failed mount

SUCCESS:diskgroup DATA was dismounted

按理来说asm的磁盘文件用户和组为grid:asmadmin,oracle用户是没有权限访问的,因为oracle不属于asmadmin。

那为什么打补丁之前能够访问呢?

Cause:

经研究发现,这跟$ORACLE_HOME/bin/oracle这个文件的属性有关系:

在安装oracle soft之后:

$ORACLE_HOME/bin/oracle文件属性权限为oracle:oninstall 751(-rwxr-x--x)

在用安装ASM建库(DBCA)时:

此文件属性会自动被修改为oracle:asmadmin6751(-rwsr-s--x)

在PSU apply之后:

此文件属性又被自动被修改为oracle:oinstall751(-rwxr-x--x)

Solution:

chown oracle:asmadmin $ORACLE_HOME/bin/oracle

chmod 6751 $ORACLE_HOME/bin/oracle

重启一下crs

问题解决!

最新文章

  1. 安装HBase
  2. iOS 支付宝第三方使用步骤
  3. 【学】AngularJS日记(3)- $apply(), run()方法
  4. ASP.NET 操作Cookie详解 增加,修改,删除
  5. scala学习心得(2)
  6. 初学Hibernate持久化
  7. JS获取网页宽高方法集合
  8. phpStorm 各种快捷键
  9. Codeforces Round #368 (Div. 2)D. Persistent Bookcase DFS
  10. NOIP2017-普及组复赛第2题 题解
  11. windows7 创建http 服务器
  12. 【MySQL】查看支持的字符集show character set;
  13. 随记PC-win7 64位系统网络连接状态一直转圈、等待状态的异常解决方案
  14. UI自动化selenium
  15. 【Qt】QLabel之动态阴影边框
  16. 第12月第25天 ImagePickerSheetController
  17. 基于node-webkit的web项目打包方案
  18. readyState与status
  19. happypack 进一步 优化 build速率
  20. JavaScript ES6 核心功能一览(转)

热门文章

  1. grafana+graphit安装笔记
  2. quartz(1)
  3. 将jar包直接Buldpath所引起的问题
  4. 【转载】ANSYS 动力分析 (9) - 瞬态动力分析 (1)
  5. $.post() 传递多个参数.
  6. UIView详解
  7. 从NDK开始吧
  8. (转)The Neural Network Zoo
  9. MYSQL file types redo log
  10. Qt开发中的实用笔记一--xml,Qpainter,Delegate: