Results 1 to 10 of 14
When I run service httpd start I get the following error:
Starting httpd: (99)Cannot assign requested address: make_sock: could not bind to address 76.190.186.112:80
no listening sockets available, shutting down
...
- 08-30-2009 #1Just Joined!
- Join Date
- Aug 2009
- Posts
- 8
Error starting Apache
When I run service httpd start I get the following error:
Starting httpd: (99)Cannot assign requested address: make_sock: could not bind to address 76.190.186.112:80
no listening sockets available, shutting down
Unable to open logs
I looked in my conf file and my Listen was
Listen 80
so I changed it to Listen *:80, which didn't work, so I tried just putting in my IP address, which did not work either.
I am behind a Linksys router, but I have all ports open to my computer.
- 08-31-2009 #2Just Joined!
- Join Date
- Aug 2009
- Posts
- 9
HI,
If you have configured apache incorrectly, these type of errors may occur, so please execute, httpd -t and check out the errors.
- 08-31-2009 #3Just Joined!
- Join Date
- Aug 2009
- Posts
- 8
When I execute httpd -t, it just returns syntax ok
I don't know what I'm doing wrong... I've set up apache before and never had this problem...
- 08-31-2009 #4
That IP you have is your external IP address, it is not the address assigned to your machine by your router, which is why you can't bind to it. You have an internal IP assigned to you by your router, which is the one you need to listen on. Then you need to forward requests on port 80 to your internal machine in your router configuration.
- 08-31-2009 #5Just Joined!
- Join Date
- Aug 2009
- Posts
- 8
I changed httpd.conf to Listen *:80 and now I get this when starting:
(9
Address already in use: make_sock: could not bind to address [::]:80
- 08-31-2009 #6
Something is already using that port, are you sure httpd isn't already running? What is output of
Code:ps -A | grep httpd netstat -a | grep ":80"
- 08-31-2009 #7Just Joined!
- Join Date
- Aug 2009
- Posts
- 8
I entered both... there is no output returned
- 08-31-2009 #8Just Joined!
- Join Date
- Aug 2009
- Posts
- 8
Also, when I do httpd status it says it's dead but subsys locked
- 08-31-2009 #9
this apache or apache2? In my apache2 conf it has Listen 80, not Listen *:80
Code:NameVirtualHost *:80 Listen 80
- 08-31-2009 #10Just Joined!
- Join Date
- Aug 2009
- Posts
- 8
apache2... I set Listen to 80 and NameVirtualHost *:80 and I still get the same error


Reply With Quote
