Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

I know it sounds awkward, but Enterprise Manager is refusing to be set up because of an underscore in the server name:

C:\>emca -deconfig dbcontrol db -repos drop

STARTED EMCA um 30.05.2012 13:21:49
EM-Konfigurationsassistent, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle.  All rights reserved. Alle Rechte vorbehalten.

...

SCHWERWIEGEND:  Ungültiger Host-Name vm_scotty11.xxnet.de. Host-Name darf keinen Unterstrich ('_') enthalten.
Weitere Einzelheiten finden Sie in der Log-Datei in c:\app\Administrator\cfgtoollogs\emca\PRJ\emca_2012_05_30_13_21_49.log.
Die Konfiguration konnte nicht abgeschlossen werden. Weitere Einzelheiten finden Sie in der Log-Datei in c:\app\Administrator\cfgtoollogs\emca\PRJ\emca_2012_05_30_13_21_49.log.

Has someone worked around this issue or can provide a documentation link which explains why this happens?

I know that there must have been warning messages upon installation of OS and DB but I still need to see it written in the docs in order to convince and make the point that the host name has to be changed.

share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

This is happening because an underscore in a hostname is not a valid character according to the RFC.

"The Internet standards for protocols mandate that component hostname labels may contain only the ASCII letters 'a' through 'z' (in a case-insensitive manner), the digits '0' through '9', and the hyphen ('-')."

share|improve this answer
    
Ok, thanks. Just for reference, the text you provided seems to origin from en.wikipedia.org/wiki/Hostname –  hal9000 May 30 '12 at 13:04
1  
It does indeed. You could have googled too :) –  Phil May 30 '12 at 13:08
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.