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

Re: 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 17:05:17 -0700 (PDT)


Thanks trying it now :)

Will report back...

-n


On Tue, 6 Apr 2004, Bryan Stansell wrote:

> On Tue, Apr 06, 2004 at 05:39:44PM -0400, nathan r. hruby wrote:
> > So, uhh.. is this a buglet? If so is there a workaround or am I just
> > doing something dumb?  
> 
> thanks for providing all the info, and, yep, you've got yourself a
> buglet.  congrats!  ;-)
> 
> luckily, it's an easy fix.  and sorry it was hangin' around all this
> time...guess not many folks use -b in the 8.x.x world (with a bunch of
> consoles).
> 
> for conserver-8.1.3 go to line 4512 of conserver/group.c:
> 
>   4510                                  (errno == EADDRINUSE) ||
>   4511  #endif
>   4512                                  (errno == EACCES)) && portInc++) {
>   4513              lstn_port.sin_port = htons(bindBasePort + portInc);
>   4514          } else {
> 
> and change that "portInc++" to a "++portInc".  the same can be applied
> to conserver-8.1.1 on line 4406 (but if you've got 8.1.3 going, i'd
> certainly stick with it).
> 
> hmmm...the 7.2.7 code appears to be the same.  i haven't tried it, but
> it probably doesn't work either (doesn't look like it should).  anyone
> out there trying to use that can apply the same fix to line 3316.
> 
> > Please help!  I'm *supposed* to be on vacation starting tomorrow
> > morning and I'd really like to be!
> 
> hopefully this makes everything well and you can have a great vacation.
> 
> Bryan
> _______________________________________________
> users mailing list
> users@conserver.com
> https://www.conserver.com/mailman/listinfo/users
> 

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