ORACLE 10G R1 重建em

emca 出现ERROR,需要重建,但是提示 Repository already exists
....
Do you wish to continue? [yes/no]: yes
Apr 15, 2008 1:38:59 PM oracle.sysman.emcp.EMConfig checkConfiguration
SEVERE: Repository already exists.  Fix the error(s) and run EM Configuration A.
Could not complete the configuration. Refer to the log file for details
  
R2里比较简单,但R1还真找了一会
emca -x <sid>
STARTED EMCA at Tue Apr 15 13:36:24 GMT+08:00 2008
Apr 15, 2008 1:36:25 PM oracle.sysman.emcp.EMConfig stopOMS
INFO: Stopping the DBConsole ...
Enterprise Manager configuration is completed successfully
FINISHED EMCA at Tue Apr 15 13:36:27 GMT+08:00 2008

RepManager <hostname> <listener_port> <sid> -action drop
Enter SYS user's password :
Enter repository user name : sysman
Enter repository user password :
Getting temporary tablespace from database...
Found temporary tablespace: TEMP
Checking SYS Credentials ... OK.
Dropping the repository..
Quiescing DB ... Failed.
Checking for Repos User ... Exists.
Repos User exists..
Clearing EM Contexts ... OK.
Dropping EM users ...
Done.
Dropping Repos User ... Done.
Dropping Roles/Synonymns/Tablespaces ... Done.
Unquiescing DB ... Done.
Dropped Repository Successfully.
emca
...
Apr 15, 2008 1:49:34 PM oracle.sysman.emcp.EMConfig updateConfigFiles
INFO: emoms.properties file is updated successfully
Apr 15, 2008 1:49:35 PM oracle.sysman.emcp.EMConfig startOMS
INFO: Starting the DBConsole ...
Apr 15, 2008 1:51:15 PM oracle.sysman.emcp.EMConfig perform
INFO: DBConsole is started successfully
Apr 15, 2008 1:51:15 PM oracle.sysman.emcp.EMConfig perform
INFO: >>>>>>>>>>> The Enterprise Manager URL is http://
Enterprise Manager configuration is completed successfully
FINISHED EMCA at Tue Apr 15 13:51:15 GMT+08:00 2008

RepManager在<ORACLE_HOME>/sysman/admin/emdrep/bin/在下

RAC环境用 emca -c
Input Cluster name, Database name, Service Name...
 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值