Fix Internal Server Error When Accessing Easy Apache in cPanel WebHosting Manager

When trying to access Easy::Apache in cPanel WebHosting Manager (WHM) or EasyApache script on the server, an Internal Server Error may occur. The following error details may be displayed.

Internal Server Error

Premature end of script headers: usr/local/cpanel/whostmgr/docroot/cgi/easyapache.pl: Please check / usr / local / cpanel / logs / error_log for the exact error.


Opening up the error_log, the following errors are recorded:

Acme::Spork version v0.0.8 required–this is only version v0.0.7 at /var/cpanel/perl/easy/Cpanel/Easy/Utils/BackGround.pm line 14.
BEGIN failed–compilation aborted at /var/cpanel/perl/easy/Cpanel/Easy/Utils/BackGround.pm line 14.
Compilation failed in require at (eval 28) line 3.
…propagated at /usr/lib/perl5/5.8.8/base.pm line 85.
at (eval 26) line 3
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 16) 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 /usr/local/cpanel/whostmgr/docroot/cgi/easyapache.pl line 67.

The cPanel Easy Apache utility appears broken due to incorrect Acme::Spork perl script. In order to fix the Internet Server Error when trying to get into Easy Apache, just run or execute the following script to get all perl modules checked, and in the process fix the Acme::Spork.

./scripts/checkperlmodules

Alternatively, it’s possible to reinstall just Acme::Spork on the server, by following steps below to enter the commands accordingly.

# cpan

cpan> install Acme::Spork

A long list of output will follow……

cpan> reload cpan

cpan> quit

Once fixed, Easy Apache will start working immediately, and webmaster or system administrator can access the Easy Apache module again.


Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

New Articles

Incoming Search Terms for the Article

easyapache blank page - Premature end of script headers apache internal server error - apache cgi perl premature - apache Internal Server Error - cpanel server premature - cpanel internal server error cgi perl - Fix Apache error - Internal Server Error on apache - Internal Server Error on cpanel/whm with all accounts - PHP Apache CGI Cpanel error 500 - cpanel easyapache broke - cpanel apache server 500 error - Cpanel: Internal Server Error Premature end of script - internal server error too much queries - cpanel whm 500 error - internal server error on all php pages cpanel server - kiran+cpanel - webhost manager cpanel internal server error 500 - whm ~username 500 error - 500 error on apache running a perl script - i got 500 Internal Server Error after easyapache install - repair http error 500 of cpannel - cpanel perl reinstall - how to fix error 500 on apache windows - repair cpanel CPAN error - repair error on apache server - apache fix resolve intermittent with 500 internal server error - cpanel 500 internal server error - Cpanel Internal Server Error Premature end of script headers: - cpanel EasyApache (Apache Update) "Internal Server Error" - cpanel "internal server error" php - internal server error apache - cpanel repair apache - fix internal server error - fix perl cpanel - how to fix Internal Server Error - apache error 500 quits working - cpanel hostname php 500 error - fix Server error! apache - apache2 php internal server error - fix internal server error cgi - WHM EasyApache perl spork - easyapache 500 error - internal server error execute all php cpanel -