HiCan you please try to run this command from unprivileged user cwaf_plugin ?Login to this account with # su - cwaf_pluginand run $ sudo /usr/local/cwaf/scripts/cwaf-wrapper.pl da_get_domainlist$ sudo /usr/local/cwaf/scripts/cwaf-wrapper.pl check_modsec_loaded$ sudo /usr/local/cwaf/scripts/cwaf-wrapper.pl da_get_versionIt may require to modify your /etc/passwd changing shell setting for this user from /bin/false or /sbin/nologin to other shell
cwaf_plugin:x:493:492::/home/cwaf_plugin:/sbin/nologin
HiChange this line in /etc/passwdreplacing /sbin/nologin with other shell (F.e. with /bin/bash)This will allow you to run su - cwaf_plugin commandRegards, Oleg
[root[at]sv ~]# su - cwaf_plugin-bash: /bin/uname: Permission denied-bash-4.1$-bash-4.1$ sudo /usr/local/cwaf/scripts/cwaf-wrapper.pl da_get_domainlisttechview.vn-bash-4.1$ sudo /usr/local/cwaf/scripts/cwaf-wrapper.pl check_modsec_loaded security2_module (shared)-bash-4.1$ sudo /usr/local/cwaf/scripts/cwaf-wrapper.pl da_get_versioncwaf_rules:1.28:3f9ac47fd8d75878b0089bc39f526f18-bash-4.1$
Can't locate Comodo/CWAF/Main.pm in [at]INC ([at]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.
on directadmin panel i get the meesageCode: [Select]Can't locate Comodo/CWAF/Main.pm in [at]INC ([at]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.
13/06/15 10:57:49 update-client[95038] Running update command: bash /usr/local/cwaf/tmp/install/cwaf_client_install.sh -- --update --mode auto13/06/15 10:57:49 update-client[95038] ERROR: can't run install script(error )
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