On Fri, 2010-01-15, Julian Foad wrote:
> On Fri, 2010-01-15 at 12:22 +0000, Philip Martin wrote:
> > Julian Foad <julian.foad_at_wandisco.com> writes:
> > > 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
> > > ]]]
[...]
> > I can get it to work by deleting localhost:
> > from the Listen statement in the config file to just leave the port
> > number: "Listen 19574".
>
> Wierd, but that works for me too. Thanks.
[...]
I committed that tweak as r903196. Let me know if it fails anywhere.
Log message:
[[[
Tweak davautocheck.sh to work around a problem whereby Apache httpd fails to
start on some systems, at least on Ubuntu. When httpd starts with its
"Listen" directive specified as "localhost:$HTTPD_PORT", it tries to open
the port twice and fails, giving the error "(98)Address already in use:
make_sock: could not bind to address 127.0.0.1:xxxx" (where xxxx is the port
number). When the host name is specified as "localhost" or omitted, it
works. See the email thread
<http://mail-archives.apache.org/mod_mbox/subversion-dev/201001.mbox/%3C1263555940.2264.475.camel@edith%3E>.
* subversion/tests/cmdline/davautocheck.sh
Remove "localhost" from the "Listen" address, leaving just the port number.
]]]
- Julian
Received on 2010-01-26 13:27:58 CET