Mailing List Archive

[mod_backhand-users] Waiting for mod_backhand moderator to start
I have installed mod_backhand-1.1.1pre4 on Linux RedHat 6.2 to run under
Apache 1.3.9 (using apxs). I have mod_so enabled in Apache. I copied the
basic httpd.conf info from the online configuration example, substituting
my own network and backhand directory settings. I have confirmed that the
backhand directory is read/writeable by all. The configuration settings are
as follows:

<IfModule mod_backhand.c>
UnixSocketDir /local/apache1.3.9/backhand/
MulticastStats 255.192.168.1:4445,1
AcceptStats 192.168.1.0/24
</IfModule>


I am getting the following information in error_log during startup of both
my backhand servers:

[Fri May 4 15:54:03 2001] [notice] mod_backhand -- UnixSocketDir set to
/local/apache1.3.9/backhand/
[Fri May 4 15:54:03 2001] [notice] mod_backhand -- Broadcast
255.192.168.1:4445 added
[Fri May 4 15:54:03 2001] [notice] mod_backhand -- Multicast accept
192.168.1.0/24
[Fri May 4 15:54:05 2001] [notice] backhand_init(2099) spawning moderator
(PID 2112)
[Fri May 4 15:54:06 2001] [notice] waiting for mod_backhand moderator to start
[Fri May 4 15:54:07 2001] [notice] waiting for mod_backhand moderator to start
[Fri May 4 15:54:08 2001] [notice] waiting for mod_backhand moderator to start
[Fri May 4 15:54:09 2001] [notice] waiting for mod_backhand moderator to start
[Fri May 4 15:54:10 2001] [notice] waiting for mod_backhand moderator to start
[Fri May 4 15:54:11 2001] [notice] waiting for mod_backhand moderator to start
[Fri May 4 15:54:12 2001] [notice] waiting for mod_backhand moderator to start
[Fri May 4 15:54:13 2001] [notice] waiting for mod_backhand moderator to start
[Fri May 4 15:54:14 2001] [notice] waiting for mod_backhand moderator to start
[Fri May 4 15:54:15 2001] [notice] waiting for mod_backhand moderator to start
[Fri May 4 15:54:15 2001] [notice] mod_backhand moderator not ready!!!
could be bad.
[Fri May 4 15:54:15 2001] [notice] Apache/1.3.9 (Unix)
balanced_by_mod_backhand/1.1.1pre4 configured -- resuming normal operations

Any clues? Also, any further mod_backhand documentation would be greatly
appreciated.

TIA,
Jeff
[mod_backhand-users] Waiting for mod_backhand moderator to start [ In reply to ]
On Friday, May 4, 2001, at 07:01 PM, Jeffrey E. Sussna wrote:
> <IfModule mod_backhand.c>
> UnixSocketDir /local/apache1.3.9/backhand/

Just off the top of my head, /local/apache1.3.9/backhand/ looks odd.
Are you sure that path is correct? Do you mean
/usr/local/apache1.3.9/backhand/?

If you are sure this is correct, you should be able to use strace to
find what is going wrong.

strace -f /path/to/httpd

If you aren't used to looking at strace output, redirect it to a file
( strace -f /path/to/httpd 2>&1 > filename ) and mail it to me _not_ on
this list.

Once you see some error messages in the error_log like the ones below,
one have enough output and you have kill off httpd.

> MulticastStats 255.192.168.1:4445,1
> AcceptStats 192.168.1.0/24
> </IfModule>
>
>
> I am getting the following information in error_log during startup of
> both my backhand servers:
>
> [Fri May 4 15:54:03 2001] [notice] mod_backhand -- UnixSocketDir set
> to /local/apache1.3.9/backhand/
> [Fri May 4 15:54:03 2001] [notice] mod_backhand -- Broadcast
> 255.192.168.1:4445 added
> [Fri May 4 15:54:03 2001] [notice] mod_backhand -- Multicast accept
> 192.168.1.0/24
> [Fri May 4 15:54:05 2001] [notice] backhand_init(2099) spawning
> moderator (PID 2112)
> [Fri May 4 15:54:06 2001] [notice] waiting for mod_backhand moderator
> to start
> [Fri May 4 15:54:07 2001] [notice] waiting for mod_backhand moderator
> to start
> [Fri May 4 15:54:08 2001] [notice] waiting for mod_backhand moderator
> to start
> [Fri May 4 15:54:09 2001] [notice] waiting for mod_backhand moderator
> to start
> [Fri May 4 15:54:10 2001] [notice] waiting for mod_backhand moderator
> to start
> [Fri May 4 15:54:11 2001] [notice] waiting for mod_backhand moderator
> to start
> [Fri May 4 15:54:12 2001] [notice] waiting for mod_backhand moderator
> to start
> [Fri May 4 15:54:13 2001] [notice] waiting for mod_backhand moderator
> to start
> [Fri May 4 15:54:14 2001] [notice] waiting for mod_backhand moderator
> to start
> [Fri May 4 15:54:15 2001] [notice] waiting for mod_backhand moderator
> to start
> [Fri May 4 15:54:15 2001] [notice] mod_backhand moderator not ready!!!
> could be bad.
> [Fri May 4 15:54:15 2001] [notice] Apache/1.3.9 (Unix)
> balanced_by_mod_backhand/1.1.1pre4 configured -- resuming normal
> operations
>
> Any clues? Also, any further mod_backhand documentation would be
> greatly appreciated.

The error message means that the child is unable to communicate the with
moderator. This is most probably because the UnixSocketDir doesn't
exist or isn't owned by Apache's running user id and group id. It should
be made with permissions 0770.

As for documentation... Contributions are very welcome :-)

--
Theo Schlossnagle
1024D/82844984/95FD 30F1 489E 4613 F22E 491A 7E88 364C 8284 4984
2047R/33131B65/71 F7 95 64 49 76 5D BA 3D 90 B9 9F BE 27 24 E7
[mod_backhand-users] Waiting for mod_backhand moderator to start [ In reply to ]
For reasons that aren't worth going into, I have installed apache in /local
rather than /usr/local. Thanks, I will try strace and let you know what I find.

Jeff

At 10:02 PM 5/4/01 -0400, you wrote:
>On Friday, May 4, 2001, at 07:01 PM, Jeffrey E. Sussna wrote:
> > <IfModule mod_backhand.c>
> > UnixSocketDir /local/apache1.3.9/backhand/
>
>Just off the top of my head, /local/apache1.3.9/backhand/ looks odd.
>Are you sure that path is correct? Do you mean
>/usr/local/apache1.3.9/backhand/?
>
>If you are sure this is correct, you should be able to use strace to
>find what is going wrong.
>
>strace -f /path/to/httpd
>
>If you aren't used to looking at strace output, redirect it to a file
>( strace -f /path/to/httpd 2>&1 > filename ) and mail it to me _not_ on
>this list.
>
>Once you see some error messages in the error_log like the ones below,
>one have enough output and you have kill off httpd.
>
> > MulticastStats 255.192.168.1:4445,1
> > AcceptStats 192.168.1.0/24
> > </IfModule>
> >
> >
> > I am getting the following information in error_log during startup of
> > both my backhand servers:
> >
> > [Fri May 4 15:54:03 2001] [notice] mod_backhand -- UnixSocketDir set
> > to /local/apache1.3.9/backhand/
> > [Fri May 4 15:54:03 2001] [notice] mod_backhand -- Broadcast
> > 255.192.168.1:4445 added
> > [Fri May 4 15:54:03 2001] [notice] mod_backhand -- Multicast accept
> > 192.168.1.0/24
> > [Fri May 4 15:54:05 2001] [notice] backhand_init(2099) spawning
> > moderator (PID 2112)
> > [Fri May 4 15:54:06 2001] [notice] waiting for mod_backhand moderator
> > to start
> > [Fri May 4 15:54:07 2001] [notice] waiting for mod_backhand moderator
> > to start
> > [Fri May 4 15:54:08 2001] [notice] waiting for mod_backhand moderator
> > to start
> > [Fri May 4 15:54:09 2001] [notice] waiting for mod_backhand moderator
> > to start
> > [Fri May 4 15:54:10 2001] [notice] waiting for mod_backhand moderator
> > to start
> > [Fri May 4 15:54:11 2001] [notice] waiting for mod_backhand moderator
> > to start
> > [Fri May 4 15:54:12 2001] [notice] waiting for mod_backhand moderator
> > to start
> > [Fri May 4 15:54:13 2001] [notice] waiting for mod_backhand moderator
> > to start
> > [Fri May 4 15:54:14 2001] [notice] waiting for mod_backhand moderator
> > to start
> > [Fri May 4 15:54:15 2001] [notice] waiting for mod_backhand moderator
> > to start
> > [Fri May 4 15:54:15 2001] [notice] mod_backhand moderator not ready!!!
> > could be bad.
> > [Fri May 4 15:54:15 2001] [notice] Apache/1.3.9 (Unix)
> > balanced_by_mod_backhand/1.1.1pre4 configured -- resuming normal
> > operations
> >
> > Any clues? Also, any further mod_backhand documentation would be
> > greatly appreciated.
>
>The error message means that the child is unable to communicate the with
>moderator. This is most probably because the UnixSocketDir doesn't
>exist or isn't owned by Apache's running user id and group id. It should
>be made with permissions 0770.
>
>As for documentation... Contributions are very welcome :-)
>
>--
>Theo Schlossnagle
>1024D/82844984/95FD 30F1 489E 4613 F22E 491A 7E88 364C 8284 4984
>2047R/33131B65/71 F7 95 64 49 76 5D BA 3D 90 B9 9F BE 27 24 E7
>
>_______________________________________________
>backhand-users mailing list
>backhand-users@lists.backhand.org
>http://lists.backhand.org/mailman/listinfo/backhand-users