Account Links: Cart | Your Account | Logout

Skip to content

Red Hat Knowledgebase

Red Hat Knowledgebase Search:

Updated Within the Last:

New Solutions within the last day New Solutions within the last week New Solutions within the last month

Browse by topics:


Click to View a Topic
Red Hat Enterprise Linux > Web Server > Issue <<  6 of 73 >>

Solution Tools:


Email a Solution Postcard Printer version Submit a comment on this answer Update notifications Request an answer Back

Article Reference

Article ID: 4105
Last update: 05-11-06
Issue:
What information is needed to troubleshoot an Apache problem?
Resolution:
Troubleshooting Apache problems require an understanding of your network configuration and a definition of your goals. Below is a list of items and questions that are helpful when troubleshooting Apache related issues.

Apache Checklist:
  • What version of Apache are you currently running? Use rpm -q httpd to show you.
  • Are there any helpful messages in the log files? Look in /var/log/httpd/ for the default log location files.
  • Is DNS and name resolution working correctly on your system? Can you ping a hostname outside of your network (or anything hard coded in your /etc/hosts files) and get the a response (with an IP Address translated)?
  • Did you upgrade Apache versions and something stopped working?
  • Did you install any additional Apache modules and something stopped working?
  • Is the Apache service running? What is the output of: service httpd status?
  • Is there a firewall (hardware or software) that could be blocking the ports or services that Apache requires? iptables -L will show you your iptables rules.
  • Are other applications and services functioning on the system as you would expect? Are there any other strange things happening to your system that could be related to your Apache issue?

If you are going to submit an issue to Red Hat for an Apache related problem, we will require the following information to help expedite your problem and resolve it quicker.

Customers can gather this information and submit a web ticket at https://www.redhat.com/apps/support/ after logging into your account. To submit a web ticket, you will have a Web Support button under your Active Support Entitlements that can take you to our ticketing system. Note: Red Hat can not assist with perl, PHP, or any other scripting related problems, specific to writing or modifying custom or downloaded scripts.
  • A detailed description of your problem.
  • A list of the Apache packages and versions installed: rpm -qa | grep httpd
  • Your Apache configuration file: /etc/httpd/conf/httpd.conf
  • Error logs (this command will get all Apache log files from the default log location):
    tar cvfz /tmp/apache-logs.tgz /var/log/httpd/*
  • A detailed description of your Apache implementation and network. Things to consider when writing the description:
    • How is DNS set-up in your network?
    • Are you using Virtual Hosting? If so, how are you trying to implement it?
    • Do you have any customization to Apache?
    • Are you using a database such as MySQL or PostgreSQL?
    • Are there any proxy servers or firewalls on your network? If so, describe.
  • What are you trying to accomplish with your Apache implementation? (What are your goals?)
  • Has anything changed recently in your set-up that could have caused any errors you are seeing? A hardware change, an physical network change, a package upgrade/downgrade, a third party module installed?
  • When do you experience the problem and is it reproducible?
  • What are the steps you have taken to configure Apache for the way it is currently set-up?


How well did this entry answer your question?


good wrong incomplete out of date
Red Hat Enterprise Linux > Web Server > Issue <<   6  of  73  >>