Zmmailbox zclient.IO_ERROR (Read timed out)

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
User avatar
pup_seba
Outstanding Member
Outstanding Member
Posts: 687
Joined: Sat Sep 13, 2014 2:43 am
Location: Tarragona - Spain
Contact:

Re: Zmmailbox zclient.IO_ERROR (Read timed out)

Post by pup_seba »

Hi,

I've actually never used that way of importing users. Is using Zextras to migrate an option for you? It would make things easier.

Also, that timeout is only for the import process? I mean, can you "zmmailbox -z -m admin@domain gaf" for example? This should work (as long as you have an "admin" user).

Regards,
phoenix
Ambassador
Ambassador
Posts: 27278
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Zmmailbox zclient.IO_ERROR (Read timed out)

Post by phoenix »

intercenter wrote:However we did not find a version of Zextras Migration Tool for this version of zimbra. We have always used the Zmmailbox command to export and import accounts in previous zimbra versions as well, including as a backup tool. Do you know what happens in 8.8.15??
You haven't mentioned which version of ZCS is used for the current server from which you're moving. The ZeXtras migration tool goes on the source server not the destination server.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
zrustam80
Posts: 6
Joined: Sun Sep 22, 2019 3:00 pm

Re: Zmmailbox zclient.IO_ERROR (Read timed out)

Post by zrustam80 »

Hi everybody!!! I also have a similar problem on this version. Who knows what could be the problem?
install the ZCS 8.8.15 on CentOS 7 x 64 RAM 16 GB HDD 4Tb
zrustam80
Posts: 6
Joined: Sun Sep 22, 2019 3:00 pm

Re: Zmmailbox zclient.IO_ERROR (Read timed out)

Post by zrustam80 »

intercenter wrote:
phoenix wrote:
intercenter wrote:However we did not find a version of Zextras Migration Tool for this version of zimbra. We have always used the Zmmailbox command to export and import accounts in previous zimbra versions as well, including as a backup tool. Do you know what happens in 8.8.15??
You haven't mentioned which version of ZCS is used for the current server from which you're moving. The ZeXtras migration tool goes on the source server not the destination server.
Bill the old server is off, i only have the tar.gz files exported by zmmailbox command.

Regards

Could this be related to the settings for the volume of downloading letters?
zrustam80
Posts: 6
Joined: Sun Sep 22, 2019 3:00 pm

Re: Zmmailbox zclient.IO_ERROR (Read timed out)

Post by zrustam80 »

intercenter wrote:After install the ZCS 8.8.15 on Ubuntu 16.04 LTS, we are trying to restore accounts backup using zmmailbox as ever:

sudo -u zimbra /opt/zimbra/bin/zmmailbox -z -m -t 0 account@domain postRestURL "//?fmt=tgz&resolve=skip" /backup/domain/backupfile.tgz

we always get this error:

ERROR: zclient.IO_ERROR (Read timed out) (cause: java.net.SocketTimeoutException Read timed out)

Anybody knows how to use zmmailbox to recovery mailboxes? Any Changes on 8.8.15
In general, I found a solution like this. And it helped me move the big boxes.
https://wiki.zimbra.com/wiki/Guide_to_imapsync

An example in my experience. Zimbra to zimbra. We install "yum install imapsync -y" the utility on the server from where we transfer mail and run the command as root

Code: Select all

imapsync --nofoldersizes --skipsize --fast --nosyncacls --syncinternaldates --host1 192.168.0.1 --user1 "mailuser@domain.com" --authuser1 "admin" --password1 "XXXXXXXXX" --ssl1 --host2 192.168.0.2 --user2 "mailuser@domain.com"  --authuser2 "admin" --password2 "YYYYYYYYY" --ssl2
And it works !!!

Code: Select all

zmprov -l gaa | tee -a users.txt
and lite script

Code: Select all

#!/bin/bash
host1=192.168.0.1    # host1 is Source
host2=192.168.0.2    # host2 is Dest
admin1=admin
admin2=admin
admpass1=XXXXXXX
admpass2=YYYYYYY


for user in `cat users.txt`; do
echo "Exporting mailbox $user" ;
imapsync --nofoldersizes --skipsize --fast --nosyncacls --syncinternaldates \
--host1 $host1 --user1 "$user" --authuser1 "$admin1" --password1 "$admpass1" --ssl1 \
--host2 $host2 --user2 "$user" --authuser2 "$admin2" --password2 "$admpass2" --ssl2 ;
done;
Homepage: http://imapsync.lamiral.info/
Post Reply