wheezy -> Jessie mod_security problem

Debian macht sich hervorragend als Web- und Mailserver. Schau auch in den " Tipps und Tricks"-Bereich.
Antworten
agarbathi
Beiträge: 34
Registriert: 02.01.2009 17:02:42

wheezy -> Jessie mod_security problem

Beitrag von agarbathi » 18.06.2015 08:28:10

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: Alles auswählen


-- 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: Alles auswählen


<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... ich hoffe das jemand von euch mir einen Tipp geben kann!!

Vielen Dank

Antworten