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.

Attempting to install Perl Module Quota

Discussion in 'General Discussion' started by ensermo, Oct 16, 2007.

  1. ensermo

    ensermo Active Member

    Joined:
    Apr 24, 2004
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Delft
    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. BianchiDude

    BianchiDude Well-Known Member
    PartnerNOC

    Joined:
    Jul 2, 2005
    Messages:
    619
    Likes Received:
    0
    Trophy Points:
    16
    I am getting those errors too with a recent cpanel install.
     
  3. AlexV.

    AlexV. Well-Known Member

    Joined:
    Jun 15, 2006
    Messages:
    212
    Likes Received:
    1
    Trophy Points:
    16
    Try running the checkperlmodules script:

    /usr/local/cpanel/bin/checkperlmodules
     
  4. mihosting

    mihosting Member

    Joined:
    Nov 30, 2003
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Madrid
    I have the sameproblem
     
  5. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    # 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
     
Loading...

Share This Page