SEVERE:emctl secure agent command has failed with status=1

Cause:

Wrong registration password has been specified in the parameter AGENT_REGISTRATION_PASSWORD while deploying the agent in target database

Error message while configuration of agent

SEVERE:emctl secure agent command has failed with status=1
SEVERE:emctl secure agent command has failed with status=1
SEVERE:emctl secure agent command has failed with status=1
Agent configuration has failed
/u01/app/oracle/agent/agent_13.4.0.0.0/cfgtoollogs/agentDeploy/agentDeploy_2021-11-25_22-17-28-PM.log
Waiting for agent targets to get promoted...
Waiting for agent targets to get promoted...
Waiting for agent targets to get promoted...
Waiting for agent targets to get promoted...
Waiting for agent targets to get promoted...

Log file shows message similar to below errors

SEVERE: emctl secure agent command has failed with status=1 on attempt 1
INFO: CONFIG_ERROR7
INFO:
Cloning the agent home...
INFO: Oracle Enterprise Manager Cloud Control 13c Release 4
INFO: Copyright (c) 1996, 2020 Oracle Corporation.  All rights reserved.
INFO: Agent is already stopped...   Done.
INFO: Securing agent...   Started.
INFO: ^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^HInvalid Agent Registration Password specified
INFO: Securing agent...   Failed.
INFO: Plugin homes:
INFO: Plugin homes:
SEVERE: STDERR:

STDOUT=

Oracle Enterprise Manager Cloud Control 13c Release 4
Copyright (c) 1996, 2020 Oracle Corporation.  All rights reserved.
Agent is already stopped...   Done.
Securing agent...   Started.
^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^HInvalid Agent Registration Password specified
Securing agent...   Failed.
INFO: The command: /u01/app/oracle/agent/agent_inst/bin/emctl secure agent  completed with status=1
SEVERE: emctl secure agent command has failed with status=1 on attempt 2
INFO: CONFIG_ERROR7
INFO: Agent configuration has failed

Solution:

Specify the right password for AGENT_REGISTRATION_PASSWORD

For more details see this link on how to configure registration passwords in OEM https://alphaoragroup.com/2021/11/25/configure-registration-passwords-in-oem-13c/?preview_id=10774&preview_nonce=005946b6b1&preview=true

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s