Linux / UNIX Tech Support Forum
This is a discussion on Apache on red hat within the Web servers forums, part of the Mastering Servers category; out of curiosity, just wanted to know as a user how can I troubleshoot errors shown by apache web server, ...
|
Register free or login to your existing account and remove all advertisements. |
|
|||||||
| Web servers Discussion on Apache, Nginx and Lighttpd HTTP/web server and configuration issues. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
out of curiosity, just wanted to know as a user how can I troubleshoot errors shown by apache web server,
let me put 1 scenario... I am running an Apache web server and server is up from server's browser and few other machines its showing the index page. but one of the user complains that he is getting some error after pointing his/her browser say 404 or something. now my question is how the user can troubleshoot what could be the problem as server is up and accessible from other machine. thanks Tanweer |
| Sponsored Links | ||
|
|
|
||||
|
You Apache error log files to see exact message.
Apache Log Files
__________________
Vivek Gite Linux Evangelist |
|
||||
|
You have to open and read log files and see what server says when an error occurs. Use grep and tail command to view log files:
Code:
tail -f /path/to/apache.log grep 'error-message' /path/to/apache.log
__________________
Vivek Gite Linux Evangelist |
|
|||
|
Well I will recomend to get the output of a sustainded ping at least 100 packages and the traceroute to see why is so slow.
Other thing will be to ask the user to check the network usage of the client machine. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Webdav on apache | myfoot | Web servers | 0 | 12-09-2007 04:42 AM |
| Apache 503 error | sweta | Web servers | 0 | 11-01-2007 04:00 AM |
| Frontpage ext. on apache | surmandal | Web servers | 0 | 10-09-2007 08:39 AM |
| Apache and lighttpd together | anjanesh | Web servers | 4 | 08-29-2007 06:11 PM |
| Apache Memory | Winston | Web servers | 1 | 06-18-2007 10:36 PM |