/bin/gtar reported the "ENOENT" (2) error

lancer_97

Member
Sep 3, 2014
5
0
51
cPanel Access Level
Root Administrator
Hi,

I'm trying to transfer an account from my old cpanel server to a new one using the method "Copy an account from another server with an account password". The transfer was 100% completed but unfortunately restoration failed due to this reason :

the subprocess /bin/gtar reported the "ENOENT" (2) error when it ended : gzip :stdin: not in gzip format /bin/gtar: Child return status 1 /bin/gtar: Error is not recoverable : exiting now.

I don't understand why it failed uncompressing the transfered file. Hoping you can help me on this.

WHM 11.50.0 (build 22)


Thanks.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,243
463
Hello :)

It's possible the archive was corrupted. Could you try accessing the "Backup" option within cPanel for the account on the source server and generating a backup to the destination server via FTP? Or, download it locally to your workstation and upload it to the destination server in the /home directory. Next, try manually restoring the account (the archive should be in /home) via:

Code:
/scripts/restorepkg $username
Thank you.