Page 1 of 1

Upgrade from 8.8.6 P1 to 8.8.7 added localhost server?

Posted: Mon Mar 12, 2018 6:53 am
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?

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

Posted: Mon Mar 12, 2018 9:55 am
by msquadrat
Yes, I've seen this before (in some older version). I think the issue was a misconfigured /etc/hosts

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

Posted: Mon Mar 12, 2018 10:41 am
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 :)

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

Posted: Mon Mar 12, 2018 10:44 am
by phoenix
How about posting the output of your hosts file for confirmation? You can always remove the second 'host entry'.

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

Posted: Mon Mar 12, 2018 5:43 pm
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 :?

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

Posted: Mon Mar 12, 2018 5:55 pm
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.

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

Posted: Mon Mar 12, 2018 6:06 pm
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

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

Posted: Mon Mar 12, 2018 6:14 pm
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