-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On Xenial updating to latest modsecurity2 causes error #714
Comments
Also affects trusty |
Confirmed on Trusty
|
I just had this same exact error happen to me on 14.04.5. The error I received was:
The only way to get the webserver to start was to remove the config file that was causing it to break:
Does anyone know of a permanent solution for this? |
I resolved this by downloading the DEB file for the newest version of modsecurity-crs from the Zesty archive library: https://packages.ubuntu.com/zesty/all/modsecurity-crs/download and installing it manually. The security2.load file then loaded without issue |
Awesome, thanks @gquipster! For anyone landing here from a Google search, I ran these commands thanks to @gquipster:
I was able to confirm the configuration was okay after install by running |
I'll fix this as part of #733 |
Uploaded, so this and #733 should be fixed. |
/etc/init.d/apache2 restart
Output of config test was:
apache2: Syntax error on line 147 of /etc/apache2/apache2.conf: Syntax error on line 12 of /etc/apache2/mods-enabled/security2.conf: Could not open configuration file /usr/share/modsecurity-crs/owasp-crs.load: No such file or directory
Had to install Zesty version of modsecurity-crs to resolve: https://packages.ubuntu.com/zesty/modsecurity-crs
The text was updated successfully, but these errors were encountered: