From: Trevor Nichols (tnichols_at_syc.net.au)
Date: Mon 05 Jan 2004 - 12:32:49 GMT
Hi Guys,
On our main server we are also having this issue. Our network setup is
using some ipip tunnels and the issue described happens only from the
master when talking to a computer on the other end of a tunnel.
[root_at_vsm root]# uname -a
Linux vsm.syc.net.au 2.4.23-vs1.21 #2 Fri Dec 12 13:11:45 CST 2003 i686
unknown
Haven't checked access from the console to test the chbind/v_sshd theory
mentioned.
> cat /proc/self/status could aid here, as
[root_at_vsm root]# cat /proc/self/status
Name: cat
State: R (running)
Tgid: 12910
Pid: 12910
PPid: 12732
TracerPid: 0
Uid: 0 0 0 0
Gid: 0 0 0 0
FDSize: 256
Groups: 0 1 2 3 4 6 10 5005
VmSize: 1576 kB
VmLck: 0 kB
VmRSS: 520 kB
VmData: 36 kB
VmStk: 20 kB
VmExe: 16 kB
VmLib: 1216 kB
SigPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 8000000000000000
SigCgt: 0000000000000000
CapInh: 0000000000000000
CapPrm: 00000000fffffeff
CapEff: 00000000fffffeff
CapBset: 00000000fffffeff
s_context: 0
ctxticks: none
ctxflags: none
initpid: none
ipv4root: 0100007f/00ffffff 1161bfca/f8ffffff 010010ac/00ffffff
ipv4root_bcast: ff0010ac
ipv4root_refcnt: 10
> well as an strace of a 'failing' ping/telnet
[root_at_vsm root]# strace ping syc-en
execve("/bin/ping", ["ping", "syc-en"], [/* 16 vars */]) = 0
<snip>
munmap(0x40013000, 4096) = 0
socket(PF_UNIX, SOCK_STREAM, 0) = 4
connect(4, {sin_family=AF_UNIX, path="/var/run/.nscd_socket"}, 110) = 0
write(4, "\2\0\0\0\4\0\0\0\7\0\0\0", 12) = 12
write(4, "syc-en\0", 7) = 7
read(4, "\0\20\26@\1\0\0\0\22\0\0\0\0\0\0\0\2\0\0\0\4\0\0\0\1\0"..., 32) = 32
readv(4, [{"syc-en.syc.net.au\0", 18}, {"", 0}, {"\300\250\21\1", 4}], 3)
= 22
read(4, NULL, 0) = 0
close(4) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
connect(4, {sin_family=AF_INET, sin_port=htons(1025),
sin_addr=inet_addr("192.168.17.1")}}, 16) = -1 EINVAL (Invalid argument)
dup(2) = 5
fcntl64(5, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat64(5, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40013000
_llseek(5, 0, 0xbffff250, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(5, "connect: Invalid argument\n", 26connect: Invalid argument
) = 26
close(5) = 0
munmap(0x40013000, 4096) = 0
_exit(2)
I have tried ssh, traceroute and others and within the strace it is always
returning Invalid argument on the connect() call. I can provide any
information requested that may help. :-)
Thanks,
-- Trevor Nichols Network & Systems Administrator Information & Communication Technology Service to Youth Council Inc tnichols_at_syc.net.au_______________________________________________ Vserver mailing list Vserver_at_list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver