title: Can't connect to Apache server on RHEL6
body: <h1>The issue</h1>
  <p>Now, I am a complete n00b on Apache, and I could certainly use some help with my current issue. I have installed the httpd rpm's on 3 different systems (all Advantech computers, 1 Box PC, 1 Advanced TCA blade, 1 Compact PCI blade, and all have RHEL6 installed). I have configured Apache with files used earlier, on other installations. When I issue the command</p>
  <pre><code># service httpd restart
  </code></pre>
  <p>All goes well and I get this output:</p>
  <pre><code>Stopping httpd: [  OK  ]
  Starting httpd: httpd: apr_sockaddr_info_get() failed for &lt;PC_Name&gt;
  httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
  [  OK  ]
  </code></pre>
  <p>Now, when I try to connect to the machine via Apache, I get the log-in screen asking for the username and password, as you would expect. However, it fails to log-in. When I look at the error_log in /var/log/httpd/, it shows this error message:</p>
  <pre><code>[Thu Sep 15 14:24:40 2011] [error] [client 192.168.10.175] (13)Permission denied: Could not open password file: /etc/shadow
  [Thu Sep 15 14:24:40 2011] [error] [client 192.168.10.175] PAM: user 'root' - not authenticated: System error
  </code></pre>
  <p>It seems to me that this is either a configuration error, or it has something to do with permissions. Yet I can't seem to find out which. Another interesting fact is, that this only applies to the last two installations(Advanced TCA &amp; Compact PCI), and not the first (Box PC), while all 3 installations are exactly the same.</p>
  <h1>Additional Info</h1>
  <p>The way I installed it was install httpd from yum,</p>
  <pre><code># yum install httpd
  </code></pre>
  <p>Next install mod_auth_pam, which is needed by the configuration,</p>
  <pre><code># yum install mod_auth_pam
  </code></pre>
  <p>Then I configured Apache with the files I got from previous installations (which basically is just replacing the configuration files from the standard Apache install), and after that I restarted the Apache service.</p>