title: Ubuntu error with apache: (98)Address already in use
body: <p>I am getting this error when I try to start Apache in Ubuntu. </p>
  
  <pre><code> (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
   no listening sockets available, shutting down
   Unable to open logs
   Action 'start' failed.
  </code></pre>
  
  <p>I have this in my ports.conf</p>
  
  <pre><code>NameVirtualHost *:80
  Listen 80
  </code></pre>
  
  <p>This is my vhost file</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
            ServerAdmin example@example.com
            ServerName rails.server.com
            # ServerAlias
            DocumentRoot /var/www/sample_app/current/public
            ErrorLog /var/www/sample_app/error.log
  
            RailsEnv production
          &lt;Directory "/var/www/sample_app/current/public"&gt;
            Options Indexes FollowSymLinks MultiViews
            Order allow,deny
            Allow from all
          &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>What am I missing?</p>