ORA-01089: immediate shutdown in progress - no operations are permitted

jane_pop發表於2014-09-18
今天shutdown immediate關資料庫的時候出現ORA-01089: immediate shutdown in progress - no operations are permitted的錯誤。
ps -ef|grep ora_發現oracle的各個後臺程式仍然在執行著,說明資料庫沒有關閉成功。
解決方法如下:
先exit退出,重新登入:
[oracle@localhost trace]$ sqlplus /nolog

SQL*Plus: Release 11.2.0.1.0 Production on Thu Sep 18 08:21:53 2014

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

@ 18-SEP-14>conn /as sysdba
Connected to an idle instance.
接著,使用shutdown abort強制關閉資料庫:
SYS@orcl 18-SEP-14>shutdown abort;
ORACLE instance shut down.
最後,使用startup force開啟資料庫:
SYS@orcl 18-SEP-14>startup force;
ORACLE instance started.

Total System Global Area  849530880 bytes
Fixed Size                  1339824 bytes
Variable Size             641732176 bytes
Database Buffers          201326592 bytes
Redo Buffers                5132288 bytes
Database mounted.
Database opened.

開啟資料庫之後,再次使用shutdown immediate關閉資料庫:
SYS@orcl 18-SEP-14>shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
問題解決。

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29800581/viewspace-1273615/,如需轉載,請註明出處,否則將追究法律責任。

相關文章