启动 EM 报错:does not match the current environment TZ setting(PRC)
来源:互联网 发布:淘宝金钱柳茶 编辑:程序博客网 时间:2024/05/22 15:18
启动 EM 报错:
[oracle@myhost bin]$ ./emctl start dbconsoleTZ set to PRCOracle Enterprise Manager 10g Database Control Release 10.2.0.1.0 Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.http://myhost.com:1158/em/console/aboutApplicationTimezone mismatch: The agentTZRegion value (US/Pacific) in /u01/app/oracle/oracle/product/10.2.0/db_1/myhost.com_orcl/sysman/config/emd.propertiesdoes not match the current environment TZ setting(PRC).The dbconsole cannot run with this mismatch.If US/Pacific is the correct timezone, set your timezone environment variable to US/Pacific and repeat the 'emctl start dbconsole' operation.If US/Pacific 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.
安装数据库修改redhat的时区,按照提示做以下操作:
[oracle@myhost bin]$ ./emctl resetTZ agentTZ set to PRCOracle Enterprise Manager 10g Database Control Release 10.2.0.1.0 Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.Updating /u01/app/oracle/oracle/product/10.2.0/db_1/myhost.com_orcl/sysman/config/emd.properties...Time zone set to PRC.To complete this process, you must either:connect to the database served by this DBConsole as user 'sysman', and execute:SQL> exec mgmt_target.set_agent_tzrgn('myhost.com:3938','PRC') -- or --connect to the database served by this DBConsole as user 'sys', and execute:SQL> alter session set current_schema = SYSMAN;SQL> exec mgmt_target.set_agent_tzrgn('myhost.com:3938','PRC')
执行上述SQL
[oracle@myhost bin]$ sqlplus /nologSQL*Plus: Release 10.2.0.1.0 - Production on Fri Mar 2 11:49:51 2012Copyright (c) 1982, 2005, Oracle. All rights reserved.SQL> conn / as sysdbaConnected.SQL> alter session set current_schema = SYSMAN;Session altered.SQL> exec mgmt_target.set_agent_tzrgn('myhost.com:3938','PRC');PL/SQL procedure successfully completed.SQL> exitDisconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - ProductionWith the Partitioning, OLAP and Data Mining options
再启动服务
[oracle@myhost bin]$ ./emctl start dbconsoleTZ set to PRCOracle Enterprise Manager 10g Database Control Release 10.2.0.1.0 Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.http://myhost.com:1158/em/console/aboutApplicationStarting Oracle Enterprise Manager 10g Database Control ....... started. ------------------------------------------------------------------Logs are generated in directory /u01/app/oracle/oracle/product/10.2.0/db_1/myhost.com_orcl/sysman/log [oracle@myhost bin]$
- 启动 EM 报错:does not match the current environment TZ setting(PRC)
- RAC OEM 时区错does not match the current environment TZ
- Apache启动报错Name or service not known,`127.0.0.1' does NOT match server name!
- eclipse报错java compiler level does not match the version of the installed java project
- eclipse 报错 java compiler level does not match the version of the installed java project
- java compiler level does not match the version of the installed java project facet报错
- Environment variable ORACLE_SID not defined. Please define it.启动EM报错
- Environment variable ORACLE_SID not defined. Please define it.启动EM报错
- Android开发报错:AppCompat does not support the current theme features
- 使用ToolBar时的报错AppCompat does not support the current theme features
- ToolBar报错:AppCompat does not support the current theme features
- cloudera安装过程报错:Your password does not satisfy the current policy requirements
- quartus II编译报错:Error: Current license file does not support the XXX device
- linux mysql 报错 ERROR 1819 (HY000): Your password does not satisfy the current policy requirements
- eclipse 报 Java compiler level does not match the version of the installed Java project facet报错
- myeclipse报错: java compiler level does not match the version of the installed java project facet
- eclipse 报错 Java compiler level does not match the version of the installed Java project facet.
- java compiler level does not match the version of the installed java project facet 项目导入报错解决
- 若干有序链表的比对算法
- GC的运行原理
- ie6 实现最小高度 min-height
- C语言文件操作函数大全
- virtual studion中建立项目和方案的流程以及如何关联两个项目
- 启动 EM 报错:does not match the current environment TZ setting(PRC)
- CentOS 安装Intel PRO/Wireless 2200BG
- UBUNTU命令
- 证书及认证过程
- DevExpress控件的GridControl控件
- 自动化测试前期准备工作
- 教学系列CentOS安装和配置无线网卡
- JAVA中涉及函数参数的传递问题。
- 色环电阻计算器