OEM11g grid control重新配置时SYSMAN无法创建后手工删除

来源:互联网 发布:带网络的电视机 编辑:程序博客网 时间:2024/05/29 13:46

OMS配置不成功,重新安装时,报以下错误:

配置阶段期间, 安装程序将无法在指定的数据库中创建 SYSMAN_MDS 方案。指定的数据库已配置了管理资料档案库。请指定其他数据库详细资料, 或在 Oracle Management Service 的 Oracle 主目录中通过运行以下命令来删除 SYSMAN_MDS 方案:

<ORACLE_HOME>/sysman/admin/emdrep/bin/RepManager  <databaseHost> <ListenerPort> <SID/ServiceName> -action dropall -dbUser <DBUser> -dbPassword <DB Password> -dbRole <DB User Role> -reposName  <Repository Name> -reposPassword <reposPassword> -mwHome <MW HOME> -mwOraHome <MW ORA HOME> -oracleHome <ORACLE_HOME>

 

Solution:

按照提示进行以下操作:

1、进入<ORACLE_HOME>/sysman/admin/emdrep/bin目录

2、设置ORACLE_HOME和相应的ORACLE_SID

D:\app\orcl\product\11.2.0\dbhome_1\sysman\admin\emdrep\bin>set ORACLE_HOME=D:\app\orcl\product\11.2.0\dbhome_1

D:\app\orcl\product\11.2.0\dbhome_1\sysman\admin\emdrep\bin>set ORACLE_SID=orcl

3、运行命令:

emdrep\bin>RepManager.bat xxx.xxx.x.x 1521 orcl -action drop

然后按照提示输入相应的信息,可成功删除sysman方案

Enter SYS user's password :

Enter repository user name : sysman
Getting temporary tablespace from database...
Found temporary tablespace: TEMP
Checking SYS Credentials ... rem error switch
OK.
rem error switch
Dropping the repository..
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.
Dropped Repository Successfully.

 

 

原创粉丝点击
热门问题 老师的惩罚 人脸识别 我在镇武司摸鱼那些年 重生之率土为王 我在大康的咸鱼生活 盘龙之生命进化 天生仙种 凡人之先天五行 春回大明朝 姑娘不必设防,我是瞎子 不停的打喷嚏流鼻涕怎么办 宝宝不停打喷嚏流鼻涕怎么办 孕妇感冒流鼻涕打喷嚏怎么办 孕妇感冒咳嗽流鼻涕怎么办 鼻子痒流鼻涕流眼泪怎么办 天冷鼻子流鼻涕怎么办 感冒流水样鼻涕怎么办 一直有清水鼻涕怎么办 孩子总打喷嚏鼻塞怎么办 4岁儿童流鼻涕怎么办 孕妇清鼻涕不停怎么办 感冒流鼻水怎么办速效办法 一岁宝宝流清涕怎么办 咳嗽喉咙痛有痰怎么办 冻感冒了流鼻涕怎么办 吸烟经常嗓子疼怎么办 擦鼻涕擦破了怎么办 感冒鼻水流不停怎么办 流鼻涕鼻子都擦红了怎么办 鼻子不停的流水怎么办 擦鼻涕耳朵疼怎么办 鼻涕跟水一样怎么办 鼻涕水多打喷嚏怎么办 买来的鼻涕泥是水怎么办? 鼻炎鼻涕跟水怎么办 出门忘记带钥匙怎么办 总留鼻涕水怎么办 流像水一样的鼻涕怎么办 出门忘记带洗面奶怎么办 一侧鼻子流清水怎么办 慢性肠胃炎犯了怎么办 儿子拉肚肚子疼怎么办 皮肤太容易过敏怎么办 过敏脸一直不好怎么办 脸上突然过敏怎么办急救 脸过敏发红疼怎么办 脸上突然过敏了怎么办 脸过敏总反复怎么办 用蜂蜜洗脸过敏怎么办 脸上涂蜂蜜过敏怎么办 孕晚期脸过敏怎么办