Re: [Vserver] can't start a rembo server

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Fri 30 Jun 2006 - 15:34:59 BST
Message-ID: <20060630143459.GC8700@MAIL.13thfloor.at>

On Fri, Jun 30, 2006 at 01:12:50PM +0200, dmanye wrote:
>
> hi,
>
> i've a debian etch host with kernel 2.6.16-2-vserver-686 original from
> debian. util-vserver version is 0.30.210-10 original from debian also.
>
> i've created some vservers (debian sarge) with no problems but now i
> want to build a rembo [v]server on a debian sarge guest. rembo is a
> comercial/closed-source (sorry) pxe server from www.rembo.com. all went
> fine until i tried to start the daemon:
>
> # ./rembo
> Rembo Server 2.0 Toolkit (build 058.2)
> (c) 1999-2003 Rembo Technology SaRL, Geneva, Switzerland
> Error on interface 10.20.102.239
> # strace ./rembo -d 2>&1 | tail -n 25
> open("./rembo", O_RDONLY) = 3
> lseek(3, 0, SEEK_END) = 1238692
> lseek(3, 0, SEEK_SET) = 0
> mmap2(NULL, 1241088, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
> -1, 0) = 0xb7cd6000
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\2\0\3\0\1\0\0\0\0\241\4"...,
> 1238692) = 1238692
> open("rembo.conf", O_RDONLY) = 4
> fstat64(4, {st_mode=S_IFREG|0644, st_size=91, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> 0) = 0xb7f87000
> fstat64(4, {st_mode=S_IFREG|0644, st_size=91, ...}) = 0
> _llseek(4, 0, [0], SEEK_SET) = 0
> read(4, "\n BaseDir \"/rembo\"\n "..., 91) = 91
> _llseek(4, 91, [91], SEEK_SET) = 0
> close(4) = 0
> munmap(0xb7f87000, 4096) = 0
> socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 4
> bind(4, {sa_family=AF_INET, sin_port=htons(0),
> sin_addr=inet_addr("127.0.0.1")}, 16) = 0
> getsockname(4, {sa_family=AF_INET, sin_port=htons(33007),

it looks like it is looking up 'lo' inside the guest,
you might try to add 127.0.0.1 as a separate 'nodev'
entry to the guest, or to disable the hide_netif flag

> sin_addr=inet_addr("10.20.102.239")}, [16]) = 0
> futex(0xb7f3a1f0, FUTEX_WAKE, 2147483647) = 0
> write(2, "Error on interface 10.20.102.239"..., 33Error on interface
> 10.20.102.239) = 33
> write(1, "Rembo Server 2.0 Toolkit (build "..., 96Rembo Server 2.0
> Toolkit (build 058.2)
> (c) 1999-2003 Rembo Technology SaRL, Geneva, Switzerland) = 96
> munmap(0xb7f88000, 4096) = 0
> exit_group(0) = ?
>
> i've have a couple of non-vserver servers with sarge+rembo running
> perfectly so i think is a rembo-vserver compatibility issue.

you might also try to 'change' the configuration of
that pxe server to _not_ use 127.0.0.1 (and use localhost
or the first assigned ip instead)

> the vserver has a couple of bcapabilities in order to run also a dhcp
> server: CAP_NET_RAW and CAP_NET_BROADCAST.

CAP_NET_BROADCAST is not used, so it's unlikely you need
that one ... but it doesn't hurt either :)

> thanks in advance.

HTH,
Herbert

> begin:vcard
> fn;quoted-printable:david many=C3=A9
> n;quoted-printable:many=C3=A9;david
> org;quoted-printable:Universitat Rovira i Virgili;Departament d'Enginyeria Inform=C3=A0tica i Matem=C3=A0tiques
> adr;quoted-printable;dom:;;Av. dels Pa=C3=AFsos Catalans, 26;Tarragona;;43007
> email;internet:dmanye@urv.cat
> tel;work:977559706
> version:2.1
> end:vcard
>

> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Fri Jun 30 15:35:22 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 30 Jun 2006 - 15:35:27 BST by hypermail 2.1.8