<br><br><div class="gmail_quote">On Mon, Jan 3, 2011 at 08:53, Paul F. Johnson <span dir="ltr">&lt;<a href="mailto:paul@all-the-johnsons.co.uk">paul@all-the-johnsons.co.uk</a>&gt;</span> wrote:</div><div class="gmail_quote">
 <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
First is httpd (apache).<br>
<br>
I can do /etc/init.d/httpd stop and the server stops, but when I try to<br>
start the server I get<br>
<br>
Starting httpd (via systemctl):  Job failed. See system logs and<br>
&#39;systemctl status&#39; for details.<br>
<br>
systemctl status httpd.service shows<br>
<br>
httpd.service - LSB: start and stop Apache HTTP Server<br>
          Loaded: loaded (/etc/rc.d/init.d/httpd)<br>
          Active: failed since Mon, 03 Jan 2011 16:39:18 +0000; 33s ago<br>
         Process: 3902 (/etc/rc.d/init.d/httpd stop, code=exited,<br>
status=0/SUCCESS)<br>
         Process: 1959 (/etc/rc.d/init.d/httpd start, code=exited,<br>
status=1/FAILURE)<br>
        Main PID: 2054 (code=exited, status=1/FAILURE)<br>
          CGroup: name=systemd:/system/httpd.service<br>
                  └ 2086 /usr/sbin/httpd<br>
<br>
cat /var/log/messages | tail is also unhelpful<br>
<br>
Jan  3 16:41:34 PB3 systemd[1]: httpd.service: control process exited,<br>
code=exited status=1<br>
Jan  3 16:41:34 PB3 systemd[1]: Unit httpd.service entered failed state.<br>
<br></blockquote><div><br></div><div>The stop command leaves one httpd process running. Kill it off first.</div><div><br></div><div>httpd fails to start because it is trying to create a file in /var/run/httpd but the directory doesn&#39;t exist.</div>
<div><br></div><div>As a temporary workaround I&#39;ve been</div><div><br></div><div>1) stop httpd</div><div>2) kill the last remaining httpd</div><div>3) create /var/run/httpd</div><div>4) start http</div><div><br></div>
<div>There is a outstanding bug that Lennart created. I also expect that the script will be converted sometime to work natively with systemd.</div><div><br></div><div>darrell</div></div>