Re: [ALUG] Amateur Web Admin needs help!
Oct 27 19:38:45 webserver systemd[1]: Starting The Apache HTTP Server... Oct 27 19:38:45 webserver apachectl[9629]: apache2: Syntax error on line 225 of /etc/apache2/apache2.conf: Sy
This is the error that's preventing Apache from running, on "line 225 of /etc/apache2/apache2.conf", it looks as if you have truncated the full error message (unless that was me). Anyway, show us that line (and a few lines aroun d it for context) and I'm sure someone will be able to tell you what's wrong. There may be more/better information about the apache configuration error in the apache error log at /var/log/apache/error.log. (copied to Alug, please reply to there so everyone can see/help) -- Chris Green
Hospital today (only day surgery, no big deal). Back to the IT tomorrow. Thanks for your help. On 29 October 2019 22:51:40 GMT+00:00, Chris Green <chris@isbd.co.uk> wrote:
Oct 27 19:38:45 webserver systemd[1]: Starting The Apache HTTP Server... Oct 27 19:38:45 webserver apachectl[9629]: apache2: Syntax error on line 225 of /etc/apache2/apache2.conf: Sy
This is the error that's preventing Apache from running, on "line 225 of /etc/apache2/apache2.conf", it looks as if you have truncated the full error message (unless that was me).
Anyway, show us that line (and a few lines aroun d it for context) and I'm sure someone will be able to tell you what's wrong.
There may be more/better information about the apache configuration error in the apache error log at /var/log/apache/error.log.
(copied to Alug, please reply to there so everyone can see/help)
-- Chris Green
-- Sent from my Android device with K-9 Mail. Please excuse my brevity.
Just had a quick look at /var/log/apache2/... There is error.log which is empty, error.log.1 dated April 2018 (which is probably when I set up the server). and a lot of error.log.x.gz where x ranges from 2 to 14. I 'gunzipped' 14 and that too is from April 2018. I hadn't realized the error was truncated, the terminal window doesn't line wrap and it goes on and on and... I'll paste it below: Oct 27 19:38:45 webserver systemd[1]: Starting The Apache HTTP Server... Oct 27 19:38:45 webserver apachectl[9629]: apache2: Syntax error on line 225 of /etc/apache2/apache2.conf: Syntax error on line 31 of /etc/apache2/sites-enabled/000-default-le-ssl.conf: Could not open configuration file /etc/letsencrypt/options-ssl-apache.conf: No such file or directory Oct 27 19:38:45 webserver apachectl[9629]: Action 'start' failed. Oct 27 19:38:45 webserver apachectl[9629]: The Apache error log may have more information. Oct 27 19:38:45 webserver systemd[1]: apache2.service: Control process exited, code=exited status=1 Oct 27 19:38:45 webserver systemd[1]: apache2.service: Failed with result 'exit-code'. Oct 27 19:38:45 webserver systemd[1]: Failed to start The Apache HTTP Server. lines 1-14/14 (END) I checked and /etc/letsencrypt doesn't exist. I assume it used to because I did set up https using Letsencrypt, though 18 months later I can't recall the details! -- Phil On 29/10/2019 22:51, Chris Green wrote:
Oct 27 19:38:45 webserver systemd[1]: Starting The Apache HTTP Server... Oct 27 19:38:45 webserver apachectl[9629]: apache2: Syntax error on line 225 of /etc/apache2/apache2.conf: Sy
This is the error that's preventing Apache from running, on "line 225 of /etc/apache2/apache2.conf", it looks as if you have truncated the full error message (unless that was me).
Anyway, show us that line (and a few lines aroun d it for context) and I'm sure someone will be able to tell you what's wrong.
There may be more/better information about the apache configuration error in the apache error log at /var/log/apache/error.log.
(copied to Alug, please reply to there so everyone can see/help)
-- Phil Thane www.pthane.co.uk Tweet @pthane 01767 449759 07582 750607
participants (2)
-
Chris Green -
Phil Thane