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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 3.2.1 Mounting a Database to an InstanceDatabase
- 3.1.5.2 Starting an Instance, and Mounting and Opening a DatabaseDatabase
- Oracle 19c Concepts(13):Oracle Database InstanceOracleDatabase
- HowTo Restore RMAN Disk backups of RAC Database to Single Instance On Another NoRESTDatabase
- 記錄一次Anconda無法啟動的修復記錄:There is an instance of Anconda Navigator already running
- Qt5執行緒錯誤:QThread: Destroyed while thread is still running(執行runThread->exit(0))QT執行緒threadWhile
- vertx instance
- GPU InstanceGPU
- Strongly connected(HDU-4635)
- 1002 Running Median
- 翻譯|How to Export a Connected ComponentExport
- 記一次zookeeper not connected
- Paper -- DenseNet:Densely Connected Convolutional NetworkSENet
- 3.1.5.6 Forcing an Instance to Start
- Java 迴圈 - for, while 及 do…whileJavaWhile
- while迴圈以及do while迴圈While
- python while/forPythonWhile
- The database owner SID recorded in the master database differs from the database owner SID recorded in database 'DB_NAME'DatabaseAST
- C++ instance的使用C++
- RMAN Duplicate RAC to Single Instance
- Java迴圈結構-for,while及do…whileJavaWhile
- Java while和do while迴圈詳解JavaWhile
- Java:運用while()與do....while與for()JavaWhile
- 安裝了IDLE後安裝tensorflow
- PostgreSQL的idle in transaction連線狀態SQL
- running-a-command-prompt-as-nt-authoritysystem
- Running Man-奔跑吧,勇士
- Laravel: Up and Running (1):介紹Laravel
- do-while語句和while的區別While
- Java 迴圈結構 - for, while 及 do...whileJavaWhile
- Oracle Database Cloud - Database as a Service Quick StartOracleDatabaseCloudUI
- Error querying database. XXXXXXXXXXXXX, No database selected。ErrorDatabase
- Convert a Physical Standby Database into a Snapshot Standby DatabaseDatabase
- Property [title] does not exist on this collection instance
- SCSS @while指令CSSWhile
- while迴圈While
- 「譯」程式碼優化策略 — Idle Until Urgent優化
- PG14中的idle_session_timeoutSession
- skipped: maximum number of running instances reached (1)