Hello Archers!
I installed apache on a fresh and up-to-date (sudo pacman -Syu) archlinux on a raspberry pi - but httpd won't start.
I don't think apache-config-errors are the problem in my case.
Thanks for a hint.
$this->bbcode_second_pass_code('', '
[me@archlinux ~]$ sudo systemctl restart httpd
Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -xn' for details.
[me@archlinux ~]$ sudo systemctl status httpd.service -l
httpd.service - Apache Web Server
Loaded: loaded (/etc/systemd/system/httpd.service; enabled)
Active: failed (Result: exit-code) since Sun 2013-11-24 20:44:23 UTC; 9min ago
Process: 371 ExecStart=/usr/bin/apachectl start (code=exited, status=1/FAILURE)
Nov 24 20:44:22 archlinux systemd[1]: Starting Apache Web Server...
Nov 24 20:44:23 archlinux systemd[1]: httpd.service: control process exited, code=exited status=1
Nov 24 20:44:23 archlinux systemd[1]: Failed to start Apache Web Server.
Nov 24 20:44:23 archlinux systemd[1]: Unit httpd.service entered failed state.
[me@archlinux ~]$ apachectl configtest
Syntax OK
[me@archlinux ~]$ cat /usr/lib/systemd/system/httpd.service
[Unit]
Description=Apache Web Server
After=network.target remote-fs.target nss-lookup.target
[Service]
Type=forking
PIDFile=/run/httpd/httpd.pid
ExecStart=/usr/bin/apachectl start
ExecStop=/usr/bin/apachectl graceful-stop
ExecReload=/usr/bin/apachectl graceful
PrivateTmp=true
LimitNOFILE=infinity
[Install]
WantedBy=multi-user.target
')
Solved!
It was the missing access.log-file.