Hallo zusammen,
ich habe nach dieser Anleitung [1] mein System auf Debian Jessie umgestellt. Natürlich habe ich die Einträge in Jessie geändert. :wink:
Bis auf ein Problem mit dem Apache Server lief das Update gut durch.
Der Apache Server Startete nicht, als ich diesem mit
starten wollte erhielt ich folgende Meldung:
systemctl status httpd.service ergibt:
Das macht mich schon stutzig ?
journalctl -xe
Hier ist das auffällig:
Die Zeile 82 der /etc/apache2/apache2.conf zeigt das :RewriteLog /var/log/apache2/rewrite.log
So bevor ich jetzt etwas falsch mache würde ich euch um Euren Rat bitte.
Wie bekomme ich eine Lauffähige apache conf Version hin?
Gruß
Lockslay
[1]https://www.howtoforge.com/how-to-upgrade-debian-squeeze-to-wheezy
ich habe nach dieser Anleitung [1] mein System auf Debian Jessie umgestellt. Natürlich habe ich die Einträge in Jessie geändert. :wink:
Bis auf ein Problem mit dem Apache Server lief das Update gut durch.
Der Apache Server Startete nicht, als ich diesem mit
Code:
/etc/init.d/apache2 start
Code:
[....] Starting apache2 (via systemctl): apache2.serviceJob for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.
failed!
systemctl status httpd.service ergibt:
Code:
systemctl status httpd.service
● httpd.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
journalctl -xe
Code:
Apr 03 21:05:01 debianserver CRON[3120]: pam_unix(cron:session): session closed
Apr 03 21:05:01 debianserver CRON[3121]: pam_unix(cron:session): session closed
Apr 03 21:05:02 debianserver CRON[3119]: pam_unix(cron:session): session closed
Apr 03 21:06:06 debianserver apache2[3154]: Starting web server: apache2 failed!
Apr 03 21:06:06 debianserver apache2[3154]: The apache2 configtest failed. ... (
Apr 03 21:06:06 debianserver apache2[3154]: Output of config test was:
Apr 03 21:06:06 debianserver apache2[3154]: AH00526: Syntax error on line 82 of
Apr 03 21:06:06 debianserver apache2[3154]: Invalid command 'RewriteLog', perhap
Apr 03 21:06:06 debianserver apache2[3154]: Action 'configtest' failed.
Apr 03 21:06:06 debianserver apache2[3154]: The Apache error log may have more i
Apr 03 21:06:06 debianserver systemd[1]: apache2.service: control process exited
Apr 03 21:06:06 debianserver 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.
Apr 03 21:06:06 debianserver systemd[1]: Unit apache2.service entered failed sta
Apr 03 21:09:01 debianserver CRON[3211]: pam_unix(cron:session): session opened
Apr 03 21:09:01 debianserver CRON[3212]: (root) CMD ( [ -x /usr/lib/php5/sessio
Apr 03 21:09:03 debianserver CRON[3211]: pam_unix(cron:session): session closed
lines 1354-1376/1376 (END)
Apr 03 21:05:01 debianserver CRON[3120]: pam_unix(cron:session): session closed for user root
Apr 03 21:05:01 debianserver CRON[3121]: pam_unix(cron:session): session closed for user root
Apr 03 21:05:02 debianserver CRON[3119]: pam_unix(cron:session): session closed for user root
Apr 03 21:06:06 debianserver apache2[3154]: Starting web server: apache2 failed!
Apr 03 21:06:06 debianserver apache2[3154]: The apache2 configtest failed. ... (warning).
Apr 03 21:06:06 debianserver apache2[3154]: Output of config test was:
Apr 03 21:06:06 debianserver apache2[3154]: AH00526: Syntax error on line 82 of /etc/apache2/apache2.conf:
Apr 03 21:06:06 debianserver apache2[3154]: Invalid command 'RewriteLog', perhaps misspelled or defined by a module not included in the server configuration
Apr 03 21:06:06 debianserver apache2[3154]: Action 'configtest' failed.
Apr 03 21:06:06 debianserver apache2[3154]: The Apache error log may have more information.
Apr 03 21:06:06 debianserver systemd[1]: apache2.service: control process exited, code=exited status=1
Apr 03 21:06:06 debianserver 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.
Apr 03 21:06:06 debianserver systemd[1]: Unit apache2.service entered failed state.
Apr 03 21:09:01 debianserver CRON[3211]: pam_unix(cron:session): session opened for user root by (uid=0)
Apr 03 21:09:01 debianserver CRON[3212]: (root) CMD ( [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
Apr 03 21:09:03 debianserver CRON[3211]: pam_unix(cron:session): session closed for user root
Code:
Apr 03 21:06:06 debianserver apache2[3154]: AH00526: Syntax error on line 82 of /etc/apache2/apache2.conf:
Apr 03 21:06:06 debianserver apache2[3154]: Invalid command 'RewriteLog', perhaps misspelled or defined by a module not
So bevor ich jetzt etwas falsch mache würde ich euch um Euren Rat bitte.
Wie bekomme ich eine Lauffähige apache conf Version hin?
Gruß
Lockslay
[1]https://www.howtoforge.com/how-to-upgrade-debian-squeeze-to-wheezy