[root@localhost ~]# su - oracle
[oracle@localhost ~]$ emctl start dbconsole
TZ set to PRC
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Timezone mismatch: The agentTZRegion value (US/Eastern) in
/home/oracle/product/10.2.0/db_1/localhost.localdomain_orcl/sysman/config/emd.properties
does not match the current environment TZ setting(PRC).
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.
[oracle@localhost ~]$ export TZ=PRC =====★①
[oracle@localhost ~]$ 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
[oracle@localhost ~]$ 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.
[oracle@localhost ~]$ 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.
[oracle@localhost ~]$ emctl start dbconsole ======★⑤
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Agent Version : 10.1.0.4.1
OMS Version : Unknown
Protocol Version : 10.1.0.2.0
Agent Home : /home/oracle/product/10.2.0/db_1/localhost.localdomain_orcl
Agent binaries : /home/oracle/product/10.2.0/db_1
Agent Process ID : 8137
Parent Process ID : 8134
Agent URL :
Started at : 2011-06-18 14:21:33
Started by user : oracle
Last Reload : 2011-06-18 14:21:33
Last successful upload : (none)
Last attempted upload : (none)
Total Megabytes of XML files uploaded so far : 0.00
Number of XML files pending upload : 42
Size of XML files pending upload(MB) : 5.39
Available disk space on upload filesystem : 56.81%
Agent is already started. Will restart the agent
Stopping agent .... stopped.
Starting Oracle Enterprise Manager 10g Database Control ........................... started. ===★起動成功
------------------------------------------------------------------
Logs are generated in directory /home/oracle/product/10.2.0/db_1/localhost.localdomain_orcl/sysman/log
[oracle@localhost ~]$
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/23592076/viewspace-700179/,如需转载,请注明出处,否则将追究法律责任。