client talks to bbd@127.0.0.1:1984 ?!
list Jerry Yu
hi, there, I have both client & server of 4.2-RC-20060712 on Redhat Linux 9. Other RHL9 clients work fine. One, mysteriously, failed to start. hobbitclient.logshows it tries to bond with 127.0.0.1:1984, as fails miserably. As in other clients, I define the bb server's IP address in /etc/default/hobbit-client. -x execution of the init script seems it did source the /etc/default/hobbit-client and got the correct bb server IP address. Any idea ? This RH9 boxen doesn't have bind-util package installed, that's the only difference I can think of.
list Kent Brodie
Check the server's /etc/hosts file. RH has a bad habit of setting the fqdn to 127.0.0.1..... In my opinion, the server's fqdn should be the external IP address, and only "localhost" should be 127.0.0.1.... Not certain this is your issue, I'll give my hunch a 50% success guess :-)
▸
From: Jerry Yu [mailto:user-764c1f364fe0@xymon.invalid]
Sent: Wednesday, July 26, 2006 8:33 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] client talks to bbd at 127.0.0.1:1984 ?!
hi, there,
I have both client & server of 4.2-RC-20060712 on Redhat Linux 9. Other
RHL9 clients work fine. One, mysteriously, failed to start.
hobbitclient.log shows it tries to bond with 127.0.0.1:1984, as fails
▸
miserably. As in other clients, I define the bb server's IP address in
/etc/default/hobbit-client. -x execution of the init script seems it
did source the /etc/default/hobbit-client and got the correct bb server
IP address. Any idea ? This RH9 boxen doesn't have bind-util package
installed, that's the only difference I can think of.
list Jerry Yu
client named web6 has "127.0.0.1 localhost.localdomain localhost" server named moon has "127.0.0.1 moon localhost moon.giggle.com" The server works fine for a dozen of clients. This web6 client is the only one has this behavior and not sure where it gets the idea it should connect to localhost instead of the server I told it to in /etcdefault/hobbit-client?!
▸
On 7/26/06, Brodie, Kent <user-8fbf1c81e97c@xymon.invalid> wrote:Check the server's /etc/hosts file. RH has a bad habit of setting the fqdn to 127.0.0.1….. In my opinion, the server's fqdn should be the external IP address, and only "localhost" should be 127.0.0.1….
Not certain this is your issue, I'll give my hunch a 50% success guess J
▸
*From:* Jerry Yu [mailto:user-764c1f364fe0@xymon.invalid]
*Sent:* Wednesday, July 26, 2006 8:33 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* [hobbit] client talks to bbd at 127.0.0.1:1984 ?!
hi, there,
I have both client & server of 4.2-RC-20060712 on Redhat Linux 9. Other
RHL9 clients work fine. One, mysteriously, failed to start.
hobbitclient.log shows it tries to bond with 127.0.0.1:1984, as fails
miserably. As in other clients, I define the bb server's IP address in
/etc/default/hobbit-client. -x execution of the init script seems it did
source the /etc/default/hobbit-client and got the correct bb server IP
address. Any idea ? This RH9 boxen doesn't have bind-util package installed,
that's the only difference I can think of.
list Jerry Yu
just for kicks, I installed bind-utils package. same results. I md5sum the RPM to check with the original, and it matched. I re-installed the package. same results. am running out of idea here now. Next, I'll try to trace system calls, to see where it gets the idea to use localhost instead. this is freakingly crazy, ahwww
▸
On 7/27/06, Jerry Yu <user-764c1f364fe0@xymon.invalid> wrote:client named web6 has "127.0.0.1 localhost.localdomain localhost" server named moon has "127.0.0.1 moon localhost moon.giggle.com" The server works fine for a dozen of clients. This web6 client is the only one has this behavior and not sure where it gets the idea it should connect to localhost instead of the server I told it to in /etcdefault/hobbit-client?! On 7/26/06, Brodie, Kent <user-8fbf1c81e97c@xymon.invalid> wrote:Check the server's /etc/hosts file. RH has a bad habit of setting the fqdn to 127.0.0.1….. In my opinion, the server's fqdn should be the external IP address, and only "localhost" should be 127.0.0.1…. Not certain this is your issue, I'll give my hunch a 50% success guess J *From:* Jerry Yu [mailto:user-764c1f364fe0@xymon.invalid] *Sent:* Wednesday, July 26, 2006 8:33 PM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* [hobbit] client talks to bbd at 127.0.0.1:1984 ?! hi, there, I have both client & server of 4.2-RC-20060712 on Redhat Linux 9. Other RHL9 clients work fine. One, mysteriously, failed to start. hobbitclient.log shows it tries to bond with 127.0.0.1:1984, as fails miserably. As in other clients, I define the bb server's IP address in /etc/default/hobbit-client. -x execution of the init script seems it did source the /etc/default/hobbit-client and got the correct bb server IP address. Any idea ? This RH9 boxen doesn't have bind-util package installed, that's the only difference I can think of.
list Jerry Yu
any idea, anyone ?
▸
On 7/27/06, Jerry Yu <user-764c1f364fe0@xymon.invalid> wrote:just for kicks, I installed bind-utils package. same results. I md5sum the RPM to check with the original, and it matched. I re-installed the package. same results. am running out of idea here now. Next, I'll try to trace system calls, to see where it gets the idea to use localhost instead. this is freakingly crazy, ahwww On 7/27/06, Jerry Yu <user-764c1f364fe0@xymon.invalid> wrote:client named web6 has "127.0.0.1 localhost.localdomain localhost" server named moon has "127.0.0.1 moon localhost moon.giggle.com " The server works fine for a dozen of clients. This web6 client is the only one has this behavior and not sure where it gets the idea it should connect to localhost instead of the server I told it to in /etcdefault/hobbit-client?! On 7/26/06, Brodie, Kent < user-8fbf1c81e97c@xymon.invalid> wrote:Check the server's /etc/hosts file. RH has a bad habit of setting the fqdn to 127.0.0.1….. In my opinion, the server's fqdn should be the external IP address, and only "localhost" should be 127.0.0.1…. Not certain this is your issue, I'll give my hunch a 50% success guess J *From:* Jerry Yu [mailto:user-764c1f364fe0@xymon.invalid] *Sent:* Wednesday, July 26, 2006 8:33 PM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* [hobbit] client talks to bbd at 127.0.0.1:1984 ?! hi, there, I have both client & server of 4.2-RC-20060712 on Redhat Linux 9. Other RHL9 clients work fine. One, mysteriously, failed to start. hobbitclient.log shows it tries to bond with 127.0.0.1:1984 , as fails miserably. As in other clients, I define the bb server's IP address in /etc/default/hobbit-client. -x execution of the init script seems it did source the /etc/default/hobbit-client and got the correct bb server IP address. Any idea ? This RH9 boxen doesn't have bind-util package installed, that's the only difference I can think of.
list Henrik Størner
▸
On Wed, Jul 26, 2006 at 09:32:31PM -0400, Jerry Yu wrote:
hi, there, I have both client & server of 4.2-RC-20060712 on Redhat Linux 9. Other RHL9 clients work fine. One, mysteriously, failed to start. hobbitclient.logshows it tries to bond with 127.0.0.1:1984, as fails miserably. As in other clients, I define the bb server's IP address in /etc/default/hobbit-client. -x execution of the init script seems it did source the /etc/default/hobbit-client and got the correct bb server IP address. Any idea ? This RH9 boxen doesn't have bind-util package installed, that's the only difference I can think of.
The RPM config is a bit weird - in fact, I had to do a client install on
a Fedora box to see what it looks like. (It's been too long since I
put it together ...)
Anyway, the data from /etc/default/hobbit-client is copied into the
/var/run/hobbitclient-runtime.cfg file. Fromt here, they are included
into the ~hobbit/client/etc/hobbitclient.cfg file and that is where
they get picked up by the various Hobbit client-side tools.
So could you check that
* the /var/run/hobbitclient-runtime.cfg file exists, is current (i.e.
is is updated when you restart the client), and it has the right
settings in it; if not, try deleting it and restarting the client.
* the ~hobbit/client/etc/hobbitclient.cfg has a line with
include /var/run/hobbitclient-runtime.cfg
near the top, and there are NO settings for BBDISP or BBDISPLAYS
in the hobbitclient.cfg file
Regards,
Henrik
list Jerry Yu
thanks for your efforts, Henrik. I checked those files. All looks right except that /var/run/hobbitclient-runtime.cfg is in 0600 mode instead of 0644 on other RHL9 servers. Once I changed it to 0644, it reported to the server correctly. As for the RPM, it is pretty straightforward, the spec file works fine except 1) tarball needs to be renamed to without - in VERSION for 'rpmbuild' 2) for RHL9, ps command needs to be ps -Aww instead of ps -Aw. The latter works fine on RHEL4AS, even though the man page of ps says double 'w' to get unlimited listing. So, I changed it in /usr/lib/hobbit/client/bin/hobbitclient-linux.sh wonder if there's enough interests for me to wrap up my post-install fixes into a RHL and/or CentOS/RHEL4 RPMs
▸
On 7/31/06, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:On Wed, Jul 26, 2006 at 09:32:31PM -0400, Jerry Yu wrote:hi, there, I have both client & server of 4.2-RC-20060712 on Redhat Linux 9. OtherRHL9clients work fine. One, mysteriously, failed to start. hobbitclient.logshows it tries to bond with 127.0.0.1:1984, as fails miserably. As in other clients, I define the bb server's IP address in /etc/default/hobbit-client. -x execution of the init script seems it did source the /etc/default/hobbit-client and got the correct bb server IP address. Any idea ? This RH9 boxen doesn't have bind-util package installed, that's the only difference I can think of.The RPM config is a bit weird - in fact, I had to do a client install on a Fedora box to see what it looks like. (It's been too long since I put it together ...) Anyway, the data from /etc/default/hobbit-client is copied into the /var/run/hobbitclient-runtime.cfg file. Fromt here, they are included into the ~hobbit/client/etc/hobbitclient.cfg file and that is where they get picked up by the various Hobbit client-side tools. So could you check that * the /var/run/hobbitclient-runtime.cfg file exists, is current (i.e. is is updated when you restart the client), and it has the right settings in it; if not, try deleting it and restarting the client. * the ~hobbit/client/etc/hobbitclient.cfg has a line with include /var/run/hobbitclient-runtime.cfg near the top, and there are NO settings for BBDISP or BBDISPLAYS in the hobbitclient.cfg file Regards, Henrik