Skip to Content.
Sympa Menu

ndt-users - can't start web100srv

Subject: ndt-users list created

List archive

can't start web100srv


Chronological Thread 
  • From:
  • To:
  • Subject: can't start web100srv
  • Date: Wed, 2 Aug 2006 16:15:59 -0400 (EDT)

I am unable to start web100srv on a fedora core5 system linux version
2.6.15.1 with an ndt configured kernel: we installed kernel patch 2.5.8 for
Linux 2.6.15, userland Version 1.5 and ndt-3.1.13.

The installation process seemed to work fine

Syslog shows:

Linux version 2.6.15.1-web100

Web100: initiailizing hash table of size 4096 (order 2)
Aug 1 09:30:06 ec-ndt2 kernel: Web100 2.5.8 200602231756 net100:
Initialization successful ...

Ifconfig info:
eth0 Link encap:Ethernet HWaddr 00:B0:D0:B6:CF:F9
inet addr:128.173.240.137 Bcast:128.173.243.255 Mask:255.255.252.0
inet6 addr: 2001:468:c80:2108:2b0:d0ff:feb6:cff9/64 …


Fakewww starts successfully at boot time but web100srv does not. When I
attempt to start it manually I get the following error:

Server fault: new routine can't bind to IPv4 addresses: Invalid argument

netstat -n -a -A inet –p shows nothing listening on any of the web100srv
ports (3001, 3002, 3003)

some output from strace /usr/local/sbin/web100srv -r -a -i eth0 …

socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 3
connect(3, {sa_family=AF_INET6, sin6_port=htons(3001), inet_pton(AF_INET6,
"::", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0
getsockname(3, {sa_family=AF_INET6, sin6_port=htons(32771),
inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0},
[28]) = 0
close(3) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
connect(3, {sa_family=AF_INET, sin_port=htons(3001),
sin_addr=inet_addr("0.0.0.0")}, 16) = 0
getsockname(3, {sa_family=AF_INET, sin_port=htons(32771),
sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
close(3) = 0
socket(PF_INET6, SOCK_STREAM, IPPROTO_TCP) = 3
setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
bind(3, {sa_family=AF_INET, sin_port=htons(3001),
sin_addr=inet_addr("0.0.0.0")}, 16) = -1 EINVAL (Invalid argument)
dup(2) = 4
fcntl64(4, F_GETFL) = 0x8001 (flags O_WRONLY|O_LARGEFILE)
close(4) = 0
write(2, "Server fault: new routine can\'t "..., 71Server fault: new routine
can't bind to IPv4 address: Invalid argument
) = 71
exit_group(1) = ?
Process 2726 detached

I see the v6 socket references but because of the mention of bind problems
with IPv4 I wondered what would happen if I disabled v6 by removing modules
from the kernel.

Per something I read I created a file called:
/etc/modprobe.d/00local which contains two lines

alias net-pf-10 off
alias ivp6 off
~

After a boot I no longer see v6 references in the ifconfig

eth0 Link encap:Ethernet HWaddr 00:B0:D0:B6:CF:F9
inet addr:128.173.240.137 Bcast:128.173.243.255 Mask:255.255.252.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1


and I get a different message when I try to start the server:

Server Failed: cannot open socket: Address family not supported by protocol.

I would appreciate any advice about what might be causing these web100srv
failures.

Thanks,

Jean Plymale










Archive powered by MHonArc 2.6.16.

Top of Page