When you start it first time, are there any error messages on the screen?
What is you /etc/host content?
what is “hostname -f” output?
Are you trying to restart hmc as a root user?
This error message usually points to non-root user trying to restart Apache server (which is part of HMC)…