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.

CPAN Problem after update to 11.25

Discussion in 'General Discussion' started by C4talyst, Dec 17, 2009.

  1. C4talyst

    C4talyst Well-Known Member

    Joined:
    Jun 21, 2008
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    After updating to 11.25, I'm receiving the following CPAN error concerning SQLite. Anyone else have this problem...this is a brand new server, less than two months old with only 30 sites on it?

    Code:
    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 CPAN/SQLite.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at - line 1.
    BEGIN failed--compilation aborted at - line 1.
    
    
    Installer Run
    ==============
    commit: wrote '/usr/lib/perl5/5.8.8/CPAN/Config.pm'
    CPAN: Storable loaded ok (v2.21)
    Going to read /home/.cpan/Metadata
    Database was generated on Wed, 16 Dec 2009 07:39:49 GMT
    Running install for module 'CPAN::SQLite'
    Running make for R/RK/RKOBES/CPAN-SQLite-0.198.tar.gz
    CPAN: LWP::UserAgent loaded ok (v5.833)
    CPAN: Time::HiRes loaded ok (v1.9719)
    Fetching with LWP:
    http://mirror.datapipe.net/CPAN/authors/id/R/RK/RKOBES/CPAN-SQLite-0.198.tar.gz
    CPAN: YAML loaded ok (v0.70)
    CPAN: Digest::SHA loaded ok (v5.47)
    Fetching with LWP:
    http://mirror.datapipe.net/CPAN/authors/id/R/RK/RKOBES/CHECKSUMS
    Checksum for /home/.cpan/sources/authors/id/R/RK/RKOBES/CPAN-SQLite-0.198.tar.gz ok
    CPAN-SQLite-0.198/
    CPAN-SQLite-0.198/lib/
    CPAN-SQLite-0.198/lib/CPAN/
    CPAN-SQLite-0.198/lib/CPAN/SQLite.pm
    CPAN-SQLite-0.198/lib/CPAN/SQLite/
    CPAN-SQLite-0.198/lib/CPAN/SQLite/Info.pm
    CPAN-SQLite-0.198/lib/CPAN/SQLite/Index.pm
    CPAN-SQLite-0.198/lib/CPAN/SQLite/DBI.pm
    CPAN-SQLite-0.198/lib/CPAN/SQLite/Search.pm
    CPAN-SQLite-0.198/lib/CPAN/SQLite/Util.pm
    CPAN-SQLite-0.198/lib/CPAN/SQLite/Populate.pm
    CPAN-SQLite-0.198/lib/CPAN/SQLite/DBI/
    CPAN-SQLite-0.198/lib/CPAN/SQLite/DBI/Index.pm
    CPAN-SQLite-0.198/lib/CPAN/SQLite/DBI/Search.pm
    CPAN-SQLite-0.198/lib/CPAN/SQLite/State.pm
    CPAN-SQLite-0.198/lib/CPAN/SQLite/META.pm
    CPAN-SQLite-0.198/t/
    CPAN-SQLite-0.198/t/04search.t
    CPAN-SQLite-0.198/t/cpan/
    CPAN-SQLite-0.198/t/cpan/modules/
    CPAN-SQLite-0.198/t/cpan/modules/03modlist.data.gz
    CPAN-SQLite-0.198/t/cpan/modules/02packages.details.txt.gz
    CPAN-SQLite-0.198/t/cpan/authors/
    CPAN-SQLite-0.198/t/cpan/authors/01mailrc.txt.gz
    
    CPAN.pm: Going to build A/AD/ADAMK/DBD-SQLite-1.27.tar.gz
    
    
    SQLite.c:2476: warning: passing argument 4 of 'Perl_newXS' discards qualifiers from pointer target type
    SQLite.c:2478: warning: passing argument 4 of 'Perl_newXS' discards qualifiers from pointer target type
    SQLite.c:2480: warning: passing argument 4 of 'Perl_newXS' discards qualifiers from pointer target type
    SQLite.c:2482: warning: passing argument 4 of 'Perl_newXS' discards qualifiers from pointer target type
    SQLite.c:2484: warning: passing argument 4 of 'Perl_newXS' discards qualifiers from pointer target type
    SQLite.c:2486: warning: passing argument 4 of 'Perl_newXS' discards qualifiers from pointer target type
    SQLite.c:2488: warning: passing argument 4 of 'Perl_newXS' discards qualifiers from pointer target type
    SQLite.c:2490: warning: passing argument 4 of 'Perl_newXS' discards qualifiers from pointer target type
    SQLite.c:2492: warning: passing argument 4 of 'Perl_newXS' discards qualifiers from pointer target type
    SQLite.c:2494: warning: passing argument 4 of 'Perl_newXS' discards qualifiers from pointer target type
    SQLite.c:2496: warning: passing argument 4 of 'Perl_newXS' discards qualifiers from pointer target type
    SQLite.c:2498: warning: passing argument 4 of 'Perl_newXS' discards qualifiers from pointer target type
    SQLite.c:2500: warning: passing argument 4 of 'Perl_newXS' discards qualifiers from pointer target type
    SQLite.c:2502: warning: passing argument 4 of 'Perl_newXS' discards qualifiers from pointer target type
    SQLite.c:2504: warning: passing argument 4 of 'Perl_newXS' discards qualifiers from pointer target type
    
     
  2. C4talyst

    C4talyst Well-Known Member

    Joined:
    Jun 21, 2008
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    Resolved this by removing /home/.cpan/sources/authors/id/A/AD/ADAMK/File-HomeDir-0.88.tar.gz (as the error suggested) and reinstalling the CPAN::SQLite module through WHM.
     
  3. C4talyst

    C4talyst Well-Known Member

    Joined:
    Jun 21, 2008
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    And it's back...anyone else seeing this on their new 11.25 servers?
     
  4. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Was there any more to the displayed message than quoted above?

    Where was the output seen, via an e-mail, or when running a specific script; what actions were performed to trigger the provided error detail?

    What, if any, additional corrective measures attempted or performed?

    Please let us know the output of the following commands (via root SSH access):
    Code:
    # /scripts/perlmods -l | grep -ai "SQLite"
    # grep -i enable_cpansqlite /var/cpanel/cpanel.config
     
  5. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    This module is only installed if you are using cPanel EDGE on a VPS. You'll need to do the following:

    1. remove the CPAN::SQLite module
    2. Remove the following entry from /var/cpanel/cpanel.config

    enable_cpansqlite

    3. Downgrade the system to CURRENT
     
Loading...

Share This Page