BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: {bb} Generating bb-hosts file



Thanks for you help, everyone who wrote me directly and everyone who wrote to the mailing list. :)

Turns out, as I confessed to some of you privately, I am a big idiot. (And I'm not even working in the Bush administration!) The issue I had was I have a script that is auto run by the crontab once per day that builds all the BB Scripts and the bb-bbexttab and bb-hosts file, the problem is my script (which I have completely rewritten in the past few days to make it much more adaptable to changes in the environment) had the following:
...
rm bb-hosts
...
runbb.sh stop
...

In the original script, that did work I had things the other way around. Clearly the BBHOST, MLMC-MON, or mlmc-mon is not going to be in a file that does not exist, hence my stupidity.

Although Philip, I am not so sure about the case sensitivity thing, at least Red Hat does not seem to mind when it comes to host names if it is block or lower case. I suspect the code in gethostbyname() is pretty well user proofed, at least when I was writing C on a Sun it seemed pretty user proofed, but without looking at the code in BB it would be a good thing to check up on, thanx anyway.

MJC
-----Original Message-----
From: owner-bb@bb4.com [mailto:owner-bb@bb4.com]On Behalf Of Philip
Clark
Sent: May 28, 2004 18:05
To: bb@bb4.com
Subject: Re: {bb} Generating bb-hosts file


On Fri, 2004-05-28 at 21:56, Cole, Michael - MLMC Toronto wrote:

> This host <MLMC-MON> was not found in the etc/bb-hosts file
> Please use the same name from 'uname -n'

Just in case the penny hasn't dropped yet. "mlmc-mon" is not the
same as "MLMC-MON". Not for a "real" operating system, anyway :)

Cheers, Phil.


-- 
Fine's Corollary: Functionality breeds Contempt.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.


Home | Main Index | Thread Index