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.

Daily email - [checkperl​modules] The perl module Quota could not be installed.

Discussion in 'E-mail Discussions' started by BasicLink SA, Aug 30, 2011.

  1. BasicLink SA

    BasicLink SA Member

    Joined:
    Aug 30, 2011
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    We are receiving an email every day titled "[checkperl​modules] The perl module Quota could not be installed."

    The body of the email shows this error:
    Can't locate Quota.pm in @INC (@INC contains: /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 - line 1.
    BEGIN failed--compilation aborted at - line 1.

    Searching the forums doesn't show me any others with the same issue but I did see some possible fixes:
    /usr/local/cpanel/bin/checkperlmodules
    /scripts/ensurerpm quota
    /scripts/upcp --force

    I tried them but it did not fix the issue. This is the relevant output:


    /usr/local/cpanel/bin/checkperlmodules

    <snip>
    Finding PREREQ from Makefile ...
    Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.59)
    Building Quota-1.6.6 ... cp Quota.pm blib/lib/Quota.pm
    AutoSplitting blib/lib/Quota.pm (blib/lib/auto/Quota)
    /usr/local/bin/perl /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.8/ExtUtils/typemap Quota.xs > Quota.xsc && mv Quota.xsc Quota.c
    You need to make a myconfig.h. See the file INSTALL.
    make: *** [myconfig.h] Error 1
    FAIL
    ! Installing Quota failed. See /home/.cpanm/build.log for details.
    <snip>



    /scripts/ensurerpm quota

    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * base: mirror.teklinks.com
    * epel: Georgia Tech Software Library (GTlib) | Home
    * extras: mirror.ash.fastserv.com
    * updates: Georgia Tech Software Library (GTlib) | Home
    Setting up Install Process
    Package 1:quota-3.17-10.el6.x86_64 already installed and latest version
    Nothing to do


    /scripts/upcp --force

    <snip>
    [20110830.143311] [5138] Finding PREREQ from Makefile ...
    [20110830.143311] [5138] Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.59)
    [20110830.143312] [5138] Building Quota-1.6.6 ... cp Quota.pm blib/lib/Quota.pm
    [20110830.143312] [5138] AutoSplitting blib/lib/Quota.pm (blib/lib/auto/Quota)
    [20110830.143312] [5138] /usr/local/bin/perl /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.8/ExtUtils/typemap Quota.xs > Quota.xsc && mv Quota.xsc Quota.c
    [20110830.143312] [5138] You need to make a myconfig.h. See the file INSTALL.
    [20110830.143312] [5138] make: *** [myconfig.h] Error 1
    [20110830.143312] [5138] FAIL
    [20110830.143312] [5138] ! Installing Quota failed. See /home/.cpanm/build.log for details.
    <snip>


    This is WHM 11.30.2 (build 1) on CENTOS 6.0 x86_64 on a Linode VPS.

    Any help on correcting this problem will be appreciated.

    Stephane
     
  2. 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 there any additional details about the failure in /home/.cpanm/build.log location as indicated in the error message?

    We have another ticket (1770725) I found about CentOS 6 where quota failed to install but that ticket resulted in changing to CentOS 5 instead. Could you please open up a ticket about this issue so we can attempt to replicate it to see what is happening? This might be a case for an incompatibility with CentOS 6 and we would want to know about it. You can submit a ticket using WHM > Support Center > Contact cPanel or using the link in my signature.

    Upon opening up a ticket, it would be greatly appreciated if you would post the ticket number here for reference.
     
  3. BasicLink SA

    BasicLink SA Member

    Joined:
    Aug 30, 2011
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    There is no useful information in /home/.cpanm/build.log, it's an endless loop actually!

    <snip>
    -> OK
    Checking dependencies from MYMETA.yml ...
    Finding PREREQ from Makefile ...
    Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.59)
    Building Quota-1.6.6
    -> FAIL Installing Quota failed. See /home/.cpanm/build.log for details.


    I will submit a trouble ticket.

    Stephane


    EDIT: Ticket is 1842718
     
    #3 BasicLink SA, Aug 30, 2011
    Last edited: Aug 30, 2011
  4. mpkossen

    mpkossen Member

    Joined:
    Jul 19, 2010
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    I'm having the same issue, but I cannot access the ticket. Where can I get an account to view the ticket?
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    It was discovered the use of a custom kernel caused this problem. The resolution offered was to switch back to a standard kernel provided with the Operating System. If you would like our staff to investigate the issue for you on your server, you can open a ticket via:

    Submit A Ticket

    Thank you.
     
  6. mpkossen

    mpkossen Member

    Joined:
    Jul 19, 2010
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Thanks, Michael. I imagine it is a custom kernel provided by my hosting provider, I'll have a look at that.
     
  7. BasicLink SA

    BasicLink SA Member

    Joined:
    Aug 30, 2011
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    Yes the problem was the 3.0.0 kernel that is the default in the distribution on linode.

    It was recommended that I use the default kernel for that OS (CentOS) but that wasn't available or I couldn't find it. I used the latest 2.6 kernel, "Latest 2.6 (2.6.39.1-x86_64-linode19)".

    I did that yesterday and it seemed to work fine. I wanted to wait overnight to see if I received the warming email and I did not so I would say this is solved.

    Thanks everyone for your assistance.
     
  8. 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
    You may want to let Linode know about the issue with that happening on their default 3.0.0 kernel for CentOS 6, since they may well run into more users with that same issue.
     
  9. mpkossen

    mpkossen Member

    Joined:
    Jul 19, 2010
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    I'm with Linode as well, so I'll also submit a ticket to notify them of an issue with the kernel. I'll see if going back to "Latest 2.6 (2.6.39.1-x86_64-linode19)" help soon.

    Thanks.
     
  10. EH-Chris

    EH-Chris Member

    Joined:
    Sep 20, 2004
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Re: Daily email - [checkperl​modules] The perl module Quota could not be in

    You may want to update your tickets with cPanel, this isn't a Linode-specific issue, it's an issue with the Perl module itself.
    http://api.metacpan.org/source/TOMZO/Quota-1.6.6/Makefile.PL

    Specifically-
    elsif($os =~ /^Linux 2/) { $config='linux.h'; $picobj='linuxapi.o'; }
     
  11. fortscan

    fortscan Registered

    Joined:
    Oct 27, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Re: Daily email - [checkperl​modules] The perl module Quota could not be in

    We experienced the same problem with CentOS 6 + 3.x kernels, and the issue was indeed related to the Perl module itself and a check that it performs to identify the OS (thanks EH-Chris).

    We have been testing the following fix with success at several servers running 3.x kernels:

    1. First check that Perl quota module is actually failing to install:
    /usr/local/cpanel/bin/checkperlmodules
    It should give you "! Installing Quota failed. See /home/.cpanm/build.log for details."

    2.
    wget http://cpan.mirror.clemson.edu//authors/id/T/TO/TOMZO/Quota-1.6.6.tar.gz
    tar xzf Quota-1.6.6.tar.gz
    cd Quota-1.6.6

    3. Edit Makefile.PL, and after the line "elsif($os =~ /^Linux 2/)...", add the following:
    elsif($os =~ /^Linux 3/) { $config='linux.h'; $picobj='linuxapi.o'; }

    4.
    perl Makefile.PL
    make
    make install
    make clean

    5. Check for Perl quota module errors again, and it should now be fixed:
    /usr/local/cpanel/bin/checkperlmodules
     
  12. highnfar

    highnfar Registered

    Joined:
    Nov 11, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Re: Daily email - [checkperl​modules] The perl module Quota could not be in

    Problem fixed! Thanks.


     
Loading...

Share This Page