啟動資料庫報錯,ORA-18008: cannot find OUTLN schema

來源:互聯網
上載者:User

啟動資料庫報錯,ORA-18008: cannot find OUTLN schema

問題現象:
資料庫版本 Oracle 11g r2
hrdb1>startup
ORACLE 常式已經啟動。

Total System Global Area 4392697856 bytes
Fixed Size                  2233616 bytes
Variable Size            1090521840 bytes
Database Buffers         3288334336 bytes
Redo Buffers               11608064 bytes
資料庫裝載完畢。
ORA-01092: ORACLE instance terminated. Disconnection forced
ORA-18008: cannot find OUTLN schema
進程 ID: 5294
會話 ID: 683 序號: 3


hrdb1>!oerr ora 18008
18008, 00000, "cannot find OUTLN schema"
// *Cause:  The database creation script that creates this schema must not
//          have been executed.
// *Action: Review the log files to see what happened when the database
//          was created.

問題原因:
outlin使用者被誤刪除

解決方案:

按照metalink上的解決辦法,先修改replication_dependency_tracking參數,重建資料庫outln使用者及相關對象即可。

1,啟動到mount狀態,修改replication_dependency_tracking參數
alter system set replication_dependency_tracking =false scope=spfile;

2,啟動資料庫至open狀態
hrdb1>shutdown immediate
hrdb1>startup

3,執行指令碼doptim.bsq,oracle 10g版本可參考執行附錄指令碼
@$ORACLE_HOME/rdbms/admin/doptim.bsq

此時,使用者已建立

hrdb1>select username from dba_users;

USERNAME
------------------------------
OUTLN

4,修改回replication_dependency_tracking參數為true

alter system set replication_dependency_tracking =true scope=spfile;


5,重新啟動資料庫,系統復原正常
hrdb1>shutdown abort
ORACLE 常式已經關閉。
hrdb1>startup
ORACLE 常式已經啟動。

Total System Global Area 4392697856 bytes
Fixed Size                  2233616 bytes
Variable Size            1090521840 bytes
Database Buffers         3288334336 bytes
Redo Buffers               11608064 bytes
資料庫裝載完畢。
資料庫已經開啟。
hrdb1>select username from dba_users;

USERNAME
------------------------------
WJ
OUTLN
SYS
SYSTEM
HR
STRMADMIN

已選擇6行。


由於版本是oracle 11g,直接執行相關指令碼即可,oracle 10g版本可以參考《Script to Create User OUTLN in 10.2 [ID 422983.1]》

備忘:用於複製的一個參數,第一次碰到,做個記錄
REPLICATION_DEPENDENCY_TRACKING enables or disables dependency tracking for read/write operations to the database. Dependency tracking is essential for propagating changes in a replicated environment in parallel.

參考資料:
Unable To Start The Database With OUTLN Schema Dropped ORA-01092& ORA-18008 [ID 855104.1]
Script to Create User OUTLN in 10.2 [ID 422983.1]

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.