>
> > - /var/log/apache2 and /etc/apache2/httpd.conf are in the right place
>
> Check ownership of files in /var/log/apache2/
>
> Apache will need to be able to write to them.
>
> Apache ownership of apache:apache


Inside apache2, root:root and the files are empty.

I changed the ownership of the files into apache2 to apache:apache
 No change. apache2 still fails.


> > - /usr/bin/apache2ctl configtest returns nothing
>
> Hmm ... it should return Status OK, or 0.
>
>  I get absolutely nothing.

>
> > - when trying to start apache2.service, i get this :
> > apache2.service: start operation timed out. Terminating.
>
> It is missing something, can't connect to the IP/port it needs, or there's
> a
> file missing.  What is the output of:
>
> 'systemctl -l status apache2'
>
>
apache2.service - The Apache HTTP Server
     Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled;
preset: disabled)
     Active: failed (Result: timeout) since Thu 2023-05-11 17:46:29 CEST;
5min ago
       Docs: https://httpd.apache.org/docs/2.4/
    Process: 1967 ExecStart=/usr/sbin/apache2ctl start (code=killed,
signal=TERM)
        CPU: 22ms

mai 11 17:41:29 bureau systemd[1]: Starting apache2.service...
mai 11 17:46:29 bureau systemd[1]: apache2.service: start operation timed
out. Terminating.
mai 11 17:46:29 bureau systemd[1]: apache2.service: Killing process 1970
(systemctl) with signal SIGKILL.
mai 11 17:46:29 bureau systemd[1]: apache2.service: Failed with result
'timeout'.
mai 11 17:46:29 bureau systemd[1]: Failed to start apache2.service.



Also set "LogLevel info" (or debug) in its config file and restart it to
> see
> what the apache error log reveals.
>

I don't find any "LogLevel info" in /etc/apache2/httpd.conf
/var/log/apache2/error_log is empty.

Jacques

Reply via email to