Results 1 to 3 of 3

Thread: zmztozmig authention failed

  1. #1
    Join Date
    Sep 2011
    Posts
    23
    Rep Power
    4

    Default zmztozmig authention failed

    Hi,

    i've been trying to use

    Code:
    /opt/zimbra/libexec/zmztozmig f /opt/zimbra/conf/zmztozmig.confzmig.conf
    to migrate from zimbra 7.x to zimbra 8.x both on centos but i systematically get:

    Code:
    [INFO|main:1| 11/25/2013 17:45:27]: Request URL: https://my_server:7071/service/admin/soap 
    Nov 25, 2013 5:45:48 PM com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection post
    SEVERE: SAAJ0009: Message send failed
    [SEVERE|main:1| 11/25/2013 17:45:48]: AuthenticateToZCS javax.xml.soap.SOAPException: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Message send failed 
    [SEVERE|main:1| 11/25/2013 17:45:48]: ------
    com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Message send failed
    	at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:148)
    	at com.zimbra.auth.ZCSAuth.AuthenticateToZCS(ZCSAuth.java:169)
    	at com.zimbra.zcsprov.ZMSoapSession.DoZCSAuth(ZMSoapSession.java:145)
    	at com.zimbra.zcsprov.ZMSoapSession.check_auth(ZMSoapSession.java:89)
    	at com.zimbra.tarformatter.tarMigrator.Init(tarFormatter.java:147)
    	at com.zimbra.tarformatter.tarFormatter.Execute(tarFormatter.java:582)
    	at com.zimbra.tarformatter.tarFormatter.main(tarFormatter.java:801)
    Caused by: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Message send failed
    	at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:279)
    	at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:144)
    	... 6 more
    Caused by: java.net.ConnectException: Connection timed out
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:529)
    	at java.net.Socket.connect(Socket.java:478)
    	at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
    	at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
    	at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
    	at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:272)
    	at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:329)
    	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:172)
    	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911)
    	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:158)
    	at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1014)
    	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230)
    	at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:236)
    	... 7 more
    
    CAUSE:
    
    com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Message send failed
    	at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:279)
    	at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:144)
    	at com.zimbra.auth.ZCSAuth.AuthenticateToZCS(ZCSAuth.java:169)
    	at com.zimbra.zcsprov.ZMSoapSession.DoZCSAuth(ZMSoapSession.java:145)
    	at com.zimbra.zcsprov.ZMSoapSession.check_auth(ZMSoapSession.java:89)
    	at com.zimbra.tarformatter.tarMigrator.Init(tarFormatter.java:147)
    	at com.zimbra.tarformatter.tarFormatter.Execute(tarFormatter.java:582)
    	at com.zimbra.tarformatter.tarFormatter.main(tarFormatter.java:801)
    Caused by: java.net.ConnectException: Connection timed out
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:529)
    	at java.net.Socket.connect(Socket.java:478)
    	at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
    	at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
    	at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
    	at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:272)
    	at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:329)
    	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:172)
    	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911)
    	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:158)
    	at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1014)
    	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230)
    	at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:236)
    	... 7 more
    
    CAUSE:
    
    java.net.ConnectException: Connection timed out
    	at java.net.PlainSocketImpl.socketConnect(Native Method)
    	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
    	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    	at java.net.Socket.connect(Socket.java:529)
    	at java.net.Socket.connect(Socket.java:478)
    	at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
    	at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
    	at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
    	at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:272)
    	at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:329)
    	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:172)
    	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911)
    	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:158)
    	at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1014)
    	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230)
    	at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:236)
    	at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:144)
    	at com.zimbra.auth.ZCSAuth.AuthenticateToZCS(ZCSAuth.java:169)
    	at com.zimbra.zcsprov.ZMSoapSession.DoZCSAuth(ZMSoapSession.java:145)
    	at com.zimbra.zcsprov.ZMSoapSession.check_auth(ZMSoapSession.java:89)
    	at com.zimbra.tarformatter.tarMigrator.Init(tarFormatter.java:147)
    	at com.zimbra.tarformatter.tarFormatter.Execute(tarFormatter.java:582)
    	at com.zimbra.tarformatter.tarFormatter.main(tarFormatter.java:801)
    ------
     
    [INFO|main:1| 11/25/2013 17:45:48]: AUTH_REQUEST: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header><nsg:context xmlns:nsg="urn:zimbra"/><name:userAgent xmlns:name="ZimbraProvisioningTool"/><type:format xmlns:type="xml"/></SOAP-ENV:Header><SOAP-ENV:Body><nsg:AuthRequest xmlns:nsg="urn:zimbraAdmin"><name>admin@my_server</name><password>my_password</password><virtualHost>my_source_server(10.0.104.15)</virtualHost></nsg:AuthRequest></SOAP-ENV:Body></SOAP-ENV:Envelope> 
    [SEVERE|main:1| 11/25/2013 17:45:48]: Error: Destination Server(my_server)Authentication Failed 
    [INFO|main:1| 11/25/2013 17:45:48]: ****************SUMMARY************************** 
    [INFO|main:1| 11/25/2013 17:45:48]: Total Accounts processed         :    0 
    [INFO|main:1| 11/25/2013 17:45:48]: Successfull Accounts             :    0 
    [INFO|main:1| 11/25/2013 17:45:48]: Failed accounts                  :    0 
    [INFO|main:1| 11/25/2013 17:45:48]: Total Migration Time(seconds)    :    0.0 
    [INFO|main:1| 11/25/2013 17:45:48]: *************************************************

    my configuration:

    Code:
    # Configuration file for zmztozmig with all necessary settings
    #
    #Source ZCS server IP/name,admin user name and password, server port
    SourceZCSServer=10.0.104.15
    SourceAdminUser=admin@my_source_server
    SourceAdminPwd=my_source_password
    SourceAdminPort=7071
    #
    #Destination/Target ZCS server IP/name,admin user name and password, server port
    TargetZCSServer=my_server
    TargetAdminUser=admin@my_server
    TargetAdminPwd=password
    TargetAdminPort=7071
    #
    #Change ZimbraMailTransport after successful migration
    #ZimbraMailTransport=smtp:mta.zcs.mail.mydomain.com
    #
    #Threads to run simultaneously
    Threads=1
    #
    #Specify directory for mailbox download
    WorkingDirectory=/tmp/ztozmig/mailboxdumps/
    #
    #Specify directory to contain failed mailbox tar files
    FailedDirectory=/tmp/ztozmig/mailboxfailures/
    #
    #Specify directory to contain successfully migrated mailbox tar files, if KeepSuccessFiles=TRUE
    SuccessDirectory=/tmp/ztozmig/successes/
    #
    #Specify directory to contain logs
    LogDirectory=/opt/zimbra/log/ztozmiglogs
    #
    #Do you want to keep tar mailbox files after successful migration- TRUE/FALSE
    KeepSuccessFiles=TRUE
    #
    #Specify the comma separated list of item types to be migrated. For complete mailbox migration, comment it.
    #types can have following parameters - message,conversation,contact,appointment,task,wiki,document
    #types=message,conversation,contact,appointment,task,wiki,document
    #
    #resolve can have skip (ignores duplicates),modify (update older items),
    #reset (delete the old subfolder (or entire mailbox if /)) or replace (replace the existing items) values. 
    #Only one value at a time as these parameters are mutually exclusive.
    #resolve=skip
    #
    #Specify Domain map - (DomainMap= From_domain To_Domain)
    #DomainMap=zcs1.example.com zcs2.example.com
    #DomainMap=google.com yahoo.com
    #Domains to migrate in case of Accounts parameter is set to "all"
    Domains=my_domain
    #
    #List accounts to be migrated. Accounts should be comma (',') separated. Use 'all' to get 
    #all accounts from source server.Domains parameter must be defined to list the domains to be
    #migrated.
    
    Accounts=all
    i've tested username and password as in the configuration and i still get the issue, i also have a signed certificate that works properly when i log in into the web interface.. any ideas?

    thanks !!

  2. #2
    Join Date
    Sep 2011
    Posts
    23
    Rep Power
    4

    Default

    I forgot to mention that i have a pretty restrictive firewall and that zimbra 8 is hosted on AWS, to open ports for both servers are only http/https and ssh, does it require additional open ports?

  3. #3
    Join Date
    Sep 2011
    Posts
    23
    Rep Power
    4

    Default [RESOLVED] zmztozmig authention failed

    YES, port 7071 !!
    Last edited by kky; 11-26-2013 at 10:11 AM.

Similar Threads

  1. zmztozmig - what's it doing?
    By alexander.s in forum Administrators
    Replies: 0
    Last Post: 03-20-2013, 05:28 AM
  2. zmztozmig - what's it doing?
    By alexander.s in forum Migration
    Replies: 0
    Last Post: 03-20-2013, 05:28 AM
  3. Replies: 2
    Last Post: 10-23-2012, 06:47 AM
  4. Replies: 1
    Last Post: 09-20-2012, 06:33 PM
  5. zmztozmig - Passwords?
    By dhayes in forum Administrators
    Replies: 3
    Last Post: 08-10-2012, 06:26 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •