Zimbra ERROR zclient IO ERROR

When you get this error, you can not execute any Zimbra zmprov commands? in this tutorial, How do i fix error as below

[] 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)

The causes this error?

Zimbra zmprov is not configure to get results from ldap. you need set "zimbra_zmprov_default_to_ldap" to TRUE

To checking setting using by zmlocalconfig command
$ zmlocalconfig | grep zmprov

If set to false then reconfigure it to true flag as below
$ zmlocalconfig -e zimbra_zmprov_default_to_ldap=true

Recheck the settings:

$ zmlocalconfig |grep zmprov

Comments

Popular posts from this blog

zimbra some services are not running [Solve problem]

How to install php7 on centos 6

Bash script list all IP addresses connected to Server