After mod security installaiton bad interpreter: Permission denied

psalm91

Verified User
Joined
Sep 20, 2015
Messages
168
Installed comodo mod security and when I go there I see

sh: /usr/local/directadmin/plugins/comodo_waf/admin/index.pl: /usr/bin/perl: bad interpreter: Permission denied
 
I think you've changed perms of /usr/bin/perl manually :) To get them back:
chmod +x
/usr/bin/perl
 
I think you've changed perms of /usr/bin/perl manually :) To get them back:
chmod +x
/usr/bin/perl

Now it says






Can't locate LWP.pm in @INC (@INC contains: /usr/local/cwaf/modules/CPAN/lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/cwaf/modules/CPAN/lib/Comodo/CWAF/ClientAPI.pm line 8.
BEGIN failed--compilation aborted at /usr/local/cwaf/modules/CPAN/lib/Comodo/CWAF/ClientAPI.pm line 8.
Compilation failed in require at /usr/local/directadmin/plugins/comodo_waf/admin/index.pl line 12.
BEGIN failed--compilation aborted at /usr/local/directadmin/plugins/comodo_waf/admin/index.pl line 12
 
Back
Top