title: Apachectl "service already loaded" when it's not
body: <p>I am trying to learn a bit about the terminal and servers. I am following a course and in this course it states that you can start and stop the server apache (on mac) by using the command:</p>
  
  <pre><code>sudo apachectl start
  </code></pre>
  
  <p>But, when I do this, it comes back with a message saying that apache is already functioning. The full message:</p>
  
  <pre><code>/System/Library/LaunchDaemons/org.apache.httpd.plist: service already loaded
  </code></pre>
  
  <p>Apache is clearly not running though:</p>
  
  <pre><code>ps aux | grep httpd
  </code></pre>
  
  <p>doesn't return any activity.</p>
  
  <p>I expect this is something to do with the fact that the course I am following is for Yosemite and I am running El Capitan. I don't know much about the issue and I am trying to learn, but I can't even follow the course if I can't even start the server.</p>
  
  <p>Can anyone help?</p>
  
  <p>Thanks,</p>
  
  <p>P</p>
  
  <p>edit ---------------------------------------------------------------------</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
  &lt;plist version="1.0"&gt;
  &lt;dict&gt;
          &lt;key&gt;Disabled&lt;/key&gt;
          &lt;true/&gt;
          &lt;key&gt;Label&lt;/key&gt;
          &lt;string&gt;org.apache.httpd&lt;/string&gt;
          &lt;key&gt;EnvironmentVariables&lt;/key&gt;
          &lt;dict&gt;
                  &lt;key&gt;XPC_SERVICES_UNAVAILABLE&lt;/key&gt;
                  &lt;string&gt;1&lt;/string&gt;
          &lt;/dict&gt;
          &lt;key&gt;ProgramArguments&lt;/key&gt;
          &lt;array&gt;
                  &lt;string&gt;/usr/sbin/httpd-wrapper&lt;/string&gt;
                  &lt;string&gt;-D&lt;/string&gt;
                  &lt;string&gt;FOREGROUND&lt;/string&gt;
          &lt;/array&gt;
          &lt;key&gt;OnDemand&lt;/key&gt;
          &lt;false/&gt;
  &lt;/dict&gt;
  &lt;/plist&gt;
  </code></pre>