LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   service httpd (98)Address already in use: make_sock (https://www.linuxquestions.org/questions/linux-newbie-8/service-httpd-98-address-already-in-use-make_sock-765354/)

av.dubey 10-29-2009 11:25 AM

service httpd (98)Address already in use: make_sock
 
Iam using fedora 11. Till yesterday my httpd service was working fine but suddenly it stopped working..
now when iam typing service httpd start iam getting this error

Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80
can any one tell me whats the problem because i have already tried reinstallation of httpd..
i.e. yum erase httpd and yum install httpd

TB0ne 10-29-2009 11:43 AM

Quote:

Originally Posted by av.dubey (Post 3736836)
Iam using fedora 11. Till yesterday my httpd service was working fine but suddenly it stopped working..
now when iam typing service httpd start iam getting this error

Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80
can any one tell me whats the problem because i have already tried reinstallation of httpd..
i.e. yum erase httpd and yum install httpd

Uhh....it's already running, which is why the port is in use. Try doing a restart of the service, or see what else is using port 80 via the netstat command.

av.dubey 10-29-2009 02:22 PM

i have already tried restarting it and also checked everything with netstat command , no other service is there using port 80...
let me tell you i have already tried a lot many things after googling but still the problem is same..

TB0ne 10-29-2009 02:58 PM

Quote:

Originally Posted by av.dubey (Post 3737028)
i have already tried restarting it and also checked everything with netstat command , no other service is there using port 80...
let me tell you i have already tried a lot many things after googling but still the problem is same..

Ok..since you have "tried a lot many things", how about telling us what they are???

Since you say it "stopped working", how did you determine that? And the only thing that would cause the message you're getting, is that something else is using port 80. That's it.

av.dubey 10-30-2009 08:07 AM

ohk.. let me tell you what all i have already checked..
i checked whether another httpd is already running or not
whether any other service is using port 80 or not

1. ps -e | grep httpd no result
ps -e | grep apache no result

2. netstat -nap | grep :80 no result
netstat -nap i checked all the running services on different ports but didnot find any running on port 80

av.dubey 10-31-2009 10:54 AM

anyone???

av.dubey 11-03-2009 06:21 AM

hey if iam removing the line Listen 80 from the httpd.conf file its working properly..
but then if iam doing service httpd status iam gettin as service httpd stopped but still my apache server is working and iam able to access the pages throughout the LAN using my ip address...
how come it is possible that a service is stopped but still its running..


All times are GMT -5. The time now is 07:41 AM.