Results 1 to 10 of 10

Thread: Error on Rename Domain

  1. #1
    vavai's Avatar
    vavai is offline Special Member
    Join Date
    May 2007
    Location
    Indonesia
    Posts
    148
    Rep Power
    7

    Default Error on Rename Domain

    Hi,

    I'm trying to rename my primary domain : domainA.com to domainB.com by using the following command :

    Code:
    su - zimbra
    zmprov -l rd domainA.com domainB.com
    IP, DNS and /etc/hosts are prepared accordingly with the requirement for new domain but it failed with the following result :

    ERROR: service.FAILURE (system failure: unable to list all objects) (cause: javax.naming.CommunicationException Read timed out)
    Now, both domain status are shutdown, mailbox disabled and some account are with new domain and the rest still using old domain.

    Any clue for resolving the problem?

    Note : I have a full backup for my Zimbra system so I can restore it but I would like to resolve the problem before trying to restore to it's original setting.
    Best Regards
    ---
    Masim "Vavai" Sugianto
    Zimbra Tutorial
    Personal Blog [ID]

    Release 8.0.6_GA_5922.SLES11_64_20131203103702 SLES11_64 FOSS edition.

  2. #2
    garg654 is offline Junior Member
    Join Date
    Jan 2012
    Posts
    9
    Rep Power
    3

    Default

    vavai > Were you able to solve this problem? We're getting the exact message after a rename domain was attempted. We're running Zimbra 7.2.1.

    Any assistance would be appreciated.

    Thanks

  3. #3
    vavai's Avatar
    vavai is offline Special Member
    Join Date
    May 2007
    Location
    Indonesia
    Posts
    148
    Rep Power
    7

    Default

    Hi,

    Quote Originally Posted by garg654 View Post
    vavai > Were you able to solve this problem? We're getting the exact message after a rename domain was attempted. We're running Zimbra 7.2.1.

    Any assistance would be appreciated.

    Thanks
    I could not using zmprov -l rd domainA.com domainB.com. I can achieve the similar result by using a "dirty-hand coded" by manually rename LDAP setting.

    Below what I do to achieve similar result (rename domain, may be not recommend but I have no choice and the result was Okay until now)

    1. Backup all system (is a MUST)
    2. Export LDAP setting using slapcat
    3. Stop Zimbra service
    4. Edit the result of slapcat LDAP setting by using text editor
    5. Remove all LDAP configuration & database
    6. Re-create LDAP setting and dump the backup LDAP setting & database
    7. Start Zimbra service
    Best Regards
    ---
    Masim "Vavai" Sugianto
    Zimbra Tutorial
    Personal Blog [ID]

    Release 8.0.6_GA_5922.SLES11_64_20131203103702 SLES11_64 FOSS edition.

  4. #4
    captainj is offline Starter Member
    Join Date
    Dec 2012
    Posts
    1
    Rep Power
    2

    Default

    Hi all,

    I met the same error when using zmprov -l rd old.com new.com. I have one system with ~2000 account when using the command.

    Can I just do step by step as follow, it would be same steps as described in ZCS documentation when using zmprov -l rd :

    - Create the new domain in the same zimbra box
    - Rename all account from abc@old.com to abc@new.com using zmprov ra
    - Delete the old.com domain

    Is that right ?

  5. #5
    quanah is offline Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,185
    Rep Power
    9

    Default

    Looks like the old JNDI timeout bug to me. set the timeout to zero instead of 30.
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  6. #6
    vavai's Avatar
    vavai is offline Special Member
    Join Date
    May 2007
    Location
    Indonesia
    Posts
    148
    Rep Power
    7

    Default

    Hi Quanah,

    Would you like to point out which configuration should be modify regarding JNDI timeout?
    Best Regards
    ---
    Masim "Vavai" Sugianto
    Zimbra Tutorial
    Personal Blog [ID]

    Release 8.0.6_GA_5922.SLES11_64_20131203103702 SLES11_64 FOSS edition.

  7. #7
    quanah is offline Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,185
    Rep Power
    9

    Default

    zmlocalconfig -e ldap_connect_timeout=0

    will set the timeout to zero seconds. It defaults to 30 seconds in ZCS 7. Unfortunately, there is a well known bug with JNDI in that it cannot actually count, and will treat 30 seconds as < 1 second. Setting the value to zero lets it wait infinitely. JNDI was removed from ZCS 8 and replaced with a better LDAP API for java.
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  8. #8
    vavai's Avatar
    vavai is offline Special Member
    Join Date
    May 2007
    Location
    Indonesia
    Posts
    148
    Rep Power
    7

    Default

    Hi Quanah,

    Thank you, I'll be test it out to our labs. Also, thank you for your information regarding JNDI on ZCS 8
    Best Regards
    ---
    Masim "Vavai" Sugianto
    Zimbra Tutorial
    Personal Blog [ID]

    Release 8.0.6_GA_5922.SLES11_64_20131203103702 SLES11_64 FOSS edition.

  9. #9
    rivest is offline Starter Member
    Join Date
    Jul 2007
    Posts
    1
    Rep Power
    7

    Default

    Got it to work by changing 2 more settings:

    ldap_starttls_required = false
    ldap_starttls_supported = 0

    Quote Originally Posted by quanah View Post
    zmlocalconfig -e ldap_connect_timeout=0

    will set the timeout to zero seconds. It defaults to 30 seconds in ZCS 7. Unfortunately, there is a well known bug with JNDI in that it cannot actually count, and will treat 30 seconds as < 1 second. Setting the value to zero lets it wait infinitely. JNDI was removed from ZCS 8 and replaced with a better LDAP API for java.
    Last edited by rivest; 04-14-2013 at 07:15 AM.

  10. #10
    quanah is offline Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,185
    Rep Power
    9

    Default

    This would indicate that your certs have expired or have other issues.
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 11-29-2012, 02:21 PM
  2. Error when rename Domain
    By hoangkk in forum Administrators
    Replies: 1
    Last Post: 06-09-2012, 04:58 AM
  3. Rename the Domain and Server Name
    By Srikanth G in forum Administrators
    Replies: 1
    Last Post: 02-15-2010, 08:16 AM
  4. rename domain : fails
    By comotion in forum Migration
    Replies: 4
    Last Post: 01-28-2010, 08:15 AM
  5. Replies: 7
    Last Post: 04-27-2009, 02:49 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
  •