The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    1
    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:
    1
    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:
    1
    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,623
    Likes Received:
    21
    Trophy Points:
    38
    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!
     
Loading...

Share This Page