Canot migrate zimbra

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
whk102
Posts: 20
Joined: Thu May 05, 2016 11:47 am

Canot migrate zimbra

Post by whk102 »

I using zimbra 8 collab and zmztozmig.

When try import the account the log says:

Code: Select all

*****[INFO|main:1| 12/17/2016 01:08:19]: Start Logging: 
*****[INFO|main:1| 12/17/2016 01:08:19]: ********************************************************** 
*****[INFO|main:1| 12/17/2016 01:08:19]: ConfigFile: /opt/zimbra/conf/zmztozmig.conf 
*****[INFO|main:1| 12/17/2016 01:08:19]: Version: 1.4 
*****[INFO|main:1| 12/17/2016 01:08:19]: Thread count: 1 
*****[INFO|main:1| 12/17/2016 01:08:19]: Request URL: https://oldserver:7071/service/admin/soap 
*****[INFO|main:1| 12/17/2016 01:08:24]: Request URL: https://newserver:7071/service/admin/soap 
*****[INFO|ZTOZThread1:13| 12/17/2016 01:08:24]: Processing Account: myaccount@oldserver 
*****[INFO|ZTOZThread1:13| 12/17/2016 01:08:24]: Going to download TarredMailBox (myaccount@oldserver) 
*****[INFO|ZTOZThread1:13| 12/17/2016 01:08:24]: AccountID: null 
*****[SEVERE|ZTOZThread1:13| 12/17/2016 01:08:24]: Download TarredMailBox Error(myaccount@oldserver). 
*****[SEVERE|ZTOZThread1:13| 12/17/2016 01:08:24]: User myaccount@oldserver does not exists. 
*****[INFO|main:1| 12/17/2016 01:08:24]: ****************SUMMARY************************** 
*****[INFO|main:1| 12/17/2016 01:08:24]: Total Accounts processed         :    1 
*****[INFO|main:1| 12/17/2016 01:08:24]: Successfull Accounts             :    0 
*****[INFO|main:1| 12/17/2016 01:08:24]: Failed accounts                  :    1 
*****[INFO|main:1| 12/17/2016 01:08:24]: Total Migration Time(seconds)    :    0.038 
*****[INFO|main:1| 12/17/2016 01:08:24]: ************************************************* 

Code: Select all

[INFO|ZTOZThread1:13| 12/17/2016 01:08:24]: *******SOAP Request: : <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header><context xmlns="urn:zimbra"><userAgent xmlns="ZimbraProvisioningTool"/><type:format xmlns:type="xml"/><sessionId id="1"/><authToken>***hide_by_me_***</authToken></context></SOAP-ENV:Header><SOAP-ENV:Body><GetAccountRequest xmlns="urn:zimbraAdmin" applyCos="0"><account by="name">myaccount@oldserver</account></GetAccountRequest></SOAP-ENV:Body></SOAP-ENV:Envelope> 
[INFO|ZTOZThread1:13| 12/17/2016 01:08:24]: *******SOAP Response: : <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><context xmlns="urn:zimbra"><change token="120"/></context></soap:Header><soap:Body><soap:Fault><faultcode>soap:Client</faultcode><faultstring>no such account: myaccount@oldserver</faultstring><detail><Error xmlns="urn:zimbra"><Code>account.NO_SUCH_ACCOUNT</Code><Trace>qtp509886383-763:https://oldserver:7071/service/admin/soap:1481947704768:91f72ed618c2c53a</Trace></Error></detail></soap:Fault></soap:Body></soap:Envelope> 
[SEVERE|ZTOZThread1:13| 12/17/2016 01:08:24]: GetAccountRequest Failed: no such account: myaccount@oldserver
[WARNING|ZTOZThread1:13| 12/17/2016 01:08:24]: GetAccountInfoByName Failed: myaccount@oldserver
[INFO|ZTOZThread1:13| 12/17/2016 01:08:24]: AccountID: null 
[SEVERE|ZTOZThread1:13| 12/17/2016 01:08:24]: Download TarredMailBox Error(myaccount@oldserver). 
[SEVERE|ZTOZThread1:13| 12/17/2016 01:08:24]: User myaccount@oldserver does not exists.
But the account exist in old server. When use accounts=all fail all accounts (30 accounts) with same error.

Whats happen?

My conf file:

Code: Select all

SourceZCSServer=oldserver
SourceAdminUser=admin@oldserver
SourceAdminPwd=****
SourceAdminPort=7071
TargetZCSServer=newserver
TargetAdminUser=admin@newserver
TargetAdminPwd=****
TargetAdminPort=7071
Threads=1
WorkingDirectory=/tmp/ztozmig/mailboxdumps/
FailedDirectory=/tmp/ztozmig/mailboxfailures/
SuccessDirectory=/tmp/ztozmig/successes/
LogDirectory=/opt/zimbra/log/ztozmiglogs
KeepSuccessFiles=FALSE
Accounts=myaccount@oldserver
whk102
Posts: 20
Joined: Thu May 05, 2016 11:47 am

Re: Canot migrate zimbra

Post by whk102 »

The zmztozmig tool works only over existent accounts in the new server :-/
phoenix
Ambassador
Ambassador
Posts: 27278
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Canot migrate zimbra

Post by phoenix »

whk102 wrote:I using zimbra 8 collab and zmztozmig.
Use the ZeXtras Migration Tool, it's far easier to for moving your configuration to a new server (if that's what you're trying to do).
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
whk102
Posts: 20
Joined: Thu May 05, 2016 11:47 am

Re: Canot migrate zimbra

Post by whk102 »

Thanks, but ZeXtras is very expensive, zmztozmig is free.
phoenix
Ambassador
Ambassador
Posts: 27278
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Canot migrate zimbra

Post by phoenix »

You get a thirty day free trial and it actually works very well. ;) Mind you, seventeen months waiting for your reply was rather a long time. :o
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
Post Reply