Oracle 10G重建EM DB Control
1.drop configuration files and repository run :?
????emca -deconfig dbcontrol db -repos drop
2. Logon SQLPLUS as user SYS or SYSTEM, and drop the sysman account and mangement objects:
??? a.?drop user sysman cascade;?
??? b.?drop role MGMT_USER;
??? c.?drop user MGMT_VIEW cascade;?
??? d.?drop public synonym MGMT_TARGET_BLACKOUTS;
??? e.?drop public synonym SETEMVIEWUSERCONTEXT;
3.Create configuration files and repository run
????emca -config dbcontrol db -repos create
创建EM时,提示的端口号,应为实例的断口号,比如1521,不是EM的端口号(比如1158)EM的端口号在这个文件中可以查到10.2.0\db_1\sysman\config\emca.properties
然后,进行em后,界面出来了,但报了一个错:java.lang.Exception: Exception in sending Request :: null
很多功能不能用,提示重新登录