i’ve just installed the rules and relative plugin into DirectAdmin using CustomBuild 2 on 3 Servers and one of those isnt working correctly.
The Server that isnt working is an old CentOS 5 64Bit server (all software are up2date related to the CentOS Mirrors).
The problem i’m facing is probably related to old perl that this OS doesnt want to update Here is the error i do have once accessing the CWAF plugin:
“remove_tree” is not exported by the File::Path module
Can’t continue after import errors at /usr/lib/perl5/site_perl/5.8.8/Comodo/CWAF/ClientAPI.pm line 12
BEGIN failed–compilation aborted at /usr/lib/perl5/site_perl/5.8.8/Comodo/CWAF/ClientAPI.pm line 12.
Compilation failed in require at /usr/local/directadmin/plugins/comodo_waf/admin/index.pl line 11.
BEGIN failed–compilation aborted at /usr/local/directadmin/plugins/comodo_waf/admin/index.pl line 11.
Since i cant apply the rules from the web interface CustomBuild notify me that i’ve no the current/correct ruleset version for modsecurity.
It’s not a hurry and/or a big issue, i wanted just notify you guys about this issue, if a fix get released i would highly appreciate that.
please help install with centos 6 directadmin but some server have error when apply rules
please help to fix
I have answered on DirectAdmin forum.
Plugin can not find exclude cache. To re-generate lets try to perform rules update.
Please try to delete /usr/local/cwaf/rules/rules.dat file then update rules with ‘Rules 1.25 is available’ button (Alternatively you can do the same with CustomBuild 2.0 plugin. Update Comodo ModSecurity Rule Set)
If this not help, please delete content of /usr/local/cwaf/tmp/rules/ (two directories ‘/workdir1’ and ‘/workdir2’) and content of /usr/local/cwaf/tmp/CACHE directory and update rules again.
Also owner of /usr/local/cwaf directory should be ‘cwaf_plugin’.
If not, please run: