oracle11g啟動是,一個有趣的錯誤,只做記錄,沒有深究,不知道是否bug

xiaoli發表於2013-01-31

windows8 + oracle11.2.0.1 64bit

------------------------------------------------

首先說明下,資料庫沒有問題,正常 shutdown immediate;

實驗如下:

SQL> startup nomount;
ORACLE instance started.

Total System Global Area 3407261696 bytes
Fixed Size 2180504 bytes
Variable Size 1895828072 bytes
Database Buffers 1493172224 bytes
Redo Buffers 16080896 bytes

SQL> alter database mount;
Database altered.
SQL>
SQL>
SQL> select to_char(sysdate,'yyyy-mm-dd hh24:mi:ss') from dual;

TO_CHAR(SYSDATE,'YY
-------------------
2013-01-31 11:31:34

SQL>
SQL>
SQL> select * from dual;

ADDR INDX INST_ID D
---------------- ---------- ---------- -
00000000077E5E18 0 1 X

SQL>
SQL>
SQL>
SQL>
SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-01092: ORACLE instance terminated. Disconnection forced
ORA-00942: table or view does not exist
程式 ID: 3052
會話 ID: 125 序列號: 3
SQL>
SQL>
SQL>
SQL> startup nomount;
ORA-24324: 未初始化服務控制程式碼
ORA-01041: 內部錯誤, hostdef 副檔名不存在
SQL> conn / as sysdba;
Connected to an idle instance.
SQL>
SQL>
SQL> startup nomount;
ORACLE instance started.

Total System Global Area 3407261696 bytes
Fixed Size 2180504 bytes
Variable Size 1895828072 bytes
Database Buffers 1493172224 bytes
Redo Buffers 16080896 bytes
SQL>
SQL>
SQL>
SQL>
SQL> alter database mount;
Database altered.
SQL>
SQL>
SQL> alter database open;
Database altered.
SQL>

[@more@]

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

相關文章