ORA-39700: database must be opened with UPGRADE option

數據庫啓動的時候報錯:
SQL> startup
ORACLE instance started.

Total System Global Area 534462464 bytes
Fixed Size 2215064 bytes
Variable Size 360711016 bytes
Database Buffers 163577856 bytes
Redo Buffers 7958528 bytes
Database mounted.
ORA-01092: ORACLE instance terminated. Disconnection forced
ORA-00704: bootstrap process failure
ORA-39700: database must be opened with UPGRADE option
Process ID: 10040
Session ID: 191 Serial number: 7

[oracle@200-168-1-4 admin]$ oerr ora 39700 
39700, 00000, "database must be opened with UPGRADE option" 
// *Cause: A normal database open was attempted, but the database has not 
// been upgraded to the current server version. 
// *Action: Use the UPGRADE option when opening the database to run 
// catupgrd.sql (for database upgrade), or to run catalog.sql 
// and catproc.sql (after initial database creation).

--在nomout狀態下用sys用戶執行如下兩個腳本即可(原因是我們的數據庫當時並未完整執行這兩個腳本就啓動數據庫了,數據庫升級的時候也會出現上面的情況):
@?/rdbms/admin/catalog.sql
@?/rdbms/admin/catproc.sql
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章