Hallo,
nach der Umstllung auf open SUSE Leap 42.1 wollte ich meinen Apache wieder in Betrieb nehmen.
Beim Start mit der Yast Dienste Verwaltung erhalte ich folgende Fehlermeldung:
	
	
	
		
Das ist das original mod_log_config.conf File von der Installation und entspricht exakt dem File unter Suse 3.1
Das File sieht so aus:
	
	
	
		
Kennt jemand das Problem? Im Internet habe ich nichts passendes gefunden.
Grüße
Georg
			
			nach der Umstllung auf open SUSE Leap 42.1 wollte ich meinen Apache wieder in Betrieb nehmen.
Beim Start mit der Yast Dienste Verwaltung erhalte ich folgende Fehlermeldung:
		Code:
	
	apache2.service - The Apache Webserver
   Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled)
   Active: failed (Result: exit-code) since Thu 2016-05-12 16:27:18 CEST; 24min ago
  Process: 15904 ExecStop=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND -k graceful-stop (code=exited, status=1/FAILURE)
  Process: 15899 ExecStart=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND -k start (code=exited, status=1/FAILURE)
 Main PID: 15899 (code=exited, status=1/FAILURE)
May 12 16:27:18 polaris start_apache2[15899]: AH00526: Syntax error on line 11 of /etc/apache2/mod_log_config.conf:
May 12 16:27:18 polaris start_apache2[15899]: Invalid command 'LogFormat', perhaps misspelled or defined by a module not included in the server configuration
May 12 16:27:18 polaris start_apache2[15904]: AH00526: Syntax error on line 11 of /etc/apache2/mod_log_config.conf:
May 12 16:27:18 polaris start_apache2[15904]: Invalid command 'LogFormat', perhaps misspelled or defined by a module not included in the server configuration
May 12 16:27:18 polaris systemd[1]: Failed to start The Apache Webserver.
	Das File sieht so aus:
		Code:
	
	polaris:/etc/apache2 # cat -n mod_log_config.conf 
     1  #
     2  # The following directives define some format nicknames for use with
     3  # a CustomLog directive.
     4  #
     5  # http://httpd.apache.org/docs/2.4/mod/mod_log_config.html
     6  #
     7
     8  #
     9  #         Format string:                                Nickname:
    10  #
    11  LogFormat "%h %l %u %t \"%r\" %>s %b"                   common
    12  LogFormat "%v %h %l %u %t \"%r\" %>s %b"                vhost_common
    13  LogFormat "%{Referer}i -> %U"                           referer
    14  LogFormat "%{User-agent}i"                              agent
    15  LogFormat "%h %l %u %t \"%r\" %>s %b \
    16  \"%{Referer}i\" \"%{User-Agent}i\""                     combined
    17  LogFormat "%v %h %l %u %t \"%r\" %>s %b \
    18  \"%{Referer}i\" \"%{User-Agent}i\""                     vhost_combined
    19
    20  # To use %I and %O, you need to enable mod_logio
    21  <IfModule mod_logio.c>
    22  LogFormat "%h %l %u %t \"%r\" %>s %b \
    23  \"%{Referer}i\" \"%{User-Agent}i\" %I %O"               combinedio
    24  </IfModule>
    25
    26  # Use one of these when you want a compact non-error SSL logfile on a virtual
    27  # host basis:
    28  <IfModule mod_ssl.c>
    29  Logformat "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \
    30  \"%r\" %b"                                              ssl_common
    31  Logformat "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \
    32  \"%r\" %b \"%{Referer}i\" \"%{User-Agent}i\""           ssl_combined
    33  </IfModule>
    34
	Grüße
Georg