暂无图片
暂无图片
1
暂无图片
暂无图片
暂无图片

数据库正常,oracle EM 监控状态为down

原创 问题归档 2019-05-26
2217

问题描述

有套12c的数据库时正常open的状态,查看em agent的状态也是正常的,但是在EM界面查看该库信息则出错,在EM资料库中查询该库信息显示库is down ,EM监控的其他库是正常的烦请熟悉这块内容的专家指导下。

image.png


在EM 的资料库里查询

image.png

专家解答

trace文件:

2018-11-09 08:37:00,738 [MetricCollector:SITEMAP_THREAD1513:15] ERROR rt.DbMetricCollectorTarget logp.251 - Exception  in getConnection()<Database_name>:oracle_databasejava.sql.SQLException: Connection Cache with this Cache Name does not exist
2018-11-09 08:37:00,738 [MetricCollector:SITEMAP_THREAD1513:15] ERROR perf.sitemap logp.251 - java.sql.SQLException: Connection Cache with this Cache Name does not exist
java.sql.SQLException: Connection Cache with this Cache Name does not exist
at oracle.jdbc.pool.OracleConnectionCacheManager.purgeCache(OracleConnectionCacheManager.java:947)
at oracle.sysman.emSDK.core.util.jdbc.ConnectionCache.close(ConnectionCache.java:345)


经过查询是连接池的Bug 28513706 - 13c2EM: DB home page shows Connection Cache with this Cache Name does not exist


临时解决方案关闭连接池功能:

1. <OMS_HOME>/bin/emctl set property -name use_pooled_target_connections -value false
2. Restart oms  
  <OMS_HOME>/bin/emctl stop oms -all
  <OMS_HOME>/bin/emctl start oms
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论