My Oracle Support Banner

OMC: Cloud Agent Installation Failed With Error "[OMCAGNT-2024]: ORACLE_HOSTNAME cannot be evaluated to Fully Qualified Domain Name (FQDN) format. Please specify a valid host name in FQDN format as ORACLE_HOSTNAME parameter" (Doc ID 2763584.1)

Last updated on MARCH 25, 2021

Applies to:

Oracle Management Cloud - Version N/A and later
Information in this document applies to any platform.

Symptoms

Installing Cloud Agent Failed With Below Error :

AgentInstall.sh
Unzipping agent software, this may take some time...
Installing Cloud Agent...
Cloud Agent parameter validation started...
Cloud Agent pre-requisite checks started...

[OMCAGNT-2027]: Host name of the machine [hostname_domain.com] cannot be evaluated to Fully Qualified Domain Name (FQDN) format. Configure the host name of the machine to FQDN format. Add the fully qualified domain name in the /etc/hosts file (Unix) OR <Drive>:\Windows\System32\drivers\etc\hosts (Windows) and ensure that it maps to the correct name and IP address of the host. The recommended format is:
<ip> <fully_qualified_host_name> <short_host_name>
You can run the following commands on Unix to verify this:
$getent hosts 'hostname'
$host 'hostname'
For windows you can run the following command to verify this:
C:\ hostname
In the output, the fully qualified domain name must appear in the second field as specified in the /etc/hosts file



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


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