客户10g数据库升级后,EM不能正常使用,查看告警日志中出现下面报错:
参考文档:Problem: Startup: Agent Is Unreachable After Database Upgrade (Doc ID 358894.1)
解决方案如下:
2006-02-19 18:11:02 Thread-852 WARN upload: FxferSend: received fatal error in header from FATAL_ERROR::500|ORA-20603: Updating timezone region of a target is not supported. Use mgmt_target.set_agent_tzrgn() API to modify the timezone region.(target name = myhost.com:1831)(target type = oracle_emd)(new tzrgn = +04:00)(old tzrgn = UTC)
ORA-06512: at "SYSMAN.CHECK_DUPLICATE_TARGETS", line 86
ORA-04088: error during execution of trigger 'SYSMAN.CHECK_DUPLICATE_TARGETS'复制
参考文档:Problem: Startup: Agent Is Unreachable After Database Upgrade (Doc ID 358894.1)
解决方案如下:
1. Stop the database console if not already stopped
2. Set ORACLE_HOME and ORACLE_SID env variables
3. Also set the timezone variables accordingly:
Unix/Linux : export TZ=<TZ value>
Windows : set TZ=<TZ value>
4. Execute the following command:
$ORACLE_HOME/bin/emctl resetTZ agent
Note: The above will show instructions simialr to the next step:
5. Connect to the database served by this DBConsole as user 'sysman', and execute:
SQL> exec mgmt_target.set_agent_tzrgn('target name','new tzrgn')
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('target name','new tzrgn')
These messages will be displayed automatically after execute $ORACLE_HOME/bin/emctl resetTZ agent.
Then do not forget execute
SQL > commit;
6. Start the dbconsole: "emctl start dbconsole"
- check the status of the agent until it comes up: "emctl status agent"
- force an upload: emctl upload
7. Check the status of the database in the console.复制
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。
评论
相关阅读
【纯干货】Oracle 19C RU 19.27 发布,如何快速升级和安装?
Lucifer三思而后行
669次阅读
2025-04-18 14:18:38
Oracle RAC 一键安装翻车?手把手教你如何排错!
Lucifer三思而后行
629次阅读
2025-04-15 17:24:06
Oracle数据库一键巡检并生成HTML结果,免费脚本速来下载!
陈举超
539次阅读
2025-04-20 10:07:02
【活动】分享你的压箱底干货文档,三篇解锁进阶奖励!
墨天轮编辑部
487次阅读
2025-04-17 17:02:24
【ORACLE】记录一些ORACLE的merge into语句的BUG
DarkAthena
482次阅读
2025-04-22 00:20:37
一页概览:Oracle GoldenGate
甲骨文云技术
464次阅读
2025-04-30 12:17:56
【ORACLE】你以为的真的是你以为的么?--ORA-38104: Columns referenced in the ON Clause cannot be updated
DarkAthena
453次阅读
2025-04-22 00:13:51
火焰图--分析复杂SQL执行计划的利器
听见风的声音
409次阅读
2025-04-17 09:30:30
3月“墨力原创作者计划”获奖名单公布
墨天轮编辑部
371次阅读
2025-04-15 14:48:05
OR+DBLINK的关联SQL优化思路
布衣
349次阅读
2025-05-05 19:28:36