oracle数据库重建em,oracle 11g em重建报唯一约束错误解决方法
oracle 11g em重建報(bào)唯一約束錯(cuò)誤解決方法
更新時(shí)間:2012年11月27日 15:07:33 ? 作者:
今天在手工配置Oracle11g的EM時(shí)總是報(bào)如下錯(cuò)誤,也沒有找到解決辦法,以下是我的解決過程,希望可以幫助你們
今天在手工配置Oracle11g的EM時(shí)總是報(bào)如下錯(cuò)誤:
WARNING:ORA-00001:uniqueconstraint(SYSMAN.PARAMETERS_PRIMARY_KEY)violated
ORA-06512:at"SYSMAN.EMD_LOADER",line4986
ORA-06512:atline1
以Metalink上也沒有找到解決辦法,以下是我的解決過程:
1、數(shù)據(jù)庫版本
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_.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)文章
以下是對(duì)Oracle中獲取執(zhí)行計(jì)劃的幾種方法進(jìn)行了詳細(xì)的分析介紹,需要的朋友可以參考下2013-07-07
本文將介紹C#利用ODP.net連接Oracle數(shù)據(jù)庫的操作方法,需要的朋友可以參考下2012-11-11
我們?cè)谌粘9ぷ髦胁榭幢砜臻g的使用情況大多數(shù)都是使用DBA。下面腳本之家小編給大家?guī)砹薿racle表空間查看sql使用情況的方法步驟,需要的童鞋參考下2016-05-05
rownum是Oracle數(shù)據(jù)庫中的一個(gè)特有關(guān)鍵字,返回的是一個(gè)數(shù)字代表記錄的行號(hào)。這篇文章主要介紹了oracle 使用rownum的三種分頁方式,需要的朋友可以參考下2019-10-10
需要從一個(gè)數(shù)據(jù)庫中的表GIS_WEICHAI_DATA_1S中的數(shù)據(jù)導(dǎo)入到另個(gè)一數(shù)據(jù)庫的表GIS_WEICHAI_DATA_1S中,接下來為你講解跨數(shù)據(jù)庫查詢并插入需要的朋友可以參考下2013-03-03
怎么才能限制SQL Server只能讓指定的機(jī)器連接...2007-03-03
我們?cè)趯慡QL語句的時(shí)候,有的時(shí)候會(huì)碰到where子句后面有多個(gè)條件的情況,也就是根據(jù)多列的條件篩選得到數(shù)據(jù)。下面這篇文章主要給大家介紹了Oracle 11g收集多列統(tǒng)計(jì)信息的相關(guān)資料,文中介紹的非常詳細(xì),需要的朋友可以參考下。2017-03-03
Oracle SQL性能優(yōu)化系列學(xué)習(xí)三...2007-03-03
Oracle的exp/imp是許多用戶經(jīng)常使用的兩個(gè)工具. 它們常被用來做數(shù)據(jù)庫的邏輯備份,數(shù)據(jù)庫重組和數(shù)據(jù)轉(zhuǎn)移等工作.2009-07-07
分為四步:詳細(xì)介紹如何創(chuàng)建表空間2012-11-11
最新評(píng)論
總結(jié)
以上是生活随笔為你收集整理的oracle数据库重建em,oracle 11g em重建报唯一约束错误解决方法的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: linux命令date的功能,Linux
- 下一篇: matlab读取时间数据,Matlab有