[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.
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问题。
[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
具体解决方法也可以查看:
http://wenku.baidu.com/view/e424a130b90d6c85ec3ac632.html