启动em dbconsole遇到的timezone问题

[oracle@localhost ~]$ emctl start dbconsole
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0 
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
http://localhost.localdomain:1158/em/console/aboutApplication

Timezone mismatch: The agentTZRegion value (US/Eastern) in
/u01/app/oracle/product/10.2.0/db_1/localhost.localdomain_orcl/sysman/config/emd.properties
does not match the current environment TZ setting(US/Eastern).
The dbconsole cannot run with this mismatch.

If US/Eastern is the correct timezone, set your timezone environment variable to US/Eastern and repeat the 'emctl start dbconsole' operation.

If US/Eastern is not the correct timezone, make sure that the timezone in your environment is correct, and then run the following command in your local Oracle Home: 'emctl resetTZ agent'

The output of this command will include detailed instructions to follow, to correct the mismatch.

虽然时区不同,但是可以解决自己遇到的问题。
/u01/app/oracle/product/10.2.0/db_1/localhost.localdomain_orcl/sysman/config/emd.properties
把此文件的agentTZRegion设置成RPC,再按以下内容就能启动em。

[碰到时区不正确的错误提示时的解决办法]
[oracle@localhost bin]$ export TZ= RPC
[oracle@localhost bin]$ emctl config agent getTZ
[oracle@localhost bin]$ emctl config agent updateTZ
[oracle@localhost bin]$ emctl start agent
[oracle@localhost bin]$ emctl start dbconsole
通过上述方法即可以暂时web方式访问OEM。

但是重启系统之后,还是会出现此问题。不能圆满的解决timezone问题。


使用虚拟机时,如果确认时区都对,有时也会出现此问题。
可以忽略,过段时间或者重启几次就会自动解决此问题。

具体解决方法也可以查看:
http://wenku.baidu.com/view/e424a130b90d6c85ec3ac632.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值