Page 1 of 1

Monitor / Server State, show "failed localhost"

Posted: Thu Mar 30, 2017 11:03 am
by jmaillar
Hello,

Something strange after upgrading from 8.6.0p8 to 8.7.5 my unique server : in Monitor / Server state I can see "two" server, one with my FQDN showing everything ok and another one called "localhost" showing everything failed and saying : "30 Mar 17 4:03 (outdated data)" !
The command :

Code: Select all

zmcontrol status
or

Code: Select all

zmprov gas
show only the FQDN and say everything is ok too.

I don't understand why but, a virtualised copy of that server (KVM) with who I tested the upgrade process is not affected.

Any help is welcome.

Re: Monitor / Server State, show "failed localhost"

Posted: Fri Mar 31, 2017 6:57 am
by jmaillar
So,

This night I receive alert from snmp at 4:22am. The antispam and amavis service stopped and restarted and now everything look working good.

I hope this will last.

Re: Monitor / Server State, show "failed localhost"

Posted: Sun Apr 23, 2017 9:27 pm
by zmbr16
I'm observing the same problem after upgrading from 8.7.4_GA_1730 to 8.7.7_GA_1787.

Re: Monitor / Server State, show "failed localhost"

Posted: Sun Apr 23, 2017 9:29 pm
by jorgedlcruz
Hi guys,
It's really weird, can you please check the next steps and let me know, also what do you have on your /etc/hosts?

Best regards

Re: Monitor / Server State, show "failed localhost"

Posted: Sun Apr 23, 2017 10:11 pm
by zmbr16
Thank you for your prompt response.

I've proceeded as follows:

su - zimbra -c '/opt/zimbra/bin/zmloggerhostmap'
zmloggerhostmap -d localhost localhost
su - zimbra -c '/opt/zimbra/bin/zmcontrol stop'
su - zimbra -c '/opt/zimbra/bin/zmcontrol start'

Now, the "Zimbra Administration" -> Monitor still shows the "localhost" associated services, but also reports the "data is stale" under Time column.

The /etc/hosts file has these two first rows:

Code: Select all

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
The next row is the Zimbra's IP address, and its FQDN.

Re: Monitor / Server State, show "failed localhost"

Posted: Mon Apr 24, 2017 1:36 am
by zmbr16
Apparently, the localhost localhost entry had re-appeared:

Code: Select all

su - zimbra -c '/opt/zimbra/bin/zmloggerhostmap'

I've re-issued the command:

Code: Select all

zmloggerhostmap -d localhost localhost

And the localhost server entry did not re-appear, not yet anyway.

Jorge, thank you for the link!!!