ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 时区错误导致oracle的EM不能启动解决办法

时区错误导致oracle的EM不能启动解决办法

原创 Linux操作系统 作者:atlantisholic 时间:2011-03-19 22:15:46 0 删除 编辑
时区错误导致oracle的EM不能启动解决办法
2010年06月10日 星期四 16:25
rac1-> emctl stop dbconsole
TZ set to Asia/Chungking
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://rac1:1158/em/console/aboutApplication
Stopping Oracle Enterprise Manager 10g Database Control ...
... Stopped.


rac1-> emctl start dbconsole
TZ set to Asia/Chungking
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://rac1:1158/em/console/aboutApplication

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

解决办法如下:

rac1-> export TZ=PRC
rac1-> emctl config agent getTZ
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
PRC
rac1-> emctl config agent updateTZ
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
rac1-> emctl start agent
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Starting agent ........ started.
rac1-> 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://rac1:1158/em/console/aboutApplication
Agent Version     : 10.1.0.4.1
OMS Version       : Unknown
Protocol Version : 10.1.0.2.0
Agent Home        : /u01/oracle/product/10.2.0/db_1/rac1_devdb1
Agent binaries    : /u01/oracle/product/10.2.0/db_1
Agent Process ID : 2848
Parent Process ID : 2845
Agent URL         : http://rac1:3938/emd/main
Started at        : 2010-06-10 16:22:19
Started by user   : oracle
Last Reload       : 2010-06-10 16:22:19
Last successful upload                       : (none)
Last attempted upload                        : (none)
Total Megabytes of XML files uploaded so far :     0.00
Number of XML files pending upload           :        6
Size of XML files pending upload(MB)         :     0.15
Available disk space on upload filesystem    :    62.08%
Agent is already started. Will restart the agent
Stopping agent ... stopped.
Starting Oracle Enterprise Manager 10g Database Control .......................... started.
------------------------------------------------------------------
Logs are generated in directory /u01/oracle/product/10.2.0/db_1/rac1_devdb1/sysman/log
rac1->

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

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

注册时间:2010-08-30

  • 博文量
    130
  • 访问量
    632243