安装oracle 10g EM database control

   今天下午在公司装了下10g em database control,以方偏web方式来管理数据库

手工建立EM dbconsole的步骤
1. 建立oracle数据库
2. 建立资料档案库
    emca -repos create
3. 配置EM dbconsole
    emca -config dbconsole db
4. 检查EM dbconsole 配置属性
   检查$ORACLE_HOME/_/sysman/config下的
  emoms.properties

5.在以web方式运行http://192.168.15.109:5500/em登录后出现以下错误

java.lang.Exception: Exception in sending Request :: null
 解决方案:找到下面的文件

$ORACLE_HOME\db_1\$HOSTNAME\sysman\config\emd.properties

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

agentTZRegion=GMT+8

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

然后先停止 dbconsole 使时区设置生效并重启OracleDBConsole:

1.emctl stop dbconsole

2.emctl resetTZ agent

D:\oracle\product\10.2.0\db_1\BIN>emctl resetTZ agent
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
Updating D:\oracle\product\10.2.0\db_1/192.168.15.109_orcl/sysman/config/emd.pro
perties...
Time zone set to Asia/Shanghai.

To complete this process, you must either:

connect to the database served by this DBConsole as user 'sysman', and execute:

SQL> exec mgmt_target.set_agent_tzrgn('192.168.15.109:3938','Asia/Shanghai')

                        -- or --

connect to the database served by this DBConsole as user 'sys', and execute:

SQL> alter session set current_schema = SYSMAN;
SQL> exec mgmt_target.set_agent_tzrgn('192.168.15.109:3938','Asia/Shanghai')

3.emctl config agent getTZ

4.emctl start dbconsole

 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/7199859/viewspace-545154/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/7199859/viewspace-545154/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值