Enterprise manager configuration failed due to the invalid hostname error

Asked By 0 points N/A Posted on -

I was trying to create an Oracle database in the office using Database Configuration Assistant when I got an error message about invalid hostname.  It’s our standard to use underscore in our in filenames, though. 

Is there other way to resolve the issue since I am not adept on EMCA scripts?

Database Configuration Assistant

Enterprise manager configuration failed due to the following error –

Invalid Hostname isvp14 _ ora storage tucson.ibm com. Hostname should not contain underscore _in it.

Refer to the log file at

/u01/app/oracle/cfgtoollogs/dbca/testorcl/emConfig.log for more details.

You can retry configuring this database with Enterprise Manager later by manually running /u01/app/oracle/product/11.2.0/dbhome_1/bin/emca script.

Answered By 5 points N/A #155175

Enterprise manager configuration failed due to the invalid hostname error


MPhilips, here you query can be solved by reconfiguring the software and the hostname.

It is most probably you set your hostname as a joined name instead of a name separated with the underscore

Ensure your hostname is set as; SETORACLE_HOSTNAME=

You also need to confirm that your version is supported by your windows version, otherwise you may have to upgrade the system of your computer.

Open the registry and change the following settings into a machine name;



Go to Start->My Computer->Temp and open the following;


In the Temp folder, under local hosts line,ensure to include the following;                localhost   mclaughin11gmaclaughin11g.techtinker

You can also uninstall and reinstall the software while deleting the temporary files to see whether it will work.

It should solve your query


Related Questions