Maybe your FreeBSD doesn’t contain required packages.
Please let me know if updates will be not performed after upgrading to latest plugin version (which is 2.9 at the moment).
Console commands to test update:
`# echo 1 > /usr/local/cwaf/etc/version.dat
If you have something like Firebug plugin, can you please check what server response for hanging request.
It can be permission issue, FreeBSD is strict system.
CGI will be removed from the Perl core distribution in the next major release. Please install it from
CPAN. It is being used at /usr/local/cwaf/web/cwaf_sharedlib.pl, line 1.
CGI::Util will be removed from the Perl core distribution in the next major release. Please install it
from CPAN. It is being used at /usr/local/lib/perl5/5.20/CGI.pm, line 29.
Status: 200 OK
Hello,
I get this error when I click in comodo waf plugin page in directadmin:
Can’t locate Comodo/CWAF/Main.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 10.
BEGIN failed–compilation aborted at /usr/local/directadmin/plugins/comodo_waf/admin/index.pl line 10.
I use centos 7.2. x86_64 with directadmin 1.4.91
I get this error when I click in Comodo WAF 2.15 after update it.
Undefined subroutine &main::is_standalone called at /usr/local/cwaf/web/cwaf_sharedlib.pl line 125.
What to do?
We installed CWAF on a number of servers. On some it works like a peach, but on others we get the message
Use of uninitialized value $tmp{“httpd_version”} in split at /usr/local/lib/perl5/site_perl/Comodo/CWAF/DAdmin.pm line 91
Since DAdmin.pm on all servers is identical I suspect it’s an issue with a cpan module, but I’ll eat my hat if I know which one. According to /tmp/cwaf_install.log.52217 the install went off without a hitch and it concludes with
21-12-2015 22:13:48 Setting Up ModSecurity config
21-12-2015 22:13:48 /etc/httpd/conf/extra/httpd-modsecurity.conf → /usr/local/cwaf/conf/modsec2_plugin.conf
21-12-2015 22:13:48 All Done!
apachectl -m does list security2_module as loaded so I’m guessing it’s just a perl thing.