LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Could not bind to address 0.0.0.0:80 (https://www.linuxquestions.org/questions/linux-networking-3/could-not-bind-to-address-0-0-0-0-80-a-405407/)

Linuxn00b 01-19-2006 10:49 AM

Could not bind to address 0.0.0.0:80
 
When i try to run apache2 I get this error.

(13) Permission Denied: make_sock: Could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
unable to open logs

Now, Apache was working fine a month ago because I had been to the website. Now I'm working for the people who made the website, and guess what, I have to fix it. Problem is, I'm not super new to linux, I have done linux before, but never tried troubleshooting it before.

Now i checked the httpd.conf file. It's not set to bind to 0.0.0.0:80, its set for a proper address. It's also set to "Listen 80". I can't seem to find the fix I need for this error when I try to restart apache2 (apachectl start). I have also tried to start apachectl from root, but that didn't work either.

I've also done a variety of Netstat commands, but I don't see anything thats related to port 80, unless there is a better way to check for anything Listening on Port 80.

Anyone have any ideas here?

Thanks.

bulliver 01-19-2006 04:16 PM

Odd. 0.0.0.0 is usually shorthand for universe, ie: any ip address.

Quote:

Now i checked the httpd.conf file. It's not set to bind to 0.0.0.0:80, its set for a proper address. It's also set to "Listen 80".
Just for chuckles, can we see the relevant portion of the file anyway?

gilead 01-19-2006 04:36 PM

Can you check that if Apache is set to run as user/group apache/apache, for example, that they still exist? Are you running the Apache startup command as root? Have you run `apachectl -t` to check the config file syntax?

netstat won't help here because Apache hasn't started yet.

peter_robb 01-23-2006 08:55 AM

Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

Thread continues here.. http://www.linuxquestions.org/questi...d.php?t=405377


All times are GMT -5. The time now is 11:58 PM.