ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 时区不匹配导致EM无法正常启动

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

原创 Linux操作系统 作者:seteor 时间:2011-03-22 17:04:27 0 删除 编辑
今天在启动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/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-10-31

  • 博文量
    25
  • 访问量
    53407