Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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

Discussion in 'General Discussion' started by micho101, Nov 17, 2010.

  1. micho101

    micho101 Member

    Joined:
    Sep 29, 2008
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    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" ??
     
  2. micho101

    micho101 Member

    Joined:
    Sep 29, 2008
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    51
    Mystery solved, i had chattr +i on that file due to some customization.
     
  3. Dehvokahn

    Dehvokahn Registered

    Joined:
    Jul 3, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    51
    Where was the file you chattr'd to fix this?

    What customization are you referring to?
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    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!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice