ORA-20001错误
来源:互联网 发布:苹果原装数据线淘宝 编辑:程序博客网 时间:2024/04/28 19:21
APPLIES TO:
Enterprise Manager for Oracle Database - Version 10.1.0.2 to 11.2.0.3 [Release 10.1 to 11.2]Information in this document applies to any platform.
***Checked for relevance on 16-Feb-2013***
SYMPTOMS
While executing the Enterprise Manager Configuration Assistant (EMCA) command (emca -config dbcontrol db -repos create) to create the DBConsole repository, the following error is reported to the screen:-
<timestamp> oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at <ORACLE_HOME>\cfgtoollogs\emca\<sid>\emca_<timestamp>.log.
<timestamp> oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
<timestamp> oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Error creating the repository
<timestamp> oracle.sysman.emcp.EMReposConfig invoke
INFO: Refer to the log file at <ORACLE_HOME>\cfgtoollogs\emca\<sid>\emca_repos_create_<date>.log for more details.
<timestamp> oracle.sysman.emcp.EMConfig perform
SEVERE: Error creating the repository
Refer to the log file at <ORACLE_HOME>\cfgtoollogs\emca\<sid>\emca_<timestamp>.log for more details.
Could not complete the configuration. Refer to the log file at <ORACLE_HOME>\cfgtoollogs\emca\<sid>\emca\
emca_<timiestamp>.log for more details
in $ORACLE_HOME/cfgtoollogs/emca/<sid>/emca_<timestamp>.log (10.2.X) or $ORACLE_BASE/cfgtoollogs/emca/<sid>/emca_<timestamp>.log (11.x), the following can be seen:-
May 25, 2010 2:21:30 PM oracle.sysman.emcp.EMReposConfig createRepository
CONFIG: ORA-20001: SYSMAN already exists..
ORA-06512: at line 17
oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-20001: SYSMAN already exists..
ORA-06512: at line 17
SEVERE: Error creating the repository
May 25, 2010 2:21:30 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Refer to the log file at <ORACLE_HOME>/cfgtoollogs/emca/<sid>/emca_repos_create_<date>.log for more details.
emca_repos_create_<date>.log shows
*
ERROR at line 1:
ORA-20001: SYSMAN already exists..
ORA-06512: at line 17
CAUSE
This is caused by the fact that the DBConsole repository already exists for this database. This can also sometimes be seen if the dbconsole has been previously dropped (including the repository), but for some reason the SYSMAN account may not have been completely removed as part of the drop process.
SOLUTION
1. Since the repository already exists, it is only necessary to create the configuration files using:-
emca -config dbcontrol db
and provide answers to the prompts.
2. Alternatively, if it is deemed preferrable to create a fresh dbconsole, the existing dbconsole repository (including sysman schema) needs to be dropped first. To drop the existing repository please follow below steps.
a. Drop the existing repository
For more details Refer Note 278100.1 How To Drop, Create And Recreate DB Control In A 10g Database . Repository can be dropped either using above emca command or manually as explained in <>
Refer Note 375946.1 Running EMCA Results in Database quiesce And No New Connections or Operations Can Be Performed During the DB Control Repository Creation
b. Once the DBconsole repository is dropped run the emca command to create the dbconsole
- ORA-20001错误
- 【ORA错误】ORA-12528
- 【翻译自mos文章】运行utlpwdmg.sql之后报ORA-28003, ORA-20001, ORA-20002, ORA-20003, ORA-20004 错误
- ora-00341 ora-00312错误
- ora-01034 / ORA-27101 错误.
- ORA-01034&ORA-27101错误
- ORA-01034&ORA-27101错误
- ora-01034 ora-27101 错误
- ORA-01151;ORA-01537错误
- ORA-29913、ORA-30653错误
- ORA-07445 ORA-24324 ORA-01041错误
- ORA-03113错误分析
- ora-02085错误
- DataGuard - ORA-10567错误
- ORA-04098错误解决方法
- ORA-01658错误。
- ORA-04091错误解决
- ORA-01400错误
- mdss 8x26/8x74 display debug and reading notes(vsync, interface and so on)
- 用expat解析包解析XML文件
- PE文件到内存的映射
- 老生常谈IE兼容性:ie6 javascript:void(0)、IE7 input透明、IE8 jquery动态加载css
- ORA-31655: no data or metadata objects selected for job
- ORA-20001错误
- 25个必须记住的SSH命令
- 世界上首个太赫兹真空功率放大器问世
- Java操作MongoDB NoSQL数据库
- 开源的XML Parser expat的介绍和使用心得
- Android系统硬件抽象层(HAL)原理
- Python实现ini文件操作
- iOS通过Quartz画矩形、文字、线
- 选择法:进行数组的排序