Very strange issue, I'm not sure where I went wrong or how to fix it:

CT /etc/hosts:
-------------------- localhost.localdomain localhost
# Auto-generated hostname. Please do not remove this comment.  test-server test-server

OpenVZ seems to really want to have the hostname listed twice in the
hosts file... every time I issue a vzctl restart that line is reset to
what I pasted above.

Unfortunately this error causes NIS and NFS to fail (due to portmapper
failing) and I can get them working by fixing the invalid line above
and restarting those services in the right order. However, I really
need to figure out why openvz seems to be doing this and how to fix

-- Steve Scaffidi <>
Users mailing list

Reply via email to