nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Apache on red hat

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, ...

Go Back   nixCraft Linux Forum > Mastering Servers > Web servers

Linux answers from nixCraft.


Web servers Discussion on Apache and Lighttpd HTTP/web server and configuration issues.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-23-2008, 12:25 AM
Junior Member
User
 
Join Date: Nov 2008
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
tanweernoor is on a distinguished road
Default Apache on red hat

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
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-23-2008, 11:17 PM
Junior Member
User
 
Join Date: Nov 2008
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
tanweernoor is on a distinguished road
Default

hello vivek and other senior members
please reply
Reply With Quote
  #3 (permalink)  
Old 11-25-2008, 12:01 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
Posts: 1,521
Thanks: 2
Thanked 16 Times in 13 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

You Apache error log files to see exact message.
Apache Log Files
__________________
Vivek | My personal blog
Linux Evangelist
+ ADD [SOLVED] thread prefix to your thread when your problem is sorted out by editing your thread.
+ Always use CODE tags for posting system output and commands!
Reply With Quote
  #4 (permalink)  
Old 11-25-2008, 12:03 AM
Junior Member
User
 
Join Date: Nov 2008
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
tanweernoor is on a distinguished road
Default

true, but this is on server side, my question is as a user how can i check this??
Reply With Quote
  #5 (permalink)  
Old 11-27-2008, 11:13 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
Posts: 1,521
Thanks: 2
Thanked 16 Times in 13 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

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 | My personal blog
Linux Evangelist
+ ADD [SOLVED] thread prefix to your thread when your problem is sorted out by editing your thread.
+ Always use CODE tags for posting system output and commands!
Reply With Quote
  #6 (permalink)  
Old 06-06-2009, 02:21 AM
Junior Member
User
 
Join Date: Dec 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
maxleonca is on a distinguished road
Default

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.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Webdav on apache myfoot Web servers 0 12-09-2007 03:42 AM
Apache 503 error sweta Web servers 0 11-01-2007 03:00 AM
Frontpage ext. on apache surmandal Web servers 0 10-09-2007 07:39 AM
Apache and lighttpd together anjanesh Web servers 4 08-29-2007 05:11 PM
Apache Memory Winston Web servers 1 06-18-2007 09:36 PM


All times are GMT +5.5. The time now is 03:27 AM.


Powered by vBulletin® Version 3.8.3 - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
©2005-2009 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36