EM 12c : Agent Post Install Start Agent Fails with 'status 2' 'EM_PLUGIN_MISMATCH_AND_AGENT_NOT_YET_MANAGED' 'AGENT_VERSION_NOT_SUPPORTED' reported in gcagent.log / emagent.nohup (Doc ID 1665029.1)

Last updated on SEPTEMBER 07, 2016

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.1.0 and later
Information in this document applies to any platform.

Symptoms

12c Agent silent installation fails while starting the agent with the following errors

/AGENT_HOME/cfgtoollogs/cfgfw/CfmLogger_<timestamp>.log reports the following error

SEVERE: oracle.sysman.top.agent:emctl start agent command has failed with status2
INFO: oracle.sysman.top.agent:
Follow the below steps to manually start the agent and add the host and agent targets:
1. Start the agent by executing the command: D:\oemagent_12c_prod\agent_inst\bin\emctl start agent
2. Add the targets by executing the command:D:\oemagent_12c_prod\agent_inst\bin\emctl config agent addinternaltargets
SEVERE: oracle.sysman.top.agent:Agent configuration has failed
INFO: oracle.sysman.top.agent:AgentConfiguration:agent configuration finished with status = false
INFO: oracle.sysman.top.agent:AgentConfiguration:agent configuration finished with status = false
INFO: oracle.sysman.top.agent:The plug-in Agent Configuration Assistant has failed its perform method

 

/AGENT_INST/sysman/log/emagent.nohup reports the following exception

----- Wed Apr  9 12:19:25 2014::656::Launching the JVM with following options: -Xmx128M -server -Djava.security.egd=file:///dev/./urandom -Dsun.lang.ClassLoader.allowArraySyntax=true -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+UseCompressedOops -----
----- Wed Apr  9 12:19:25 2014::656::Time elapsed between Launch of Watchdog process and execing EMAgent is 8 secs -----
----- Wed Apr  9 12:19:25 2014::656::Agent Launched with PID 7060 at time Wed Apr  9 12:19:25 2014 -----
OMS decided to shutdown the agent because of the following reason sent from OMS:  EM_PLUGIN_MISMATCH_AND_AGENT_NOT_YET_MANAGED
----- Wed Apr  9 12:19:40 2014::656::Pid 7060 not found. reaped=7060, processStatus=0 -----
----- Wed Apr  9 12:19:50 2014::656::Checking status of EMAgent : 7060 -----
----- Wed Apr  9 12:19:50 2014::656::EMAgent exited at Wed Apr  9 12:19:50 2014 with return value 0. -----
----- Wed Apr  9 12:19:50 2014::656::EMAgent was shutdown normally. -----
----- Wed Apr  9 12:19:50 2014::656::Exiting watchdog loop

/AGENT_INST/sysman/log/gcagent.log reports the following exception

2014-04-09 12:19:32,788 [1:3305B9] INFO - Agent is up and running.
2014-04-09 12:19:33,303 [73:905DEBE9] WARN - improper ping interval (EM_PING_NOTIF_RESPONSE: SHUTDOWN EM_PLUGIN_MISMATCH_AND_AGENT_NOT_YET_MANAGED)
2014-04-09 12:19:33,312 [82:CB968A7D:GC.SysExecutor.2 (ShutdownFromPing)] INFO - OMS decided to shutdown the agent because of the following reason sent from OMS:  EM_PLUGIN_MISMATCH_AND_AGENT_NOT_YET_MANAGED
2014-04-09 12:19:33,313 [73:905DEBE9] WARN - improper ping interval (EM_PING_NOTIF_RESPONSE: SHUTDOWN EM_PLUGIN_MISMATCH_AND_AGENT_NOT_YET_MANAGED)
2014-04-09 12:19:33,313 [1:3305B9] INFO - Agent is shutting down

OR

Attempting to instal 12.1.0.1  (BP1) agent and pointing to 12.1.0.4 OMS. Installation  failed at 'secure agent' step with the error that the agent cannot be started.

/AGENT_INST/sysman/log/emagent.nohup reports the following exception

----- Tue Feb 17 08:05:43 2015::10702::Launching the JVM with following options: -Xmx128M -server -Djava.security.egd=file:///dev/./urandom -Dsun.lang.ClassLoader.allowArra
ySyntax=true -XX:+UseLinuxPosixThreadCPUClocks -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+UseCompressedOops -----
----- Tue Feb 17 08:05:43 2015::10702::Agent Launched with PID 10755 at time Tue Feb 17 08:05:43 2015 -----
----- Tue Feb 17 08:05:43 2015::10755::Time elapsed between Launch of Watchdog process and execing EMAgent is 2 secs -----
OMS decided to shutdown the agent because of the following reason sent from OMS:  AGENT_VERSION_NOT_SUPPORTED
----- Tue Feb 17 08:05:59 2015::10702::Checking status of EMAgent : 10755 -----
----- Tue Feb 17 08:05:59 2015::10702::EMAgent exited at Tue Feb 17 08:05:59 2015 with return value 0. -----
----- Tue Feb 17 08:05:59 2015::10702::EMAgent was shutdown normally. -----
----- Tue Feb 17 08:05:59 2015::10702::Exiting watchdog loop


/AGENT_INST/sysman/log/gcagent.log reports the following exception

2015-02-17 08:05:47,287 [1:3305B9] INFO - Agent is up and running.
2015-02-17 08:05:47,900 [47:B5BF5C12:GC.Executor.1 (Ping OMS)] WARN - improper ping interval (EM_PING_NOTIF_RESPONSE: SHUTDOWN AGENT_VERSION_NOT_SUPPORTED)
2015-02-17 08:05:47,903 [47:B5BF5C12] INFO - First EVER ping to https://myoms.oracle.com:1159/empbs/upload
2015-02-17 08:05:47,905 [53:FC52DDBF:GC.SysExecutor.0 (ShutdownFromPing)] INFO - OMS decided to shutdown the agent because of the following reason sent from OMS:  AGENT_VERSION_NOT_SUPPORTED
2015-02-17 08:05:47,905 [47:B5BF5C12] WARN - improper ping interval (EM_PING_NOTIF_RESPONSE: SHUTDOWN AGENT_VERSION_NOT_SUPPORTED)
2015-02-17 08:05:47,906 [1:3305B9] INFO - Agent is shutting down
2015-02-17 08:05:49,981 [32:C12DC2A2:HTTP Listener-32 - /emd/lifecycle/main/] INFO - (begin processing requests for emdctl=>[142414594930001])


 

 

Cause

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