Huu Phan | Blog Linux operating system | Linux operating system -Blog Huu Phan | www.huuphan.com
huuphan.com. Powered by Blogger.

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

post new :

Huu Phan | Blog Linux operating system | Huu Phan ~ Zimbra Mail Server,linux,bash script,centos,linux command | www.huuphan.com