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

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.