Results 1 to 5 of 5

Thread: ERROR: account.ACCOUNT_EXISTS when trying to rename accounts

  1. #1
    stace is offline Active Member
    Join Date
    Oct 2006
    Posts
    29
    Rep Power
    8

    Default ERROR: account.ACCOUNT_EXISTS when trying to rename accounts

    I have a domain in zimbra populated with accounts. Let's pretend the domain is called "zimbra.company.com." I'm now ready to migrate these users to a new domain on the server, which is called "company.com".

    When I issue the command:

    Code:
    zmprov ra oldaccount@zimbra.company.com newaccount@company.com
    I get the following error:

    Code:
    ERROR: account.ACCOUNT_EXISTS (email address already exists: newaccount@company.com)
    com.zimbra.common.soap.SoapFaultException: email address already exists: newaccount@company.com
    ExceptionId:com.zimbra.cs.account.AccountServiceException: email address already exists: newaccount@company.com
    ExceptionId:btpool0-36://zimbra-mb2.company.com:7071/service/admin/soap/RenameAccountRequest/RenameAccountRequest:1306356587647:4608f9db0812c4de
    Code:account.ACCOUNT_EXISTS
        at com.zimbra.cs.account.AccountServiceException.ACCOUNT_EXISTS(AccountServiceException.java:243)
        at com.zimbra.cs.account.ldap.LdapProvisioning.renameAccount(LdapProvisioning.java:2350)
    (etc.)
    Now, obviously, newaccount@company.com doesn't exist, or else I wouldn't be stumped by this.

    The domain company.com authenticates against external LDAP, so I thought maybe it was because the account existed in the external LDAP. So I turned off ldap and switched to internal auth. No dice. Same problem.

    I originally suspected this was going to be a problem for every account in the domain, but it turns out that so far it's localized to this one account. Any ideas on how I can isolate the problem?

  2. #2
    Mojah is offline New Member
    Join Date
    May 2010
    Posts
    3
    Rep Power
    5

    Default

    Hi,

    We just had the exact same issue - we "solved" it by first changing the account from "active" to "closed", renamed it, and then changed it back to active.

    Silly workaround, but it did the trick.

    Mattias

  3. #3
    bofh is offline Elite Member
    Join Date
    May 2010
    Posts
    272
    Rep Power
    5

    Default

    another issue could be nother obect in this domain with that name

    that can be a resource or an alias -

  4. #4
    LMStone's Avatar
    LMStone is offline Moderator
    Join Date
    Sep 2006
    Location
    477 Congress Street | Portland, ME 04101
    Posts
    1,374
    Rep Power
    10

    Default

    Quote Originally Posted by stace View Post
    I have a domain in zimbra populated with accounts. Let's pretend the domain is called "zimbra.company.com." I'm now ready to migrate these users to a new domain on the server, which is called "company.com".

    When I issue the command:

    Code:
    zmprov ra oldaccount@zimbra.company.com newaccount@company.com
    I get the following error:

    Code:
    ERROR: account.ACCOUNT_EXISTS (email address already exists: newaccount@company.com)
    com.zimbra.common.soap.SoapFaultException: email address already exists: newaccount@company.com
    ExceptionId:com.zimbra.cs.account.AccountServiceException: email address already exists: newaccount@company.com
    ExceptionId:btpool0-36://zimbra-mb2.company.com:7071/service/admin/soap/RenameAccountRequest/RenameAccountRequest:1306356587647:4608f9db0812c4de
    Code:account.ACCOUNT_EXISTS
        at com.zimbra.cs.account.AccountServiceException.ACCOUNT_EXISTS(AccountServiceException.java:243)
        at com.zimbra.cs.account.ldap.LdapProvisioning.renameAccount(LdapProvisioning.java:2350)
    (etc.)
    Now, obviously, newaccount@company.com doesn't exist, or else I wouldn't be stumped by this.

    The domain company.com authenticates against external LDAP, so I thought maybe it was because the account existed in the external LDAP. So I turned off ldap and switched to internal auth. No dice. Same problem.

    I originally suspected this was going to be a problem for every account in the domain, but it turns out that so far it's localized to this one account. Any ideas on how I can isolate the problem?
    Why not just rename the domain? Doing so will rename all the accounts for you at the same time.

    Hope that helps,
    Mark

  5. #5
    bofh is offline Elite Member
    Join Date
    May 2010
    Posts
    272
    Rep Power
    5

    Default

    congrats thata the most evil advise today here lol

    first it wont help him - the domain name is irrelevant because he need the new account in the same realm

    others then mybe causing trouble and reject mail will not happen with a domain rename - thats NOT relyable even in a network hehe

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Multiple Mail Accounts, Folders
    By skwdenyer in forum Users
    Replies: 12
    Last Post: 12-01-2013, 08:52 PM
  2. Missing Accounts in Backup!
    By Yopofun in forum Administrators
    Replies: 2
    Last Post: 12-08-2010, 01:22 PM
  3. Delete old archive accounts?
    By fnbwaseca in forum Administrators
    Replies: 0
    Last Post: 11-29-2010, 09:17 AM
  4. Inaccurate number accounts used
    By zbowden in forum Administrators
    Replies: 1
    Last Post: 12-10-2007, 06:47 AM
  5. Set Zimbra to Automatically Download from POP3 Accounts
    By dbachman in forum Administrators
    Replies: 1
    Last Post: 08-29-2007, 09:05 AM

Posting Permissions

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