今天在启动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/