• ORA-15025: could not open disk "/dev/asm***"--转载


    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

    问题解决!

  • 相关阅读:
    小程序开发为何使用RPX
    C#判断网址是否可以访问
    [golang]go语言的channel学习
    tensorflow中图像增强的方法详解
    kaggle无法下载数据集解决办法
    keras模型中的model.fit()和model.fit_generator()的区别
    Keras.metrics中的accuracy总结
    Python 字符串前面加u,r,b,f的含义
    损失函数:binary_crossentropy、categorical_crossentropy、sparse_categorical_crossentropy
    jupyter代码自动补全
  • 原文地址:https://www.cnblogs.com/future2012lg/p/6063636.html
Copyright © 2020-2023  润新知