domenetorget

Active Member
Sep 26, 2004
40
0
156
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)[email protected]%......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?
 
Last edited by a moderator:

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,544
11
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
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)[email protected]%......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?
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.
 
Last edited: