The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM
Home Forums Register Rules & FAQ Members List Arcade Search Today's Posts Mark Forums Read


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .


Other UNIX.COM Threads You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Apache Virtual Server Help ratnamg Linux 0 02-05-2008 04:44 PM
Apache Server ppychu UNIX for Dummies Questions & Answers 1 09-10-2002 03:46 PM
Apache /server-status solvman UNIX for Advanced & Expert Users 3 01-21-2002 11:51 PM
Apache Web Server anent UNIX for Dummies Questions & Answers 9 11-16-2001 01:11 PM
Apache Server cfir UNIX for Dummies Questions & Answers 4 07-04-2001 05:17 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-15-2008
Registered User
 

Join Date: May 2008
Posts: 29
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
How to fix a fault with apache in SUN server

Hi,

We are logging into the SUN OS 5.9 server by using putty. We are not able to open the webpage that is using the apache server in our main server.

when i checked for my apache server, It is running fine.

It is given as

$ ps -ef|grep httpd
root 421 1 0 08:57:11 ? 0:00 //usr/lib/httpd -i admin -a
root 414 1 0 08:57:11 ? 0:00 //usr/lib/httpd -i sws_server

when i am accessing webpage it is giving error as 'File not found' and 'HTTP 404'

I dont know how to fix this issue.


If any one knows please tell me how to check for the process which is responsible for the GUI to run and process of working and loading of a GUI web page.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-15-2008
Registered User
 

Join Date: Nov 2006
Posts: 235
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Can you be a little more specific and tell us what troubleshooting steps you did or didn't do. We unix admins not mind readers.
Reply With Quote
  #3 (permalink)  
Old 05-15-2008
Registered User
 

Join Date: May 2008
Posts: 29
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
when i am trying to start the apache server fro root it is giving error as


[Thu May 15 14:43:20 2008] [crit] (125)Address already in use: make_sock: could not bind to port 80.
Reply With Quote
  #4 (permalink)  
Old 05-15-2008
Registered User
 

Join Date: Nov 2006
Posts: 235
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
on Your main web server do a

telnet localhost 80
GET /

and see what's the ascii output, is it also showing "http 404" error? If it is then do a

netstat -na | grep -i listen | grep \\.80

to see what else is possibily using port 80

If GET / is not showing the "http 404" error, go to a client machine, telnet to the webserver ip address at port 80
example

telnet xxx.xxx.xxx.xxx 80
GET /

and compares the output
Reply With Quote
  #5 (permalink)  
Old 05-15-2008
Registered User
 

Join Date: Jan 2008
Posts: 14
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
hello !
so you try to start the apache while another http is allready running ?
that would explain the error message because the port is allready taken by another http deamon.
Quote:
[Thu May 15 14:43:20 2008] [crit] (125)Address already in use: make_sock: could not bind to port 80.
the message
Quote:
when i am accessing webpage it is giving error as 'File not found' and 'HTTP 404'
only states that there isnt any file to access for the httpd like no index.html in the document root of the apache.
this can only be solved bye verifying the docroot and the accessed files of the configured virtual host in the httpd.conf.

more infos can be found in the httpd logs (error.log access.log) debends on the httpd version but most likely in the apache_root/logs
Reply With Quote
Google UNIX.COM
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

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



All times are GMT -7. The time now is 10:56 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger

Search Engine Optimization by vBSEO 3.1.0

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 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102