Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache make_sock: bind problem

Status
Not open for further replies.

Warvstar

Programmer
Dec 2, 2002
10
CA
Quote &quot; <OS 10049>Can't assign requested address: make_sock: could not bind to address 68.145.xx.xx:80 no listening sockets available, shutting down Unable to open logs &quot; Quote

Then it shuts off, see the problem is, i got my site up in one try before, now ive been trying to get it back online for like 2 weeks, and i dont know what to do.

____________
Additional Information
OS: WinME
Modem: Cable
Website name: Warvstar.gotdns.com
DNS Provider: dyndns.org
Comments: I Pinged my Address even from a outside pc, both warvstar.gotdns.com and 68.145.xx.xx and they are working, so my conclusion on why my site is down is because of apache, when i try to view it localy it works sometimes.
 
It seems to me as if you already have a web server running, or some other program that is listening on port 80. It also seems as if it is unable to open the log files, the most common problem with that is that the directory doesn't exist.

//Daniel
 
No, i dont got any other server running, i can put on, hmm lets say Xitami webservvr port 80, and it works, but when i use apache it says it wont get past, here a copy from logs.

[Wed Jun 18 11:27:21 2003] [crit] make_sock: could not bind to address 68.145.xx.xx port 80
 
You are binding to a specific IP. Are you sure that the IP is the one that is assigned to your NIC?

//Daniel
 
Also if you are on unix make sure that apache is started as root. Port 80 is a priviledged port so it must be bound to by root. It will change to the User in httpd.conf after it binds to the port.
 
Hmmm, heres some more info Im using it on Windows, and i disconected the LAN and Firewall, and tried it with just the internet, so nothing would block it, and now no matter what i put in &quot; Listen: &quot; it says No Listening sockets avaible.
 
I am getting the exact same error message except mine starts with (OS 10038). I am running winMe and am desperately trying to find a solution to this.
 
[Wed Jul 02 09:28:30 2003] [crit] (OS 10038)Socket operation on non-socket: make_sock: for address 0.0.0.0:81, apr_socket_opt_set: (SO_KEEPALIVE)
no listening sockets available, shutting down
Unable to open logs

this is my exact error, sorry its not exactly like yours now that i look

Ive tried changing the port, putting in ip address of my machine, everything that i can think of. Oh well i thought that this may help



 
I had this same problem and I discovered that it was caused by McAfee Viruscan Professional or Home Edition ver. 7.xx. It was enough to remove it and the Apache usually worked again. Obs.: my Windows Win98Se and Apache ver 2.0.47 and other previous one.
 
cdtipton, I'm getting the exact same error as you....I'm also running ME...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[crit] (OS 10038)Socket operation on non-socket:make_sock: for address 0.0.0.0:80, apr_socket_opt_set: (SO_KEEPALIVE)
no listening sockets available, shutting down
Unable to open logs

Worker thread [ 4294049013] : received quit event
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I've been searching for a solution for ages.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top