CSF won't start, gives Perl error (?)
Posted: 23 Jul 2015, 18:08
Hi,
I'm starting a new VPS and keep rebuilding it. Now my host changed some things. In the beginning cPanel/WHM 11.50 with CentOS 6 was installed and I had no troubles running csf. But recently my host changed it to CentOS 7 and now I have trouble running csf.
I don't have any trouble downloading and installing it, but it won't start and when I check for errors I get the following:
I get this error when using csf -r, but csf -e results in the same error. Even uninstalling csf gives this error.
Running the test, shows no problems:
I'm guessing it's some kind of Perl module, but searching for it, doesn't give me the right answer.
I hope you guys can help me out.
Thom
p.s. The UI in WHM itself isn't visible, only the header with the logo.
I'm starting a new VPS and keep rebuilding it. Now my host changed some things. In the beginning cPanel/WHM 11.50 with CentOS 6 was installed and I had no troubles running csf. But recently my host changed it to CentOS 7 and now I have trouble running csf.
I don't have any trouble downloading and installing it, but it won't start and when I check for errors I get the following:
Code: Select all
Can't locate Config_heavy.pl in @INC (@INC contains: /usr/local/csf/lib /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/5.14.4/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/5.14.4 /opt/cpanel/perl5/514/site_lib/x86_64-linux-64int /opt/cpanel/perl5/514/site_lib .) at /usr/local/cpanel/3rdparty/perl/514/lib64/perl5/5.14.4/x86_64-linux-64int/Config.pm line 79.
BEGIN failed--compilation aborted at /usr/local/csf/lib/version/vpp.pm line 687.
Compilation failed in require at (eval 4) line 2.
BEGIN failed--compilation aborted at (eval 4) line 2.
Compilation failed in require at /usr/local/csf/lib/ConfigServer/Config.pm line 10.
BEGIN failed--compilation aborted at /usr/local/csf/lib/ConfigServer/Config.pm line 10.
Compilation failed in require at /sbin/csf line 16.
BEGIN failed--compilation aborted at /sbin/csf line 16.
Running the test, shows no problems:
Code: Select all
perl /usr/local/csf/bin/csftest.pl
Code: Select all
Testing ip_tables/iptable_filter...OK
Testing ipt_LOG...OK
Testing ipt_multiport/xt_multiport...OK
Testing ipt_REJECT...OK
Testing ipt_state/xt_state...OK
Testing ipt_limit/xt_limit...OK
Testing ipt_recent...OK
Testing xt_connlimit...OK
Testing ipt_owner/xt_owner...OK
Testing iptable_nat/ipt_REDIRECT...OK
Testing iptable_nat/ipt_DNAT...OK
RESULT: csf should function on this server
I hope you guys can help me out.
Thom
p.s. The UI in WHM itself isn't visible, only the header with the logo.