Quantcast
Channel: Server Support Forum
Viewing all articles
Browse latest Browse all 7456

wheezy -> Jessie mod_security problem

$
0
0
Hi zusammen,

nach meinem Upgrade von Wheezy auf Jessie hab ich lediglich noch das Problem das ich mod_security nicht zum laufen bewegen kann und mir der Apache folgende Fehlermeldung nach journalctl -xn auswirft:

Code:


-- Logs begin at Mi 2015-06-17 09:19:24 CEST, end at Do 2015-06-18 08:14:38 CEST. --
Jun 18 08:13:52 n096h063 systemd[1]: Unit apache2.service entered failed state.
Jun 18 08:14:38 n096h063 apache2[12458]: Starting web server: apache2 failed!
Jun 18 08:14:38 n096h063 apache2[12458]: The apache2 configtest failed. ... (warning).
Jun 18 08:14:38 n096h063 apache2[12458]: Output of config test was:
Jun 18 08:14:38 n096h063 apache2[12458]: apache2: Syntax error on line 245 of /etc/apache2/apache2.conf: Syntax error on line 9 of /etc/apache2/mods-enabled/security2.conf:
Jun 18 08:14:38 n096h063 apache2[12458]: Action 'configtest' failed.
Jun 18 08:14:38 n096h063 apache2[12458]: The Apache error log may have more information.
Jun 18 08:14:38 n096h063 systemd[1]: apache2.service: control process exited, code=exited status=1
Jun 18 08:14:38 n096h063 systemd[1]: Failed to start LSB: Apache2 web server.
-- Subject: Unit apache2.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit apache2.service has failed.
--
-- The result is failed.
Jun 18 08:14:38 n096h063 systemd[1]: Unit apache2.service entered failed state.

hier mal meine /etc/apache2/mods-enabled/security2.conf

Code:


<IfModule security2_module>
        # Default Debian dir for modsecurity's persistent data
        SecDataDir /var/cache/modsecurity

        # Include all the *.conf files in /etc/modsecurity.
        # Keeping your local configuration in that directory
        # will allow for an easy upgrade of THIS file and
        # make your life easier
        Include "/etc/modsecurity/*.conf"
</IfModule>

Im Grunde genommen noch die .conf die unter Wheezy mit dem Apache 2.2 wunderbar funktionierte. Im Apache Error Log sind auch keine brauchbaren Hinweise... ich hoffe das mir jemand von euch einen Tipp geben kann!!

Vielen Dank

Viewing all articles
Browse latest Browse all 7456

Trending Articles