Mailing List Archive

[mod_backhand-users] Installation/Update of Apache (SuSE7.1->7.3) gives httpd/error_log entries
Hi there,

after the update of my apache, it starts, reports running (rcapache status),
but browser requests are not answered.

in /var/log/httpd/error_log I can see multiple lines (every second) with
increasing <Child>:

[Sat Oct 27 15:40:56 2001] [error] (111)Connection refused: Child 2797 failed
to establish umbilical to moderator!


Can anybody tell me anything about a solution.

(uncommenting the backhand lines in httpd.conf makes my Apache running quite
ok)

Thanks Harro


The full (relevant) part of the log is:

[Sat Oct 27 16:25:03 2001] [notice] backhand_init(4789) spawning moderator
(PID 4790)
[Sat Oct 27 16:25:04 2001] [notice] waiting for mod_backhand moderator to
start
[Sat Oct 27 16:25:05 2001] [notice] waiting for mod_backhand moderator to
start
[Sat Oct 27 16:25:06 2001] [notice] waiting for mod_backhand moderator to
start
[Sat Oct 27 16:25:07 2001] [notice] waiting for mod_backhand moderator to
start
[Sat Oct 27 16:25:08 2001] [notice] waiting for mod_backhand moderator to
start
[Sat Oct 27 16:25:09 2001] [notice] waiting for mod_backhand moderator to
start
[Sat Oct 27 16:25:10 2001] [notice] waiting for mod_backhand moderator to
start
[Sat Oct 27 16:25:11 2001] [notice] waiting for mod_backhand moderator to
start
[Sat Oct 27 16:25:12 2001] [notice] waiting for mod_backhand moderator to
start
[Sat Oct 27 16:25:13 2001] [notice] waiting for mod_backhand moderator to
start
[Sat Oct 27 16:25:13 2001] [notice] mod_backhand moderator not ready!!! could
be bad.
[Sat Oct 27 16:25:14 2001] [error] (111)Verbindungsaufbau abgelehnt: Child
4791
failed to establish umbilical to moderator!
[Sat Oct 27 16:25:14 2001] [notice] Apache/1.3.20 (Linux/SuSE) mod_jk
PHP/4.0.6 mod_perl/1.26 balanced_by_mod_backhand/1.2.0 configured -- resuming
normal operations
[Sat Oct 27 16:25:14 2001] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec)
[Sat Oct 27 16:25:14 2001] [notice] child pid 4790 exit signal Segmentation
fault (11)
[Sat Oct 27 16:25:15 2001] [error] (111)Verbindungsaufbau abgelehnt: Child
4792 failed to establish umbilical to moderator!
[Sat Oct 27 16:25:17 2001] [error] (111)Verbindungsaufbau abgelehnt: Child
4793 failed to establish umbilical to moderator!
[Sat Oct 27 16:25:19 2001] [error] (111)Verbindungsaufbau abgelehnt: Child
4794 failed to establish umbilical to moderator!
[Sat Oct 27 16:25:21 2001] [error] (111)Verbindungsaufbau abgelehnt: Child
4795 failed to establish umbilical to moderator!
[mod_backhand-users] Installation/Update of Apache (SuSE7.1->7.3) gives httpd/error_log entries [ In reply to ]
On Saturday, October 27, 2001, at 10:28 AM, Harro Uwe Hieninger wrote:
> after the update of my apache, it starts, reports running (rcapache
> status),
> but browser requests are not answered.
>
> in /var/log/httpd/error_log I can see multiple lines (every second) with
> increasing <Child>:
>
> [Sat Oct 27 15:40:56 2001] [error] (111)Connection refused: Child 2797
> failed
> to establish umbilical to moderator!
>

Sounds like your UnixSocketDir is not owned by the user:group that your
Apache runs as.

--
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] Installation/Update of Apache (SuSE7.1->7.3) gives httpd/error_log entries [ In reply to ]
Hello Theo,

> Sounds like your UnixSocketDir is not owned by the user:group that your
> Apache runs as.

so the group must match, too?!

I understood the Docu that the user must be the same...
I'll try to set it, and report my success/failure...

Thanks,
Harro
[mod_backhand-users] Installation/Update of Apache (SuSE7.1->7.3) gives httpd/error_log entries [ In reply to ]
Hello Theo,

well, here I am again...

apache runs as wwwrun.root
whereas backhand has wwwrun.nogroup

changing "UnixSocketDir" to both alternatives
didn't work,

Even a chmod 777 /var/lib/backhand couldn't help...

Am I wrong in my understanding?

Which files should appear in the /var/lib/backhand with which permissions?

Thanks
Harro
[mod_backhand-users] Installation/Update of Apache (SuSE7.1->7.3) gives httpd/error_log entries [ In reply to ]
> apache runs as wwwrun.root

Eh? Can you verify that's the user/group? What's the output of ps
aux|grep httpd?

> whereas backhand has wwwrun.nogroup

The moderator changes its group from root to nogroup? (running apache
with GID 0 privs is a bad idea).

> changing "UnixSocketDir" to both alternatives didn't work,
>
> Even a chmod 777 /var/lib/backhand couldn't help...

Can you include the relevant portion of your httpd.conf?

> Am I wrong in my understanding?

Maybe, we'll see, but it sounds more like a config/setup problem than
an understanding problem. ;) -sc
[mod_backhand-users] Installation/Update of Apache (SuSE7.1->7.3) gives httpd/error_log entries [ In reply to ]
I haven't checked the SuSE distribution, but I would wager it is
compiled as an Apache module. If you are going to go an disable the
lines that make mod_backhand work, you should really be disabling
mod_backhand completely.

Those UnixSocketDir and MulticastStats lines should be surrounded by a
<IfModule mod_backhand.c></IfModule> clause.

Also, at the top of the httpd.conf you should see a LoadModule directive
that loads mod_backhand (and perhaps and AddModule mod_backhand.c).
Comment those out and you should have no problem running without
mod_backhand.

Last time I installed SuSE, I remember mod_backhand being included, but
it was an option that I could opt out of.

Feel free to correct me if I am wrong.

As for the seg fault, this is obviously undesirable and I will look into
it.

On Tuesday, October 30, 2001, at 02:23 PM, Harro Uwe Hieninger wrote:

> To SuSE Support
>
>
>
>>
>> (and to whom it may concern ;-))
>>
>> httpd.conf:
>>
>> UnixSocketDir /var/lib/backhand
>> # MulticastStats 128.220.221.255:4445
>> # MulticastStats 225.220.221.20:4445,1
>> # AcceptStats 128.220.221.0/24
>>
>> # Note that you _must_ configure the MulticastStats/AcceptStats
>> directives,
>> # otherwise apache will segfault! <<<---!!!
>>
>>
>> there it is!
>> I didnt't ask for mod_backhand but SuSE7.3 included it. And they
>> forgot to
>> inform me that the result is an inconsistency without further
>> changes...
>>
>
>> Harro Uwe Hieninger
>
> _______________________________________________
> backhand-users mailing list
> backhand-users@lists.backhand.org
> http://lists.backhand.org/mailman/listinfo/backhand-users
>
--
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] Installation/Update of Apache (SuSE7.1->7.3) gives httpd/error_log entries [ In reply to ]
To SuSE Support



>
> (and to whom it may concern ;-))
>
> httpd.conf:
>
> UnixSocketDir /var/lib/backhand
> # MulticastStats 128.220.221.255:4445
> # MulticastStats 225.220.221.20:4445,1
> # AcceptStats 128.220.221.0/24
>
> # Note that you _must_ configure the MulticastStats/AcceptStats directives,
> # otherwise apache will segfault! <<<---!!!
>
>
> there it is!
> I didnt't ask for mod_backhand but SuSE7.3 included it. And they forgot to
> inform me that the result is an inconsistency without further changes...
>

> Harro Uwe Hieninger
[mod_backhand-users] Installation/Update of Apache (SuSE7.1->7.3) gives httpd/error_log entries [ In reply to ]
Hi Theo,

this last posting was meant as solution, rather than a problem.


> I haven't checked the SuSE distribution, but I would wager it is
> compiled as an Apache module. If you are going to go an disable the
> lines that make mod_backhand work, you should really be disabling
> mod_backhand completely.

yep, that what I did in the very first, and it worked.

As an interested person I still wondered what went wrong, so I looked for the
problem.
With some help by Sean Chittenden (not in this list -> direct -email)
I searched a lot of files for possible config errors.

The result was that, in httpd.conf, the commented lines had to be replaced by
some entries for MulticastStats/AcceptStats
and the Apache felt happy!

> As for the seg fault, this is obviously undesirable and I will look into
> it.

An informative message would in fact be less harmful... ;-))

Let me know, if you found a solution.

Anyhow, thanks a lot for all of your and the lists rapid help!

Harro Uwe Hieninger


> On Tuesday, October 30, 2001, at 02:23 PM, Harro Uwe Hieninger wrote:
> > To SuSE Support
> >
> >> (and to whom it may concern ;-))
> >>
> >> httpd.conf:
> >>
> >> UnixSocketDir /var/lib/backhand
> >> # MulticastStats 128.220.221.255:4445
> >> # MulticastStats 225.220.221.20:4445,1
> >> # AcceptStats 128.220.221.0/24
> >>
> >> # Note that you _must_ configure the MulticastStats/AcceptStats
> >> directives,
> >> # otherwise apache will segfault! <<<---!!!
> >>
> >>
> >> there it is!
> >> I didnt't ask for mod_backhand but SuSE7.3 included it. And they
> >> forgot to
> >> inform me that the result is an inconsistency without further
> >> changes...
> >>