SOLVED Copy userdata Cpanel Exception IO ReadError

perplex

Active Member
May 3, 2016
34
7
58
UK
cPanel Access Level
Root Administrator
When doing cPanel backup I get this error:

Copy userdata...Cpanel::Exception::IO::ReadError/(XID 122abc) 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
 
Last edited by a moderator:

perplex

Active Member
May 3, 2016
34
7
58
UK
cPanel Access Level
Root Administrator
Error implied that the script is expecting a file but hitting a directory. I'm guessing maybe there's a directory in /var/cpanel/userdata that shouldn't be there?

find . -type d
There appears to have been an empty "/bak" folder under "/var/cpanel/userdata/account-1/bak", I have deleted it and I will let you know upon my next scheduled backup if it fixed the error.

Thanks
 
  • Like
Reactions: cPRex

perplex

Active Member
May 3, 2016
34
7
58
UK
cPanel Access Level
Root Administrator
I can confirm that deleting the miscellaneous /bak folder in that directory that should not have been there, prevented the error from occuring again.
Thanks.
 
  • Like
Reactions: vanessa