Apr 18, 2011
Good day.

Can someone help me with my issue? I need to copy many accounts from old server with WHM to new one, and here is the problem:
when i start copying accounts from old server almost all of them fails because of timeout while copying DNS zones (i receive error "Timed out while running GETZONES", sometimes "(internal error) Unable to get the zone").

If i use manual copy (with pkgacct) script will also return an error with DNS, but account will be copied successfuly (however, waiting for timeout error takes very much time).

How can that be fixed?

named is up and running,
cPanel 11.24.5-S38506 - WHM 11.24.2 - X 3.9,
OS is FreeBSD 6.4


Well-Known Member
Jun 25, 2003
Gatineau, Quebec, Canada

Do you have 'root' access to the two servers? You could copy all accounts from one to the other, and then restore them... that's an option. Not the best. There will be some propagation. For cases like this, I usually:

- Update all DNS zones to transfer to a low TTL of 900 on the NS;
- Wait 24 hours (could be as little as 4 hours too);
- Generate a backup;
- Copy accounts to destination server /backup/cpbackup/restore folder;
- Restore accounts;
- Update DNS zones using the "replace" function in shell;
- Restart DNS server.

It's longer and a bit more manual, but it works GREAT. :)

To consider:

Are both servers running an updated version of WHM? Make sure they are all up to date on the most conservative platform (STABLE). Just to be safe.

Make sure your firewalls are off and/or flushed. Just to be safe, again.

Let me know,