httpd.service start fails (Raspberry pi)

Ask questions about Arch Linux ARM. Please search before making a new topic.

httpd.service start fails (Raspberry pi)

Postby netzwerg » Sun Nov 24, 2013 9:08 pm

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.
Last edited by netzwerg on Sun Nov 24, 2013 10:27 pm, edited 1 time in total.
netzwerg
 
Posts: 1
Joined: Sun Nov 24, 2013 8:51 pm

Re: httpd.service start fails (Raspberry pi)

Postby WarheadsSE » Sun Nov 24, 2013 9:37 pm

$this->bbcode_second_pass_quote('', 'a')nd 'journalctl -xn'
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to User Questions

Who is online

Users browsing this forum: No registered users and 20 guests