So I was adding a new site to my debian+apache2 setup and managed to blow up apache!
Investigating the error logs revealed that I had forgotten to create the directory for the log files:
[Tue Jun 02 12:26:51 2009] [notice] Graceful restart requested, doing restart
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
(2)No such file or directory: apache2: could not open error log file /var/www/logs/rayipress.co.uk/error.log.
Unable to open logs
So I've created that file and the access log file and changed the permissions/ownership to a suitable setting.
I've also enabled/disabled this site. I disabled it straight away, then 'fixed' it, then enabled it.
It is still refusing connections but nothing else is appearing in the log or access file for apache (I'm tailing the file).
EDIT: Here's the recent contents of /var/log/messages - don't think any of that is relevant to the problem but I could be wrong.
And here's the contents on the config file for the new site that appears to be causing the problems.
EDIT2: Here's the output from apache2ctl -t
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
Syntax OK
EDIT3: Wow, retarded, I was hitting apache2 reload instead of restart.. it's all fixed, thanks for your help!
Help would be most appreciated!
Thanks