Wednesday, September 08, 2010

Oracle VM /etc/hosts file

I was reinstalling my Oracle VM (again).

During the configuration of the Oracle VM Manager template I ran into an error: OVM-2007.

The template (new OVM image) could not find the host it was running on.

Quick check in the /etc/hosts file of the OVM Server showed:

127.0.0.1 ovm.mydomain.local ovm localhost.localdomain localhost


So I changed it to read:
127.0.0.1 localhost.localdomain localhost
10.1.1.100 ovm.mydomain.local ovm localhost.localdomain localhost

To me as a Unix veteran it is still a mistery why somebody came up with the idea to put anything besides 127.0.0.1 localhost into the first line.

No comments: