nunoleite

Well-Known Member
Jun 4, 2007
65
3
158
Hi,
I have made a Transfer of 3 account from one server to another and both are v82.0.9

At the site of TRANSFER, at the end of the 3 accounts, all gave me these 3 errors.

Here are the last lines:

Code:
...
Progress 97%
Progress 98%
Progress 100%
Done
Verifying cpmove file checksum …
Checksum Matches (Actual remote username is “conta”).
The remote file list contains: /home/cpmove-conta-split/cpmove-conta.tar.gz.part00001
The local file list contains: /home/cpmove-conta.tar.gz.part00001
Copied cpmove file to: “/home/cpmove-conta.tar.gz.part00001”.
Removing copied archive on remote server. …
ERROR: lstat(/home/cpmove-conta): Bad file descriptor at /usr/local/cpanel/scripts/unpkgacct line 63.
ERROR: lstat(/home/cpmove-conta.tar.gz): Bad file descriptor at /usr/local/cpanel/scripts/unpkgacct line 63.
ERROR: lstat(/home/cpmove-conta.tar): Bad file descriptor at /usr/local/cpanel/scripts/unpkgacct line 63.
Found archive: /home/cpmove-conta-split
Done
Success.
What does this mean?

On the RESTORE side there where no errors.

I have made a Transfer 1 month ago and i didn't had any error.

Thanks
Nuno Leite
 

nunoleite

Well-Known Member
Jun 4, 2007
65
3
158
Hi,

After some investigation i think this could be related to making the transfer of 3 accounts at the same time.

The remote server make a compressed file inside a folder named "cpmove-conta-split" and not directly on the "home" folder.

At the end of the process when the script is searching the the files to delete on the remote server it searches for 4 locations...
/home/cpmove-conta
/home/cpmove-conta.tar.gz
/home/cpmove-conta.tar
/home/cpmove-conta-split
Trying to delete the leftover backup files on the remote server.
Not finding one it goes to the next... and so forward.

So these Errors are really not errors but information's that it didn't found one file (/home/cpmove-conta)... not found
going to the next one (/home/cpmove-conta.tar.gz)... not found
going to the next one (/home/cpmove-conta.tar)... not found
and the last (/home/cpmove-conta-split)... found it and remove.
Code:
The remote file list contains: /home/cpmove-conta-split/cpmove-conta.tar.gz.part00001
The local file list contains: /home/cpmove-conta.tar.gz.part00001
Copied cpmove file to: “/home/cpmove-conta.tar.gz.part00001”.
Removing copied archive on remote server. …
ERROR: lstat(/home/cpmove-conta): Bad file descriptor at /usr/local/cpanel/scripts/unpkgacct line 63.
ERROR: lstat(/home/cpmove-conta.tar.gz): Bad file descriptor at /usr/local/cpanel/scripts/unpkgacct line 63.
ERROR: lstat(/home/cpmove-conta.tar): Bad file descriptor at /usr/local/cpanel/scripts/unpkgacct line 63.
Found archive: /home/cpmove-conta-split
Maybe this can be fixed in future versions, but i think this is not really an error.

Can some one confirm this to me?

Thanks
Nuno Leite
 

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
8,421
689
263
Houston
cPanel Access Level
DataCenter Provider
I believe this might be related to a case that was recently fixed CPANEL-27859: Fix cpsrvd EBADF errors when Chrome reused connections. But you might check the cPanel error log for something like following:

Code:
TLS failure: Cpanel::Server::TLSCache - read() failed: Bad file descriptor at /usr/local/cpanel/Cpanel/Server/TLSCache.pm line 275.
 

nunoleite

Well-Known Member
Jun 4, 2007
65
3
158
Hi,

I see nothing related to that TLS on the cPanel error log.

I'm using Firefox not Chrome.

One thing i saw after comparing the logs from another transfer from day 6 of august is the method used:
Code:
...
Using the archive split method!
File #1: “/home/cpmove-conta-split/cpmove-conta.tar.gz.part00001” with md5sum: e880704cde9116f739b7fc60a02393db
Remote file is: “/home/cpmove-conta-split/cpmove-conta.tar.gz.part00001” with size: 145578742
Attempt #1 to transfer using “SCP” method.
Copying account package file … …
...
Code:
...
Using the archive split method!
File #1: “/home/cpmove-conta2-split/cpmove-conta2.tar.gz.part00001” with md5sum: 75372c20454d66eab3dc211a75296be0
Remote file is: “/home/cpmove-conta2-split/cpmove-conta2.tar.gz.part00001” with size: 7969630
Attempt #1 to transfer using “WHM” method.
The system will fetch the stream through Remote WHM from host “server.servidor.com:2087” …
…100% @ 10.6017 MiB/s …
...
Note for the method chosen:
1st: Attempt #1 to transfer using “SCP” method.
2nd: Attempt #1 to transfer using “WHM” method.

The 1st method was the one that gave the errors and was done selecting 3 accounts at the same time.
The 2nd method was done selecting on one account, and worked fine.

Why the Transfer chosen a different method?
 

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
8,421
689
263
Houston
cPanel Access Level
DataCenter Provider
Hello,

I looked into this ticket again and it is indeed part of the cleanup process for the migration. The analyst did agree that the verbiage is misleading and opened CPANEL-29055 for the issue. When/If they do push out a change it will be listed here in our changelogs with the given case ID: https://documentation.cpanel.net/display/CL/Change+Logs