Xymon Mailing List Archive search

hobbitd stops running after 5 minutes

7 messages in this thread

list Michael Lowery · Mon, 14 Feb 2005 18:08:46 -0600 ·
Hobbit 4.0 RC2
 
After launching hobbit, it will only stay active for five minutes, then
it dies.
 
Here is the log that shows it self-terminating and unable to restart:
 
Hobbitlaunch.log
 
2005-02-14 17:59:12 hobbitlaunch starting
2005-02-14 17:59:12 Loading tasklist configuration from
/hobbit/server/etc/hobbitlaunch.cfg
2005-02-14 17:59:12 Task hobbitd started with PID 1285
2005-02-14 17:59:12 Loading hostnames
2005-02-14 17:59:12 Loading saved state
2005-02-14 17:59:12 Setting up network listener on 0.0.0.0:1984
2005-02-14 17:59:12 Setting up signal handlers
2005-02-14 17:59:12 Setting up hobbitd channels
2005-02-14 17:59:12 Setting up logfiles
2005-02-14 17:59:17 Task bbhistory started with PID 1286
2005-02-14 17:59:17 Task bbenadis started with PID 1287
2005-02-14 17:59:17 Task bbpage started with PID 1288
2005-02-14 17:59:17 Task larrdstatus started with PID 1292
2005-02-14 17:59:17 Task larrddata started with PID 1293
2005-02-14 17:59:17 Task bbdisplay started with PID 1294
2005-02-14 17:59:17 Task bbnet started with PID 1297
2005-02-14 17:59:17 Task bbretest started with PID 1298
2005-02-14 17:59:17 Task larrdcolumn started with PID 1299
2005-02-14 17:59:17 Task infocolumn started with PID 1300
2005-02-14 18:00:18 Task bbdisplay started with PID 1365
2005-02-14 18:00:18 Task bbretest started with PID 1366
2005-02-14 18:01:19 Task bbdisplay started with PID 1491
2005-02-14 18:01:19 Task bbretest started with PID 1492
2005-02-14 18:02:22 Task bbdisplay started with PID 1501
2005-02-14 18:02:22 Task bbretest started with PID 1502
2005-02-14 18:03:24 Task bbdisplay started with PID 1518
2005-02-14 18:03:24 Task bbretest started with PID 1519
2005-02-14 18:04:16 Task hobbitd terminated by signal 6
2005-02-14 18:04:16 Task hobbitd started with PID 1529
2005-02-14 18:04:16 Loading hostnames
2005-02-14 18:04:16 Loading saved state
2005-02-14 18:04:16 Setting up network listener on 0.0.0.0:1984
2005-02-14 18:04:16 Cannot bind to listen socket (Address already in
use)
2005-02-14 18:04:16 Task hobbitd terminated, status 1
2005-02-14 18:04:16 Task hobbitd started with PID 1530
2005-02-14 18:04:16 Loading hostnames
2005-02-14 18:04:16 Loading saved state
2005-02-14 18:04:16 Setting up network listener on 0.0.0.0:1984
2005-02-14 18:04:16 Cannot bind to listen socket (Address already in
use)
2005-02-14 18:04:16 Task hobbitd terminated, status 1
2005-02-14 18:04:16 Task hobbitd started with PID 1531
2005-02-14 18:04:16 Loading hostnames
2005-02-14 18:04:16 Loading saved state
2005-02-14 18:04:16 Setting up network listener on 0.0.0.0:1984
2005-02-14 18:04:16 Cannot bind to listen socket (Address already in
use)
2005-02-14 18:04:16 Task hobbitd terminated, status 1
2005-02-14 18:04:16 Task hobbitd started with PID 1532
2005-02-14 18:04:16 Loading hostnames
2005-02-14 18:04:16 Loading saved state
2005-02-14 18:04:16 Setting up network listener on 0.0.0.0:1984
2005-02-14 18:04:16 Cannot bind to listen socket (Address already in
use)
2005-02-14 18:04:16 Task hobbitd terminated, status 1
2005-02-14 18:04:16 Task hobbitd started with PID 1533
2005-02-14 18:04:16 Loading hostnames
2005-02-14 18:04:16 Loading saved state
2005-02-14 18:04:16 Setting up network listener on 0.0.0.0:1984
2005-02-14 18:04:16 Cannot bind to listen socket (Address already in
use)
2005-02-14 18:04:16 Task hobbitd terminated, status 1
list Andy France · Tue, 15 Feb 2005 13:19:12 +1300 ·

"Lowery, Michael" <user-89d72f0c2e3d@xymon.invalid> wrote on 15/02/2005
13:08:46:
quoted from Michael Lowery
Hobbit 4.0 RC2

After launching hobbit, it will only stay active for five minutes,
then it dies.

Here is the log that shows it self-terminating and unable to restart:

Hobbitlaunch.log
[SNIP]
2005-02-14 18:04:16 Task hobbitd started with PID 1533
2005-02-14 18:04:16 Loading hostnames
2005-02-14 18:04:16 Loading saved state
2005-02-14 18:04:16 Setting up network listener on 0.0.0.0:1984
2005-02-14 18:04:16 Cannot bind to listen socket (Address already in use)
2005-02-14 18:04:16 Task hobbitd terminated, status 1

What OS are you running on?  Do you have lsof installed?

If so, does 'lsof -i | grep 1984' show anything?

If not, does 'netstat -an | grep LISTEN | grep 1984' show anything?  Looks
like it should, although we'll probably need OS specifics to help further
if you don't have lsof.

Andy.


#####################################################################################

This email is intended for the person to whom it is addressed
only. If you are not the intended recipient, do not read, copy
or use the contents in any way. The opinions expressed may not
necessarily reflect those of ZESPRI Group of Companies ('ZESPRI').

While every effort has been made to verify the information
contained herein, ZESPRI does not make any representations 
as to the accuracy of the information or to the performance
of any data, information or the products mentioned herein.
ZESPRI will not accept liability for any losses, damage or
consequence, however, resulting directly or indirectly from
the use of this e-mail/attachments.
#####################################################################################
list Michael Lowery · Mon, 14 Feb 2005 18:26:48 -0600 ·
Running RedHat 7.3.  Here is the output of lsof when hobbitd is running:

hobbitd    2071   bb    3u  IPv4 730385988       TCP *:1984 (LISTEN)

And nothing is listed when it is not.

Thanks,
Michael Lowery
quoted from Andy France

-----Original Message-----
From: Andy France [mailto:user-ee2a9e4eaf57@xymon.invalid] 
Sent: Monday, February 14, 2005 6:19 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] hobbitd stops running after 5 minutes


"Lowery, Michael" <user-89d72f0c2e3d@xymon.invalid> wrote on 15/02/2005
13:08:46:
Hobbit 4.0 RC2

After launching hobbit, it will only stay active for five minutes,
then it dies.

Here is the log that shows it self-terminating and unable to restart:

Hobbitlaunch.log
[SNIP]
2005-02-14 18:04:16 Task hobbitd started with PID 1533
2005-02-14 18:04:16 Loading hostnames
2005-02-14 18:04:16 Loading saved state
2005-02-14 18:04:16 Setting up network listener on 0.0.0.0:1984
2005-02-14 18:04:16 Cannot bind to listen socket (Address already in
use)
2005-02-14 18:04:16 Task hobbitd terminated, status 1

What OS are you running on?  Do you have lsof installed?

If so, does 'lsof -i | grep 1984' show anything?

If not, does 'netstat -an | grep LISTEN | grep 1984' show anything?
Looks
like it should, although we'll probably need OS specifics to help
further
if you don't have lsof.

Andy.


########################################################################
#############

This email is intended for the person to whom it is addressed
only. If you are not the intended recipient, do not read, copy
or use the contents in any way. The opinions expressed may not
necessarily reflect those of ZESPRI Group of Companies ('ZESPRI').

While every effort has been made to verify the information
contained herein, ZESPRI does not make any representations 
as to the accuracy of the information or to the performance
of any data, information or the products mentioned herein.
ZESPRI will not accept liability for any losses, damage or
consequence, however, resulting directly or indirectly from
the use of this e-mail/attachments.
########################################################################
#############
list Henrik Størner · Tue, 15 Feb 2005 08:08:36 +0100 ·
quoted from Michael Lowery
On Mon, Feb 14, 2005 at 06:08:46PM -0600, Lowery, Michael wrote:
Hobbit 4.0 RC2
 
After launching hobbit, it will only stay active for five minutes, then
it dies.
There seems to be a problem that causes hobbitd to crash when it sends
in a status report about itself, which happens every 5 minutes. I'm
chasing it right now.
2005-02-14 18:04:16 Task hobbitd terminated by signal 6
Looks like the same problem.


Henrik
list Henrik Størner · Tue, 15 Feb 2005 23:38:45 +0100 ·
Hi Michael,

I just finished hunting down a problem that looks very much like this
one. 

Could you check your server/etc/hobbitserver.cfg file: There's
a line
   BBSERVERHOSTNAME="some.host.name"

This hostname - "some.host.name" - is it listed in your
server/etc/bb-hosts file?  If not, does the problem go away if you add
that hostname to your bb-hosts file ?


Please let me know the result.

Thanks,
Henrik
quoted from Henrik Størner


On Mon, Feb 14, 2005 at 06:08:46PM -0600, Lowery, Michael wrote:
Hobbit 4.0 RC2
 
After launching hobbit, it will only stay active for five minutes, then
it dies.
list Michael Lowery · Tue, 15 Feb 2005 16:57:40 -0600 ·
I renamed the BBSERVERHOSTNAME in hobbitserver.cfg to the same as my
BBDISPLAY in bb-hosts.  So far, so good.  It has at least stayed up for
7 minutes!  I'll let you know if that changes.

Michael Lowery
quoted from Henrik Størner
       
-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: Tuesday, February 15, 2005 4:39 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] hobbitd stops running after 5 minutes

Hi Michael,

I just finished hunting down a problem that looks very much like this
one. 

Could you check your server/etc/hobbitserver.cfg file: There's
a line
   BBSERVERHOSTNAME="some.host.name"

This hostname - "some.host.name" - is it listed in your
server/etc/bb-hosts file?  If not, does the problem go away if you add
that hostname to your bb-hosts file ?


Please let me know the result.

Thanks,
Henrik


On Mon, Feb 14, 2005 at 06:08:46PM -0600, Lowery, Michael wrote:
Hobbit 4.0 RC2
 
After launching hobbit, it will only stay active for five minutes,
then
it dies.
list Gerard Lill · Wed, 16 Feb 2005 04:33:15 -0000 ·
Henrik,

I have been having much the same problem, if not worse.

Bbdisplay has been doing all kinds of weird and less wonderful things;
like not generating entries for the tests which are defined, displaying
some of them, sometimes working, and also going to the beloved purple.

For what it is worth, I checked my BBSERVERHOSTNAME as you suggest; to
find the server's host name, not the FQDN as I had defined in bb-hosts.

So far, (over the last hour or so), Hobbit has been working like a
dream.

Beautiful work on Hobbit too.  I have been using BB for a few years now
(but only in the Windoze environment), and am very very new to Linux
(despite several past attempts).  It did take me a few try's to get
hobbit going; and one thing I found that if your installing hobbit to
the "hobbit user" home directory, apache 2.0 doesn't like aliasing
inside these folders - access denied no matter what.

Anyway, thanks for all your hard work; it certainly shows.
quoted from Michael Lowery

-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: Tuesday, 15 February 2005 22:39
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] hobbitd stops running after 5 minutes

Hi Michael,

I just finished hunting down a problem that looks very much like this
one. 

Could you check your server/etc/hobbitserver.cfg file: There's
a line
   BBSERVERHOSTNAME="some.host.name"

This hostname - "some.host.name" - is it listed in your
server/etc/bb-hosts file?  If not, does the problem go away if you add
that hostname to your bb-hosts file ?


Please let me know the result.

Thanks,
Henrik


On Mon, Feb 14, 2005 at 06:08:46PM -0600, Lowery, Michael wrote:
Hobbit 4.0 RC2
 
After launching hobbit, it will only stay active for five minutes,
then
it dies.