Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-14-2008, 01:11 AM
Starter Member
 
Posts: 1
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.
Reply With Quote
  #2 (permalink)  
Old 02-12-2010, 06:04 AM
Special Member
 
Posts: 113
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
2x 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 6.0.7_GA_2470.UBUNTU8_64 FOSS edition
1x Release 7.1.2_GA_3268.UBUNTU10_64 FOSS edition
2x Release 7.1.3_GA_3346.UBUNTU10_64 FOSS
1x Release 7.1.4_GA_2555.UBUNTU10_64 FOSS
Reply With Quote
  #3 (permalink)  
Old 02-12-2010, 06:18 AM
Moderator
 
Posts: 7,911
Default

Works fine with either combination; certainly on ZCSV6.
__________________
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.