oracle 11g em重建報(bào)唯一約束錯(cuò)誤解決方法
WARNING:ORA-00001:uniqueconstraint(SYSMAN.PARAMETERS_PRIMARY_KEY)violated
ORA-06512:at"SYSMAN.EMD_LOADER",line4986
ORA-06512:atline1
以Metalink上也沒(méi)有找到解決辦法,以下是我的解決過(guò)程:
1、數(shù)據(jù)庫(kù)版本
SQL>select*fromv$version;
BANNER
------------------------------------------------------------------------------------------------------------------------------
OracleDatabase11gEnterpriseEditionRelease11.2.0.3.0-64bitProduction
PL/SQLRelease11.2.0.3.0-Production
CORE11.2.0.3.0Production
TNSforLinux:Version11.2.0.3.0-Production
NLSRTLVersion11.2.0.3.0–Production
2、配置EM時(shí)的步驟
[oracle@Core-Nbu-Rollback~]$emca-configdbcontroldb-reposrecreate
STARTEDEMCAatNov23,20123:52:08PM
EMConfigurationAssistant,Version11.2.0.3.0Production
Copyright(c)2003,2011,Oracle.Allrightsreserved.
Enterthefollowinginformation:
DatabaseSID:test
DatabaseControlisalreadyconfiguredforthedatabasetest
YouhavechosentoconfigureDatabaseControlformanagingthedatabasetest
Thiswillremovetheexistingconfigurationandthedefaultsettingsandperform.afreshconfiguration
----------------------------------------------------------------------
WARNING:Whilerepositoryisdroppedthedatabasewillbeputinquiescemode.
----------------------------------------------------------------------
Doyouwishtocontinue?[yes(Y)/no(N)]:Y
ListenerORACLE_HOME[/soft/ora11g/11202]:
PasswordforSYSuser:
PasswordforDBSNMPuser:
PasswordforSYSMANuser:
Emailaddressfornotifications(optional):
OutgoingMail(SMTP)serverfornotifications(optional):
-----------------------------------------------------------------
Youhavespecifiedthefollowingsettings
DatabaseORACLE_HOME................/soft/ora11g/11202
Localhostname................Core-Nbu-Rollback
ListenerORACLE_HOME................/soft/ora11g/11202
Listenerportnumber................1521
DatabaseSID................test
Emailaddressfornotifications...............
OutgoingMail(SMTP)serverfornotifications...............
-----------------------------------------------------------------
----------------------------------------------------------------------
WARNING:Whilerepositoryisdroppedthedatabasewillbeputinquiescemode.
----------------------------------------------------------------------
Doyouwishtocontinue?[yes(Y)/no(N)]:Y
Nov23,20123:52:33PMoracle.sysman.emcp.EMConfigperform
INFO:Thisoperationisbeingloggedat/soft/ora11g/cfgtoollogs/emca/test/emca_2012_11_23_15_52_07.log.
Nov23,20123:52:35PMoracle.sysman.emcp.util.DBControlUtilstopOMS
INFO:StoppingDatabaseControl(thismaytakeawhile)...
Nov23,20123:52:56PMoracle.sysman.emcp.EMReposConfiginvoke
INFO:DroppingtheEMrepository(thismaytakeawhile)...
Nov23,20123:54:56PMoracle.sysman.emcp.EMReposConfiginvoke
INFO:Repositorysuccessfullydropped
Nov23,20123:54:57PMoracle.sysman.emcp.EMReposConfigcreateRepository
INFO:CreatingtheEMrepository(thismaytakeawhile)...
Nov23,20123:57:30PMoracle.sysman.emcp.EMReposConfigcreateRepository
WARNING:ORA-00001:uniqueconstraint(SYSMAN.PARAMETERS_PRIMARY_KEY)violated
ORA-06512:at"SYSMAN.EMD_LOADER",line4986
ORA-06512:atline1
Nov23,20123:57:30PMoracle.sysman.emcp.EMReposConfiginvoke
SEVERE:Errorcreatingtherepository
Nov23,20123:57:30PMoracle.sysman.emcp.EMReposConfiginvoke
INFO:Refertothelogfileat/soft/ora11g/cfgtoollogs/emca/test/emca_repos_create_<date>.logformoredetails.
Nov23,20123:57:30PMoracle.sysman.emcp.EMConfigperform
SEVERE:Errorcreatingtherepository
Refertothelogfileat/soft/ora11g/cfgtoollogs/emca/test/emca_2012_11_23_15_52_07.logformoredetails.
Couldnotcompletetheconfiguration.Refertothelogfileat/soft/ora11g/cfgtoollogs/emca/test/emca_2012_11_23_15_52_07.logformoredetails.
相關(guān)文章
Oracle與Mysql自動(dòng)增長(zhǎng)列(id)的區(qū)別
這篇文章主要介紹了Oracle與Mysql自動(dòng)增長(zhǎng)列(id)的區(qū)別,需要的朋友可以參考下2014-01-01VS2015連接Oracle數(shù)據(jù)庫(kù)的詳細(xì)步驟
這篇文章主要介紹了VS2015連接Oracle數(shù)據(jù)庫(kù)的詳細(xì)步驟,需要的朋友可以參考下2017-10-10深入剖析哪些服務(wù)是Oracle 11g必須開(kāi)啟的
這篇文章主要介紹了哪些服務(wù)是Oracle 11g必須開(kāi)啟的以及這些服務(wù)的詳細(xì)介紹,需要的朋友可以參考下2014-08-08oracle自動(dòng)巡檢腳本生成html報(bào)告的方法
這篇文章主要介紹了oracle自動(dòng)巡檢腳本生成html報(bào)告的方法,本文給大家介紹的非常詳細(xì),對(duì)大家的學(xué)習(xí)或工作具有一定的參考借鑒價(jià)值,需要的朋友可以參考下2020-12-12解析如何查看Oracle數(shù)據(jù)庫(kù)中某張表的字段個(gè)數(shù)
本篇文章是對(duì)查看Oracle數(shù)據(jù)庫(kù)中某張表的字段個(gè)數(shù)進(jìn)行了詳細(xì)的分析介紹,需要的朋友參考下2013-06-06Oracle數(shù)據(jù)庫(kù)中如何按天、周、月、季、年統(tǒng)計(jì)數(shù)據(jù)
我們經(jīng)常遇到一些需求,需要我們?cè)趕ql語(yǔ)句中對(duì)日期進(jìn)行分類(lèi)統(tǒng)計(jì),下面這篇文章主要給大家介紹了關(guān)于Oracle數(shù)據(jù)庫(kù)中如何按天、周、月、季、年統(tǒng)計(jì)數(shù)據(jù)的相關(guān)資料,需要的朋友可以參考下2024-03-03Oracle設(shè)置DB、監(jiān)聽(tīng)和EM開(kāi)機(jī)啟動(dòng)的方法
這篇文章主要介紹了Oracle設(shè)置DB、監(jiān)聽(tīng)和EM開(kāi)機(jī)啟動(dòng)的方法,本文通過(guò)圖文實(shí)例相結(jié)合給大家介紹的非常詳細(xì),對(duì)大家的學(xué)習(xí)或工作具有一定的參考借鑒價(jià)值,需要的朋友可以參考下2021-04-04生產(chǎn)環(huán)境Oracle undo表空間管理實(shí)踐
這篇文章主要介紹了生產(chǎn)環(huán)境Oracle undo表空間管理實(shí)踐,Oracle 數(shù)據(jù)庫(kù)有一種維護(hù)信息的方法,用于回滾或撤消對(duì)數(shù)據(jù)庫(kù)的更改,下面文章分享更多的相關(guān)資料需要的小伙伴可以參考一下2022-03-03