Wow, are you really running perl 5.8.5 from 2004? Do you really want
to be running that?
I think there are some pretty heinous bugs in older versions of Perl
that make it rather suboptimal to be running Perlbal under. Consider
trying with an upgrade version of Perl and see if that resolve this
issue?
--
Mark Smith / xb95
smi...@gmail.com
I went ahead and upgraded perl on the web boxes (not on the app boxes
yet) and one of the errors went away, but still getting the error
about the listening socket and the assign requested address.
[root@-web2 ~]# perl -v
This is perl, v5.8.9 built for x86_64-linux
Copyright 1987-2008, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
[root@-web2 ~]# /usr/bin/perlbal --config=/etc/httpd/conf/perlbal/perlbal.conf
ERROR: Can't start service 'pub1' on 209.81.72.178:80: Error creating
listening socket: IO::Socket::INET: Cannot assign requested address
Error starting up.
[root@gothamist-web2 ~]#
--jonty
It may seem obvious (sorry) but this looks like the error you get when
something is already listening on this port. Is it free? (fuser -n tcp 80).
And just a question: from your previous mail I assume your host has two IPs.
It this correct?
--
##############################
### Jordi Funollet
### http://www.terraquis.net
we have two web physical boxes. web1 (178) and web2 (182) and I'm
sharing this conf file across an NFS share..
General usage pattern is:
Perlbal on port 80
Apache/lighttpd/mongrel/whatever on some other port (say 8000)
Then you tell Perlbal to use the backends at x.y.z.a:8000 and
x.y.z.b:8000. Your hardware load balancer only talks to Perlbal,
never talks directly to the backends.