[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

davautocheck - "(98)Address already in use: make_sock: could not bind to address 127.0.0.1:xxxx"

From: Julian Foad <julian.foad_at_wandisco.com>
Date: Fri, 15 Jan 2010 11:45:40 +0000

I'm unable to run DAV tests this week. I'm getting:

[[[
(98)Address already in use: make_sock: could not bind to address 127.0.0.1:3961
no listening sockets available, shutting down
]]]

every time I try. Senthil is getting the same on Ubuntu,
but it works on his Debian machine. It sounds like Philip is
successfully running DAV tests in Ubuntu.

I'm sure the port is not in use, at least not until the moment Apache
tries to open it. "fuser" and "netstat -a" confirm this, and the script
picks a different random port number each time.

Any ideas?

Further info:

$ /usr/sbin/apache2 -v
Server version: Apache/2.2.12 (Ubuntu)
Server built: Nov 12 2009 22:51:51

I can reproduce without any script or config file, like this:

[[[
$ /usr/sbin/apache2 -f /dev/null -c "Listen localhost:5555" -c "ServerName localhost"
(98)Address already in use: make_sock: could not bind to address 127.0.0.1:5555
no listening sockets available, shutting down
Unable to open logs
]]]

I may have downloaded "security updates" to Apache since the last time I
successfully ran them, but that may not be the cause.

- Julian
Received on 2010-01-15 12:46:19 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.