ORA-15055 Unable to Connect to ASM When Starting an Instance

简介: 尝试启动一个spfile 文件在asm 中的数据库时会遇到如下错误:ORA-01078: failure in processing system parametersORA-01565: error in identifying file '+DATA_ASM/gisqe1/spfilegisqe1.
尝试启动一个spfile 文件在asm 中的数据库时会遇到如下错误:

ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '+DATA_ASM/gisqe1/spfilegisqe1.ora'
ORA-17503: ksfdopn:2 Failed to open file +DATA_ASM/gisqe1/spfilegisqe1.ora
ORA-15055: unable to connect to ASM instance
ORA-15055: unable to connect to ASM instance
Error:      ORA-15055  (ORA-15055)
===========================================
Text:      unable to connect to ASM instance
---------------------------------------------------------------------------
Cause:    When accessing a diskgroup for the first time, the database was
    unable to connect to the required ASM instance.
Action:    Check the additional error messages. May need to configure
    correct ASM sid or make sure the database instance has OS
    privileges for ASM SYSDBA.
===========================================
相似的错误发生在实例尝试连接 ASM 来获取控制文件和数据文件时也会发生这样的错误,即使使用init.ora文件来代替在asm 中的spfile文件。ora-15055 错误经常发生在第一次连接asm 实例时。
原因:
以上错误可能是由于以下原因引起。
1)  ASM 用户 和ORACLE 用户不是同一个用户
2) oracle binary 的setuid 和 setgid 没有正确设置
例如:检查ASM_HOME/bin 目录的oracle binary的权限
ls -l oracle
结果用户和所属组应该有 s 标识,当asm 第一次被创建并且在创建的过程中没有错误发生,上述命令的结果应为:
-rwsr-s--x

解决方法:
执行一下步骤设置 oracle binary 文件的setuid 和setgid:
1) cd ASM_HOME/bin
2) chmod 6751 oracle
3) "ls -l oracle" should show -rwsr-s--x

目录
相关文章
|
Oracle 关系型数据库 数据库
Oracle中Error while performing database login with the XXXdriver; Listener refused the connection with the following error; ORA-12505,TNS:listener does
一次连接数据库怎么也连接不上,查了多方面资料,终于找到答案,总结 首先应该保证数据库的服务启动 在myeclipse的数据库视图中点 右键->new 弹出database driver的窗口, Driver template选择oracle(thin driver), Driver name 输入...
1101 0
|
文字识别
ALERT.LOG for ASM Shows "WARNING: failed to online diskgroup resource ora.GI.dg (unable to communica
APPLIES TO: OracleDatabase - Enterprise Edition - Version 11.2.0.1 to 12.
1303 0
|
Oracle 关系型数据库 数据库
rac11g错误:ORA-15097: cannot SHUTDOWN ASM instance with connected client
背景: 想停rac环境,之前10g都是用crs_stop -all 来停止,所以,这次也这样做的,没想到报了如下错误: [grid@rac2 ~]$ crs_stop -allCRS-2500: Cannot stop resource 'ora.
1100 0
|
SQL 关系型数据库 数据库
ORA-15149: another ASM instance found running on the host
【问题现象】 [grid@localhost ~]$ echo $ORACLE_SID +asm [grid@localhost ~]$ echo $ORACLE_HOME /u01/app/11.
1097 0
|
SQL Oracle 关系型数据库
Oracle service name与instance name 不一致ORA-27101: shared memory realm does not exist
1. 今天在客户端连接服务端时报如下错误 [oracle@asm admin]$ sqlplus sys/xxxx@orcl as sysdba SQL*Plus: Release 11.
992 0
【RAC】ORA-29780: unable to connect to GPnP daemon [CLSGPNP_ERR]
安装完成 11GR2 Grid 之后,使用asmca创建磁盘组的时候遇到如下报错: ORA-29780: unable to connect to GPnP daemon [CLSGPNP_ERR] google 一把 和环境变量有关:(CRS/GRID 是运行正常的).
795 0