WHM to WHM transfer fails, any solutions?

I am transfering all my sites to a newer server (both linux) and I had over 50 sites fail the WHM to WHM transfer. I did a cpanel complete backup, moved the backup to the new server and it failed restore.

it is the same error on all of the sites failing WHM to WHM transfers:

Attempting to login as cupidme1 to xx.xx.xxx.xxx via ftp
Login ok
Uploading Htaccess
Uploading Wrapper
Uploading Dectector
Uploading Packager
Uploading Downloader
Uploading Killer
chmoding scripts
Unable to get uid of remote account ...(trace information follows)...HTTP/1.1 404 Not Found
Date: Mon, 19 Sep 2005 08:01:24 GMT
Server: Apache/1.3.29 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.11 FrontPage/5.0.2.2634 mod_ssl/2.8.16 OpenSSL/0.9.7a
Connection: close
Content-Type: text/html; charset=iso-8859-1



Not Found
The requested URL /~cupidme1/cgi-bin/cpdownload/cpanelwrap.cgi was not found on this server.
Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.
--------------------------------------------------------------------------------
Apache/1.3.29 Server at www.mydomain.com Port 80


Error while copying account...! Aborting Extraction


This is the error when trying to restore a cpanel backup or server backup from the old server on the new server:

Searching /home....
Found backup-9.19.2005_03-14-58_cupidme1.tar.gz !
Moving Packge to /home/cprestore/backup-9.19.2005_03-14-58_cupidme1.tar.gz
Extracting tarball...................
Done
Extracting Domain....Done
Sorry, the copy failed. Unable to find the cpanel user file. Is the archive missing (cwd: /home/cprestore loaded backup-9.19.2005_03-14-58_cupidme1/cp/cupidme1)?


I just noticed all of the site files, mail, databases etc for the site trying to be restored are in /home/cprestore fully extracted.


Is there anyway to fix this? I am trying to avoid reloading 50 sites manually.


I also noticed the sites that failed WHM transfer also have the following files in the root dir of each site.

cpaneldownacct.cgi
cpaneldownload.cgi
cpanelkill.cgi
cpanelwrap.c
cpanelwrap.cgi
pkgacct

I looked at the cgi for anything related to uid and noticed this:

my $homedir = (getpwuid($uid))[7];
my $user = (getpwuid($uid))[0];

 

 

 

 

Top