5.重建监听 emca -config dbcontrol db -repos create
(如果这一步出现对象已存在或者sysman已存在错误,可以按以下操作
1.删除早期DBCONSOLE创建的用户:
sql>drop role MGMT_USER;
sql>drop user MGMT_VIEW cascade;
sql>drop user sysman cascade;
2.删除早期DBCONSOLE创建的对象:
sql>drop PUBLIC SYNONYM MGMT_TARGET_BLACKOUTS;
sql>drop PUBLIC SYNONYM SETEMVIEWUSERCONTEXT;
然后再重新执行重建操作。)
5.删除原来的监听 emca -deconfig dbcontrol db -repos drop
(如果不记得sysman的密码,可以先修改下alter user sysman identified by oracle;)
6.重建监听 emca -config dbcontrol db -repos create
(如果这一步出现对象已存在或者sysman已存在错误,可以按以下操作
1.删除早期DBCONSOLE创建的用户:
sql>drop role MGMT_USER;
sql>drop user MGMT_VIEW cascade;
sql>drop user sysman cascade;
2.删除早期DBCONSOLE创建的对象:
sql>drop PUBLIC SYNONYM MGMT_TARGET_BLACKOUTS;
sql>drop PUBLIC SYNONYM SETEMVIEWUSERCONTEXT;