modsecurity gives 'Can't locate CGI.pm' error in directadmin

DutchProgrammer

Verified User
Joined
Oct 14, 2012
Messages
15
Hello,

I've installed modsecurity on 4 servers succesful but on this server im getting an error after building modesecurity with customerbuild (./build modsecurity).

during the install i dont see any errors but when i go to directadmin i get the following error:
Can't locate CGI.pm in @INC (@INC contains: /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/directadmin/plugins/comodo_waf/admin/index.pl line 3.
BEGIN failed--compilation aborted at /usr/local/directadmin/plugins/comodo_waf/admin/index.pl line 3.


When i use locate CGI.pm i get the following results:
/root/.cpan/build/AppConfig-1.71-zvaIOH/blib/lib/AppConfig/CGI.pm
/root/.cpan/build/AppConfig-1.71-zvaIOH/lib/AppConfig/CGI.pm
/root/.cpan/build/CGI-4.26-KhE93Z/blib/lib/CGI.pm
/root/.cpan/build/CGI-4.26-KhE93Z/lib/CGI.pm
/root/.cpan/build/Template-Toolkit-2.26-SLUUw2/blib/lib/Template/Plugin/CGI.pm
/root/.cpan/build/Template-Toolkit-2.26-SLUUw2/lib/Template/Plugin/CGI.pm
/root/perl5/lib/perl5/CGI.pm
/root/perl5/lib/perl5/AppConfig/CGI.pm
/root/perl5/lib/perl5/x86_64-linux-thread-multi/Template/Plugin/CGI.pm


Does anyone has an idee how to fix this ?
 
I have the same problem! does anybody have asolutions for this error?
 
Back
Top