EM13c: Agent Install in Silent Mode failed with error "SEVERE:emctl secure agent command has failed with status=2"
(Doc ID 3057442.1)
Last updated on JANUARY 01, 2025
Applies to:
Enterprise Manager Base Platform - Version 13.5.0.0.0 and laterInformation in this document applies to any platform.
Symptoms
Agent install on OCI server in Silent Mode failed with below error
Validated the agent port :- ----<agent port#>
shared agent value is :false
chain install is :false
SEVERE:emctl secure agent command has failed with status=2
SEVERE:emctl secure agent command has failed with status=2
SEVERE:emctl secure agent command has failed with status=2
Agent configuration has failed
<ABD>/agent_13.5.0.0.0/cfgtoollogs/agentDeploy/agentDeploy_<Date/Timestamp>.log
Waiting for agent targets to get promoted...
Waiting for agent targets to get promoted...
Promoting agent and its related targets to Management Service failed probably due to target type meta version present on the agent is not present on the OMS.Make sure that the plug-in version deployed on agents is the same as that of the version on the OMS. Also, the agent should be on the same bundle patch version as that of the OMS.For more details, check <AGENT_INST>/sysman/log/gcagent.log on agent and emoms_pbs.log on the OMS.
Fix the cause of the error and retry the operation (or) manually run the following commands on the remote host
<ABD>/agent_inst/bin/emctl start agent
<ABD>/agent_inst/bin/emctl config agent addinternaltargets
shared agent value is :false
chain install is :false
SEVERE:emctl secure agent command has failed with status=2
SEVERE:emctl secure agent command has failed with status=2
SEVERE:emctl secure agent command has failed with status=2
Agent configuration has failed
<ABD>/agent_13.5.0.0.0/cfgtoollogs/agentDeploy/agentDeploy_<Date/Timestamp>.log
Waiting for agent targets to get promoted...
Waiting for agent targets to get promoted...
Promoting agent and its related targets to Management Service failed probably due to target type meta version present on the agent is not present on the OMS.Make sure that the plug-in version deployed on agents is the same as that of the version on the OMS. Also, the agent should be on the same bundle patch version as that of the OMS.For more details, check <AGENT_INST>/sysman/log/gcagent.log on agent and emoms_pbs.log on the OMS.
Fix the cause of the error and retry the operation (or) manually run the following commands on the remote host
<ABD>/agent_inst/bin/emctl start agent
<ABD>/agent_inst/bin/emctl config agent addinternaltargets
agentDeploy_<Date/Timestamp>.log
Oracle Enterprise Manager Cloud Control 13c Release 5
Copyright (c) 1996, 2021 Oracle Corporation. All rights reserved.
Failed to stop agent...
INFO: The command: <ABD>/agent_inst/bin/emctl secure agent completed with status=2
SEVERE: emctl secure agent command has failed with status=2 on attempt 2
INFO: CONFIG_ERROR7
INFO: Agent configuration has failed
Copyright (c) 1996, 2021 Oracle Corporation. All rights reserved.
Failed to stop agent...
INFO: The command: <ABD>/agent_inst/bin/emctl secure agent completed with status=2
SEVERE: emctl secure agent command has failed with status=2 on attempt 2
INFO: CONFIG_ERROR7
INFO: Agent configuration has failed
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 |
Cause |
Solution |
References |