Hi,
I have a problem with my Zimbra OSE 8.0.2 installation. The installtion holds e-mail accounts for 7 different domains. Everything works quite well, except exporting emailaccounts with zmmailbox.
zmmailbox --debug -v -z -m "mail@mydomain.net" getRestURL "//?fmt=zip"
zmmailbox works for 3 out of my 7 domains. I compared the dns records of the different domains, but I can't find a difference between the domains which work and the domains which doesn't.
On domains where it doesn't work, the following output is printed to my shell:
ERROR: zclient.IO_ERROR (Unable to get REST resource from http://mydomain.net/home/mail@mydomain. ... t/?fmt=zip: Connection refused) (cause: java.net.ConnectException Connection refused)
com.zimbra.common.zclient.ZClientException: Unable to get REST resource from http://mydomain.net/home/mail@mydomain. ... t/?fmt=zip: Connection refused
ExceptionId:main:1357236877870:6fc686ee9c522e01
Code:zclient.IO_ERROR
at com.zimbra.common.zclient.ZClientException.IO_ERROR(ZClientException.java:45)
at com.zimbra.client.ZMailbox.getRESTResource(ZMailbox.java:2588)
at com.zimbra.client.ZMailbox.getRESTResource(ZMailbox.java:2534)
at com.zimbra.cs.zclient.ZMailboxUtil.doGetRestURL(ZMailboxUtil.java:3011)
at com.zimbra.cs.zclient.ZMailboxUtil.execute(ZMailboxUtil.java:1212)
at com.zimbra.cs.zclient.ZMailboxUtil.main(ZMailboxUtil.java:2903)
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
at java.net.Socket.connect(Socket.java:579)
at com.zimbra.common.net.ProtocolSocketFactoryWrapper.createSocket(ProtocolSocketFactoryWrapper.java:46)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at com.zimbra.common.httpclient.HttpClientUtil.executeMethod(HttpClientUtil.java:42)
at com.zimbra.common.httpclient.HttpClientUtil.executeMethod(HttpClientUtil.java:28)
at com.zimbra
The last succsessfull SOAP message zmmailbox receives, is the on which contains lots of information about the email account, like aliases and preferences.
mailbox.log looks like this:
2013-01-03 19:51:06,654 INFO [qtp2082001544-515:https://127.0.0.1:7071/service/admin/so ... nfoRequest] [name=zimbra;ip=127.0.0.1;ua=zmmailbox/8.0.2_GA_5569;] misc - delegated access: doc=GetAccountInfo, authenticated account=zimbra, target account=mail@mydomain.net
2013-01-03 19:51:06,655 INFO [qtp2082001544-515:https://127.0.0.1:7071/service/admin/so ... nfoRequest] [name=zimbra;ip=127.0.0.1;ua=zmmailbox/8.0.2_GA_5569;] soap - GetAccountInfoRequest elapsed=8
2013-01-03 19:51:06,756 INFO [qtp2082001544-514:https://127.0.0.1:7071/service/admin/so ... uthRequest] [name=zimbra;ip=127.0.0.1;ua=zmmailbox/8.0.2_GA_5569;] misc - delegated access: doc=DelegateAuth, authenticated account=zimbra, target account=mail@mydomain.net
2013-01-03 19:51:06,757 INFO [qtp2082001544-514:https://127.0.0.1:7071/service/admin/so ... uthRequest] [name=zimbra;ip=127.0.0.1;ua=zmmailbox/8.0.2_GA_5569;] soap - DelegateAuthRequest elapsed=1
2013-01-03 19:51:06,884 INFO [qtp2082001544-515:https://172.16.84.128:7071/service/admi ... nfoRequest] [name=mail@mydomain.net;aname=zimbra;mid=60;ip=172.16.84.128;ua=zclient/8.0.2_GA_5569;] misc - delegated access: doc=GetInfo, delegating account=zimbra, authenticated account=mail@mydomain.net, target account=mail@mydomain.net
2013-01-03 19:51:06,906 INFO [qtp2082001544-515:https://172.16.84.128:7071/service/admi ... nfoRequest] [name=mail@mydomain.net;aname=zimbra;mid=60;ip=172.16.84.128;ua=zclient/8.0.2_GA_5569;] soap - GetInfoRequest elapsed=22
Additional information:
The server has a SplitDNS setup cause it runs behind NAT.
Do you have any idea where I can search for the reason of the "connection refused" error?
Thanks in advance and kind regards,
fish
Export mailbox fails on some domains (zmmailbox -> connection refused)
Export mailbox fails on some domains (zmmailbox -> connection refused)
Hi
I have the exact same problem. Did you find the solution?
If not , could somebody else please help?
Additional Infos:
zimbra@host:/root$ zmcontrol -v
Release 8.6.0.GA.1153.UBUNTU14.64 UBUNTU14_64 FOSS edition
zimbra@host:/root$ zmprov gas
host.intdomain.mydomain.com
Regards
AnAmigian
I have the exact same problem. Did you find the solution?
If not , could somebody else please help?
Additional Infos:
zimbra@host:/root$ zmcontrol -v
Release 8.6.0.GA.1153.UBUNTU14.64 UBUNTU14_64 FOSS edition
zimbra@host:/root$ zmprov gas
host.intdomain.mydomain.com
Regards
AnAmigian
-
- Advanced member
- Posts: 183
- Joined: Fri Apr 25, 2014 12:42 pm
Export mailbox fails on some domains (zmmailbox -> connection refused)
Hi,
What do you got when you try to access this path manually?
http://mydomain.net/home/mail@mydomain.net/?fmt=zip
What do you got when you try to access this path manually?
http://mydomain.net/home/mail@mydomain.net/?fmt=zip
Export mailbox fails on some domains (zmmailbox -> connection refused)
Hi
An export as I would like to have. The export over web gui also works.
I run zmmailbox lokal as root on my standalone Zimbra box.
Regards
AnAmigian
An export as I would like to have. The export over web gui also works.
I run zmmailbox lokal as root on my standalone Zimbra box.
Regards
AnAmigian
Export mailbox fails on some domains (zmmailbox -> connection refused)
A but of course I have to use https. http is not working.
I already tried different URLs with option -u.
I already tried different URLs with option -u.
Re: Export mailbox fails on some domains (zmmailbox -> connection refused)
Hello all
I know that this is an old post, but I found a solution for this problem and want to share it. The problem is in "Public Server Host Name"
Configure - Domains - Your problematic domain - General information - Public Server Host Name.
Just erase it and restart zimbra
I hope this help to someone
I know that this is an old post, but I found a solution for this problem and want to share it. The problem is in "Public Server Host Name"
Configure - Domains - Your problematic domain - General information - Public Server Host Name.
Just erase it and restart zimbra
I hope this help to someone
- DualBoot
- Elite member
- Posts: 1326
- Joined: Mon Apr 18, 2016 8:18 pm
- Location: France - Earth
- ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
- Contact:
Re: Export mailbox fails on some domains (zmmailbox -> connection refused)
Hello,
if you delete the public service hostname, you might encounter problem with external share.
Without this setting external share show internal store fqdn inside the URL related to the shared object.
The only solution is to force the hostname in the command and it is possible with "-u" and the full path.
Regards,
if you delete the public service hostname, you might encounter problem with external share.
Without this setting external share show internal store fqdn inside the URL related to the shared object.
The only solution is to force the hostname in the command and it is possible with "-u" and the full path.
Regards,