Marc Aurele La France wrote (in a message from Sunday 20)
> On Sat, 19 Jul 2003, Miles Lane wrote:
>
> > On Sat July 19 2003 5:56 am, Marc Aurele La France wrote:
> > > On Sat, 19 Jul 2003, Miles Lane wrote:
> > > > _XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
> > > > _XSERVTransMakeAllCOTSServerListeners: server already running
>
> > > > Fatal server error:
> > > > Cannot establish any listening sockets - Make sure an X server isn't
> > > > already running
>
> > > > I am running a cvs HEAD build on Linux PPC.
>
> > > If your copy of xc/lib/xtrans/Xtranssock.c is not 3.58 or 3.59, re-`cvs
> > > update`.
>
> > My tree is up-to-date. This error appears only when I am running
> > kernel 2.6.0-test1 with IPv6 support built in.
>
> > I got an strace log of the process:
>
> > setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
> > uname({sys="Linux", node="Unity", ...}) = 0
> > socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 1
> > setsockopt(1, SOL_TCP, TCP_NODELAY, [1], 4) = 0
> > setsockopt(1, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
> > bind(1, {sa_family=AF_INET, sin_port=htons(6000),
> > sin_addr=inet_addr("0.0.0.0")}, 16) = 0
> > setsockopt(1, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, 8) = 0
> > listen(1, 128) = 0
> > getsockname(1, {sa_family=AF_INET, sin_port=htons(6000),
> > sin_addr=inet_addr("0.0.0.0")}, [16]) = 0
> > uname({sys="Linux", node="Unity", ...}) = 0
> > socket(PF_INET6, SOCK_STREAM, 0) = 3
> > setsockopt(3, SOL_TCP, TCP_NODELAY, [1], 4) = 0
> > setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
> > bind(3, {sa_family=AF_INET6, sin6_port=htons(6000), inet_pton(AF_INET6, "::",
> > &sin6_addr), sin6_flowinfo=0}, 28) = -1 EADDRINUSE (Address already in use)
> > write(2, "_XSERVTrans", 11_XSERVTrans) = 11
> > write(0, "_XSERVTrans", 11) = 11
> > write(2, "SocketINETCreateListener: ...Soc"..., 59SocketINETCreateListener:
> > ...SocketCreateListener() failed
> > ) = 59
> > write(0, "SocketINETCreateListener: ...Soc"..., 59) = 59
> > write(2, "_XSERVTrans", 11_XSERVTrans) = 11
> > write(0, "_XSERVTrans", 11) = 11
> > write(2, "MakeAllCOTSServerListeners: serv"..., 51MakeAllCOTSServerListeners:
> > server already running
> > ) = 51
> > write(0, "MakeAllCOTSServerListeners: serv"..., 51) = 51
>
> Two things concern me about this:
>
> The kernel is using the same TCP port space for both IPv4 & IPv6. Isn't
> this a change from prior kernels? Doesn't seem right to me. This would
> have repercussions on things like masquerading unless it has finally been
> changed to share the kernel's main port spaces.
>
> Secondly, the server is complaining about the lack of listening sockets
> even after setting one up for IPv4, which would be a bug in xtrans.
If you don't have an IPv6 address configured for your host, use the
'-nolisten inet6' option for now.
Note that another bug will make the combinaisons of -nolisten tcp and
-nolisten inet6 fail too.
Matthieu
_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86