From: Lew Teck Kheng (lewtk_at_attglobal.net)
Date: Tue 30 Apr 2002 - 06:56:23 BST
hi Jacques :
Thank for the reply.
There is a process that need to bind to the broadcast at certain port
before i can start the remaining cluster nodes. This process is actually
a run level controller.
I am trying to setup a cluster vserver but without the process able to
bind to the broadcast at the prot I cannot startup any of the cluster
nodes.
Looking forward for the patches.
Once again , great software.
Many thanks
Cheers
On Tue, 2002-04-30 at 13:01, Jacques Gelinas wrote:
> On Mon, 29 Apr 2002 16:28:17 -0500, Lew Teck Kheng wrote
> > hi all :
> >
> > I am having problem with binding to a broadcast address at port 2xxxx.
> >
> > I must said everything is working fine except this.
> >
> > I have 2 NIC -- 1 is public and 1 is a private network IP
> > (192.168.100.32).
> >
> > I have a process that startup from inittab and this process need to bind
> > to a udp port 20000 at address 192.168.100.255.
>
> I would say this is a bug. I will look at it. Any reason why this is only
> binding to the broadcast address. If any UDP service does a bind any, it automatically
> picks the broadcast as well. Is this an option ?
>
> Anyway, this is easily fixable. The concept of a broadcast address for a vserver
> was introduced lately (ctx-9) and adding a test in bind to allow binding
> to the broadcast address is certainly doable.
>
> > Sample output of netstat :
> > ==============================
> > udp 0 0 192.168.100.32:20000 0.0.0.0:*
> > udp 0 0 192.168.100.255:20000 0.0.0.0:*
> >
> >
> > This process worked fine on the second NIC card but not on vserver and I
> > get this error :
> >
> > "failed: bind() failed: Cannot assign requested address"
> >
> > Below is my conf for the vserver :
> >
> > IPROOT=192.168.100.33
> > IPROOTDEV=eth1
> > IPROOTMASK=255.255.255.0
> > ONBOOT=yes
> > S_CAPS="CAP_NET_RAW CAP_NET_BIND_SERVICE CAP_NET_BROADCAST
> > CAP_NET_ADMIN"
> > S_HOSTNAME=arsenic
> > S_FLAGS="nproc sched fakeinit"
> >
> > Do i miss anything or this is the limitation of the current vserver ?
> >
> > Many many thanks
> >
> > Cheers
> >
> >
> >
> > ________________________________________________________________________
> > This email has been scanned for all viruses by the MessageLabs SkyScan
> > service. For more information on a proactive anti-virus service working
> > around the clock, around the globe, visit http://www.messagelabs.com
> > ________________________________________________________________________
> >
>
> ---------------------------------------------------------
> Jacques Gelinas <jack_at_solucorp.qc.ca>
> vserver: run general purpose virtual servers on one box, full speed!
> http://www.solucorp.qc.ca/miscprj/s_context.hc
-- ======================================================================== Lew Teck Kheng System Engineer Asia LMN System Engineering (Malaysia) (+603) 7725 6890 www.logica.com "Logica Make MMS Real Person to Person MMS demonstrated live using devices from 8 manufacturers on the Orange France GPRS Network at the 3 GSM World Congress in Cannes." ========================================================================________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________