I'm trying to run EasyApache4 to update our PHP/MySQL installation and I keep receiving an error: A fatal error or timeout occurred while processing this directive.
The full error is as follows:
I have run 'yum update' and I have also reinstalled all the EasyApache packages. No change. I've also forced a cPanel reinstall with no effect.
Any suggestions on how to correct this error?
The full error is as follows:
Code:
(XID dwy5wk) The system failed to parse the JSON stream data “#!/usr/bin/cpanel-perl
use strictures;
use CGI::Carp "fatalsToBrowser", "warningsToBrowser";
use CGI ();
use Socket ();
use JSON::Syck ();
use Verify::Util ();
my $header;
my $content;
my $content_data;
my @hargs = (
-cache_control => "no-cache",
-pragma => "no-cache",
-access_control_allow_origin => '*'
);
my $cgi = CGI->new();
if ( Verify::Util::assert_maint_mode() ) {
push( @hargs, ( '-status' => '502 Temporarily Unavailable' ) );
$content_data = { msg => 'Maintenance in progress' };
}
else {
my $target = $cgi->param('ip') || $ENV{REMOTE_ADDR};
Verify::Util::assert_access_limit( nolog => 1 );
die "Invalid address '$target'.\n"
unless my $ip = Verify::Util::parse_host( host => $target );
$content_data = {
ip => $ip,
current => undef,
history => []
};
my %h;
my $lisc_list = Verify::Util::get_licenses( ip => $ip );
my %seen_products;
for my $license ( @{$l” for the caller “Cpanel::Market::Provider::cPStore::Utils::is_licensed” because of an error: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "#!/usr/bin/cpanel-pe...") at /usr/local/cpanel/Cpanel/JSON.pm line 123.
at /usr/local/cpanel/Cpanel/JSON.pm line 139.
Cpanel::JSON::_throw_json_error("malformed JSON string, neither tag, array, object, number, st"..., undef, SCALAR(0x3378e48)) called at /usr/local/cpanel/Cpanel/JSON.pm line 123
Cpanel::JSON::Load("#!/usr/bin/cpanel-perl\x{a}\x{a}use strictures;\x{a}\x{a}use CGI::Carp \"fatal"...) called at /usr/local/cpanel/Cpanel/Market/Provider/cPStore/Utils.pm line 226
Cpanel::Market::Provider::cPStore::Utils::_ipaddrs() called at /usr/local/cpanel/Cpanel/Market/Provider/cPStore/Utils.pm line 237
Cpanel::Market::Provider::cPStore::Utils::is_licensed("product_id", "CloudLinux", "package_id_re", qr(-CLOUDLINUX-)) called at /usr/local/cpanel/Whostmgr/Store.pm line 672
Whostmgr::Store::is_product_licensed(Whostmgr::Store::Product::CloudLinux=HASH(0x266d468)) called at whostmgr/bin/whostmgr7.pl line 1079
main::EasyApache4("EasyApache4") called at /usr/local/cpanel/Whostmgr/Dispatch.pm line 273
Whostmgr::Dispatch::_do_call("EasyApache4", HASH(0x2649db0), HASH(0x264d690)) called at /usr/local/cpanel/Whostmgr/Dispatch.pm line 171
Whostmgr::Dispatch::dispatch("EasyApache4", 1, ARRAY(0x264a788)) called at whostmgr/bin/whostmgr7.pl line 243
Any suggestions on how to correct this error?