Problem with account restore

david.roman

Member
PartnerNOC
Jan 16, 2006
12
0
151
I'm moving an account from one server to other, 15 accounts without notice, but this is failing without reason. Here the log of the restore.


Extracting tarball...................
Done

Extracting Domain....Done

Generating Account....

Updated username abc-abcd to abcabcd
WWWAcct 10.0 (c) 1997-2005 cPanel, Inc.

+===================================+
| New Account Info |
+===================================+
| Domain: cabc-abcd.com
| Ip: 11.11.11.11 (n)
| HasCgi: y
| UserName: abcabcd
| PassWord: HIDDEN
| CpanelMod: default
| HomeRoot: /home
| Quota: 0 Meg
| NameServer1: 11.11.11.11
| NameServer2: 12.12.12.12
| NameServer3:
| NameServer4:
| Contact Email:
+===================================+
Changing password for abcabcd
Password for csicsif has been changed
Keeping Shell Access (y)
Copying skel files from /root/cpanel3-skel/ to /home/abcabcd/
Added Entries to httpd.conf
Bind reconfiguring on fortunation using rndc
Error reconfiguring bind on fortuna: rndc: connect failed: connection refused

Added Named File
Restarting apache
Ftp Password Files synced
Notifcation => [email protected] via EMAIL [level => 1]
wwwacct creation finished


Transfer Error
Account creation failed.. cannot continue..


Account Restore Failed...

Vhost Passwords synced

And here stops with a failed message, the bind error is normal, no dns in this server.

¿any ideas? how i can get more log?

The bind error is normal
 

brianoz

Well-Known Member
Mar 13, 2004
1,146
7
168
Melbourne, Australia
cPanel Access Level
Root Administrator
Without really carefully reading your errors, I've encountered the following causes for problems like this:
  • Accounts that are larger than the available space in /tmp (it uses /tmp for a temporary space to put the account backup in, if it doesn't fit it gets truncated!)
  • HTTP Redirects set up in the account's cpanel interfering with the copy process
  • Lack of space in the account interfering with the creation of the intermediary copy scripts, so the whole thing bombs. I imagine this could also happen if file/directory permissions were weird.