Can't locate cPScript/Tar.pm in @INC

micho101

Member
Sep 29, 2008
20
0
51
When user tries full backup, he gets:

Can't locate cPScript/Tar.pm in @INC (@INC contains: /scripts /usr/local/cpanel /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /scripts/pkgacct line 23.

Same when running /scripts/pkgacct

I notice this on 2 machines, one was untouched for months. I tried running /scripts/fixperlscript, no use.

Also, why is it "cPScript/Tar.pm" and not "Cpanel/Tar.pm" ??
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
Are you receiving the same error message? If so, you could run the immutable files utility check to see if you have any files set to immutable:

Code:
/usr/local/cpanel/scripts/check_immutable_files --force
Of note, this will only work on 11.30+ systems, so if you are using 11.28 instead, this utility does not exist on that version. You can see your existing version using this command:

Code:
cat /usr/local/cpanel/version ;echo
Thanks!