Greetings,
I'm working with 4.6-RELEASE fbsd and have setup an interface with 3
additional ip's:
inet 10.0.0.2 netmask 0xffffff00 broadcast 10.0.0.255
inet 10.10.10.2 netmask 0xffffffff broadcast 10.10.10.2
inet 10.10.10.3 netmask 0xffffffff broadcast 10.10.10.3
inet 10.10.10.4 netmask 0xffffffff broadcast 10.10.10.4
I would like to run three backhand enabled apache servers that each are
listening to one IP. I have 3 seperate server roots:
/mbh-0-1
/mbh-0-2
/mbh-0-3
Each has it's correctly permissioned ./backhand dir.
Each has it's own ./conf/httpd.conf file
Each has a config dir for it's own space, with an excerpt in
"/mbh-0-1/conf/httpd.conf" like such:
Listen 10.10.10.2:80
<IfModule mod_backhand.c>
UnixSocketDir /mbh-0-1/backhand
MulticastStats 10.10.10.255:4445
AcceptStats 10.10.10.0/24
<Location "/backhand/">
SetHandler backhand-handler
</Location>
</IfModule>
When I `/mbh-0-1/bin/httpd -f /mbh-0-1/conf/httpd.conf`
I get a successful start.
http://10.10.10.2/backhand/
Gives me:
0 mbh-0-1.internal 1028055929 10.0.0.2:80 423 MB 379 MB 0/0 0 [0] 275466 \
1 0.000/1 0.000
Take note to the oddness that the 'address' part is reporting 10.0.0.2:80
I would get the same thing if I went to http://mbh-0-1.internal/backhand/
My error_log gives:
[Tue Jul 30 18:43:01 2002] [notice] mod_backhand -- UnixSocketDir set to
/mbh-0-1/backhand
[Tue Jul 30 18:43:01 2002] [notice] mod_backhand -- Broadcast
10.10.10.255:4445 added
[Tue Jul 30 18:43:01 2002] [notice] mod_backhand -- Multicast accept
10.10.10.0/24
[Tue Jul 30 18:43:01 2002] [notice] backhand_init(75903) spawning moderator
(PID 75904)
[Tue Jul 30 18:43:01 2002] [notice] mod_backhand moderator ready to go
[Tue Jul 30 18:43:01 2002] [notice] Apache/1.3.26 (Unix) mod_backhand/1.2.1
configured -- resuming normal operations
[Tue Jul 30 18:43:01 2002] [notice] Accept mutex: flock (Default: flock)
Now here is my problem:
When I attempt to start another server:
`/mbh-0-2/bin/httpd -f mbh-0-2/conf/httpd.conf`
I get the following errors in my error log for /mbh-0-2/logs/error_log:
[error] (61)Connection refused: Child 64432 failed to establish umbilical to
moderator!
[error] (61)Connection refused: Child 64433 failed to establish umbilical to
moderator!
This will keep erroring until I kill /mbh-0-2/bin/httpd.
So my question being, is it possible to run a configuration like this? I
know it seems pointless, but it's helping me understand the internals more.
Also, why is backhand page reporting the address to be 10.0.0.2? I would
suppose that it wouldn't do that and instead use what is either in the
Listen directive or BindAddress for httpd.conf
Finally, I am attempting to do this so I can run serveral webservers on one
machine. Each server would be listenting on a different subnet ip like so:
SERVERS:
AA, BB, CC
IPS:
AA 10.10.10.2
AA 10.10.20.2
AA 10.10.30.2
BB 10.10.10.3
BB 10.10.20.3
BB 10.10.30.3
CC 10.10.10.4
CC 10.10.20.4
CC 10.10.30.4
Each server would have 3 apache webservers running with each having it's own
seperate serverroot where respectively each server would have it's
MulticastStats variable as:
AA 10.10.10.255:4445
AA 10.10.20.255:4445
AA 10.10.30.255:4445
BB 10.10.10.255:4445
BB 10.10.20.255:4445
BB 10.10.30.255:4445
CC 10.10.10.255:4445
CC 10.10.20.255:4445
CC 10.10.30.255:4445
Any information would be greatly appreciated.
Cheers,
-.mag
I'm working with 4.6-RELEASE fbsd and have setup an interface with 3
additional ip's:
inet 10.0.0.2 netmask 0xffffff00 broadcast 10.0.0.255
inet 10.10.10.2 netmask 0xffffffff broadcast 10.10.10.2
inet 10.10.10.3 netmask 0xffffffff broadcast 10.10.10.3
inet 10.10.10.4 netmask 0xffffffff broadcast 10.10.10.4
I would like to run three backhand enabled apache servers that each are
listening to one IP. I have 3 seperate server roots:
/mbh-0-1
/mbh-0-2
/mbh-0-3
Each has it's correctly permissioned ./backhand dir.
Each has it's own ./conf/httpd.conf file
Each has a config dir for it's own space, with an excerpt in
"/mbh-0-1/conf/httpd.conf" like such:
Listen 10.10.10.2:80
<IfModule mod_backhand.c>
UnixSocketDir /mbh-0-1/backhand
MulticastStats 10.10.10.255:4445
AcceptStats 10.10.10.0/24
<Location "/backhand/">
SetHandler backhand-handler
</Location>
</IfModule>
When I `/mbh-0-1/bin/httpd -f /mbh-0-1/conf/httpd.conf`
I get a successful start.
http://10.10.10.2/backhand/
Gives me:
0 mbh-0-1.internal 1028055929 10.0.0.2:80 423 MB 379 MB 0/0 0 [0] 275466 \
1 0.000/1 0.000
Take note to the oddness that the 'address' part is reporting 10.0.0.2:80
I would get the same thing if I went to http://mbh-0-1.internal/backhand/
My error_log gives:
[Tue Jul 30 18:43:01 2002] [notice] mod_backhand -- UnixSocketDir set to
/mbh-0-1/backhand
[Tue Jul 30 18:43:01 2002] [notice] mod_backhand -- Broadcast
10.10.10.255:4445 added
[Tue Jul 30 18:43:01 2002] [notice] mod_backhand -- Multicast accept
10.10.10.0/24
[Tue Jul 30 18:43:01 2002] [notice] backhand_init(75903) spawning moderator
(PID 75904)
[Tue Jul 30 18:43:01 2002] [notice] mod_backhand moderator ready to go
[Tue Jul 30 18:43:01 2002] [notice] Apache/1.3.26 (Unix) mod_backhand/1.2.1
configured -- resuming normal operations
[Tue Jul 30 18:43:01 2002] [notice] Accept mutex: flock (Default: flock)
Now here is my problem:
When I attempt to start another server:
`/mbh-0-2/bin/httpd -f mbh-0-2/conf/httpd.conf`
I get the following errors in my error log for /mbh-0-2/logs/error_log:
[error] (61)Connection refused: Child 64432 failed to establish umbilical to
moderator!
[error] (61)Connection refused: Child 64433 failed to establish umbilical to
moderator!
This will keep erroring until I kill /mbh-0-2/bin/httpd.
So my question being, is it possible to run a configuration like this? I
know it seems pointless, but it's helping me understand the internals more.
Also, why is backhand page reporting the address to be 10.0.0.2? I would
suppose that it wouldn't do that and instead use what is either in the
Listen directive or BindAddress for httpd.conf
Finally, I am attempting to do this so I can run serveral webservers on one
machine. Each server would be listenting on a different subnet ip like so:
SERVERS:
AA, BB, CC
IPS:
AA 10.10.10.2
AA 10.10.20.2
AA 10.10.30.2
BB 10.10.10.3
BB 10.10.20.3
BB 10.10.30.3
CC 10.10.10.4
CC 10.10.20.4
CC 10.10.30.4
Each server would have 3 apache webservers running with each having it's own
seperate serverroot where respectively each server would have it's
MulticastStats variable as:
AA 10.10.10.255:4445
AA 10.10.20.255:4445
AA 10.10.30.255:4445
BB 10.10.10.255:4445
BB 10.10.20.255:4445
BB 10.10.30.255:4445
CC 10.10.10.255:4445
CC 10.10.20.255:4445
CC 10.10.30.255:4445
Any information would be greatly appreciated.
Cheers,
-.mag