httpd not starting with systemd on F17

Posted by malfy on Server Fault See other posts from Server Fault or by malfy
Published on 2012-10-20T03:48:50Z Indexed on 2012/10/20 5:05 UTC
Read the original article Hit count: 576

Filed under:
|
|

Title says it all. This is a fresh Fedora 17 system running on a Xen hypervisor. No idea why it won't start

[root@box~]  uname -a
Linux box.localhost 3.5.4-2.fc17.i686.PAE #1 SMP Wed Sep 26 22:10:23 UTC 2012 i686 i686 i386 GNU/Linux

[root@box~]  cat /etc/redhat-release
Fedora release 17 (Beefy Miracle)

[root@box~]  systemctl enable httpd.service
ln -s '/usr/lib/systemd/system/httpd.service' '/etc/systemd/system/multi-user.target.wants/httpd.service'

[root@box~]  systemctl start httpd.service
Job failed. See system journal and 'systemctl status' for details.

[root@box~]  systemctl  status httpd.service
httpd.service - The Apache HTTP Server (prefork MPM)
          Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled)
          Active: failed (Result: exit-code) since Fri, 19 Oct 2012 22:43:37 -0500; 3s ago
         Process: 18225 ExecStart=/usr/sbin/httpd $OPTIONS -k start (code=exited, status=226/NAMESPACE)
          CGroup: name=systemd:/system/httpd.service

Oct 19 22:43:37 box.localhost systemd[18225]: Failed at step NAMESPACE spawning /usr/sbin/httpd: No such file or directory

[root@box~]  ls -al /usr/sbin/httpd
-rwxr-xr-x 1 root root 343496 Apr 30 04:56 /usr/sbin/httpd

© Server Fault or respective owner

Related posts about apache2

Related posts about fedora