Problem when set up OWASP cPanel default
Hello guys!
I have problem when I try to activate mod_sec vendors cpanel owasp. When I try to activate the service, it appears error saying missing files in httpd.conf, now when I try to activate the service this error appears.
-
Erro: O sistema apresentou o seguinte erro ao tentar instalar o fornecedor "OWASP ModSecurity Core Rule Set V3.0": API failure: O sistema n"o conseguiu validar a nova configura""o do Apache porque httpd saiu com um valor diferente de zero. O Apache produziu o seguinte erro: httpd: Syntax error on line 257 of /etc/apache2/conf/httpd.conf: Syntax error on line 32 of /etc/apache2/conf.d/modsec2.conf: Syntax error on line 29 of /etc/apache2/conf.d/modsec/modsec2.cpanel.conf: Could not open configuration file /etc/apache2/conf.d/modsec_vendor_configs/imunify360_full_apache/000_i360_0.conf: No such file or directory Another error 0 -
Did you recently uninstall imunify360 or cancel the license? This issue is occurring because the imunify360 configuration file is being included in the apache configuration on line 32 of /etc/apache2/conf.d/modsec2.conf
If you removed Imunify or you no longer have the license you'll need to remove the corresponding line from the modsec2.conf0 -
Thank you so much for answering. I installed Immunify360 again. The error still continues. 0 -
Hello, Can you tell me if the following exists: /etc/apache2/conf.d/modsec_vendor_configs/imunify360_full_apache/000_i360_0.conf0 -
Hi, Lauren! There is no such file and no directory 0 -
Hi @jeanbtech When you reinstalled imunify did you get imunify360 (the paid version) or imunifyAV (the free version) If you just got the free version you'll need to either purchase the paid version again or remove that line referencing the directory and file in /etc/apache2/conf.d/modsec2.conf0 -
Hi @cPanelLauren I have the paid version, I have the immunify360 version. I do not use the free version Immunify + AV. 0 -
Hi @jeanbtech The file should have been automatically recreated when you installed imunify again. Can you run the following and let me know if it adds that file and if it resolves the issue? imunify360-agent install-vendors
This is noted in their documentation for instances where you install mod_security after imunify - Hosting Panels Firewall Rulesets Specific Settings | Documentation But I believe it will add the necessary files/data in this instance.0 -
Problem still continues. 0 -
I have tried several tutorials, nothing corrects this error. 0 -
Hello, Can you show me the output of the following: ls -lah /etc/apache2/conf.d/modsec_vendor_configs/
Namely I'm looking to see if the directory exists and if it's renamed (sometimes renamed with .bk at the end when imunify is removed. If it does exist you should be able to rename the directory and the issue should be resolved once the directory and file exist. If it does not exist I'd be curious to see what the output of the following is:imunify360-agent install-vendors0 -
I did the procedure you requested, see the result. 0 -
More folders conf.d 0 -
Hello! Can you open a support ticket CloudLinux.com | Imunify360.com 0 -
Hi, @skhristich My Ticket ID: #74236 0
Please sign in to leave a comment.
Comments
15 comments