Oracle 11g reconstruction EM times unique constraint Error

Source: Internet
Author: User
Tags quiesce

The following error is always reported when you manually configure the 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

No solution was found in Metalink. The following is my solution process:

1. database version

SQL> select * from v $ version;

BANNER

Bytes ------------------------------------------------------------------------------------------------------------------------------

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. Steps for configuring EM

[Oracle @ Core-Nbu-Rollback ~] $ Emca-config dbcontrol db-repos recreate

Started emca at Nov 23,201 2 3:52:08

EM Configuration Assistant, Version 11.2.0.3.0 Production

Copyright (c) 2003,201 1, 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 communications (optional ):

Outgoing Mail (SMTP) server for communications (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 communications ...............

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

 

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

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

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,201 2 3:52:33 PM oracle. sysman. emcp. EMConfig perform

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

Nov 23,201 2 3:52:35 oracle. sysman. emcp. util. DBControlUtil stopOMS

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

Nov 23,201 2 3:52:56 oracle. sysman. emcp. EMReposConfig invoke

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

Nov 23,201 2 3:54:56 oracle. sysman. emcp. EMReposConfig invoke

INFO: Repository successfully dropped

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

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

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

WARNING: ORA-00001: unique constraint (SYSMAN. PARAMETERS_PRIMARY_KEY) violated

ORA-06512: at "SYSMAN. EMD_LOADER", line 4986

ORA-06512: at line 1

 

Nov 23,201 2 3:57:30 oracle. sysman. emcp. EMReposConfig invoke

SEVERE: Error creating the repository

Nov 23,201 2 3:57:30 oracle. sysman. emcp. EMReposConfig invoke

INFO: Refer to the log file at/soft/ora11g/export toollogs/emca/test/emca_repos_create _ <date>. log for more details.

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

SEVERE: Error creating the repository

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

Cocould not complete the configuration. Refer to the log file at/soft/ora11g/export toollogs/emca/test/emca_2012_11_23_15_52_07.log for more details.

  • 1
  • 2
  • Next Page

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.