Connected to an idle instance – while database is running
echo $ORACLE_HOME
/home/oracle/product/10g/ (We should eliminate the slash / , export ORACLE_HOME=/home/oracle/product/10g)
It causes error "Connected to an idle instance"
SQL> conn / as sysdba
Connected to an idle instance.
export ORACLE_HOME=/home/oracle/product/10g
SQL> conn / as sysdba
Connected.
Another reason:
ps -ef|grep pmon
oracle 19443 1 0 Oct 13 ? 72:50 ora_pmon_dodpp1
oracle 12421 1 0 Nov 18 ? 27:15 ora_pmon_dodpp5
echo $ORACLE_SID
DODPP1
SQL> conn / as sysdba
Connected to an idle instance.
export ORACLE_SID=dodpp1 (After using lower case, it's ok!)
echo $ORACLE_SID
dodpp1
SQL> conn / as sysdba
Connected to an idle instance.
[@more@]
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/14377/viewspace-1059871/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- asmcmd:connected to an idle instance ORA12705ASM
- Oracle - ORA-01034: ORACLE not available Process ID: 0 / Connected to an idle instanceOracleAI
- ASMCMD +ASM 例項 Connected to an idle instance. 一個 / 導致的問題ASM
- Database performance gets slower the longer the database is runningDatabaseORM
- Oracle database instanceOracleDatabase
- The Instance and the Database (285)Database
- 理解Database和InstanceDatabase
- RMAN 6217 not connected to auxiliary database with a net service nameUXDatabase
- 3.2.1 Mounting a Database to an InstanceDatabase
- Overview of Instance and Database Startup (289)ViewDatabase
- ORA-38760: This database instance failed to turn on flashback databaseDatabaseAI
- database和instance的區別Database
- Fixed the bug:while running alert/confirm in javascript the chrome freezesWhileJavaScriptChrome
- AIX: Database performance gets slower longer the database is running_316533.1AIDatabaseORM
- [Shell] monitor oracle database listener & instance statusOracleDatabase
- Overview of Database and Instance Shutdown (302)ViewDatabase
- mount.ocfs2: Transport endpoint is not connected while mounting /dev/emcpowera1Whiledev
- oracle程式都啟來了,sqlplus 顯示是idle instanceOracleSQL
- Top 5 Database and/or Instance Performance Issues in RAC EnvironmentDatabaseORM
- 7.monitor oracle database listener & instance statusOracleDatabase
- 11.2.0.1 Grid Infrastructure Installation Failed at .... While Running root.shASTStructAIWhile
- ORA-38760: This database instance failed to turn on flashback database 第三篇DatabaseAI
- ORA-38760: This database instance failed to turn on flashback database 錯誤解決DatabaseAI
- 3.1.5.2 Starting an Instance, and Mounting and Opening a DatabaseDatabase
- Migrate database from single instance to Oracle RACDatabaseOracle
- Close the Database by Terminating the Instance (304)Database
- 2007.12.18:It's foolish to while away one's time in idle talkWhile
- Database and/or Instance Performance Issues in RAC Environment_1373500.1DatabaseORM
- Oracle 11gR2 Database dbca ORA-03114 not Connected to OracleOracleDatabase
- Oracle 19c Concepts(13):Oracle Database InstanceOracleDatabase
- oracle rconfig convert single instance to rac databaseOracleDatabase
- oracle 9i single instance convert to rac databaseOracleDatabase
- AIX: Database performance gets slower the longer the db is running_316533.1AIDatabaseORM
- oracle中instance name 和database name的一點體會OracleDatabase
- 資料庫各個階段的INSTANCE DATABASE狀態資料庫Database
- Instance database dbid sid tnsname等概念混個眼熟Database
- HowTo Restore RMAN Disk backups of RAC Database to Single Instance On Another NoRESTDatabase
- Manual Database Creation in Oracle9i (Single Instance and RAC)-137288.1DatabaseOracle