New Install / Migration

Ask questions about your setup or get help installing ZCS server (ZD section below).
JCarbohn
Posts: 5
Joined: Tue Mar 05, 2019 11:10 pm

New Install / Migration

Postby JCarbohn » Wed Apr 03, 2019 9:36 pm

Hi Everyone,

I'm new to Zimbra and new to Linux. Zimbra recently caught my eye due to the vast services it offers. I've been running hmailserver for almost 5 years for my side business and another small business that has 1 user is also using it. While running rainloop as webmail access. I really haven't had many issues with hmailserver since I started using it but I'm sure as most of you know it is very barebones. I was looking for a solution which offers not only mail but calendar access and file management. I'm currently running in an ESXi 6.5 environment. I installed Ubuntu 16.04 LTS and attempted to install the open source version of Zimbra. I ran across an error telling me the following:

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

<ip> <FQHN> <HN>


When I go into that file I have set all it has asked for and I am still getting the same error when I try to install again.

Any advice?

Thanks so much!


axslingr
Advanced member
Advanced member
Posts: 152
Joined: Sat Sep 13, 2014 2:20 am
ZCS/ZD Version: Release 8.8.11.GA.3737.UBUNTU16.64

Re: New Install / Migration

Postby axslingr » Thu Apr 04, 2019 1:10 am

Post your /etc/hosts file and let's have a look.

Lance
JCarbohn
Posts: 5
Joined: Tue Mar 05, 2019 11:10 pm

Re: New Install / Migration

Postby JCarbohn » Sun May 26, 2019 4:21 pm

Hi Lance,

Thanks for your reply and sorry for the delay. Other projects took attention from this project but I'm ready to get back to it. Here is the hosts file right now.

Code: Select all

127.0.0.1      (servername)
XX.XX.9.97   webmail.mydomainname.com mail

# The following lines are desirable for IPc6 capable hosts
::1      localhost ip6-localhost ip6-loopback
ff02::1   ip6-allnodes
ff02::2   ip6-allrouters


The second IP address is my public IP address. My ISP doesn't have a static IP address at this time. I'm assuming this will make it a problem in the future if the IP changes and I would need to come back into this file and change it?

Thanks!
phoenix
Ambassador
Ambassador
Posts: 26152
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: New Install / Migration

Postby phoenix » Sun May 26, 2019 4:25 pm

The following line is incorrect:

Code: Select all

XX.XX.9.97   webmail.mydomainname.com mail


It should read as follows:

Code: Select all

XX.XX.9.97   webmail.mydomainname.com webmail
That's mentioned in the Split DNS wiki article in detail (and all over the forums).
Regards

Bill

Rspamd: A high performance spamassassin replacement

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
phoenix
Ambassador
Ambassador
Posts: 26152
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: New Install / Migration

Postby phoenix » Sun May 26, 2019 6:53 pm

Sorry, I forgot to add that the following line is also incorrect:

Code: Select all

127.0.0.1      (servername)


It should be as follows:

Code: Select all

127.0.0.1 localhost.localdomain localhost
I'm a lso assuming the "webmail" is the hostname of your ZCS server, if it's not then my previous post is also incorrect. The hosts file should have the FQDN of your ZCS server in the format I showed earlier.
Regards

Bill

Rspamd: A high performance spamassassin replacement

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
JCarbohn
Posts: 5
Joined: Tue Mar 05, 2019 11:10 pm

Re: New Install / Migration

Postby JCarbohn » Tue May 28, 2019 1:43 am

Sorry, I am new to Zimbra so I am trying to find my way around. I'm also fairly new to Ubuntu.

I changed what you said. In your last post, you mentioned that you are assuming that the hostname is "webmail". The server hostname isn't webmail it is another name. Are you saying that it should look like (hostname).mydomainname.com webmail?

After making the changes to:

Code: Select all

127.0.0.1 localhost.localdomain localhost
XX.XX.9.97 webmail.domainname.com webmail


I"m getting thrown this error when trying to run the installer after the changes:

Code: Select all

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

127.0.0.1 localhost.localdomain localhost

Zimbra install grants mysql permissions only to localhost and localhost.localdomain users. But Fedora/RH installs leave lines such as these in /etc/hosts:

127.0.0.1      myhost.mydomain.com myhost localhost.localdomain localhost

This causes MySQLl to reject users coming from 127.0.0.1 as users from myhost.mydomain.com.


I appreciate the help. :)
axslingr
Advanced member
Advanced member
Posts: 152
Joined: Sat Sep 13, 2014 2:20 am
ZCS/ZD Version: Release 8.8.11.GA.3737.UBUNTU16.64

Re: New Install / Migration

Postby axslingr » Tue May 28, 2019 2:18 am

JCarbohn wrote:Are you saying that it should look like (hostname).mydomainname.com webmail?


Not exactly. It should look like this.

Code: Select all

127.0.0.1 localhost.localdomain localhost
XX.XX.9.97 hostname.domainname.com hostname


Lance
JCarbohn
Posts: 5
Joined: Tue Mar 05, 2019 11:10 pm

Re: New Install / Migration

Postby JCarbohn » Tue May 28, 2019 3:09 am

Thanks for your reponse, Lance.

I'm back to my original error after making your recommended adjustment.
axslingr
Advanced member
Advanced member
Posts: 152
Joined: Sat Sep 13, 2014 2:20 am
ZCS/ZD Version: Release 8.8.11.GA.3737.UBUNTU16.64

Re: New Install / Migration

Postby axslingr » Tue May 28, 2019 2:01 pm

JCarbohn wrote:Thanks for your reponse, Lance.

I'm back to my original error after making your recommended adjustment.


Is the ip address correct? It needs to match the ip address that's configured on the server.

Lance
JCarbohn
Posts: 5
Joined: Tue Mar 05, 2019 11:10 pm

Re: New Install / Migration

Postby JCarbohn » Wed May 29, 2019 12:50 am

Which address? The first line for the local host or the second line for the public IP?

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: gslongo and 6 guests