Error Please fix your /etc/hosts file

Ask questions about your setup or get help installing ZCS server (ZD section below).
Post Reply
SuperLex
Posts: 16
Joined: Thu Oct 25, 2018 2:23 pm

Error Please fix your /etc/hosts file

Post by SuperLex »

Hello everybody,

I've a problem with my installation of Zimbra multiserver. I had configure my hosts file like:

Code: Select all

192.168.1.254 ns.domain.net ns
192.168.1.252 ldap.domain.net ldap
192.168.1.251 mda.domain.net mda
192.168.1.250 mta.domain.net mta
And my resolv.conf like:

Code: Select all

search domain.net
nameserver 192.168.1.254
When I want install Zimbra this message appears:

Code: Select all

ERROR: Installation can not proceeed.  Please fix your /etc/hosts file
  to contain:

  <ip> <FQHN> <HN>

  Where <IP> is the ip address of the host,
  <FQHN> is the FULLY QUALIFIED host name, and
  <HN> is the (optional) hostname-only portion
I'm on Ubuntu 16.04 LTS I don't know what is the problem ?
Thank you for your answer
SuperLex
Posts: 16
Joined: Thu Oct 25, 2018 2:23 pm

Re: Error Please fix your /etc/hosts file

Post by SuperLex »

It's good i forgot change the hostname of the VM.
And now it's working.
Post Reply