Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


Closed Thread
  Search this Thread
Old 01-19-2006, 11:49 AM   #1
LQ Newbie
Registered: Jan 2006
Posts: 4

Rep: Reputation: 0
Could not bind to address

When i try to run apache2 I get this error.

(13) Permission Denied: make_sock: Could not bind to address
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, 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?

Old 01-19-2006, 05:16 PM   #2
Senior Member
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Odd. is usually shorthand for universe, ie: any ip address.

Now i checked the httpd.conf file. It's not set to bind to, 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?
Old 01-19-2006, 05:36 PM   #3
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 165Reputation: 165
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.
Old 01-23-2006, 09:55 AM   #4
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
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.

Thread continues here..
0 members found this post helpful.

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Could not bind to address Linuxn00b Linux - Newbie 18 01-18-2012 12:59 AM
(98)Address already in use: make_sock: could not bind to address bruvajon Linux - Software 34 11-30-2011 04:08 PM
Bind : address already in use on solaris blackhole123 Solaris / OpenSolaris 2 12-14-2005 06:38 AM
bind : Address already in use sheni Linux - Networking 1 11-11-2004 01:41 PM
cannot bind to socket: address already in use exfacior Linux - Wireless Networking 0 09-27-2004 01:34 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration