[Varnish] #97: Varnishd fails to start in FreeBSD if IPv6 support is missing in kernel and -T localhost:<n> is used
Varnish
varnish-bugs at projects.linpro.no
Tue Apr 24 13:06:52 CEST 2007
#97: Varnishd fails to start in FreeBSD if IPv6 support is missing in kernel and
-T localhost:<n> is used
-----------------------------+----------------------------------------------
Reporter: anders at fupp.net | Owner: phk
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: 1.0
Severity: normal | Keywords:
-----------------------------+----------------------------------------------
If IPV6 is missing from the kernel, and hosts has (this is default in
FreeBSD):
{{{
::1 localhost localhost.my.domain
127.0.0.1 localhost localhost.my.domain
}}}
And -T is used with localhost, varnishd fails to start:
{{{
root at cacheX:~# /usr/local/sbin/varnishd -T localhost:8080 -f
/usr/local/etc/varnish.vcl -dd
pclose=0
file /tmp/varnish.7EAbSy (unlinked) size 2712965120 bytes (1324690 fs-
blocks, 662345 pages)
Creating new SHMFILE
socket(): Protocol not supported
Could not open TELNET port
unlink /tmp/vcl.xm0sLZMl
}}}
It's not a good thing to have an IPv6 localhost address in hosts if you
don't have IPV6 support in the kernel I suppose. But then again, this can
make Varnish fail to start when trying the -T with localhost. Varnishd
could try the IPv4 address also?
--
Ticket URL: <http://varnish.projects.linpro.no/ticket/97>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list