当前位置:  数据库>oracle

Oracle 11g重建EM时报唯一约束错误

    来源: 互联网  发布时间:2017-05-12

    本文导语: 今天在手工配置Oracle 11g的EM时总是报如下错误: WARNING: ORA-00001: unique constraint (SYSMAN.PARAMETERS_PRIMARY_KEY) violatedORA-06512: at "SYSMAN.EMD_LOADER", line 4986ORA-06512: at line 1 以Metalink上也没有找到解决办法,以下是我的解决过程: 1、 数据库版...

今天在手工配置Oracle 11g的EM时总是报如下错误:

WARNING: ORA-00001: unique constraint (SYSMAN.PARAMETERS_PRIMARY_KEY) violated
ORA-06512: at "SYSMAN.EMD_LOADER", line 4986
ORA-06512: at line 1

以Metalink上也没有找到解决办法,以下是我的解决过程:

1、 数据库版本

SQL> select * from v$version;

BANNER

------------------------------------------------------------------------------------------------------------------------------

Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production

PL/SQL Release 11.2.0.3.0 - Production

CORE  11.2.0.3.0    Production

TNS for Linux: Version 11.2.0.3.0 - Production

NLSRTL Version 11.2.0.3.0 – Production

2、 配置EM时的步骤

[oracle@Core-Nbu-Rollback ~]$ emca -config dbcontrol db -repos recreate

STARTED EMCA at Nov 23, 2012 3:52:08 PM

EM Configuration Assistant, Version 11.2.0.3.0 Production

Copyright (c) 2003, 2011, Oracle. All rights reserved.

 

Enter the following information:

Database SID: test

Database Control is already configured for the database test

You have chosen to configure Database Control for managing the database test

This will remove the existing configuration and the default settings and perform. a fresh configuration

----------------------------------------------------------------------

WARNING : While repository is dropped the database will be put in quiesce mode.

----------------------------------------------------------------------

Do you wish to continue? [yes(Y)/no(N)]: Y

Listener ORACLE_HOME [ /soft/ora11g/11202 ]:

Password for SYS user:

Password for DBSNMP user:

Password for SYSMAN user:

Email address for notifications (optional):

Outgoing Mail (SMTP) server for notifications (optional):

-----------------------------------------------------------------

 

You have specified the following settings

 

Database ORACLE_HOME ................ /soft/ora11g/11202

 

Local hostname ................ Core-Nbu-Rollback

Listener ORACLE_HOME ................ /soft/ora11g/11202

Listener port number ................ 1521

Database SID ................ test

Email address for notifications ...............

Outgoing Mail (SMTP) server for notifications ...............

 

-----------------------------------------------------------------

----------------------------------------------------------------------

WARNING : While repository is dropped the database will be put in quiesce mode.

----------------------------------------------------------------------

Do you wish to continue? [yes(Y)/no(N)]: Y

Nov 23, 2012 3:52:33 PM oracle.sysman.emcp.EMConfig perform

INFO: This operation is being logged at /soft/ora11g/cfgtoollogs/emca/test/emca_2012_11_23_15_52_07.log.

Nov 23, 2012 3:52:35 PM oracle.sysman.emcp.util.DBControlUtil stopOMS

INFO: Stopping Database Control (this may take a while) ...

Nov 23, 2012 3:52:56 PM oracle.sysman.emcp.EMReposConfig invoke

INFO: Dropping the EM repository (this may take a while) ...

Nov 23, 2012 3:54:56 PM oracle.sysman.emcp.EMReposConfig invoke

INFO: Repository successfully dropped

Nov 23, 2012 3:54:57 PM oracle.sysman.emcp.EMReposConfig createRepository

INFO: Creating the EM repository (this may take a while) ...

Nov 23, 2012 3:57:30 PM oracle.sysman.emcp.EMReposConfig createRepository

 

Nov 23, 2012 3:57:30 PM oracle.sysman.emcp.EMReposConfig invoke

SEVERE: Error creating the repository

Nov 23, 2012 3:57:30 PM oracle.sysman.emcp.EMReposConfig invoke

INFO: Refer to the log file at /soft/ora11g/cfgtoollogs/emca/test/emca_repos_create_.log for more details.

Nov 23, 2012 3:57:30 PM oracle.sysman.emcp.EMConfig perform

SEVERE: Error creating the repository

Refer to the log file at/soft/ora11g/cfgtoollogs/emca/test/emca_2012_11_23_15_52_07.logfor more details.

Could not complete the configuration. Refer to the log file at for more details.


    
 
 
 
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。












  • 相关文章推荐
  • Linux安装Oracle 11时报错DISPLAY解决方案
  • Linux下命令行启动oracle时报错的解决
  • Oracle10201 RAC升级到10204后导出数据时报EXP-00056错误
  • oracle 11g导出数据时报ORA 1455错误的处理方法
  • oracle11gR2使用exp导出命令时报EXP-00011错误的解决方法
  • FC6上安装oracle 10g时报错 "Thrown when the IP address of a host cannot be determined"
  • Oracle 12c发布简单介绍及官方下载地址
  • 在linux下安装oracle,如何设置让oracle自动启动!也就是让oracle那个服务自动启动,不是手动的
  • oracle 11g最新版官方下载地址
  • 请问su oracle 和su - oracle有什么不同?
  • Oracle 数据库(oracle Database)Select 多表关联查询方式
  • 虚拟机装Oracle R12与Oracle10g
  • Oracle数据库(Oracle Database)体系结构及基本组成介绍
  • Oracle 数据库开发工具 Oracle SQL Developer
  • 如何设置让Oracle SQL Developer显示的时间包含时分秒
  • Oracle EBS R12 支持 Oracle Database 11g
  • Oracle 10g和Oracle 11g网格技术介绍
  • SCO unix下安装oracle,但没有光盘,请大家推荐一个oracle下载站点(unix版本的)。谢谢!!!!
  • oracle中如何把表中具有相同值列的多行数据合并成一行
  • 请问大家用oracle数据库, 用import oracle.*;下的东西么? 还是用标准库?
  • Oracle 数据库(oracle Database)性能调优技术详解
  • Linux /$ORACLE_HOME $ORACLE_HOME
  • ORACLE日期相关操作
  • Linux系统下Oracle的启动与Oracle监听的启动
  • ORACLE数据库常用字段数据类型介绍
  • 请问在solaris下安装ORACLE,用root用户和用oracle用户安装有什么区别么?
  • Oracle 12c的九大最新技术特性介绍
  • 网间Oracle的连接,远程连接Oracle服务器??


  • 站内导航:


    特别声明:169IT网站部分信息来自互联网,如果侵犯您的权利,请及时告知,本站将立即删除!

    ©2012-2021,