Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Apr 2004
    Location
    Delft
    Posts
    32

    Default Attempting to install Perl Module Quota

    Every day since a new server install we are getting this e-mail error,.

    From: "cpanel@specialserver123.nl" <cpanel@specialserver123.nl>
    Date: Mon, 15 Oct 2007 02:10:56 +0200
    To: <admin@specialserver123.nl>
    Subject: [checkperlmodules] The perl module Quota could not be installed.

    This module is required by cPanel, and the system may not function correctly until it is installed, and functional. Below is the results of the auto-install attempt:

    Test Run
    ==============
    Can't locate Quota.pm in @INC (@INC contains:
    /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8
    /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4
    /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2
    /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0
    /usr/lib/perl5/site_perl/5.6.2 /usr/lib/perl5/site_perl .) at - line 1.
    BEGIN failed--compilation aborted at - line 1.


    Installer Run
    ==============
    Fetching CPAN timestamp...Done
    Testing connection speed...(this could take a while)...Done
    Ping:2.069 Testing connection speed to cpan.mirror.versatel.nl using pureperl...(315200.00 bytes/s)...Done
    Ping:1.961 Testing connection speed to cpan.wanadoo.nl using pureperl...(313000.00 bytes/s)...Done
    Ping:2.087 Testing connection speed to cpan.osmirror.nl using pureperl...(157400.00 bytes/s)...Done Three usable mirrors located Mirror Check passed for cpan.mirror.versatel.nl (/index.html) Unknown config variable 'less'
    commit: wrote '/usr/lib/perl5/5.8.8/CPAN/Config.pm'
    CPAN: File::HomeDir loaded ok (v0.66)
    CPAN: Storable loaded ok (v2.16)
    Going to read /home/.cpan/Metadata
    Database was generated on Sat, 13 Oct 2007 20:36:47 GMT Running install for module 'Quota'
    Running make for T/TO/TOMZO/Quota-1.6.0.tar.gz
    CPAN: Digest::SHA loaded ok (v5.45)
    CPAN: Compress::Zlib loaded ok (v1.42)
    Checksum for /home/.cpan/sources/authors/id/T/TO/TOMZO/Quota-1.6.0.tar.gz ok Quota-1.6.0/ Quota-1.6.0/CHANGES Quota-1.6.0/INSTALL Quota-1.6.0/MANIFEST Quota-1.6.0/Makefile.PL Quota-1.6.0/Quota.pm Quota-1.6.0/Quota.xs Quota-1.6.0/README Quota-1.6.0/hints/ Quota-1.6.0/hints/solaris_2.h Quota-1.6.0/hints/sunos_4_1.h Quota-1.6.0/hints/none.h Quota-1.6.0/hints/linux.h Quota-1.6.0/hints/irix_6.h Quota-1.6.0/hints/irix_5.h Quota-1.6.0/hints/aix_4_1.h Quota-1.6.0/hints/hpux.h Quota-1.6.0/hints/dec_osf.h Quota-1.6.0/hints/bsd.h Quota-1.6.0/test.pl Quota-1.6.0/contrib/ Quota-1.6.0/contrib/README Quota-1.6.0/contrib/report-quota Quota-1.6.0/contrib/quotamgmt/ Quota-1.6.0/contrib/quotamgmt/Author
    Quota-1.6.0/contrib/quotamgmt/config
    Quota-1.6.0/contrib/quotamgmt/quotamgmt
    Quota-1.6.0/contrib/test-group.pl
    Quota-1.6.0/contrib/mount-list.pl
    Quota-1.6.0/contrib/mount-list-qcarg.pl
    Quota-1.6.0/contrib/quotadm/
    Quota-1.6.0/contrib/quotadm/quotadm
    Quota-1.6.0/contrib/quotadm/quotawarn.msg
    Quota-1.6.0/contrib/quotadm/README
    Quota-1.6.0/contrib/aix_jfs2_class/
    Quota-1.6.0/contrib/aix_jfs2_class/jfs2class.xs
    Quota-1.6.0/contrib/aix_jfs2_class/test_jfs2.pl
    Quota-1.6.0/contrib/aix_jfs2_class/jfs2class.pm
    Quota-1.6.0/include/
    Quota-1.6.0/include/rquota.h
    Quota-1.6.0/include/afsquota.h
    Quota-1.6.0/include/stdio_wrap.h
    Quota-1.6.0/include/vxquotactl.h
    Quota-1.6.0/include/quotaio_xfs.h
    Quota-1.6.0/stdio_wrap.c
    Quota-1.6.0/afsquota.c
    Quota-1.6.0/vxquotactl.c
    Quota-1.6.0/linuxapi.c
    CPAN: File::Temp loaded ok (v0.18)


    CPAN.pm: Going to build T/TO/TOMZO/Quota-1.6.0.tar.gz


    Using hints/linux.h for myconfig.h
    Checking if your kit is complete...
    Looks good
    Writing Makefile for Quota
    cp Quota.pm blib/lib/Quota.pm
    AutoSplitting blib/lib/Quota.pm (blib/lib/auto/Quota) /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap Quota.xs > Quota.xsc && mv Quota.xsc Quota.c rm -f myconfig.h ln -s hints/linux.h myconfig.h
    cc -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement
    -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
    -I/usr/include/gdbm -O2 -DVERSION=\"1.6.0\" -DXS_VERSION=\"1.6.0\" -fpic
    "-I/usr/lib/perl5/5.8.8/i686-linux/CORE" Quota.c
    In file included from Quota.xs:11:
    myconfig.h:20:27: rpcsvc/rquota.h: No such file or directory
    Quota.xs: In function `getnfsquota':
    Quota.xs:134: error: storage size of 'gq_args' isn't known
    Quota.xs:135: error: storage size of 'gq_rslt' isn't known
    Quota.xs:139: error: `RQUOTAPROG' undeclared (first use in this function)
    Quota.xs:139: error: (Each undeclared identifier is reported only once
    Quota.xs:139: error: for each function it appears in.)
    Quota.xs:139: error: `RQUOTAVERS' undeclared (first use in this function)
    Quota.xs:139: error: `RQUOTAPROC_GETQUOTA' undeclared (first use in this
    function)
    Quota.xs:140: error: `xdr_getquota_args' undeclared (first use in this
    function)
    Quota.xs:140: error: `xdr_getquota_rslt' undeclared (first use in this
    function)
    Quota.xs:144: error: `Q_OK' undeclared (first use in this function)
    Quota.xs:203: error: `Q_NOQUOTA' undeclared (first use in this function)
    Quota.xs:207: error: `Q_EPERM' undeclared (first use in this function)
    Quota.xs: At top level:
    Quota.xs:221: error: `Q_OK' undeclared here (not in a function)
    Quota.xs:221: error: initializer element is not constant
    Quota.xs:221: error: (near initialization for `gq_des[0].value')
    Quota.xs:221: error: `xdr_rquota' undeclared here (not in a function)
    Quota.xs:221: error: initializer element is not constant
    Quota.xs:221: error: (near initialization for `gq_des[0].proc')
    Quota.xs:221: error: initializer element is not constant
    Quota.xs:221: error: (near initialization for `gq_des[0]')
    Quota.xs:222: error: initializer element is not constant
    Quota.xs:222: error: (near initialization for `gq_des[1]')
    Quota.xs: In function `xdr_getquota_args':
    Quota.xs:230: error: dereferencing pointer to incomplete type
    Quota.xs:231: error: dereferencing pointer to incomplete type
    Quota.xs: In function `xdr_getquota_rslt':
    Quota.xs:240: error: dereferencing pointer to incomplete type
    Quota.xs:240: error: dereferencing pointer to incomplete type
    Quota.xs: In function `xdr_rquota':
    Quota.xs:249: error: dereferencing pointer to incomplete type
    Quota.xs:250: error: dereferencing pointer to incomplete type
    Quota.xs:251: error: dereferencing pointer to incomplete type
    Quota.xs:252: error: dereferencing pointer to incomplete type
    Quota.xs:253: error: dereferencing pointer to incomplete type
    Quota.xs:254: error: dereferencing pointer to incomplete type
    Quota.xs:255: error: dereferencing pointer to incomplete type
    Quota.xs:256: error: dereferencing pointer to incomplete type
    Quota.xs:257: error: dereferencing pointer to incomplete type
    Quota.xs:258: error: dereferencing pointer to incomplete type
    make: *** [Quota.o] Error 1


    TOMZO/Quota-1.6.0.tar.gz
    /usr/bin/make -- NOT OK
    CPAN: YAML loaded ok (v0.66)
    Running make install
    Make had returned bad status, install seems impossible perlmod--Install done


    ------ End of Forwarded Message



    I tried installing it via WHM->Install Perl Module but I get the same error.

    Attempting to install Quota
    spawn /scripts/perlinstaller Quota
    Method: Perl Expect
    Fetching CPAN timestamp...Done

    Testing connection speed...(this could take a while)...Done
    ....
    ....
    ....

    make: *** [Quota.o] Error 1
    TOMZO/Quota-1.6.0.tar.gz
    /usr/bin/make -- NOT OK
    CPAN: YAML loaded ok (v0.66)
    Running make install
    Make had returned bad status, install seems impossible
    perlmod--Install done



    I ALSO TRIED TO INSTALL IT VIA SSH by downloading from CPAN but I get the following error.



    -bash-3.00# make
    cc -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"1.6.0\" -DXS_VERSION=\"1.6.0\" -fpic "-I/usr/lib/perl5/5.8.8/i686-linux/CORE" Quota.c
    In file included from Quota.xs:11:
    myconfig.h:20:27: rpcsvc/rquota.h: No such file or directory
    Quota.xs: In function `getnfsquota':
    Quota.xs:134: error: storage size of 'gq_args' isn't known
    Quota.xs:135: error: storage size of 'gq_rslt' isn't known
    Quota.xs:139: error: `RQUOTAPROG' undeclared (first use in this function)
    Quota.xs:139: error: (Each undeclared identifier is reported only once
    ....
    .....
    ....
    Quota.xs:222: error: initializer element is not constant
    Quota.xs:222: error: (near initialization for `gq_des[1]')
    Quota.xs: In function `xdr_getquota_args':
    Quota.xs:230: error: dereferencing pointer to incomplete type
    Quota.xs:231: error: dereferencing pointer to incomplete type
    Quota.xs: In function `xdr_getquota_rslt':
    Quota.xs:240: error: dereferencing pointer to incomplete type
    Quota.xs:240: error: dereferencing pointer to incomplete type
    Quota.xs: In function `xdr_rquota':
    Quota.xs:249: error: dereferencing pointer to incomplete type
    Quota.xs:250: error: dereferencing pointer to incomplete type
    Quota.xs:251: error: dereferencing pointer to incomplete type
    Quota.xs:252: error: dereferencing pointer to incomplete type
    Quota.xs:253: error: dereferencing pointer to incomplete type
    Quota.xs:254: error: dereferencing pointer to incomplete type
    Quota.xs:255: error: dereferencing pointer to incomplete type
    Quota.xs:256: error: dereferencing pointer to incomplete type
    Quota.xs:257: error: dereferencing pointer to incomplete type
    Quota.xs:258: error: dereferencing pointer to incomplete type
    make: *** [Quota.o] Error 1
    -bash-3.00#


    Does anyone has any idea how to solve this?

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jul 2005
    Posts
    609

    Default

    I am getting those errors too with a recent cpanel install.

  3. #3
    Member
    Join Date
    Jun 2006
    Posts
    212

    Default

    Try running the checkperlmodules script:

    /usr/local/cpanel/bin/checkperlmodules
    Alex Villegas

  4. #4
    Member
    Join Date
    Nov 2003
    Location
    Madrid
    Posts
    18

    Default

    I have the sameproblem
    Miguel Herrero
    www.miHosting.net

  5. #5
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default

    # rpm -qf /usr/include/rpcsvc/rquota.h
    quota-3.12-6.el4


    Looks like your system quota package is missing or not installed


    /scripts/ensurerpm quota


    should handle installing it

Similar Threads & Tags
Similar threads

  1. Daily email - [checkperl​modules] The perl module Quota could not be installed.
    By BasicLink SA in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 11-11-2011, 04:00 PM
  2. Install a perl module
    By shimmy in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-02-2006, 06:18 PM
  3. Perl Module Install Help Please!!!
    By [MuTe] in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-04-2006, 11:49 AM
  4. Install a Perl Module
    By 3-rx in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-19-2005, 05:49 PM
  5. install perl module?
    By ZachICU in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-22-2002, 08:52 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube