ORA-15025: could not open disk "/dev/asm***"
来源:互联网 发布:pywin32 知乎 编辑:程序博客网 时间:2024/05/25 21:32
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
- ORA-15025: could not open disk "/dev/asm***"
- ORA-15025: could not open disk "/dev/asm***"
- ORA-15025: could not open disk"...." ORA-27041: unable to open file Linux-x86_64 Error: 13: Permiss
- qemu: could not open disk image
- qemu: could not open disk image
- virt-install could not open disk image
- virt-install could not open disk image
- Could not find /dev/disk/by-id/故障处理过程
- could not open parameter file initOrcl.ora
- could not open parameter file init**.ora
- could not open parameter file initorcl.ora
- qemu: could not open disk image 错误解决方法
- qemu-kvm(in libvirt)could not open disk image
- ASM删除磁盘报错:ORA-15054: disk "ORCL:VOL2" does not exist in diskgroup "DATA"
- ipmitool启动报错"Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0: No"
- VirtualBox 启动报错 could not find an open hard disk with uuid 解决方法
- Eclipse无法启动AVD qemu: could not open disk image(Ubuntu12.04)
- VirtualBox 启动报错 could not find an open hard disk with uuid 解决方法
- android的AIDL的一点心得
- echarts tooltip trigger: 'axis'没有作用
- 适配器模式(Adapter Pattern)- 最易懂的设计模式解析
- iOS修行---Auto Layout学习1
- ajax提交json数据并使用Springmvc接收实例
- ORA-15025: could not open disk "/dev/asm***"
- 搭建SSH三大框架WEB项目过程(Struts2.3+Hibernate4.3+Spring4.1)
- PAT A1073. Scientific Notation (20)
- Dagger2
- ruby on rails 常用的记录
- db2中关于递归(with)的使用
- 缓存图片解决方案(来自stackoverflow)
- Sass-@for,@while,@each
- AndroidStudio2.2.3 的使用