title: Apache Change Default User
body: <p>I wish to run apache under a user named app_user. To achieve this I changed the following in the httpd.conf file</p>
  
  <pre><code>User app_user
  Group app_user
  </code></pre>
  
  <p>app_user is a valid user and a group on this server.</p>
  
  <p>The app_user has correct privileges to write in /var/log/httpd directory.</p>
  
  <p>Now when i start apache it gives me this error.</p>
  
  <pre><code>[app_user@localhost conf]$ service httpd start
  Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain for ServerName
  (13)Permission denied: make_sock: could not bind to address [::]:80
  (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
  no listening sockets available, shutting down
  Unable to open logs
                                                             [FAILED]
  </code></pre>
  
  <p>Appreciate some help on this.</p>