[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]

8.1.x -b option fails to bind to port with more than 15 ports?

nathan r. hruby nhruby@uga.edu
Tue, 6 Apr 2004 14:39:46 -0700 (PDT)


Hi,

I recently added some more consoles to my .cf file.  This pushed the
number of consoles up so that conserver now needs to make two "groups"
(eg: processes that control the consoles).  

I am also using the -b option so that conserver starts using ports at a
predefined place so I can punch holes though various firewalls as needed.

When I restarted after adding the extra hosts, conserver never finished
starting.  instead is now gives me the following:
	ERROR: Spawn(): bind(1301): Address already in use
If I remove the -bNNNN option from the command line and restart, it works
quite happily.  If I remove the consoles I just added and restart *with*
the -b option, it also works happily.

I though this might be a problem with conserver-8.1.1, so I rebuilt with
8.1.3 (and after changing my device and devicesubst lines :) it still
happens.

So, uhh.. is this a buglet? If so is there a workaround or am I just doing
something dumb?  

Platform is i386 / Red Hat Enterprise Linux 3 WS.  Machine is a Compaq
DL350 using Cyclades Ze 32 port serial expanders.

Please help!  I'm *supposed* to be on vacation starting tomorrow morning
and I'd really like to be!

Here's the log from startup (I;ve substituted "1" for all my console names
for obvious reasons :):
----SNIP
[Tue Apr  6 17:24:26 2004] conserver (11070): conserver.com version 8.1.3
[Tue Apr  6 17:24:26 2004] conserver (11070): started as `root' by `root'
[Tue Apr  6 17:24:26 2004] conserver (11071): INFO: [1] at 9600n on /dev/ttyC24
[Tue Apr  6 17:24:26 2004] conserver (11071): INFO: [1] at 9600n on /dev/ttyC23
[Tue Apr  6 17:24:26 2004] conserver (11071): INFO: [1] at 9600n on /dev/ttyC22
[Tue Apr  6 17:24:26 2004] conserver (11071): INFO: [1] at 9600n on /dev/ttyC21
[Tue Apr  6 17:24:26 2004] conserver (11071): INFO: [1] at 9600n on /dev/ttyC20
[Tue Apr  6 17:24:26 2004] conserver (11071): INFO: [1] at 9600n on /dev/ttyC19
[Tue Apr  6 17:24:26 2004] conserver (11071): INFO: [1] at 9600n on /dev/ttyC18
[Tue Apr  6 17:24:26 2004] conserver (11071): INFO: [1] at 9600n on /dev/ttyC17
[Tue Apr  6 17:24:26 2004] conserver (11071): INFO: [1] at 9600n on /dev/ttyC16
[Tue Apr  6 17:24:26 2004] conserver (11071): INFO: [1] at 9600n on /dev/ttyC15
[Tue Apr  6 17:24:26 2004] conserver (11071): INFO: [1] at 9600n on /dev/ttyC14
[Tue Apr  6 17:24:26 2004] conserver (11071): INFO: [1] at 9600n on /dev/ttyC13
[Tue Apr  6 17:24:26 2004] conserver (11071): INFO: [1] at 9600n on /dev/ttyC12
[Tue Apr  6 17:24:26 2004] conserver (11071): INFO: [1] at 9600n on /dev/ttyC11
[Tue Apr  6 17:24:27 2004] conserver (11071): INFO: [1] at 9600n on /dev/ttyC10
[Tue Apr  6 17:24:27 2004] conserver (11070): INFO: group #0 pid 11071 on port 1301
[Tue Apr  6 17:24:27 2004] conserver (11070): ERROR: Spawn(): bind(1301):Address already in use
[Tue Apr  6 17:24:27 2004] conserver (11071): INFO: [1] at9600n on /dev/ttyC0
----END

Thanks!

-n
-- 
-------------------------------------------
nathan hruby <nhruby@uga.edu>
uga enterprise information technology services
production systems support
metaphysically wrinkle-free
-------------------------------------------