Account migration issues

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
User avatar
stefaniu.criste
Posts: 39
Joined: Wed Feb 12, 2014 5:40 am
Location: Romania
ZCS/ZD Version: 8.8.8_GA_1728 20180614052922 201806
Contact:

Account migration issues

Postby stefaniu.criste » Mon Jan 29, 2018 7:16 am

Hello all

having to migrate ~75 email accounts from cPanel, I have used the account migration tool from the web admin panel
(accounts have been previously created on Zimbra server)

Messages have been imported successfully, import jobs dissapeared from the Account Migration list, yet messages are constantly re-imported.
I have reached to the situation where Junk folder contains 500k messages, some of them in more than 500 copies.
The dirt-and-ugly solution was to block the access to old cPanel server, but the Scheduled tasks are still running

mailbox.log contains errors like

Code: Select all

2018-01-29 09:31:43,442 WARN  [ScheduledTask-3] [name=user@email.tld;mid=411;ds=__imap_import__;] datasource - Scheduled DataSource import failed.
com.zimbra.common.service.ServiceException: system failure: Unable to connect to IMAP server: LdapDataSource{id=e665d783-f46b-4682-a3a1-099d27f37180, type=imap, enabled=true, name=__imap_import__, host=cpanel-old.server.tld, port=143, connectionType=cleartext, username=user@email.tld, folderId=1, smtpEnabled=false, smtpHost=null, smtpPort=-1}
ExceptionId:ScheduledTask-3:1517211103438:961236763aac85e4
Code:service.FAILURE
        at com.zimbra.common.service.ServiceException.FAILURE(ServiceException.java:288)
        at com.zimbra.cs.datasource.imap.ConnectionManager.newConnection(ConnectionManager.java:203)
        at com.zimbra.cs.datasource.imap.ConnectionManager.openConnection(ConnectionManager.java:99)
        at com.zimbra.cs.datasource.imap.ImapSync.connect(ImapSync.java:123)
        at com.zimbra.cs.datasource.imap.ImapSync.importData(ImapSync.java:173)
        at com.zimbra.cs.datasource.imap.ImapSync.importData(ImapSync.java:147)
        at com.zimbra.cs.datasource.DataSourceManager.importData(DataSourceManager.java:403)
        at com.zimbra.cs.datasource.DataSourceManager.importData(DataSourceManager.java:359)
        at com.zimbra.cs.datasource.DataSourceTask.call(DataSourceTask.java:83)
        at com.zimbra.cs.datasource.DataSourceTask.call(DataSourceTask.java:31)
        at com.zimbra.common.util.TaskScheduler$TaskRunner.call(TaskScheduler.java:79)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.SocketTimeoutException: connect timed out
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:589)
        at com.zimbra.cs.mailclient.MailConnection.newSocket(MailConnection.java:426)
        at com.zimbra.cs.mailclient.MailConnection.connect(MailConnection.java:77)
        at com.zimbra.cs.datasource.imap.ConnectionManager.newConnection(ConnectionManager.java:160)
        ... 15 more


Question:
How can I list and delete all the import scheduled tasks ?
(as per this example, is ScheduledTask-3)

Thanks


Stefaniu Criste - managing partner
Hangar Hosting - a safe place for your business
proudly delivering Zimbra services in Romania

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 13 guests