Oct 4, 2010 9:23:47 AM oracle.sysman.emcp.EMConfig perform
SEVERE:
Invalid Hostname
myhost.office.reading.berkshire.unitedkingdom.oracle.com Hostname should
not contain underscore _ in it and it should not be longer than 32
characters.
Refer to the log file at $ORACLE_HOMEcfgtoollogsdbcaemConfig.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
myhost.office.reading.berkshire.unitedkingdom.oracle.com
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) ORACLE_HOSTNAME= or Linux/Unix: export ORACLE_HOSTNAME=myhost
or
Windows: set ORACLE_HOSTNAME=myhost3. Ensure that the hosts file has the full entry of the IP address, hostname, hostname.domain. In our example, this would be:
10.123.123.123 myhost myhost.office.reading.berkshire.unitedkingdom.oracle.com
Note:
- hosts file on unix is located in /etc/hosts
- hosts file on for windows in at c:windowssystem32driversetchosts来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/161195/viewspace-1055272/ ,如需转载,请注明出处,否则将追究法律责任。