Fix zclient.IO ERROR - invoke Connection refused

Fix zclient.IO ERROR - invoke Connection refused

   KB 21816        Last updated on 2015-07-11  




0.00
(0 votes)

Purpose

Running zmprov gives the following error:

[zimbra@mail2 ~]$ zmprov gs `zmhostname`
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)

Reason: That command won't run on the server at this point because mailboxd isn't running, and by default zmprov commands are executed over SOAP.

Resolution

You'll want to execute that command using 'zmprov -l' instead of just 'zmprov' until mailboxd is running again. This will directly query the ldap server.

Additional Content

  • No related content.


Verified Against: Zimbra Collaboration 8.6, 8.5, 8.0 Date Created: 04/18/2015
Article ID: https://wiki.zimbra.com/index.php?title=Fix_zclient.IO_ERROR_-_invoke_Connection_refused Date Modified: 2015-07-11



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »


Wiki/KB reviewed by SME1 SME2 Jenny Jarrard Last edit by Jorge de la Cruz
Jump to: navigation, search