Problem with multiple BBDISPLAYS
I have set up hobbit 4.2.0. I want it to receive reports from a combination of clients:
- Big Brother Unix, various flavours
- Big Brother Windows
- Hobbit
- Mr Big (in-house Windows client)
This seems to work well.
I also want to send reports to a Big Brother server, so I modify server/etc/hobbitserver.cfg like this:
8<--- #BBDISP="$BBSERVERIP" BBDISP="0.0.0.0" BBDISPLAYS="10.0.4.5 10.0.4.7" 8<---
When I do that, the client part of Hobbit sends reports to the Big Brother server, but the Hobbit server seems to crash. The yellow bbgen message that appears on the Big Brother server says:
hobbitd status-board not available
The bb.html page on the Hobbit server is blank when this happens.
The server is an HP DL385 running 64-bit Debian. Lots of disk, lots of memory.
I've looked at the log files in /var/log/hobbit. bb-display.log keeps repeating "hobbitd status-board not available". clientdata.log says "Tried to down BOARDBUSY: Invalid argument", but that seems related to the restarts.
So, what am I doing wrong?
Ulric
On Mon, Sep 04, 2006 at 10:45:16AM +0200, Ulric Eriksson wrote:
I also want to send reports to a Big Brother server, so I modify server/etc/hobbitserver.cfg like this:
8<--- #BBDISP="$BBSERVERIP" BBDISP="0.0.0.0" BBDISPLAYS="10.0.4.5 10.0.4.7" 8<---
When I do that, the client part of Hobbit sends reports to the Big Brother server, but the Hobbit server seems to crash. The yellow bbgen message that appears on the Big Brother server says:
hobbitd status-board not available
Check if there's a "core" file in the ~hobbit/server/tmp/ directory. If there is, could you please run it through gdb as described in http://www.hswn.dk/hobbit/help/known-issues.html#bugreport
Does the behaviour change if you swap the two IP-adresses in the BBDISPLAYS setting? Ie if you change it to BBDISPLAYS="10.0.4.7 10.0.4.5"
Regards, Henrik
On Mon, 4 Sep 2006, Henrik Stoerner wrote:
Check if there's a "core" file in the ~hobbit/server/tmp/ directory. If there is, could you please run it through gdb as described in http://www.hswn.dk/hobbit/help/known-issues.html#bugreport
No core file.
Does the behaviour change if you swap the two IP-adresses in the BBDISPLAYS setting? Ie if you change it to BBDISPLAYS="10.0.4.7 10.0.4.5"
Yes. Should it? ;-)
10.0.4.5 is the Big Brother server, 10.0.4.7 is the Hobbit server. It works when I list the Hobbit server first.
Ulric
On Mon, Sep 04, 2006 at 11:24:22AM +0200, Ulric Eriksson wrote:
Does the behaviour change if you swap the two IP-adresses in the BBDISPLAYS setting? Ie if you change it to BBDISPLAYS="10.0.4.7 10.0.4.5"
Yes. Should it? ;-)
10.0.4.5 is the Big Brother server, 10.0.4.7 is the Hobbit server. It works when I list the Hobbit server first.
OK, then it isn't really a bug, but just a configuration issue. The problem is that when the web-build task (bbgen) fetches the current status it needs to get it from the Hobbit server, not the BB server. But since it doesn't know which of all the servers listed in BBDISPLAYS is a Hobbit server, it will always use the first one.
Regards, Henrik
On Mon, Sep 04, 2006 at 11:24:22AM +0200, Ulric Eriksson wrote:
Does the behaviour change if you swap the two IP-adresses in the BBDISPLAYS setting? Ie if you change it to BBDISPLAYS="10.0.4.7 10.0.4.5"
Yes. Should it? ;-)
10.0.4.5 is the Big Brother server, 10.0.4.7 is the Hobbit server. It works when I list the Hobbit server first.
OK, then it isn't really a bug, but just a configuration issue. The problem is that when the web-build task (bbgen) fetches the current status it needs to get it from the Hobbit server, not the BB server. But since it doesn't know which of all the servers listed in BBDISPLAYS is a Hobbit server, it will always use the first one.
Hi Henrik, Maybe (to avoid server/bbgen crash), bbgen could use the "ping" command agains the listed servers, to be sure it's a hobbitd server and not a BB or BB variant.
-wm
On Mon, 4 Sep 2006, Werner (gmail Lists) wrote:
Maybe (to avoid server/bbgen crash), bbgen could use the "ping" command agains the listed servers, to be sure it's a hobbitd server and not a BB or BB variant.
From Henrik's explanation it seems that there was no crash, just a quirk resulting from my mixing Hobbit and Big Brother servers. Adding that behaviour to the hobbitserver.cfg manpage should be enough, I think.
"If both Big Brother and Hobbit servers are listed by BBDISPLAYS, the first address must be a Hobbit server."
Or something to that effect.
Ulric
participants (3)
-
henrik@hswn.dk
-
ulric@siag.nu
-
wxxx333@gmail.com