重装oracle并已启动dbconsole后无法访问em
大家好,我重装oracle并已启动dbconsole后无法访问http:// WIN-4QNFBI9JC2S:1158/em,在网上查到此问题跟时区设置有关,以下的代码也说明这个问题,我电脑上显示的时区是UTC+08:00,我先把dbconsole停掉,由于在emd.properties文件中没有看到这个agentTZRegion字段,我就直接添加一个agentTZRegion=UTC+08:00,保存再启动dbconsole,但运行emctl status dbconsole
还是显示EM Daemon is not running.
C:\Users\Administrator>emctl status dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://WIN-4QNFBI9JC2S:1158/em/console/aboutApplication
EM Daemon is not running.
------------------------------
Logs are generated in directory E:\oracle\product\10.2.0\db_1/WIN-4QNFBI9JC2S_or
cl/sysman/log
C:\Users\Administrator> 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 E:\oracle\product\10.2.0\db_1/WIN-4QNFBI9JC2S_orcl/sysman/config/emd.pr
operties...
resetTZ failed.
The agentTZRegion in:
E:\oracle\product\10.2.0\db_1/WIN-4QNFBI9JC2S_orcl/sysman/config/emd.properties
is not in agreement with what the agent thinks it should be.
Fix your environment.
Pick a TZ value that corresponds to time zone settings listed in:
E:\oracle\product\10.2.0\db_1/sysman/admin/supportedtzs.lst
------解决方案--------------------关注一下,我目前也遇到了这个问题,希望有人帮忙解决
------解决方案--------------------EM管理器我之前我遇到过不少问题,后来是把EM配置文件删除了,重新建立,再进行配置就好了
C:\Documents and Settings\Administrator>emca -repos drop
...................
C:\Documents and Settings\Administrator>emca -repos create
最后重新配置
C:\Documents and Settings\Administrator>emca -config dbcontrol db
------解决方案--------------------孩子,让我来给你解答吧,我在无意中将这个问题给解决了。