Upgrade from 8.8.6 P1 to 8.8.7 added localhost server?

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
JakeMS
Posts: 16
Joined: Tue Sep 09, 2014 4:16 pm

Upgrade from 8.8.6 P1 to 8.8.7 added localhost server?

Post by JakeMS »

Hi,

Got an odd issue here, prior to upgrading the "server monitor" page showed only my configured server with it's hostname. But now since upgrading I seem to have a new one called localhost, added which reports all services failed?

Did anyone else get this?

Screenshot:
https://imgur.com/Jis2HgU

This is a single server setup, so it should only be reporting one server. I don't really want to run any remove "localhost" commands.. as that, well just sounds like a bad idea :lol:

Under Configure > Servers, only one server is shown, which is correct as it only shows the actual server and does not show this "localhost" server. Aside from the status page everything else appears to be running fine :).

Just seems odd that this occurred and wondered if anyone else had this?
User avatar
msquadrat
Advanced member
Advanced member
Posts: 183
Joined: Mon Oct 14, 2013 10:09 am

Re: Upgrade from 8.8.6 P1 to 8.8.7 added localhost server?

Post by msquadrat »

Yes, I've seen this before (in some older version). I think the issue was a misconfigured /etc/hosts
JakeMS
Posts: 16
Joined: Tue Sep 09, 2014 4:16 pm

Re: Upgrade from 8.8.6 P1 to 8.8.7 added localhost server?

Post by JakeMS »

I've just checked the /etc/hosts and it's still the same as it always has been since the server was setup.

I don't think that's the issue with this one. I've had this server running and regularly upgraded for over a year now, it's been through 8.6/8.6/8.7 etc and this has never happened before.

Heck even the old server it replaced never did this.

This is just strange. Thankfully it doesn't effect operation of the system :)
phoenix
Ambassador
Ambassador
Posts: 27278
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Upgrade from 8.8.6 P1 to 8.8.7 added localhost server?

Post by phoenix »

How about posting the output of your hosts file for confirmation? You can always remove the second 'host entry'.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
JakeMS
Posts: 16
Joined: Tue Sep 09, 2014 4:16 pm

Re: Upgrade from 8.8.6 P1 to 8.8.7 added localhost server?

Post by JakeMS »

Hi,

Here you go :)

Code: Select all

#
# Hosts Configuration for Mail
#
# Version: 20170523
#

# IPv4 Configuration
127.0.0.1		localhost.localdomain		localhost
147.135.186.70		mail.eternalgoth.co.uk		mail

# IPv6 Configuration
::1			localhost.localdomain		localhost
fe00::0			ip6-localnet
ff00::0			ip6-mcastprefix
ff02::1			ip6-allnodes
ff02::2			ip6-allrouters
ff02::3			ip6-allhosts
2001:41d0:000a:2b5b::1	mail.eternalgoth.co.uk		mail

Code: Select all

[root@mail ~]$ hostname -f
mail.eternalgoth.co.uk
Edit: Okay, that's weird. Just logged into the admin control panel and.. the local host entry is gone - it's weird because I've made no changes on the system, bar doing "cat /etc/hosts" and "hostname -f" commands :?
phoenix
Ambassador
Ambassador
Posts: 27278
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Upgrade from 8.8.6 P1 to 8.8.7 added localhost server?

Post by phoenix »

My RSS reader pulled a different version of your post, it contained the following:

Code: Select all

#
# Hosts Configuration for Mail
#
# Version: 20170523
#

# IPv4 Configuration
127.0.0.1      localhost.localdomain      localhost
127.0.0.1               mail.eternalgoth.co.uk      localhost
147.135.186.70      mail.eternalgoth.co.uk      mail

# IPv6 Configuration
::1         localhost.localdomain      localhost
fe00::0         ip6-localnet
ff00::0         ip6-mcastprefix
ff02::1         ip6-allnodes
ff02::2         ip6-allrouters
ff02::3         ip6-allhosts
2001:41d0:000a:2b5b::1   mail.eternalgoth.co.uk      mail
Did you actually have the second entry for the loopback adapter in your hosts file? If you did that's most likely what caused the problem.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
JakeMS
Posts: 16
Joined: Tue Sep 09, 2014 4:16 pm

Re: Upgrade from 8.8.6 P1 to 8.8.7 added localhost server?

Post by JakeMS »

Hi,

Yup, but oddly it's still there and I honestly don't think that's the issue because, if I remember rightly it was there for a reason, I just can't remember why :D.

But either way, things are fixed now somehow:
https://i.imgur.com/JI6ZQ8M.png
phoenix
Ambassador
Ambassador
Posts: 27278
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Upgrade from 8.8.6 P1 to 8.8.7 added localhost server?

Post by phoenix »

It still shouldn't be there as it's not necessary, go to the wiki and search for "zmloggerhostmap" - that tells you how to get rid of it (if it happens again) and you can confirm your server is set correctly with this article: https://wiki.zimbra.com/wiki/ZmSetServerName
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
Post Reply