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.

upcp and curl problems

Discussion in 'General Discussion' started by domenetorget, Aug 26, 2010.

  1. domenetorget

    domenetorget Active Member

    Joined:
    Sep 26, 2004
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Hokksund, Norway
    After a automatic cpanel update, curl was not enabled in php. I added curl (Cpanel::Easy::PHP5::Curl: 1) in /var/cpanel/easy/apache/profile/makecpphp.profile.yaml and executed /scripts/makecpphp --force
    This was what I got:
    Code:
    Can't locate version.pm in @INC (@INC contains: /scripts /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /scripts/Cpanel/CPAN/Getopt/Param.pm line 7.
    BEGIN failed--compilation aborted at /scripts/Cpanel/CPAN/Getopt/Param.pm line 7.
    Compilation failed in require at /scripts/cpanel_easy_sanity_check line 16.
    BEGIN failed--compilation aborted at /scripts/cpanel_easy_sanity_check line 16.
    Can't locate version.pm in @INC (@INC contains: /scripts /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /scripts/Cpanel/CPAN/Getopt/Param.pm line 7.
    BEGIN failed--compilation aborted at /scripts/Cpanel/CPAN/Getopt/Param.pm line 7.
    Compilation failed in require at /scripts/cpanel_easy_sanity_check line 16.
    BEGIN failed--compilation aborted at /scripts/cpanel_easy_sanity_check line 16.
    Can't locate version.pm in @INC (@INC contains: /usr/local/cpanel /var/cpanel/perl/easy /scripts /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/local/cpanel/Cpanel/CPAN/base/ball.pm line 9.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/CPAN/base/ball.pm line 9.
    Compilation failed in require at /var/cpanel/perl/easy/Cpanel/Easy.pm line 15.
    BEGIN failed--compilation aborted at /var/cpanel/perl/easy/Cpanel/Easy.pm line 15.
    Compilation failed in require at (eval 1) line 3.
    	...propagated at /usr/lib/perl5/5.8.8/base.pm line 85.
    BEGIN failed--compilation aborted at /var/cpanel/perl/easy/Cpanel/Easy/Apache.pm line 8.
    Compilation failed in require at /scripts/easyapache line 23.
    
    Done rebuilding cPanel's internal PHP.
    Failed to build working PHP
    
    So, I tried to force update cpanel. Failed:
    Code:
    Can't locate DBI.pm in @INC (@INC contains: /scripts /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /scripts/cphulkdwhitelist line 12.
    BEGIN failed--compilation aborted at /scripts/cphulkdwhitelist line 12.
    Doing a manual update...
    Cpanel updates are coming from layer2.cpanel.net
    Setting Up Crontab......Done
    Setting Up update_db_cache Crontab......Done
    Setting Up optimizefs Crontab......Done
    Setting Up dcpumon Crontab......Done
    Repairing Mailman Permissions......Done
    Running Sanity Checks & Notifications...Can't locate YAML/Syck.pm in @INC (@INC contains: /scripts /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /scripts/cPScript/DataStore.pm line 9.
    BEGIN failed--compilation aborted at /scripts/cPScript/DataStore.pm line 9.
    Compilation failed in require at /scripts/quotacheck line 10.
    BEGIN failed--compilation aborted at /scripts/quotacheck line 10.
    Can't locate YAML/Syck.pm in @INC (@INC contains: /scripts /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /scripts/cPScript/DataStore.pm line 9.
    BEGIN failed--compilation aborted at /scripts/cPScript/DataStore.pm line 9.
    Compilation failed in require at /scripts/smartcheck line 12.
    BEGIN failed--compilation aborted at /scripts/smartcheck line 12.
    Can't locate YAML/Syck.pm in @INC (@INC contains: /scripts /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /scripts/cPScript/DataStore.pm line 9.
    BEGIN failed--compilation aborted at /scripts/cPScript/DataStore.pm line 9.
    Compilation failed in require at /scripts/cPScript/PHPINI.pm line 11.
    BEGIN failed--compilation aborted at /scripts/cPScript/PHPINI.pm line 11.
    Compilation failed in require at /scripts/updatephpconf line 11.
    BEGIN failed--compilation aborted at /scripts/updatephpconf line 11.
    ...Done
    Running Named Checks......Done
    Updating Virus Patterns......Done
    Updating FTP Server...Can't locate Template/Constants.pm in @INC (@INC contains: /var/cpanel/perl /scripts /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /scripts/cPScript/Template.pm line 31.
    BEGIN failed--compilation aborted at /scripts/cPScript/Template.pm line 31.
    Compilation failed in require at /scripts/cPScript/AdvConfig.pm line 9.
    BEGIN failed--compilation aborted at /scripts/cPScript/AdvConfig.pm line 9.
    Compilation failed in require at /scripts/cPScript/FtpUtils/Config.pm line 11.
    BEGIN failed--compilation aborted at /scripts/cPScript/FtpUtils/Config.pm line 11.
    Compilation failed in require at /scripts/ftpup line 15.
    BEGIN failed--compilation aborted at /scripts/ftpup line 15.
    ...Done
    Updating bandmin...bandmin Setup Script Version 1.0
    Fetching version information from http://httpupdate.cpanel.net/bandmininstall/version[/url] (STABLE)....Fetching [url]http://httpupdate.cpanel.net/bandmininstall/version[/url] (0)....@216.38.56.98......connected......receiving...100%......Done
    Done
    This is the bandmin 1.6.1 installer release number 1 for platform redhat AS-5.5
    bandmin is up to date.  Use bandminup --force to force a reinstall
    ...Done
    Updating IMAP Server...Can't locate YAML/Syck.pm in @INC (@INC contains: /usr/local/cpanel /scripts /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /scripts/cPScript/DataStore.pm line 9.
    BEGIN failed--compilation aborted at /scripts/cPScript/DataStore.pm line 9.
    Compilation failed in require at /scripts/courierup line 13.
    BEGIN failed--compilation aborted at /scripts/courierup line 13.
    ...Done
    Updating DNS Server...NSD is not the configured local nameserver.
    Use /scripts/setupnameserver to change this setting.
    ...Done
    Updating system packages...Loaded plugins: rhnplugin, security
    Excluding Packages in global exclude list
    Finished
    Skipping security plugin, no data
    Setting up Update Process
    No Packages marked for Update
    ...Done
    Restoring compiler permissions...Can't locate YAML/Syck.pm in @INC (@INC contains: /scripts /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /scripts/cPScript/DataStore.pm line 9.
    BEGIN failed--compilation aborted at /scripts/cPScript/DataStore.pm line 9.
    Compilation failed in require at /scripts/compilers line 9.
    BEGIN failed--compilation aborted at /scripts/compilers line 9.
    ...Done
    
    What to do now?
     
    #1 domenetorget, Aug 26, 2010
    Last edited by a moderator: Aug 26, 2010
  2. 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:
    Please try both of the following commands in the exact order listed before attempting to rebuild PHP:
    Code:
    # /scripts/checkperlmodules --force --full
    # /scripts/upcp --force
    If the forced cPanel update persistently fails and or if you still experience difficulty after trying the above suggestion please submit a support request so that we may assist with more in-depth investigation. When available, please let me know your ticket ID number so that we may follow-up internally.
     
    #2 cPanelDon, Aug 26, 2010
    Last edited: Aug 26, 2010
Loading...

Share This Page