Re: [Vserver] chbind: kernel does not provide network virtualization

From: Daniel Hokka Zakrisson <daniel_at_hozac.com>
Date: Tue 17 Oct 2006 - 16:39:09 BST
Message-ID: <4534F91D.6060808@hozac.com>

Miroslav Ruda wrote:
> Helo,
>
> I have tried to move successful vserver instalation from one machine to second
> one and I failed. On second machine, I had to compile new kernel (
> 2.6.18-vs2.1.1-rc38-smp) but I did copy of util-vserver-0.30.210 and virtual
> servers.
>
> However, I'm getting error message "chbind: kernel does not provide network
> virtualization", even for simple test extracted from testme.sh:
>
>
> manwe3:/scratch/ruda/linux-2.6.18 # strace -f -s 300 chbind --ip 127.0.0.1 grep
> ipv4 /proc/self/status
> execve("/opt/vserver/sbin/chbind", ["chbind", "--ip", "127.0.0.1", "grep",
> "ipv4", "/proc/self/status"], [/* 57 vars */]) = 0
> open("/proc/net/dev", O_RDONLY) = 3
> read(3, "Inter-| Receive |
> Transmit\n face |bytes packets errs drop fifo frame compressed
> multicast|bytes packets errs drop fifo colls carrier compressed\n lo:
> 522507 9183 0 0 0 0 0 0 522507 9183 0
> 0 0 "..., 8192) = 1184
> read(3, "", 7008) = 0
> close(3) = 0
> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
> 0x2aacd0183000
> vserver(0, 0x3f, 0, 0x22, 0) = 65791

This shows you have enabled the legacy version ID option in the kernel,
but your utils weren't configured with any legacy APIs and thus are
unable to do anything.

You'll either have to disable the legacy version ID (why did you enable
that in the first place?), or recompile your utils with
--enable-apis=NOLEGACY passed to ./configure.

-- 
Daniel Hokka Zakrisson
GPG id: 06723412
GPG fingerprint: A455 4DF3 990A 431F FECA  7947 6136 DDA2 0672 3412
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Tue Oct 17 16:40:47 2006
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 17 Oct 2006 - 16:40:56 BST by hypermail 2.1.8