Loaded PCRE do not match with compiled! on vanilla Ubuntu Server with apache and modsecurity installed via packages
On a fresh and clean installation of Ubuntu Server 16.04.2 (downloaded on 12, Jun. 2017). I installed apache with modsecurity from the repositories
by
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install apache2
sudo apt-get install libapache2-
Restarting apache
sudo service apache2 restart
Now the error.log of apache shows:
[Mon Jun 12 09:19:54.000356 2017] [:notice] [pid 25603:tid 140553349252992] ModSecurity for Apache/2.9.0 (http://
[Mon Jun 12 09:19:54.000447 2017] [:notice] [pid 25603:tid 140553349252992] ModSecurity: APR compiled version="1.5.1"; loaded version="1.5.2"
[Mon Jun 12 09:19:54.000450 2017] [:warn] [pid 25603:tid 140553349252992] ModSecurity: Loaded APR do not match with compiled!
[Mon Jun 12 09:19:54.000454 2017] [:notice] [pid 25603:tid 140553349252992] ModSecurity: PCRE compiled version="8.35 "; loaded version="8.38 2015-11-23"
[Mon Jun 12 09:19:54.000467 2017] [:warn] [pid 25603:tid 140553349252992] ModSecurity: Loaded PCRE do not match with compiled!
[Mon Jun 12 09:19:54.000470 2017] [:notice] [pid 25603:tid 140553349252992] ModSecurity: LUA compiled version="Lua 5.1"
[Mon Jun 12 09:19:54.000472 2017] [:notice] [pid 25603:tid 140553349252992] ModSecurity: YAJL compiled version="2.1.0"
[Mon Jun 12 09:19:54.000474 2017] [:notice] [pid 25603:tid 140553349252992] ModSecurity: LIBXML compiled version="2.9.2"
[Mon Jun 12 09:19:54.000477 2017] [:notice] [pid 25603:tid 140553349252992] ModSecurity: Status engine is currently disabled, enable it by set SecStatusEngine to On.
[Mon Jun 12 09:19:55.003612 2017] [mpm_event:notice] [pid 25604:tid 140553349252992] AH00489: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Mon Jun 12 09:19:55.003765 2017] [core:notice] [pid 25604:tid 140553349252992] AH00094: Command line: '/usr/sbin/apache2'
So from my understanding modsecurity and apache from the repositories are incompatible.
I would expect this to work out of the box.
from: https:/
Please let me know if I need to supply more information. It's a first for me.
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: