Mailing List Archive

backhand does not appear to be passing requests
Hi,

Sorry for the long winded email.

I have just installed the mod_backhand module with Apache 1.3.27 using
the Recommended source Tree patching method and compiled Apache as per
instructions.

Both servers start without any issues as follows:
[Tue Oct 8 15:06:00 2002] [alert] httpd: Could not determine the
server's fully qualified domain name, using 127.0.0.1 for ServerName
[Tue Oct 8 15:06:00 2002] [notice] mod_backhand -- UnixSocketDir set to
/var/backhand/backhand
[Tue Oct 8 15:06:00 2002] [notice] mod_backhand -- Broadcast
192.168.10.63:4445 added
[Tue Oct 8 15:06:00 2002] [notice] mod_backhand -- Multicast accept
192.168.10.0/26
[Tue Oct 8 15:06:00 2002] [notice] backhand_init(14247) spawning
moderator (PID 14442)
[Tue Oct 8 15:06:01 2002] [notice] waiting for mod_backhand moderator
to start
[Tue Oct 8 15:06:01 2002] [notice] mod_backhand moderator ready to go
[Tue Oct 8 15:06:01 2002] [notice] Apache/1.3.27 (Unix)
mod_backhand/1.2.1 configured -- resuming normal operations
[Tue Oct 8 15:06:01 2002] [notice] Accept mutex: sysvsem (Default:
sysvsem)
[Tue Oct 8 15:12:35 2002] [notice] caught SIGTERM, shutting down

The message for the other server is the same...

I don't get any messages stating how many servers started yet I read
somewhere that it was supposed to display this.

The Module to talk to the other server is as follows.

<IfModule mod_backhand.c>
MulticastStats 192.168.10.63:4445,1
AcceptStats 192.168.10.0/26
</IfModule>

and I have changed the cgi-bin stuff to this to randomly pick a server.

<Directory "/var/backhand/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
#Backhand byAge
Backhand byRandom
#Backhand byLogWindow
#Backhand byLoad
</Directory>

When I use the backhand-test script it only every goes to whichever
server I originally point it to and checking the access.log file it to
only shows connections on the server I started on.

Does any one know what may be causing this error and why it never seems
to want to choose the alternate server? I can see the broadcasted
packets on the network from both machines so the Multicasting seems to
be working fine.

Are there any other log files to look at?

Hopefully this makes sense..

Cheers,


Paul.