Knowledgebase

Account transfer or backup results in: The system failed to read up to 64 KB from a file handle because of an error: Is a directory Print

  • 0

Symptoms

When running an account backup or transferring an account to a new server using Transfer Tool, you receive an error similar to the following:

Copy userdata...Cpanel::Exception::IO::ReadError/(XID gd595p) The system failed to read up to 64 KB from a file handle because of an error: Is a directory
 at /usr/local/cpanel/Cpanel/Autodie/CORE/sysread.pm line 50.
	Cpanel::Autodie::sysread_sigguard(GLOB(0x3326e90), "", 65535) called at /usr/local/cpanel/Cpanel/SimpleSync/CORE.pm line 173
	eval {...} called at /usr/local/cpanel/Cpanel/SimpleSync/CORE.pm line 172
	Cpanel::SimpleSync::CORE::copy("/var/cpanel/userdata/cpaneluser/scope", "/home/cpmove-cpaneluser/userdata/scope", 488, 0) called at /usr/local/cpanel/Cpanel/SimpleSync/CORE.pm line 117
	Cpanel::SimpleSync::CORE::syncfile("/var/cpanel/userdata/cpaneluser/scope", "/home/cpmove-cpaneluser/userdata/scope", undef, 1, undef) called at /usr/local/cpanel/Cpanel/Pkgacct.pm line 203
	Cpanel::Pkgacct::syncfile_or_warn(Cpanel::Pkgacct=HASH(0x2f7cbf8), "/var/cpanel/userdata/cpaneluser/scope", "/home/cpmove-cpaneluser/userdata/scope") called at /scripts/pkgacct line 2040
	Script::Pkgacct::__ANON__() called at /scripts/pkgacct line 2059
	Script::Pkgacct::backup_userdata_for_user("cpaneluser", "/home/cpmove-cpaneluser", Cpanel::Output::Pkgacct=HASH(0x2efc8b8), Cpanel::Pkgacct=HASH(0x2f7cbf8)) called at /scripts/pkgacct line 784
	Script::Pkgacct::script("Script::Pkgacct", "cpaneluser") called at /scripts/pkgacct line 159
	Script::Pkgacct::__ANON__() called at /usr/local/cpanel/3rdparty/perl/542/cpanel-lib/Try/Tiny.pm line 100
	eval {...} called at /usr/local/cpanel/3rdparty/perl/542/cpanel-lib/Try/Tiny.pm line 91
	Try::Tiny::try(CODE(0x2ec93b0), Try::Tiny::Catch=REF(0xd5f308)) called at /scripts/pkgacct line 169

 

Description

This error occurs due to the introduction of the "scope" directory within a cPanel user's "userdata" directory. For example: /var/cpanel/userdata/cpaneluser/scope/

We've opened an internal case for our development team to investigate this further. For reference, the case number is CPANEL-50845. Follow this article to receive an email notification when a solution is published in the product. 

 

Workaround

You may disregard the error as long as no other errors were reported during the backup or transfer. This error does not prevent backups from completing.


Was this answer helpful?
Back