Results 1 to 9 of 9

Thread: [SOLVED] zmprov error: ERROR: zclient.IO_ERROR (invoke Connection refused, server: lo

  1. #1
    Join Date
    Aug 2006
    Location
    Austin, TX
    Posts
    51
    Rep Power
    9

    Exclamation [SOLVED] zmprov error: ERROR: zclient.IO_ERROR (invoke Connection refused, server: lo

    I have 5 total servers in my Zimbra install. On one of them, one of the MTA servers, I am getting the following error when trying to run zmprov commands:

    ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)


    I found posts related to Cert errors, but this doesn't seem to be a cert error. I stumbled upon it when I was trying to diagnose why this server wasn't being reported in the stats on the logger server. It seems to be processing email ok and delivering things properly, but apparently it is having trouble talking to the LDAP? Can someone direct me to the problem and its resolution? I assume fixing this will also fix the logger issue with this server? This seemed to happen after my latest upgrade to 5.0.7 a few weeks ago.

  2. #2
    Join Date
    Feb 2007
    Location
    Sioux Falls, SD
    Posts
    67
    Rep Power
    8

    Default

    Good day!

    I get this same error on our MTA. I have to use the -l on the zmprov command to get it to work.

    $> zmprov -l

    This will connect to LDAP directly rather than using SOAP requests.

    Also, our MTA do not show up in the server status, although we have logging working correctly. Don't know if that is normal.

    DJS
    CoSentry - www.cosentry.com - Co-Location & Business Resiliency Solutions

  3. #3
    Join Date
    Aug 2006
    Location
    Austin, TX
    Posts
    51
    Rep Power
    9

    Default

    Yes, you are correct that a zmprov -l does work. However regular SOAP use to work prior to the upgrade and does from every other server in the system even after the upgrade! And since it can't seem to talk to the logger server, the two seem to be related to me and I'd like to get that fixed. Maybe the zmprov is a red-herring, but I don't like it when things don't work and I don't know why, especially when they use to work!

  4. #4
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    point it to one of your mailbox servers admin port with the -s option

    zmprov -s mailbox.domain.com:7071 <command>

    see if that works

  5. #5
    Join Date
    Feb 2007
    Location
    Sioux Falls, SD
    Posts
    67
    Rep Power
    8

    Cool

    Agreed, I like it when everything works! :P

    Now, we do not run LDAP replication on our MTA at this point due to an issue in 4.5.x we had previously. Are you running and LDAP replica on this MTA?

    So, the system isn't syslogging to your log server at all in addition to SOAP requests.. I'd wonder if the server configuration isn't messed up in LDAP or some sort of DNS issue with that specific host.

    Sorry, kind of shooting in the dark.

    DJS
    CoSentry - www.cosentry.com - Co-Location & Business Resiliency Solutions

  6. #6
    Join Date
    Aug 2006
    Location
    Austin, TX
    Posts
    51
    Rep Power
    9

    Default

    Well I at least got it logging again. Had to rerun: /opt/zimbra/bin/zmsyslogsetup on the server again for some reason. Don't know why that stopped or why it broke but that part is working now.

    I still get the error though on zmprov commands via SOAP rather than LDAP on that one server. Those of course worked previously as well.

  7. #7
    Join Date
    Aug 2006
    Location
    Austin, TX
    Posts
    51
    Rep Power
    9

    Default

    And to answer your other question, we currently do not have LDAP replicas on the MTA's, just the single master. That's on the slate to setup, but I don't have it yet.

  8. #8
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    does using the -s option help? that still does it through soap.

  9. #9
    Join Date
    Aug 2006
    Location
    Austin, TX
    Posts
    51
    Rep Power
    9

    Default

    Turns out that running zmlocalconfig |grep zmprov showed the problem. The results were:

    zimbra_zmprov_default_soap_server = localhost
    zimbra_zmprov_default_to_ldap = TRUE

    on the working server and:

    zimbra_zmprov_default_soap_server = localhost
    zimbra_zmprov_default_to_ldap = false

    on the server with the error. Solution was to either change localhost to a mailbox server OR change default_to_ldap to TRUE.

Similar Threads

  1. zmmailboxdctl is not running !!!!!!
    By olibite in forum Administrators
    Replies: 14
    Last Post: 04-28-2011, 06:50 AM
  2. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 01:42 AM
  3. zmprov mc default zimbraFeatureNotebookEnabled TRUE
    By nbhanji in forum Installation
    Replies: 11
    Last Post: 04-29-2008, 11:39 AM
  4. Why is Tomcat shuting down ever nights?
    By trapanator in forum Administrators
    Replies: 2
    Last Post: 11-30-2006, 11:57 PM
  5. Problem sending mails
    By fmodola in forum Administrators
    Replies: 3
    Last Post: 04-12-2006, 09:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •