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

很多功能不能用,提示重新登录

Oracle 10g java.lang.Exception: Exception in sending Request :: null

解决方案:找到下面的文件“$ORACLE_HOME\db_1\$HOSTNAME\sysman\config\emd.properties

其中的agentTZRegion缺省是GMT,改为你所在的时区即可,例如:

agentTZRegion=Asia/Shanghai

关于设置时区的列表参考:“10.2.0\db_1\sysman\admin\supportedtzs.lst

然后先停止dbconsole 在重启dbconsole :

set ORACLE_SID=orcl

emctl stop dbconsole

emctl start dbconsole

如以下截图:

Oracle 10g java.lang.Exception: Exception in sending Request :: null

重新登陆,OK!

Oracle 10g java.lang.Exception: Exception in sending Request :: null

相关文章:

  • 2021-07-16
  • 2021-05-02
  • 2021-06-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-16
猜你喜欢
  • 2021-05-06
  • 2022-12-23
  • 2021-12-30
  • 2021-11-03
  • 2021-11-04
相关资源
相似解决方案