INSTALLING APACHE ON CENTOS 6.4 – PART 2

IS THE SERVICE LISTENING?

  • Run the command lsof –i to see open ports; look for processes listening to port 80 (http)
    • #lsof  –i | grep http
  • Browse to http://localhost to see the default page
  • Examine the error log for clue
    • #/var/log/httpd/error_log
  • Verify no other process is listening on port 80
  • If SELinux is enabled, try disabling it

TESTING THE INSTALLATION

INSTALLATION FAILURES

  • Examine the error log for clue
    • #/var/log/httpd/error_log
  • Verify no other process is listening on port 80
  • If SELinux is enabled, try disabling it
Advertisements