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
  #26 (permalink)  
Old 05-16-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!
I dont know whether the apache is running currently or not. i am giving the results of httpd&apache processes, can u figure out whether the apache and httpd running or not.

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
nrmsa 7642 7619 0 08:04:58 pts/17 0:00 grep httpd

ps -ef|grep apache
nrmsa 7644 7619 0 08:05:17 pts/17 0:00 grep apache

yesterday i tried to start the apache(in root) by the following command.

/usr/local/apache/bin/apachectl start

But this given the following error

[Thu May 15 14:43:20 2008] [crit] (125)Address already in use: make_sock: could not bind to port 80
Reply With Quote
Forum Sponsor
  #27 (permalink)  
Old 05-16-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!
one more thing i observed in error log and access log is that when i accessed the webpage on 29 april, it has given following details in....

access_log:

10.240.7.118 - - [29/Apr/2008:00:00:20 +0100] "GET / HTTP/1.0" 200 1623 "-" "-"
10.240.7.118 - - [29/Apr/2008:02:21:36 +0100] "GET / HTTP/1.0" 200 1623 "-" "-"
10.240.7.118 - - [29/Apr/2008:03:51:41 +0100] "GET / HTTP/1.0" 200 1623 "-" "-"
10.240.7.118 - - [29/Apr/2008:05:19:03 +0100] "GET / HTTP/1.0" 200 1623 "-" "-"
10.240.7.118 - - [29/Apr/2008:06:12:50 +0100] "GET / HTTP/1.0" 200 1623 "-" "-"
10.240.7.118 - - [29/Apr/2008:07:24:16 +0100] "GET / HTTP/1.0" 200 1623 "-" "-"
172.21.67.130 - - [29/Apr/2008:08:46:44 +0100] "GET / HTTP/1.1" 200 1623 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)"
172.21.67.130 - - [29/Apr/2008:08:46:44 +0100] "GET /Dispatcher.js HTTP/1.1" 200 16788 "http://172.20.10.57/" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)"
172.21.67.130 - - [29/Apr/2008:08:46:46 +0100] "GET /mshaw/index.htm HTTP/1.1" 404 290 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)"
10.240.7.118 - - [29/Apr/2008:09:35:18 +0100] "GET / HTTP/1.0" 200 1623 "-" "-"
10.240.7.118 - - [29/Apr/2008:11:58:01 +0100] "GET / HTTP/1.0" 200 1623 "-" "-"
10.240.7.118 - - [29/Apr/2008:13:35:01 +0100] "GET / HTTP/1.0" 200 1623 "-" "-"
172.21.65.9 - - [29/Apr/2008:14:43:19 +0100] "GET /cgi-bin/nrmsalog-cgi HTTP/1.1" 200 2726 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)"
10.240.7.118 - - [29/Apr/2008:14:54:30 +0100] "GET / HTTP/1.0" 200 1623 "-" "-"
172.21.65.9 - - [29/Apr/2008:14:55:57 +0100] "GET /hawk.htm HTTP/1.1" 304 - "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)"
172.21.65.9 - - [29/Apr/2008:14:55:57 +0100] "GET /npeweb/MAINBKGD.GIF HTTP/1.1" 304 - "http://172.20.10.57/hawk.htm" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)"
172.21.65.9 - - [29/Apr/2008:14:55:58 +0100] "GET /npeweb/neon.gif HTTP/1.1" 304 - "http://172.20.10.57/hawk.htm" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)"
172.21.65.9 - - [29/Apr/2008:14:55:58 +0100] "GET /npeweb/BTLOGO.GIF HTTP/1.1" 304 - "http://172.20.10.57/hawk.htm" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)"
172.21.65.9 - - [29/Apr/2008:14:56:03 +0100] "POST /cgi-bin/nrmsalog-cgi HTTP/1.1" 200 2771 "http://172.20.10.57/hawk.htm" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)"
10.240.7.118 - - [29/Apr/2008:17:12:38 +0100] "GET / HTTP/1.0" 200 1623 "-" "-"
10.240.7.118 - - [29/Apr/2008:17:53:49 +0100] "GET / HTTP/1.0" 200 1623 "-" "-"
10.240.7.118 - - [29/Apr/2008:20:38:05 +0100] "GET / HTTP/1.0" 200 1623 "-" "-"
10.240.7.118 - - [29/Apr/2008:21:53:33 +0100] "GET / HTTP/1.0" 200 1623 "-" "-"
10.240.7.118 - - [29/Apr/2008:23:18:15 +0100] "GET / HTTP/1.0" 200 1623 "-" "-"

from error_log on same day:

[Tue Apr 29 08:46:46 2008] [error] [client 172.21.67.130] File does not exist: /usr/local/apache/htdocs/mshaw/index.htm

But index.htm is placed in

/usr/local/apache/htdocs/index.htm

But we had accessed the web page fine there.
Reply With Quote
  #28 (permalink)  
Old 05-16-2008
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 2,203
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Somebody tried to fetch /mshaw/ (or /mshaw/index.html), that's all it means.

Your ps output shows that you have two httpds running, the question is which one is bound to port 80, and whether you can safely kill that one and start the one you want on that port. It's refusing to start because the port is already in use because you already have one httpd (aka apache) running. You can't have two server processes on the same single port.
Reply With Quote
  #29 (permalink)  
Old 05-16-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!
Can you please tell me the command to see which process is bound to the port 80.

and i want to start my apachectl on port 80.

please suggest me in this regard.
Reply With Quote
  #30 (permalink)  
Old 05-21-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!
Quote:
Originally Posted by vamshikrishnab View Post
Can you please tell me the command to see which process is bound to the port 80.

and i want to start my apachectl on port 80.

please suggest me in this regard.
Thanks for your support.......

My problem is resolved....

The problem is that some SWS process is running on port 80.

We stopped that process and started the apache server.


Thanks for your support...
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 09:19 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