On Fri, 30 Oct 2020 22:45:38 +0100 "Carlos E. R." <robin.listas@telefonica.net> wrote:
Hi,
My apache2 does not start (Leap 15.2). I get:
Telcontar:~ # systemctl status apache2
● apache2.service - The Apache Webserver Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Fri 2020-10-30 22:25:47 CET; 4s ago Process: 29503 ExecStart=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND -k start (code=exited, status=1/FAILURE) Main PID: 29503 (code=exited, status=1/FAILURE)
Oct 30 22:25:47 Telcontar systemd[1]: Starting The Apache Webserver... Oct 30 22:25:47 Telcontar start_apache2[29503]: httpd-prefork: Syntax error on line 210 of /etc/apache2/httpd.conf: Syntax error on line 119 of /etc/apache2/default-server.conf: Syntax error on line 15 of /etc/apache2/conf.d/cacti.conf: Expected </DirectoryMatch> but saw </Directory> Oct 30 22:25:47 Telcontar systemd[1]: apache2.service: Main process exited, code=exited, status=1/FAILURE Oct 30 22:25:47 Telcontar systemd[1]: Failed to start The Apache Webserver. Oct 30 22:25:47 Telcontar systemd[1]: apache2.service: Unit entered failed state. Oct 30 22:25:47 Telcontar systemd[1]: apache2.service: Failed with result 'exit-code'.
I understand it flags an error in file "/etc/apache2/conf.d/cacti.conf", which is a distribution file.
It flagged an error on line 15 of cacti.conf, whatever that is. What you posted doesn't have 15 lines so isn't the whole file and may or may not contain the error. You didn't supply a link to the source of the file so I can't check what you wrote. (if you already posted a bug, what is the number?) i.e. why did you post this message?
<IfDefine CACTI> <================= <IfModule mod_alias.c> Alias /cacti /srv/www/cacti </IfModule>
<Directory /srv/www/cacti>
For the moment, I'm uninstalling cacti. Apache runs again.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org