Perl

Fixes, Perl

Correcting Perl Scalar::List::Util Errors on CentOS 5

We started getting some reports from users on CentOS 5 trying to run EasyApache and being unable to due to the following error: Undefined subroutine &Scalar::Util::readonly called at /usr/lib/perl5/site_perl/5.8.8/IO/Uncompress/Base.pm line 1104. We found that this is due to an outdated Scalar::Util module that was unable to be loaded properly by system Perl.  To fix this, you […]

Correcting Perl Scalar::List::Util Errors on CentOS 5 Read Post »

Fixes, Perl

Errors on /scripts/upcp: Undefined subroutine…

When running a cPanel update, you may get the following error: /scripts/upcp /scripts/upcp syntax OK Running Futex Check/Fix……Done Undefined subroutine &Cpanel::Update::automatic_updates_enabled called at /scripts/upcp line 273. To fix this, run the following command: wget -O /root/updatenow.static http://httpupdate.cpanel.net/cpanelsync/RELEASE/scripts/updatenow.static && perl /root/updatenow.static –manual Then you can proceed running a cPanel update: /scripts/upcp –force

Errors on /scripts/upcp: Undefined subroutine… Read Post »

Howto, Perl

Installing Perl Modules

CPanel has a internal script for using CPAN to install Perl modules. Learn it and love it: /scripts/perlinstaller Most common Perl modules can be installed from WHM ~> Install a Perl Module, or from command line. If you don't know the name of the Perl module you're installing, you may want to use the WHM

Installing Perl Modules Read Post »

Scroll to Top