Nach längerem und auch fehlerfreiem Betrieb kann es schon einmal vorkommen, dass ein DB Ziel im Grid Control als heruntergefahren angezeigt wird.
Grid Control: ORA-12541: TNS: Kein Listener (DBD ERROR: OCIServerAttach)
Um das Problem zu beheben einfach auf dem Ziel-Host, in diesem Fall ein Windows System, folgende Befehle im „AGENT_HOME“ ausführen.
cmd>%AGENT_HOME%\bin\ emctl clearstate agent Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0 Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved. EMD clearstate completed successfully cmd>%AGENT_HOME%\bin\ emctl status agent Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0 Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved. -------------------------------------------------------------- Agent Version : 11.1.0.1.0 OMS Version : 11.1.0.1.0 Protocol Version : 11.1.0.0.0 Agent Home : D:\Oracle\agent11g Agent binaries : D:\Oracle\agent11g Agent Process ID : 4832 Agent URL : https://orcl.com:3872/emd/main/ Repository URL : https://gcoem.org:1159/em/upload Started at : 2012-01-09 10:42:01 Started by user : SYSTEM Last Reload : 2012-01-09 11:16:03 Last successful upload : 2012-01-09 11:30:10 Total Megabytes of XML files uploaded so far : 4.13 Number of XML files pending upload : 0 Size of XML files pending upload(MB) : 0.00 Available disk space on upload filesystem : 73.36% Last successful heartbeat to OMS : 2012-01-09 11:29:48 --------------------------------------------------------------- Agent is Running and Ready
Wie immer, die offizielle Dokumentation:
http://docs.oracle.com/cd/E11857_01/em.111/e16790/emctl.htm
ORA-12541: TNS: Kein Listener // Grid Control 11g Alert