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 Cpanel/Counters.pm

Discussion in 'General Discussion' started by hyrodo, May 14, 2014.

  1. hyrodo

    hyrodo Registered

    Joined:
    May 14, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello all,

    I'm trying to transfer accounts, but it can't complete the transfer. When I run, I get this message:

    Code:
    Can't locate Cpanel/Counters.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/5.14.3/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/5.14.3 /opt/cpanel/perl5/514/site_lib/x86_64-linux-64int /opt/cpanel/perl5/514/site_lib .) at /usr/local/cpanel/scripts/pkgacct.vps.######.com.br line 38.
    BEGIN failed--compilation aborted at /usr/local/cpanel/scripts/pkgacct.vps.######.com.br line 38.
    
    sshcommandfailed=2
    
    I did some forum searching, and it seems like this was the general consensus to fix the issue:

    Code:
    /scripts/upcp --force
    cpan Counters
    
    However, I've tried this several times, and it's not making any progress. I've run each of those, and the last one I get:

    Code:
    "Warning: Cannot install Counters, don't know what it is."

    Please help! Thanks!
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,233
    Likes Received:
    1,939
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Please post the output from:

    Code:
    stat /usr/local/cpanel/Cpanel/Counters.pm
    lsattr /usr/local/cpanel/Cpanel/Counters.pm
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. hyrodo

    hyrodo Registered

    Joined:
    May 14, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello!

    I ran these under SSH, and

    -the first code I get:
    - the second:
    =(
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,233
    Likes Received:
    1,939
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    What version of cPanel is installed on your system? Are you sure that the upcp process is completing successfully?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. hyrodo

    hyrodo Registered

    Joined:
    May 14, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Yes I'm sure. The WHM is version 11.40.0 (build 26)

    Here is the last lines of the upcp output:

     
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,233
    Likes Received:
    1,939
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    The latest 11.40 LTS build is cPanel version 11.40.1.13. It seems like you might be using an outdated version of cPanel. Feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here and we can update this thread with the outcome.

    Thank you.
     
    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