11g 重建EM 报ORA-20001…
来源:互联网 发布:营销大数据分析 编辑:程序博客网 时间:2024/05/05 18:17
http://blog.itpub.net/14941137/viewspace-660514/
今天在安装11g(11.1.0.7.0)数据库之后,通过emca -config dbcontrol db -repos create命令手工创建em的时候报错,查看日志后发现有以下错误:
CONFIG: Spooling toC:\app\Administrator\cfgtoollogs\emca\orcl\emca_repos_create_2009_01_16_06_44_13.log
Jan 16, 2009 6:44:13 AM oracle.sysman.emcp.EMReposConfigcreateRepository
INFO: Creating the EM repository (this may take a while)...
Jan 16, 2009 6:44:13 AM oracle.sysman.emcp.EMReposConfigcreateRepository
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
Jan 16, 2009 6:44:13 AM oracle.sysman.emcp.EMReposConfiginvoke
SEVERE: Error creating the repository
Jan 16, 2009 6:44:13 AM oracle.sysman.emcp.EMReposConfiginvoke
INFO: Refer to the log file atC:\app\Administrator\cfgtoollogs\emca\orcl\emca_repos_create_.logfor more details.
Jan 16, 2009 6:44:13 AM oracle.sysman.emcp.EMConfigperform
SEVERE: Error creating the repository
Refer to the log file atC:\app\Administrator\cfgtoollogs\emca\orcl\emca_2009_01_16_06_43_53.logfor more details.
Jan 16, 2009 6:44:13 AM oracle.sysman.emcp.EMConfigperform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Error creating therepository
经过同事提醒,才知道自己犯了一个很白痴的错误,在手工创建EM之前,需要先要删除EM配置信息:
具体操作如下:
1、使用emca -deconfig dbcontrol db命令删除配置
2、使用emca -repos drop删除repository
3、使用emca -config dbcontrol db -repos create 创建Database Control。
以上操作,也适用于10g
- 11g 重建EM 报ORA-20001…
- Oracle 10G重建EM DB Control.
- 10G 重建EM 报ORA-20001: SYSMAN already exists
- Oracle10g重建EM 报ORA-20001: SYSMAN already exists
- Oracle10g重建EM 报ORA-20001: SYSMAN already exists
- Oracle10g重建EM 报ORA-20001: SYSMAN already exists
- Oracle10g重建EM 报ORA-20001: SYSMAN already exists
- 11g r2 重建em
- ORACLE 11G 配置DG&nbsp…
- 11g: TNS-12532 / …
- LOB segment and LOB index(11g R2…
- ORA-16014,接着 …
- Error: ORA-1505…
- ORA-03137: TTC …
- impdp报ora-39001 ora-39000&…
- g++ error : decla…
- RMAN 报:ORA-19504 ORA-27038
- ORA-00700: soft internal error, …
- 关于 laptop-mode-tools 的设置
- 关于oracle中varchar2的最大长度
- Oracle 中的exception——(Raise)
- GLOBAL TEMPORARY TABLE
- ORACLE_UNQNAME
- 11g 重建EM 报ORA-20001…
- Oracle PL/SQL过程与函数hell…
- 清除dash中应用程序残留信息
- ubuntu下安装bochs
- tr用法
- Lenovo Thinkpad X240 & Xubuntu
- 在Matlab中通过JDBC连接Oracle&nbs…
- ubuntu14.04下用gcc及gfortran编写…
- 如何写mexFunction函数