Monitor / Server State, show "failed localhost"

Ask questions about your setup or get help installing ZCS server (ZD section below).
User avatar
jmaillar
Posts: 3
Joined: Sun Jan 29, 2017 10:37 am
Location: France

Monitor / Server State, show "failed localhost"

Postby jmaillar » Thu Mar 30, 2017 11:03 am

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.


User avatar
jmaillar
Posts: 3
Joined: Sun Jan 29, 2017 10:37 am
Location: France

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

Postby jmaillar » Fri Mar 31, 2017 6:57 am

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.
User avatar
zmbr16
Posts: 30
Joined: Wed Jul 06, 2016 5:17 am
Location: Hoboken, New Jersey in the United States
ZCS/ZD Version: 8.8.8_GA_3308_NETWORK.RHEL7_64
Contact:

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

Postby zmbr16 » Sun Apr 23, 2017 9:27 pm

I'm observing the same problem after upgrading from 8.7.4_GA_1730 to 8.7.7_GA_1787.
User avatar
jorgedlcruz
Zimbra Alumni
Zimbra Alumni
Posts: 2773
Joined: Thu May 22, 2014 4:47 pm

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

Postby jorgedlcruz » Sun Apr 23, 2017 9:29 pm

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
Jorge de la Cruz https://jorgedelacruz.es
Systems Engineer at Veeam Software https://www.veeam.com/
User avatar
zmbr16
Posts: 30
Joined: Wed Jul 06, 2016 5:17 am
Location: Hoboken, New Jersey in the United States
ZCS/ZD Version: 8.8.8_GA_3308_NETWORK.RHEL7_64
Contact:

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

Postby zmbr16 » Sun Apr 23, 2017 10:11 pm

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.
User avatar
zmbr16
Posts: 30
Joined: Wed Jul 06, 2016 5:17 am
Location: Hoboken, New Jersey in the United States
ZCS/ZD Version: 8.8.8_GA_3308_NETWORK.RHEL7_64
Contact:

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

Postby zmbr16 » Mon Apr 24, 2017 1:36 am

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!!!

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 3 guests