My Oracle Support Banner

EM 12c: Enterprise Manager 12c Cloud Control Agent Upload Fails with Error: OMS version not checked yet (Doc ID 1558802.1)

Last updated on JULY 07, 2017

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.1.0 and later
Information in this document applies to any platform.
Article is current 29-Nov-2014

Symptoms

Enterprise Manager (EM) 12c Cloud Control Agent command line upload with emctl fails with this session error:

oracle@hostname:/u01/app/oracle/middleware/core/12.1.0.1.0/bin
[m2h2]$ ./emctl upload agent
Oracle Enterprise Manager 12c Cloud Control 12.1.0.1.0
Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
EMD upload error:full upload has failed: uploadXMLFiles skipped :: OMS version not checked yet. If this issue persists check trace files for ping to OMS related errors. (OMS_DOWN)


oracle@hostname:/u01/app/oracle/middleware/core/12.1.0.1.0/bin
[m2h2]$ ./emctl status agent
Oracle Enterprise Manager 12c Cloud Control 12.1.0.1.0
Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent Version     : 12.1.0.1.0
OMS Version       : (unknown)
Protocol Version  : 12.1.0.1.0
Agent Home        : /u01/app/oracle/middleware/agent_inst
Agent Binaries    : /u01/app/oracle/middleware/core/12.1.0.1.0
Agent Process ID  : 9299
Parent Process ID : 7898
Agent URL         : http://agenthostname:3872/emd/main/
Repository URL    : https://omshostname:4903/empbs/upload/
Started at        : 2013-05-24 15:21:38
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           : 0
Size of XML files pending upload(MB)         : 0
Available disk space on upload filesystem    : 76.58%
Collection Status                            : Collections enabled
Last attempted heartbeat to OMS              : 2013-05-28 17:52:21
Last successful heartbeat to OMS             : (none)

---------------------------------------------------------------
Agent is Running and Ready

 

 

The .../agent_inst/sysman/log/gcagent.log file reports the following errors:

2013-05-28 17:52:08,019 [32:HTTP Listener-32 - /emd/main/] ERROR - agent raised internal error on request 136976352760001
2013-05-28 17:52:08,020 [32:HTTP Listener-32 - /emd/main/] ERROR - An internal error has occurred.
oracle.sysman.emSDK.agent.client.exception.TMInternalError
at oracle.sysman.gcagent.comm.agent.http.HTTPRequestHandler.handle(HTTPRequestHandler.java:248)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:933)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)
at org.eclowse.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)
at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1007)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:839)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:203)
at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:462)
at oracle.sysman.gcagent.comm.agent.http.HTTPListenerThreadPool$JobSleeve.run(HTTPListenerThreadPool.java:252)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)
at oracle.sysman.gcagent.util.system.GCAThread$RunnableWrapper.run(GCAThread.java:139)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NullPointerException

 

 

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.