欢迎来到代码驿站!

Oracle

当前位置:首页 > 数据库 > Oracle

oracle 11g em重建报唯一约束错误解决方法

时间:2022-10-09 15:33:21|栏目:Oracle|点击:
今天在手工配置Oracle11g的EM时总是报如下错误:
WARNING:ORA-00001:uniqueconstraint(SYSMAN.PARAMETERS_PRIMARY_KEY)violated
ORA-06512:at"SYSMAN.EMD_LOADER",line4986
ORA-06512:atline1
以Metalink上也没有找到解决办法,以下是我的解决过程:

1、数据库版本
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?CProduction

2、配置EM时的步骤
[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.

上一篇:oracle中decode函数的使用方法示例

栏    目:Oracle

下一篇:全面解析Oracle Procedure 基本语法

本文标题:oracle 11g em重建报唯一约束错误解决方法

本文地址:http://www.codeinn.net/misctech/215893.html

推荐教程

广告投放 | 联系我们 | 版权申明

重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。

如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。

联系QQ:914707363 | 邮箱:codeinn#126.com(#换成@)

Copyright © 2020 代码驿站 版权所有