My Oracle Support Banner

EMCA stops with "Hostname should not contain underscore _ in it and it should not be longer than 32 characters" (Doc ID 1265731.1)

Last updated on FEBRUARY 04, 2020

Applies to:

Enterprise Manager Base Platform - Version 10.2.0.4 to 11.2.0.2 [Release 10.2 to 11.2]
Information in this document applies to any platform.
Checked for relevance on 23-Aug-2013

Symptoms

EMCA or DBCA fails to install EM database console due to a server hostname of over 32 characters.

In the $ORACLE_HOME/cfgtoollogs/emca/<SID>/emca_YYYY-MM-DD_HH-MM-SS-AM.log

Oct 4, 2010 9:23:47 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Invalid <Hostname>, Hostname should not contain underscore _ in it and it should not be longer than 32 characters.
Refer to the log file at $ORACLE_HOME\cfgtoollogs\dbca\<SID>\emConfig.log for more details.
Oct 4, 2010 9:23:47 AM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Invalid <Hostname>, 
 Hostname should not contain underscore _ in it and it should not be longer than 32 characters.
at oracle.sysman.emcp.ParamsManager.checkValidHostname(ParamsManager.java:2598)
at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:191)
at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:176)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:170)
at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:449)
at java.lang.Thread.run(Thread.java:595)

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.