sqlplus Reports "Connected to an idle instance" When Connecting to Database That's Started by srvctl/Clusterware (Doc ID 1566828.1)

Last updated on JULY 11, 2013

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 and later
Information in this document applies to any platform.

Symptoms

Database (RAC) is automatically started by Oracle Clusterware (GI or CRS) or manually started by srvctl, but sqlplus can not connect to it: 

$ ps -ef | grep pmon_MPOS1
oracle 22205 1 0 09:53 ? 00:00:00 ora_pmon_MPOS1 <<<<<< the database is started !


$ env | grep ORACLE
ORACLE_SID=MPOS1
ORACLE_HOME=/app/oracle/product/11.2.0/dbhome_1/


$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.3.0 Production on Sun Jun 30 09:53:56 2013

Copyright (c) 1982, 2011, Oracle. All rights reserved.

Connected to an idle instance.

 

Stop the database with srvctl and start it from sqlplus, it starts up fine. However, if srvctl is used to stop the instance that's started by sqlplus, receices the following error: 

$ srvctl stop database -d MPOS
PRCR-1133 : Failed to stop database MPOS and its running services
PRCR-1132 : Failed to stop resources using a filter
CRS-5017: The resource action "ora.mpos.db stop" encountered the following error:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
. For details refer to "(:CLSN00108:)" in "/app/11.2/grid/log/mposdb1/agent/crsd/oraagent_oracle/oraagent_oracle.log".

CRS-2675: Stop of 'ora.mpos.db' on 'mposdb1' failed
CRS-5017: The resource action "ora.mpos.db stop" encountered the following error:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
. For details refer to "(:CLSN00108:)" in "/app/11.2/grid/log/mposdb2/agent/crsd/oraagent_oracle/oraagent_oracle.log".

CRS-2675: Stop of 'ora.mpos.db' on 'mposdb2' failed
CRS-5017: The resource action "ora.mpos.db stop" encountered the following error:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
. For details refer to "(:CLSN00108:)" in "/app/11.2/grid/log/mposdb1/agent/crsd/oraagent_oracle/oraagent_oracle.log".

CRS-2675: Stop of 'ora.mpos.db' on 'mposdb1' failed
CRS-5017: The resource action "ora.mpos.db stop" encountered the following error:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
. For details refer to "(:CLSN00108:)" in "/app/11.2/grid/log/mposdb2/agent/crsd/oraagent_oracle/oraagent_oracle.log".

CRS-2675: Stop of 'ora.mpos.db' on 'mposdb2' failed

 

 

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms