
apache2 no se me inicia después de instalar reglas OWASP
Publicado por Jimbo (1 intervención) el 23/01/2022 11:13:04
Buenos dÃas, estoy intentando iniciar bueno en este caso reiniciar el servicio de Apache 2 y me da un error que no sé como subsanar, he activado el módulo mod-security y luego instalado una reglas OWASP, todo lo hice al pie de la letra desde este tutorial:
https://phoenixnap.com/kb/setup-configure-modsecurity-on-apache
y el error que me sale es el siguiente:
pache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2022-01-23 10:56:14 CET; 8min ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 750 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
ene 23 10:55:59 ruben-VirtualBox systemd[1]: Starting The Apache HTTP Server...
ene 23 10:56:14 ruben-VirtualBox apachectl[774]: AH00526: Syntax error on line 800 of /etc/modsecurity/crs/crs-setup.conf:
ene 23 10:56:14 ruben-VirtualBox apachectl[774]: ModSecurity: Found another rule with the same id
ene 23 10:56:14 ruben-VirtualBox apachectl[750]: Action 'start' failed.
ene 23 10:56:14 ruben-VirtualBox apachectl[750]: The Apache error log may have more information.
ene 23 10:56:14 ruben-VirtualBox systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
ene 23 10:56:14 ruben-VirtualBox systemd[1]: apache2.service: Failed with result 'exit-code'.
ene 23 10:56:14 ruben-VirtualBox systemd[1]: Failed to start The Apache HTTP Server.
un saludo y gracias.
https://phoenixnap.com/kb/setup-configure-modsecurity-on-apache
y el error que me sale es el siguiente:
pache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2022-01-23 10:56:14 CET; 8min ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 750 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
ene 23 10:55:59 ruben-VirtualBox systemd[1]: Starting The Apache HTTP Server...
ene 23 10:56:14 ruben-VirtualBox apachectl[774]: AH00526: Syntax error on line 800 of /etc/modsecurity/crs/crs-setup.conf:
ene 23 10:56:14 ruben-VirtualBox apachectl[774]: ModSecurity: Found another rule with the same id
ene 23 10:56:14 ruben-VirtualBox apachectl[750]: Action 'start' failed.
ene 23 10:56:14 ruben-VirtualBox apachectl[750]: The Apache error log may have more information.
ene 23 10:56:14 ruben-VirtualBox systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
ene 23 10:56:14 ruben-VirtualBox systemd[1]: apache2.service: Failed with result 'exit-code'.
ene 23 10:56:14 ruben-VirtualBox systemd[1]: Failed to start The Apache HTTP Server.
un saludo y gracias.
Valora esta pregunta


0