亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

Chinaunix

標(biāo)題: oracle 實例啟動 報錯 ORA-27086 [打印本頁]

作者: neil_god    時間: 2011-07-12 13:32
標(biāo)題: oracle 實例啟動 報錯 ORA-27086
各位大蝦, 小弟的數(shù)據(jù)庫 在實例啟動時報錯,
ORA-00210: cannot open the specified control file
ORA-00202: control file: '/opt/app/oracle/flash_recovery_area/emalog/control02.ctl'
ORA-27086: unable to lock file - already in use

請教如何解決這個錯誤 ORA-27086

謝謝
作者: tacsoft    時間: 2011-07-12 14:33
看看你的啟動文件SPFILE中初始化參數(shù)指定的控制文件的位置,現(xiàn)在你的主備控制文件都沒有找到,或者沒有權(quán)限打開。
作者: renxiao2003    時間: 2011-07-12 15:06
是不是控制文件重復(fù)指定了啊。
作者: tanyangxf    時間: 2011-07-12 20:02
回復(fù) 1# neil_god


    把實例shutdown,然后再啟動試試
作者: tacsoft    時間: 2011-07-13 08:35
請閱讀下面關(guān)于控制文件的內(nèi)容,修改你的控制文件啟動項:
本文來自:
Oracle® Database 2 Day DBA
10g Release 2 (10.2)
Part Number B14196-02

控制文件(Control Files)
控制文件跟蹤數(shù)據(jù)庫的物理組件,它是數(shù)據(jù)庫的重要功能。由于控制文件的重要性,Oracle建議控制文件應(yīng)該有多個副本。換言之,控制文件應(yīng)該有多個完全相同的副本。使用DBCA創(chuàng)建數(shù)據(jù)庫時,三個控制文件自動創(chuàng)建并互相同步。

(A control file tracks the physical components of the database. It is essential to the functioning of the database. Because of the importance of the control file, Oracle recommends that the control file be multiplexed. In other words, the control file should have multiple identical copies. For databases created with DBCA, three copies of the control file are automatically created and kept in sync with each other.)

如果控制文件失敗,那么你的數(shù)據(jù)庫將不可用。只要你有一個控制文件的副本,你可以關(guān)閉數(shù)據(jù)庫使用控制文件副本重新創(chuàng)建控制文件,然后重新啟動數(shù)據(jù)庫。另外一種方法是從初始化參數(shù)的控制文件CONTROL_FILES中刪除損壞的控制文件表項,使用其它的控制文件重新啟動數(shù)據(jù)庫。

(If any control file fails, then your database becomes unavailable. As long as you have a control file copy, however, you can shut down your database and re-create the failed control file from the copy, then restart your database. Another option is to delete the failed control file from the CONTROL_FILES initialization parameter and restart your database with the remaining control files.)
作者: tacsoft    時間: 2011-07-13 08:47
內(nèi)容來自:Oracle 10g 管理員手冊
Oracle® Database Administrator's Guide
10g Release 2 (10.2)
Part Number B14231-02

創(chuàng)建初始的控制文件
使用CREATE DATABASE創(chuàng)建Oracle數(shù)據(jù)庫的初始控制文件,在創(chuàng)建數(shù)據(jù)庫時,控制文件的名字被CONTROL_FILES初始化參數(shù)文件指定,操作系統(tǒng)在CONTROL_FILES中指定完整文件名,下面是TROL_FILES初始化參數(shù)的一個例子:
CONTROL_FILES = (/u01/oracle/prod/control01.ctl,
                               /u02/oracle/prod/control02.ctl,
                               /u03/oracle/prod/control03.ctl)
作者: tacsoft    時間: 2011-07-13 08:48
認(rèn)真閱讀Oracle的官方文檔才能使你成為合格的DBA。
作者: godymoon    時間: 2011-07-16 01:17
本帖最后由 godymoon 于 2011-07-16 01:20 編輯

文件的屬組權(quán)限對不對?
如果都正常,再看看有沒有ora進(jìn)程,先干掉這些進(jìn)程,再啟動看看
還有就是使用fuser 命令解除'/opt/app/oracle/flash_recovery_area/emalog/control02.ctl'的使用
作者: 生活怪盜    時間: 2011-07-16 11:43
呵呵!你這個錯誤我見過,你肯定是啟動了多個實例,沒有停止前面的實例,進(jìn)程還在跑著呢,
ORA-27086: unable to lock file - already in use

這句報錯已經(jīng)告訴你了啊!shutdown immediate,查看sid重新啟動數(shù)據(jù)庫
作者: flutter    時間: 2011-07-16 15:00
:wink:樓上有理
作者: wnfh3445    時間: 2011-07-18 08:39
學(xué)習(xí)了,oracle administrator’s guide非常好,特別是有中英文對照的那種,能否給我一份,謝謝。
作者: wnfh3445    時間: 2011-07-18 08:41
我的郵箱地址是wnfh3445@sohu.com
作者: 村口老柳樹    時間: 2011-07-20 23:50
應(yīng)該在DBS目錄下有個lk還是啥的文件吧,把他刪掉
作者: tacsoft    時間: 2011-07-21 07:57
回復(fù) 11# wnfh3445


    Oracle管理員手冊(oracle administrator’s guide)的中英文版大約在一個半月左右推出,目前正在進(jìn)行翻譯。因為它的內(nèi)容中與Oracle官方網(wǎng)站有大量的交叉引用,所以不可能推出單行本。否則,將徹底破壞他的閱讀性和完整性。
tacsoft




歡迎光臨 Chinaunix (http://72891.cn/) Powered by Discuz! X3.2