sqlplus Reports "Connected to an idle instance" When Connecting to Database That's Started by srvctl/Clusterware
(Doc ID 1566828.1)
Last updated on JANUARY 21, 2020
Applies to:
Oracle Database - Enterprise Edition - Version 10.2.0.1 and laterOracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A 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/<hostname>/agent/crsd/oraagent_oracle/oraagent_oracle.log".
CRS-2675: Stop of 'ora.mpos.db' on '<hostname>' 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/<hostname>/agent/crsd/oraagent_oracle/oraagent_oracle.log".
CRS-2675: Stop of 'ora.mpos.db' on '<hostname>' 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/<hostname>/agent/crsd/oraagent_oracle/oraagent_oracle.log".
CRS-2675: Stop of 'ora.mpos.db' on '<hostname>' 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/<hostname>/agent/crsd/oraagent_oracle/oraagent_oracle.log".
CRS-2675: Stop of 'ora.mpos.db' on '<hostname>' failed
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |