Results 1 to 3 of 3

Thread: zmmailbox export fails after setting "zmtlsctl https"

  1. #1
    hignfy is offline Starter Member
    Join Date
    Nov 2008
    Location
    USA
    Posts
    1
    Rep Power
    6

    Default zmmailbox export fails after setting "zmtlsctl https"

    Hi all,

    Brand new zimbra install here and I'm learning my ways to the command line interfaces to do import/exports.

    After installation, I set the Zimbra Web service to run on https only with "zmtlsctl https". Pretty straight forward, I only want the web client to come in via https.

    However once I did that, I can no longer to exports with 'zmmailbox' described here:
    ZCS-to-ZCS Migrations » Zimbra :: Blog

    Here's how it borks. Any ideas how to work around it?
    Code:
    /opt/zimbra/bin/zmmailbox -v -z -m user@domain.com getRestURL "/?fmt=tgz" > /tmp/user.tgz
    ERROR: zclient.IO_ERROR (Connection refused) (cause: java.net.ConnectException Connection refused)
    com.zimbra.cs.zclient.ZClientException: Connection refused
    ExceptionId:main:1226647003129:ea7aa292acdd8de5
    Code:zclient.IO_ERROR
    	at com.zimbra.cs.zclient.ZClientException.IO_ERROR(ZClientException.java:47)
    	at com.zimbra.cs.zclient.ZMailbox.getRESTResource(ZMailbox.java:2176)
    	at com.zimbra.cs.zclient.ZMailboxUtil.doGetRestURL(ZMailboxUtil.java:2578)
    	at com.zimbra.cs.zclient.ZMailboxUtil.execute(ZMailboxUtil.java:1034)
    	at com.zimbra.cs.zclient.ZMailboxUtil.main(ZMailboxUtil.java:2476)
    Caused by: java.net.ConnectException: Connection refused
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:520)
    	at java.net.Socket.connect(Socket.java:470)
    	at java.net.Socket.<init>(Socket.java:367)
    	at java.net.Socket.<init>(Socket.java:240)
    	at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79)
    	at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:121)
    	at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
    	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
    	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
    	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
    	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
    	at com.zimbra.cs.zclient.ZMailbox.getRESTResource(ZMailbox.java:2167)
    	... 3 more
    thanks for your help.

  2. #2
    stegbth is offline Special Member
    Join Date
    Sep 2008
    Posts
    134
    Rep Power
    6

    Default

    hello,

    does there exist already a fix for this problem? or must the tomcat permit unsecure http connections? "zmtlsctl both"?

    best regards
    thomas
    zmcontrol -v
    1x Release 6.0.10_GA_2692.UBUNTU8_64 NETWORK edition.
    1x Release 6.0.14_GA_2928.UBUNTU8_64 NETWORK edition
    2x Release 7.1.3_GA_3346.UBUNTU10_64 NETWORK edition, Patch 7.1.3_P1
    1x Release 8.0.2.GA.5569.UBUNTU12.64 NETWORK edition

    2x Release 6.0.10_GA_2692.UBUNTU8_64 FOSS edition
    2x Release 7.2.2_GA_2852.UBUNTU10_64 FOSS edition
    1x Release 7.1.4_GA_2555.UBUNTU10_64 FOSS
    1x Release 8.0.3.GA.5664.UBUNTU12.64 FOSS edition

  3. #3
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Works fine with either combination; certainly on ZCSV6.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] my server stopped working???
    By cecil in forum Administrators
    Replies: 4
    Last Post: 04-20-2008, 08:07 AM
  2. installation error during ldap setup
    By ljramos in forum Installation
    Replies: 23
    Last Post: 08-10-2007, 10:48 PM
  3. unable to restart zimbra after reboot
    By droefs in forum Administrators
    Replies: 28
    Last Post: 04-16-2006, 02:33 PM
  4. Replies: 16
    Last Post: 01-05-2006, 09:55 AM
  5. After Succesfull Install, Cannot Start mta
    By bsimzer in forum Installation
    Replies: 26
    Last Post: 12-16-2005, 05:45 PM

Posting Permissions

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