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.
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.
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.
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:
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
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:
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.
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.