What accounts do need a license for import?
Results 1 to 3 of 3

Thread: What accounts do need a license for import?

  1. #1
    Active Member
    Join Date
    Jun 2012

    What accounts do need a license for import?

    Hello there

    I just had a failed import from one of our customers when we wanted to migrate their Zimbra Collaboration Servers Content to our Zimbra Hosting Server.

    Zimbra is NE 7.2

    ZeXtras Version: 1.2.11 (I know there is a newer version, but we did the testing with this version, that's why we also used the same version for the productive migration).

    When I started the import the first time with all domains and accounts added to the import procedure, the import failed immediately because it complained about the licensing as the ZxBackup saw 26 Accounts and we only have a 25 License for both, Zimbra and ZxBackup. On the Zimbra Server I had 1 Admin Account and 3 System Accounts (HAM, SPAM and Virus.Quarantine) and I wanted to import 21 User Accounts (1 Admin, 1 wiki, 19 users), 3 Ressources and 4 System Accounts (HAM, SPAM, Virus.Quarantine and galsync).

    I then deleted the already imported stuff, started the Zimbra Backup and did a fullscan from ZxBackup. After some time I finally managed to get the import started when I excluded the 4 Customer System Accounts, the Customer Admin and the customers wiki account from the import.

    Nevertheless after 3 hours and some minutes I got the email that the import failed, containing the following error:

    - exception -
    at com.zextras.backup.ZEBAccount.restoreAccountInfoPo stItems(ZEBAccount.java:793)
    at com.zextras.op.backup.ZEExternalRestoreOperation.d oOperation(ZEExternalRestoreOperation.java:536)
    at com.zextras.op.ZEOperation.exec(ZEOperation.java:5 77)
    at com.zextras.backup.ZEBackupThread.execOperation(ZE BackupThread.java:199)
    at com.zextras.backup.ZEBackupThread.run(ZEBackupThre ad.java:108)

    So here come my questions:

    1. Why did the initial import fail? 1 Admin Account from our side + 1 Customer Admin + 19 User Account totals to 21 Accounts that need a license. Is there a known bug in ZxBackup counting the accounts for import?

    2. What does the java.lang.NullPointerException mean? I'm not a Java guy and have no idea what this error means. I checked the import log and all I could see when the error was thrown, were INFO messages, no Warning and no Error at the end of the log file.

    It was already the 2nd time this happened. After the first failed migration our customer already deleted some unneeded accounts so that the count is lower, and again we ran into the very same problem.

    Thanks for any help.

    3. P.S. I just started an import for testing purpose. The import now started at the very first time. The accounts I excluded this time are the 4 System Accounts from our customer (HAM, SPAM, Virus.Quarantine and galsync). I was surprised that the import started this time, as none of the 4 excluded accounts needs a license from Zimbra. Do they need one for Import with ZxBackup?

  2. #2
    ZeXtras Community Manager ZeXtras Employee Cine's Avatar
    Join Date
    Apr 2011
    Hello Boumi,

    here are the answers to your questions:

    1. There are no known bugs on the External Import's user count, I'll have the devs check for any issue.

    2. From the log you posted it looks like an issue solved in version 1.4.1 involving the restore of invalid/external LDAP attributes.

    3. System resources are detected by the import procedure and excluded from the import count. You should check the "Core" tab of the ZeXtras Administration Zimlet to see the total user count, please let me know if something is wrong with the count.

    I strongly suggest you to always keep your ZeXtras Suite version up to date. Every update, both minor and major, not only brings new functions and improvement but it also contain fixes for all the bugs previously found.

    Have a nice day,

  3. #3
    Active Member
    Join Date
    Jun 2012
    Hello Cine

    thanks for your answers.

    The test import I started yesterday failed again with the same NullPointerException, so I think the best we can do is to move to ZeXtras Suite version 1.4.1.

    What looks kind of strange to me is that the tests imports before the migrations always succeeded and the migrations then failed, but nevertheless I'll propose to our customer
    to move to ZeXtras Suite version 1.4.1 for the next migration attempt.

    concerning 3. The count of accounts looks fine even after the failed import. I just don't really understand why at the first import attempt ZeXtras complained with the following error (number of account in zimbra and number of accounts to import are as described in my first posting):

    - exception -
    Unknown Exception
    at com.zextras.op.backup.ZEExternalRestoreOperation.d oOperation(ZEExternalRestoreOperation.java:568)
    at com.zextras.op.ZEOperation.exec(ZEOperation.java:5 77)
    at com.zextras.backup.ZEBackupThread.execOperation(ZE BackupThread.java:199)
    at com.zextras.backup.ZEBackupThread.run(ZEBackupThre ad.java:108)
    Caused by: com.zimbra.cs.license.LicenseException: AccountsLimit exceeded: 26/25
    ExceptionId:ZxBackup Thread:1345229217860:ed1075d370d39a39
    at com.zimbra.cs.license.LicenseManager.check(License Manager.java:165)
    at com.zimbra.cs.license.LicenseManager.checkLimit(Li censeManager.java:137)
    at com.zimbra.cs.license.LicenseManager$ProvisioningV alidator.validate(LicenseManager.java:528)
    at com.zimbra.cs.account.Provisioning.validate(Provis ioning.java:2175)
    at com.zimbra.cs.account.ldap.LdapProvisioning.create Account(LdapProvisioning.java:879)
    at com.zimbra.cs.account.ldap.LdapProvisioning.create Account(LdapProvisioning.java:841)
    at com.zextras.op.backup.ZEExternalRestoreOperation.d oOperation(ZEExternalRestoreOperation.java:455)
    ... 3 more


Posting Permissions

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