"oracle.sysman.emSDK.agent.comm.exception.KeyMismatchException: agent key mismatch" error for 12c agent

(Doc ID 1569471.1)

Last updated on JULY 27, 2013

Applies to:

Enterprise Manager Base Platform - Version to [Release 12.1]
Information in this document applies to any platform.

Symptoms agent is uploading working with following errors:

/oem/agent12/agent_inst/bin > emctl status agent
Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
Agent Version :
OMS Version : (unknown)
Protocol Version :
Agent Home : /oem/agent12/agent_inst
Agent Binaries : /oem/agent12/core/
Agent Process ID : 7403
Parent Process ID : 7387
Agent URL : https://agent:3872/emd/main/
Repository URL : https://oms:4900/empbs/upload
Started at : 2013-07-16 20:02:29
Started by user : oracle
Last Reload : (none)
Last successful upload : (none)
Last attempted upload : (none)
Total Megabytes of XML files uploaded so far : 0
Number of XML files pending upload : 873
Size of XML files pending upload(MB) : 2.75
Available disk space on upload filesystem : 92.32%
Collection Status : Collections enabled
Heartbeat Status : OMS is unreachable
Last attempted heartbeat to OMS : 2013-07-16 20:20:21
Last successful heartbeat to OMS : (none)
Next scheduled heartbeat to OMS : 2013-07-16 20:20:51

Agent is Running and Ready

 gcagent_errors.log shows following errors in AGENT_INST/sysman/log: 

2013-07-16 19:54:00,802 [33:HTTP Listener-33 - /emd/lifecycle/main/] ERROR - agent key mismatch
oracle.sysman.emSDK.agent.comm.exception.KeyMismatchException: agent key mismatch
at oracle.sysman.gcagent.comm.agent.http.HTTPLifecycleHandler$LifecycleProtocolServer.onServiceProtocol(HTTPLifecycleHandler.java:130)
at oracle.sysman.gcagent.comm.agent.http.HTTPLifecycleHandler.handle(HTTPLifecycleHandler.java:212)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:933)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:245)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)
at org.eclipse.jetty.server.Server.handle(Server.java:330)
at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559)



Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms