My Oracle Support Banner

OMC : Cloud Agent Installation failing while Registering Cloud Agent (Doc ID 2499112.1)

Last updated on JULY 13, 2020

Applies to:

Oracle Management Cloud - Version N/A to N/A [Release 1.0]
Information in this document applies to any platform.


Cloud Agent installation is failing with an error:
[OMCAGNT-0000]: The execution of command [<OMC_Agent_Inst>/bin/omcli register agent <OMC_Agent_Home>/core/1.36.0/install/] resulted in error with exit code [255].

Following error stack is reported from <OMC_Agent_Home>/cfgtoollogs/AgentInstall_<timestamp>.log:

INFO AgentSetupHandler:463 - Registering Cloud Agent...

DEBUG AgentSetupHelper:270 - Agent Name is evaluated to [<Hostname>] from url [https://<Hostname>:1841/emd/main/]
DEBUG ProcessBuilderUtil:62 - Command to execute is {<OMC_Agent_Inst>/bin/omcli register agent <OMC_Agent_Home>/core/1.36.0/install/}
DEBUG ProcessBuilderUtil:106 - Command {<OMC_Agent_Inst>/bin/omcli register agent <OMC_Agent_Home>/core/1.36.0/install/}
execution completed with exit value [255] and output as
{Oracle Management Cloud Agent
Copyright (c) 1996, 2018 Oracle Corporation. All rights reserved.
Enter the registration key:
Exception occured processing registration: HTTP 504: Gateway Timeout (HTTP 503: Service Unavailable)
EMaaS Edge Server response: Keep getting an error from dependent service ClientServicesPersistence after retries (last) error status: 500, check service logs for details (check the <Hostname> gateway's <OMC_Agent_Inst>/sysman/log/gcagent.log for the access log of ecid: <ECID>)

DEBUG JsonUtil:105 - Error messages read successfully.
ERROR AgentInstallerMain:455 - [OMCAGNT-0000]: The execution of command [<OMC_Agent_Inst>/bin/omcli register agent <OMC_Agent_HOME>/core/1.36.0/install/] resulted in error with exit code [255].



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

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