Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 12 of 12
  1. #1
    Member
    Join Date
    Aug 2011
    Posts
    7
    cPanel/Enkompass Access Level

    DataCenter Provider

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

    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. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

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

    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.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    Member
    Join Date
    Aug 2011
    Posts
    7
    cPanel/Enkompass Access Level

    DataCenter Provider

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

    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
    Last edited by BasicLink SA; 08-30-2011 at 06:17 PM. Reason: Added ticket number

  4. #4
    Member
    Join Date
    Jul 2010
    Posts
    12

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

    I'm having the same issue, but I cannot access the ticket. Where can I get an account to view the ticket?

  5. #5
    cPanel Staff cPanelMichael's Avatar
    Join Date
    Apr 2011
    Posts
    1,346
    cPanel/Enkompass Access Level

    Root Administrator

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

    Quote Originally Posted by mpkossen View Post
    I'm having the same issue, but I cannot access the ticket. Where can I get an account to view the ticket?
    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.
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists - Documentation - Migration Services
    -- cPanelMichael - Migration Specialist, Technical Analyst, cPanel Technical Support

  6. #6
    Member
    Join Date
    Jul 2010
    Posts
    12

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

    Thanks, Michael. I imagine it is a custom kernel provided by my hosting provider, I'll have a look at that.

  7. #7
    Member
    Join Date
    Aug 2011
    Posts
    7
    cPanel/Enkompass Access Level

    DataCenter Provider

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

    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. #8
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

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

    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.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  9. #9
    Member
    Join Date
    Jul 2010
    Posts
    12

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

    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. #10
    Member
    Join Date
    Sep 2004
    Posts
    6

    Default 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....6/Makefile.PL

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

  11. #11
    Registered User
    Join Date
    Oct 2011
    Posts
    1
    cPanel/Enkompass Access Level

    Root Administrator

    Default 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//auth...a-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. #12
    Registered User
    Join Date
    Nov 2011
    Posts
    1
    cPanel/Enkompass Access Level

    Website Owner

    Default Re: Daily email - [checkperl​modules] The perl module Quota could not be in

    Problem fixed! Thanks.


    Quote Originally Posted by fortscan View Post
    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//auth...a-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

Similar Threads & Tags
Similar threads

  1. Installing additional Perl modules to help with module creation
    By higherlogic in forum cPanel Developers
    Replies: 1
    Last Post: 01-26-2011, 04:43 PM
  2. Not Listing All Installed Perl Modules
    By IdleServ in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-20-2007, 05:22 AM
  3. Perl 5.8.1 Installed modules reveal they are still Updated: perl v5.6.1
    By markie in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-05-2003, 12:26 AM
  4. Installed Perl Modules No listed in cPanel
    By equivity in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 09-02-2003, 10:30 AM
  5. Installed Perl Modules
    By joezeppy in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-18-2003, 11:19 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube