| 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.
|  | | 
02-13-2010, 08:17 AM
| | Zimbra Consultant & Moderator | |
Posts: 19,653
| | Quote:
Originally Posted by stegbth [CODE]cat /etc/hosts
192.168.23.3 zimbra-mydom.mydomain.de zimbra-mydom
127.0.0.1 localhost | The only thing that's obviously wrong is your hosts file, the loopback line should look like this: Code: 127.0.0.1 localhost.localdomain localhost The command that you're trying to run does, however, work quite happily on Zimbra 5.x in http, https & both modes without problems: Code: su - zimbra
zimbra@zimbra:~$ zmcontrol -v
Release 5.0.18_GA_3011.UBUNTU8 UBUNTU8 FOSS edition
zimbra@zimbra:~$ zmprov -l gs `zmhostname` | grep zimbraMailMode
zimbraMailMode: both
zimbra@zimbra:~$ exit
logout
root@zimbra:/downloads# su - zimbra -c "/opt/zimbra/bin/zmmailbox -v -z -m user@mydomain.com getRestURL "/?fmt=tgz" > /tmp/user.tgz"
root@zimbra:/downloads#
su - zimbra
zimbra@zimbra:~$ zmprov -l gs `zmhostname` | grep zimbraMailMode
zimbraMailMode: https
zimbra@zimbra:~$ exit
logout
root@zimbra:/downloads# su - zimbra -c "/opt/zimbra/bin/zmmailbox -v -z -m user@mydomain.com getRestURL "/?fmt=tgz" > /tmp/user.tgz"
root@zimbra:/downloads# su - zimbra
zimbra@zimbra:~$ zmprov -l gs `zmhostname` | grep zimbraMailMode
zimbraMailMode: http
zimbra@zimbra:~$ exit
logout
root@zimbra:/downloads# su - zimbra -c "/opt/zimbra/bin/zmmailbox -v -z -m user@mydomain.com getRestURL "/?fmt=tgz" > /tmp/user.tgz"
__________________
Regards
Bill
| 
02-13-2010, 08:43 AM
| | Special Member | |
Posts: 113
| | hi bill,
i doesnt find out my error.
the hosts file is modified, zmtlsctl is set back to both, zimbra is restarted.
running zmmailbox .. the command produces on the commandline Quote: |
ERROR: zclient.IO_ERROR (Connection refused) (cause: java.net.ConnectException Connection refused)
| inside of the tgz file the following text is noted (the file is not compressed) Quote:
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
| in mailbox.log i get Quote:
2010-02-13 16:33:26,384 INFO [btpool0-1] [name=zimbra;ip=127.0.0.1;] soap - GetAccountInfoRequest
2010-02-13 16:33:26,384 INFO [btpool0-1] [name=zimbra;ip=127.0.0.1;] misc - delegated access: doc=GetAccountInfo, authenticated account=zimbra, target account=wiki@mydomain.de
2010-02-13 16:33:26,388 WARN [btpool0-1] [] log - SSL renegotiate denied: java.nio.channels.SocketChannel[connected local=/127.0.0.1:7071 remote=/127.0.0.1:42342]
2010-02-13 16:33:26,394 INFO [btpool0-1] [name=zimbra;ip=127.0.0.1;] soap - DelegateAuthRequest
2010-02-13 16:33:26,395 INFO [btpool0-1] [name=zimbra;ip=127.0.0.1;] misc - delegated access: doc=DelegateAuth, authenticated account=zimbra, target account=wiki@mydomain.de
2010-02-13 16:33:26,410 WARN [btpool0-1] [] log - SSL renegotiate denied: java.nio.channels.SocketChannel[connected local=/127.0.0.1:7071 remote=/127.0.0.1:39174]
2010-02-13 16:33:26,464 INFO [btpool0-1] [name=wiki@mydomain.de;aname=zimbra;mid=4;ip=192.16 8.23.3;ua=zclient/5.0.22_GA_3210.UBUNTU8_64;] soap - GetInfoRequest
2010-02-13 16:33:26,464 INFO [btpool0-1] [name=wiki@mydomain.de;aname=zimbra;mid=4;ip=192.16 8.23.3;ua=zclient/5.0.22_GA_3210.UBUNTU8_64;] misc - delegated access: doc=GetInfo, delegating account=zimbra, authenticated account=wiki@soscomp.de, target account=wiki@mydomain.de
| so where does zmmailbox try to connect, where it get connection refused, when it already connects to the admin interface?
i found a second post, where the same error occurs, but no solution? zmmailbox export fails after setting "zmtlsctl https"
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 | 
02-13-2010, 09:43 AM
| | Zimbra Consultant & Moderator | |
Posts: 19,653
| | You can start by checking that zimbraMailMode is in the correct mode, have you also got any Shared folders on this account? Does it work if you try an account without shared folders?
__________________
Regards
Bill
| 
02-13-2010, 09:51 AM
| | Special Member | |
Posts: 113
| | zmprov -l gs `zmhostname` | grep zimbraMailMode the wikiuser is default, no shared folder
__________________ 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 | 
02-13-2010, 10:18 AM
| | Special Member | |
Posts: 113
| | hi,
i tried the Script on a 6.0.4 Testzimbra (running also Ubuntu8 amd64).
After modifing Quote: |
zmprov -l gaa > ${bkpdest}/userliste.txt
| to include also the -l parameter it works like expected. But the productions Server still running 5.0.22 it wont connect correctly
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 | 
02-13-2010, 03:49 PM
| | Special Member | |
Posts: 113
| | hello phoenix,
i tried on two other zimbra machines.
on one i get 404 not found
and on the third one it works.
so i though about the differences.
the common at the boxes where it doesn't work:
they run as xen guests and have an apache reverseproxy in front
they authenticate against OpenLDAP
the machine where it works is running within vmware esxi without an reverseproxy.
this authenticate against several ActiveDirectory Domains.
i assume it must have to do with the reverseproxy, even on on the second box (where i get the 404) the Jakarta Commons-Http client requests the URL on the Reverse-Proxy, but at the wrong virtual-Host.
so i am currently having the following questions:
1. how does the url look like where zmmailbox connects?
2. where does this url get defined?
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
Last edited by stegbth; 02-13-2010 at 03:55 PM..
| 
02-14-2010, 12:41 PM
| | Special Member | |
Posts: 113
| | Per User Backup Foss edition [maybe solved] Hi Phoenix,
i found the problematic setting.
Within the Domain-Settings i defined the public Hostname for this Domain, which is defined to intranet.mydomain.de. This is the reverse-Apache Proxy.
Unfortunatly i dont see a request on that apache on the first host, on the second (where i got the 404) there it was within the wrong virtualhost. When removing this setting, zmmailbox works on 5.0.22 as expected.
so there stays some questions.
1. it would make error-discovery easier, when zmmailbox shows up the url it tries to connect, wouldnt it?
2. what does the error with renegotiation failed mean in mailboxd.log on 5.0.22?
3. when is the setting of public Hostname for this Domain needed and what is the sense of it?
best regards and thank you for patience
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 | | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |