How to fix a fault with apache in SUN server


 
Thread Tools Search this Thread
Operating Systems Solaris How to fix a fault with apache in SUN server
# 29  
Old 05-16-2008
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.
# 30  
Old 05-21-2008
Quote:
Originally Posted by vamshikrishnab
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...
# 31  
Old 05-22-2008
Glad to see that you were able to start your apache server, but I just wanted to pass on this extra bit of info to you.
Quote:
Originally Posted by vamshikrishnab
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
Looking back at your previous posts, the start/stop script you should be using is /etc/rc2.d/S95http so try this as the root user:
Code:
/etc/rc2.d/S95http stop
ps -ef | grep http 
Make sure there are no http procs running, if any exist kill them
(your web server's not functional anyway, so this shouldn't cause anyone any grief), then
/etc/rc2.d/S95http start
ps -ef | grep http
Your web server should now be running

Tornado
Login or Register to Ask a Question

Previous Thread | Next Thread

2 More Discussions You Might Find Interesting

1. Programming

Problem with Perl script after moving from a Windows/Apache Server to a UNIX server.

I have a Perl script that worked fine before moving it to justhost.com. It was on a Windows/Apache server. Just host is using UNIX. Other Perl scripts on other sites that were also moved work fine so I know Perl is functioning. The script is called cwrmail.pl and is located in my cgi-bin. When I... (9 Replies)
Discussion started by: BigBobbyB
9 Replies

2. UNIX for Dummies Questions & Answers

Info Needed in Seting up An apache Web Server on A Sun Sparc with Solaris 8

I need help in the form of the complete procedures necessary in setting up an Apache web server on a Sun Sparc running Solaris 8 David Johnston P.S New to the Unix arena (1 Reply)
Discussion started by: David Johnston
1 Replies
Login or Register to Ask a Question