Updated to 4.14 and on Cpanel i get HTTP 500 Error page

This forum is only for reproducible bugs with csf and lfd (i.e. not iptables problems, lack of understanding how to use a feature, etc). Posts must be accompanied with full technical details of the problem and how it can be recreated. Any posts not adhering to this, or not considered bugs, will be moved to the General Discussion (csf) forum.
andy_dice
Junior Member
Posts: 4
Joined: 17 Oct 2008, 18:34

Updated to 4.14 and on Cpanel i get HTTP 500 Error page

Post by andy_dice »

Hello i have updated version 4.13 of ConfigServer Security&Firewall to version csf v4.14 from the cpanel.

The installation did something strange and now i see error http 500 when i click on ConfigServer Security&Firewall from the cpanel.

I've tried to install the ConfigServer Security&Firewall manually via shell but nothing changes always HTTP 500 error when i click ConfigServer Security&Firewall from the cpanel.

Via shell I see that the services are running.

Some suggestions ? :confused:


Thanks
twistedpair
Junior Member
Posts: 1
Joined: 18 Oct 2008, 02:15

Me too

Post by twistedpair »

I just hit the upgrade button as well and now I get page not found when following the link to https://servername.net:2087/cgi/addon_csf.cgi.

checked status and restarted from server explorer and it looks like it's running but nothing in WHM.

Thanks
andy_dice
Junior Member
Posts: 4
Joined: 17 Oct 2008, 18:34

Post by andy_dice »

Yep, same issue that i got. Hope there is a fix for this. :)
Teja
Junior Member
Posts: 1
Joined: 19 Oct 2008, 14:16
Location: Texas

Post by Teja »

Just Updated and got the same thing:
Premature end of script headers: addon_csf.cgi:
Hope there is an answer to this.
CSF is running, but error in whm.
andy_dice
Junior Member
Posts: 4
Joined: 17 Oct 2008, 18:34

Post by andy_dice »

Hello i have update to version [ConfigServer Blog] New csf v4.15 but the issue is still there...
leozim
Junior Member
Posts: 18
Joined: 30 May 2008, 14:35

Post by leozim »

same problem here
fedlerner
Junior Member
Posts: 3
Joined: 20 Oct 2008, 23:27

Problem with... what?

Post by fedlerner »

I get the following error when trying to access CSF from WHM:

Code: Select all

Internal Server Error

      Premature end of script headers: /usr/local/cpanel/whostmgr/docroot/cgi/addon_csf.cgi: Please check /usr/local/cpanel/logs/error_log for the exact error.
      
I did "perl -c /usr/local/cpanel/whostmgr/docroot/cgi/addon_csf.cgi" and I get:

Code: Select all

Can't locate Cpanel/Rlimit.pm in @INC (@INC contains: /usr/local/cpanel /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at addon_csf.cgi line 19.
BEGIN failed--compilation aborted at addon_csf.cgi line 19.
I tried "/scripts/perlinstaller --force" but the problem still exists. The output for this is:

Code: Select all

Fetching http://cpan.cpanel.net/cPCPAN/STABLE/modules.versions (0)....@209.85.80.214......connected......receiving...100%......Done
Method: Perl Expect 
  
Fetching CPAN timestamp...Done
Testing connection speed...(this could take a while).....................................Done
Ping:1000 Testing connection speed to cpan.erlbaum.net using pureperl...(157400.00 bytes/s)...Done
Ping:2.310 Testing connection speed to cpan.belfry.net using pureperl...(314800.00 bytes/s)...Done
Ping:1000 Testing connection speed to cpan.glines.org using pureperl...(156800.00 bytes/s)...Done
Three usable mirrors located
Mirror Check passed for cpan.belfry.net (/index.html)
Unknown config variable 'less'
commit: wrote '/usr/lib/perl5/5.8.8/CPAN/Config.pm'
perlmod--Install done
fedlerner
Junior Member
Posts: 3
Joined: 20 Oct 2008, 23:27

Post by fedlerner »

I've also added on the 2nd line of the addon_csf.cgi the following: use CGI::Carp qw(fatalsToBrowser);
Which makes the error to be shown on the Broswer.
And this is what I get:

Code: Select all

Can't locate Cpanel/Rlimit.pm in @INC (@INC contains: /usr/local/cpanel /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at /usr/local/cpanel/whostmgr/docroot/cgi/addon_csf.cgi line 20.BEGIN failed--compilation aborted at /usr/local/cpanel/whostmgr/docroot/cgi/addon_csf.cgi line 20.For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.
Please can someone help me with this.. ? :)
chirpy
Moderator
Posts: 3537
Joined: 09 Dec 2006, 18:13

Post by chirpy »

What version of cPanel are you running? If you're not on the latest STABLE/RELEASE/CURRENT or EDGE then upgrade cPanel.
andy_dice
Junior Member
Posts: 4
Joined: 17 Oct 2008, 18:34

Post by andy_dice »

Hello updated via shell to version csf v4.16. I see again the page ConfigServer Security&Firewall in the control panel.
I may say, in my case, the problem has been fixed with this update.
Locked