时区不匹配导致EM无法正常启动

今天在启动EM时报如下错误:
[oracle@cfbtest ~]$ emctl start dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0  
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
http://cfbtest:1158/em/console/aboutApplication

Timezone mismatch: The agentTZRegion value (US/Eastern) in
 /opt/oracle/product/10.2.0/cfbtest_fost/sysman/config/emd.properties
does not match the current environment TZ setting(RPC).
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.

处理办法:
1.先查看系统时区:
[oracle@cfbtest ~]$ cat /etc/sysconfig/clock 
# The ZONE parameter is only evaluated by system-config-date.
# The timezone of the system is defined by the contents of /etc/localtime.
ZONE="Asia/Shanghai"
UTC=false
ARC=false

2.再查看agentTZRegion
cat /opt/oracle/product/10.2.0/cfbtest_fost/sysman/config/emd.properties
最后一行为:
agentTZRegion=US/Eastern

明显不匹配,
3. export TZ=RPC
4.修改emd.properties文件,改成agentTZRegion=RPC
最后重新启动 em

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

转载于:http://blog.itpub.net/618537/viewspace-690184/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值