Xymon Mailing List Archive search

Configuration question

21 messages in this thread

list Daniel Elswit · Tue, 8 Jul 2008 15:18:32 -0400 ·
Hello.  I'm attempting to set up Hobbit 4.2 on a Debian box (very clean -
Hobbit is the only thing it's doing.)  I followed all the directions -
loaded the prerequisites, patched with the all-in-one patch, added the
hobbit-specific lines into apache2.conf, etc.  It compiled and installed
just fine, and the service starts.  But when I go to the
http://localhost/hobbit page, I get a "404 not found" error.  The
apache2.conf file points to the ~hobbit/server/www directory but I don't see
any html files there or in the subdirectory "html" under that.  In the
hobbitlaunch.log I see a number of "Task bbdisplay terminated by signal
6"... not sure if that's related.  Any thoughts?  I'm starting to run out of
options to try.

Thanks!
--Dan

=============================================
Daniel Elswit
IT Security & Operations,
College of Agriculture & Life Sciences
Cornell University
Ithaca, NY, USA
user-8d00d2826ff5@xymon.invalid
(XXX) XXX-XXXX
http://www.cals.cornell.edu/cals/cals-it/
list Josh Luthman · Tue, 8 Jul 2008 15:23:20 -0400 ·
Try the address http://localhost/hobbit/ (note the trailing slash)

What is your Alias statement in apache2.conf?

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
quoted from Daniel Elswit

On Tue, Jul 8, 2008 at 3:18 PM, Daniel Elswit <user-8d00d2826ff5@xymon.invalid> wrote:
Hello.  I'm attempting to set up Hobbit 4.2 on a Debian box (very clean -
Hobbit is the only thing it's doing.)  I followed all the directions -
loaded the prerequisites, patched with the all-in-one patch, added the
hobbit-specific lines into apache2.conf, etc.  It compiled and installed
just fine, and the service starts.  But when I go to the
http://localhost/hobbit page, I get a "404 not found" error.  The
apache2.conf file points to the ~hobbit/server/www directory but I don't
see
any html files there or in the subdirectory "html" under that.  In the
hobbitlaunch.log I see a number of "Task bbdisplay terminated by signal
6"... not sure if that's related.  Any thoughts?  I'm starting to run out
of
options to try.

Thanks!
--Dan

=============================================
Daniel Elswit
IT Security & Operations,
College of Agriculture & Life Sciences
Cornell University
Ithaca, NY, USA
user-8d00d2826ff5@xymon.invalid
(XXX) XXX-XXXX
http://www.cals.cornell.edu/cals/cals-it/

list Mike Wood · Tue, 8 Jul 2008 14:32:23 -0500 ·
I ran into something similar when I set mine up on RedHat.
Check the permissions of the hobbit home directory.  Default is 700 on Redhat.  I had to make it writeable for the group that apache runs under.

Also, try adding a trailing "/" to your URL.

Mike Wood
UNIX System Administrator
Kinetic Concepts, Inc.
XXXX Farinon Drive
San Antonio, TX, 78249
 
E-mail:  user-ca9fdeef37c9@xymon.invalid
Office:  (XXX) XXX-XXXX
Mobile:  (XXX) XXX-XXXX
quoted from Daniel Elswit

-----Original Message-----
From: Daniel Elswit [mailto:user-8d00d2826ff5@xymon.invalid]
Sent: Tuesday, July 08, 2008 2:19 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Configuration question

Hello.  I'm attempting to set up Hobbit 4.2 on a Debian box (very clean -
Hobbit is the only thing it's doing.)  I followed all the directions -
loaded the prerequisites, patched with the all-in-one patch, added the
hobbit-specific lines into apache2.conf, etc.  It compiled and installed
just fine, and the service starts.  But when I go to the
http://localhost/hobbit page, I get a "404 not found" error.  The
apache2.conf file points to the ~hobbit/server/www directory but I don't
see
any html files there or in the subdirectory "html" under that.  In the
hobbitlaunch.log I see a number of "Task bbdisplay terminated by signal
6"... not sure if that's related.  Any thoughts?  I'm starting to run out
of
options to try.

Thanks!
--Dan

=============================================
Daniel Elswit
IT Security & Operations,
College of Agriculture & Life Sciences
Cornell University
Ithaca, NY, USA
user-8d00d2826ff5@xymon.invalid
(XXX) XXX-XXXX
http://www.cals.cornell.edu/cals/cals-it/

*****************************************************************************

"CONFIDENTIALITY NOTICE:  This transmission (including any
accompanying attachments) is confidential, is intended only for the
individual or entity named above, and is likely to contain privileged, 
proprietary and confidential information that is exempt from disclosure 
requests under applicable law.  If you are not the intended recipient, 
you are hereby notified that any disclosure, copying, distribution, use 
of or reliance upon any of the information contained in this transmission
is strictly prohibited.  Any inadvertent or unauthorized disclosure shall 
not compromise or waive the confidentiality of this transmission or any 
applicable attorney-client privilege. 

If you have received this transmission in error, please immediately 
notify us at user-c978de0668a4@xymon.invalid."


Kinetic Concepts, Inc.

******************************************************************************
list Josh Luthman · Tue, 8 Jul 2008 15:40:24 -0400 ·
I'm very positive the problem isn't related to permissions as it was a 404
error.  You could look in /var/log/httpd/error_log to be certain, though.
signature
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer

quoted from Mike Wood
On Tue, Jul 8, 2008 at 3:32 PM, Wood, Mike <user-ca9fdeef37c9@xymon.invalid> wrote:
I ran into something similar when I set mine up on RedHat.
Check the permissions of the hobbit home directory.  Default is 700 on
Redhat.  I had to make it writeable for the group that apache runs under.

Also, try adding a trailing "/" to your URL.

Mike Wood
UNIX System Administrator
Kinetic Concepts, Inc.
XXXX Farinon Drive
San Antonio, TX, 78249

E-mail:  user-ca9fdeef37c9@xymon.invalid
Office:  (XXX) XXX-XXXX
Mobile:  (XXX) XXX-XXXX

-----Original Message-----
From: Daniel Elswit [mailto:user-8d00d2826ff5@xymon.invalid]
Sent: Tuesday, July 08, 2008 2:19 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Configuration question

Hello.  I'm attempting to set up Hobbit 4.2 on a Debian box (very clean -
Hobbit is the only thing it's doing.)  I followed all the directions -
loaded the prerequisites, patched with the all-in-one patch, added the
hobbit-specific lines into apache2.conf, etc.  It compiled and installed
just fine, and the service starts.  But when I go to the
http://localhost/hobbit page, I get a "404 not found" error.  The
apache2.conf file points to the ~hobbit/server/www directory but I don't
see
any html files there or in the subdirectory "html" under that.  In the
hobbitlaunch.log I see a number of "Task bbdisplay terminated by signal
6"... not sure if that's related.  Any thoughts?  I'm starting to run out
of
options to try.

Thanks!
--Dan

=============================================
Daniel Elswit
IT Security & Operations,
College of Agriculture & Life Sciences
Cornell University
Ithaca, NY, USA
user-8d00d2826ff5@xymon.invalid
(XXX) XXX-XXXX
http://www.cals.cornell.edu/cals/cals-it/

*****************************************************************************
"CONFIDENTIALITY NOTICE:  This transmission (including any
accompanying attachments) is confidential, is intended only for the
individual or entity named above, and is likely to contain privileged,
proprietary and confidential information that is exempt from disclosure
requests under applicable law.  If you are not the intended recipient,
you are hereby notified that any disclosure, copying, distribution, use
of or reliance upon any of the information contained in this transmission
is strictly prohibited.  Any inadvertent or unauthorized disclosure shall
not compromise or waive the confidentiality of this transmission or any
applicable attorney-client privilege.

If you have received this transmission in error, please immediately
notify us at user-c978de0668a4@xymon.invalid."


Kinetic Concepts, Inc.


******************************************************************************

list Daniel Elswit · Tue, 8 Jul 2008 15:41:38 -0400 ·
Thanks for the reply!  The trailing slash gives me the directory listing of
/hobbit (gifs, help, html, menu, etc.)  The alias statement is:

Alias /hobbit/  "/usr/bin/hobbit/server/www/"

 
Hobbit does in fact live in /usr/bin/hobbit.

 
--Dan
quoted from Josh Luthman

 
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] 
Sent: Tuesday, July 08, 2008 3:23 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Configuration question

 
Try the address http://localhost/hobbit/ (note the trailing slash)

What is your Alias statement in apache2.conf?

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer 

On Tue, Jul 8, 2008 at 3:18 PM, Daniel Elswit <user-8d00d2826ff5@xymon.invalid> wrote:

Hello.  I'm attempting to set up Hobbit 4.2 on a Debian box (very clean -
Hobbit is the only thing it's doing.)  I followed all the directions -
loaded the prerequisites, patched with the all-in-one patch, added the
hobbit-specific lines into apache2.conf, etc.  It compiled and installed
just fine, and the service starts.  But when I go to the
http://localhost/hobbit page, I get a "404 not found" error.  The
apache2.conf file points to the ~hobbit/server/www directory but I don't see
any html files there or in the subdirectory "html" under that.  In the
hobbitlaunch.log I see a number of "Task bbdisplay terminated by signal
6"... not sure if that's related.  Any thoughts?  I'm starting to run out of
options to try.

Thanks!
--Dan

=============================================
Daniel Elswit
IT Security & Operations,
College of Agriculture & Life Sciences
Cornell University
Ithaca, NY, USA
user-8d00d2826ff5@xymon.invalid
(XXX) XXX-XXXX
http://www.cals.cornell.edu/cals/cals-it/
list Ralph Mitchell · Tue, 8 Jul 2008 14:52:47 -0500 ·
When you go to that url you should get the hobbit display page.  You're not,
because bbdisplay is crashing.  Is there anything interesting in
bb-display.log??

Ralph Mitchell
quoted from Daniel Elswit


On Tue, Jul 8, 2008 at 2:41 PM, Daniel Elswit <user-8d00d2826ff5@xymon.invalid> wrote:
 Thanks for the reply!  The trailing slash gives me the directory listing
of /hobbit (gifs, help, html, menu, etc.)  The alias statement is:

Alias /hobbit/  "/usr/bin/hobbit/server/www/"


Hobbit does in fact live in /usr/bin/hobbit.


--Dan


*From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
*Sent:* Tuesday, July 08, 2008 3:23 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] Configuration question


Try the address http://localhost/hobbit/ (note the trailing slash)

What is your Alias statement in apache2.conf?

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer

On Tue, Jul 8, 2008 at 3:18 PM, Daniel Elswit <user-8d00d2826ff5@xymon.invalid> wrote:

Hello.  I'm attempting to set up Hobbit 4.2 on a Debian box (very clean -
Hobbit is the only thing it's doing.)  I followed all the directions -
loaded the prerequisites, patched with the all-in-one patch, added the
hobbit-specific lines into apache2.conf, etc.  It compiled and installed
just fine, and the service starts.  But when I go to the
http://localhost/hobbit page, I get a "404 not found" error.  The
apache2.conf file points to the ~hobbit/server/www directory but I don't
see
any html files there or in the subdirectory "html" under that.  In the
hobbitlaunch.log I see a number of "Task bbdisplay terminated by signal
6"... not sure if that's related.  Any thoughts?  I'm starting to run out
of
options to try.

Thanks!
--Dan

=============================================
Daniel Elswit
IT Security & Operations,
College of Agriculture & Life Sciences
Cornell University
Ithaca, NY, USA
user-8d00d2826ff5@xymon.invalid
(XXX) XXX-XXXX
http://www.cals.cornell.edu/cals/cals-it/

list Josh Luthman · Tue, 8 Jul 2008 15:54:28 -0400 ·
Does the directory listing include index.html or bb.html?

I don't recall if the symlink of index.html was created by me or Hobbit, but
I have an index.html sylink'ed to bb.html.

In apache2.conf what is your DirectoryIndex statement?
signature

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer

quoted from Daniel Elswit
On Tue, Jul 8, 2008 at 3:41 PM, Daniel Elswit <user-8d00d2826ff5@xymon.invalid> wrote:
 Thanks for the reply!  The trailing slash gives me the directory listing
of /hobbit (gifs, help, html, menu, etc.)  The alias statement is:

Alias /hobbit/  "/usr/bin/hobbit/server/www/"


Hobbit does in fact live in /usr/bin/hobbit.


--Dan


*From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
*Sent:* Tuesday, July 08, 2008 3:23 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] Configuration question


Try the address http://localhost/hobbit/ (note the trailing slash)

What is your Alias statement in apache2.conf?

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer

On Tue, Jul 8, 2008 at 3:18 PM, Daniel Elswit <user-8d00d2826ff5@xymon.invalid> wrote:

Hello.  I'm attempting to set up Hobbit 4.2 on a Debian box (very clean -
Hobbit is the only thing it's doing.)  I followed all the directions -
loaded the prerequisites, patched with the all-in-one patch, added the
hobbit-specific lines into apache2.conf, etc.  It compiled and installed
just fine, and the service starts.  But when I go to the
http://localhost/hobbit page, I get a "404 not found" error.  The
apache2.conf file points to the ~hobbit/server/www directory but I don't
see
any html files there or in the subdirectory "html" under that.  In the
hobbitlaunch.log I see a number of "Task bbdisplay terminated by signal
6"... not sure if that's related.  Any thoughts?  I'm starting to run out
of
options to try.

Thanks!
--Dan

=============================================
Daniel Elswit
IT Security & Operations,
College of Agriculture & Life Sciences
Cornell University
Ithaca, NY, USA
user-8d00d2826ff5@xymon.invalid
(XXX) XXX-XXXX
http://www.cals.cornell.edu/cals/cals-it/

list Daniel Elswit · Tue, 8 Jul 2008 17:08:13 -0400 ·
Earlier today I had a permissions problem, but I've since modified the
permissions to allow both the hobbit user and www-data full access to the
/usr/bin/hobbit tree (and it's world-readable/executable) and haven't seen
new instances of permissions errors recently.  Nothing has shown up recently
in the bb-display.log.  hobbitlaunch.log still has the "Task bbdisplay
terminated by signal 6" errors.

 
I'm assuming that bbgen generates the pages?  If the hobbit user manually
runs bbgen it just says "aborted".  Not sure if that's normal.  There is no
bb.html on the entire system, and no index.html in anything related to
hobbit.  There is no DirectoryIndex statement in apache2.conf.

 
--Dan
quoted from Ralph Mitchell

 
From: Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid] 
Sent: Tuesday, July 08, 2008 3:53 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Configuration question

 
When you go to that url you should get the hobbit display page.  You're not,
because bbdisplay is crashing.  Is there anything interesting in
bb-display.log??

Ralph Mitchell


On Tue, Jul 8, 2008 at 2:41 PM, Daniel Elswit <user-8d00d2826ff5@xymon.invalid> wrote:

Thanks for the reply!  The trailing slash gives me the directory listing of
/hobbit (gifs, help, html, menu, etc.)  The alias statement is:

Alias /hobbit/  "/usr/bin/hobbit/server/www/"

 
Hobbit does in fact live in /usr/bin/hobbit.

 
--Dan

 
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] 
Sent: Tuesday, July 08, 2008 3:23 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Configuration question

 
Try the address http://localhost/hobbit/ (note the trailing slash)

What is your Alias statement in apache2.conf?

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer 

On Tue, Jul 8, 2008 at 3:18 PM, Daniel Elswit <user-8d00d2826ff5@xymon.invalid> wrote:

Hello.  I'm attempting to set up Hobbit 4.2 on a Debian box (very clean -
Hobbit is the only thing it's doing.)  I followed all the directions -
loaded the prerequisites, patched with the all-in-one patch, added the
hobbit-specific lines into apache2.conf, etc.  It compiled and installed
just fine, and the service starts.  But when I go to the
http://localhost/hobbit page, I get a "404 not found" error.  The
apache2.conf file points to the ~hobbit/server/www directory but I don't see
any html files there or in the subdirectory "html" under that.  In the
hobbitlaunch.log I see a number of "Task bbdisplay terminated by signal
6"... not sure if that's related.  Any thoughts?  I'm starting to run out of
options to try.

Thanks!
--Dan

=============================================
Daniel Elswit
IT Security & Operations,
College of Agriculture & Life Sciences
Cornell University
Ithaca, NY, USA
user-8d00d2826ff5@xymon.invalid
(XXX) XXX-XXXX
http://www.cals.cornell.edu/cals/cals-it/
list Josh Luthman · Tue, 8 Jul 2008 17:14:04 -0400 ·
Two issues then - Hobbit isn't running as bb.html isn't being generated.

Secondly DirectoryIndex has to be mentioned, as you have apach2.conf I'm
sure it is debian - do a grep /etc/httpd/* -R DirectoryIndex
signature

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer

quoted from Daniel Elswit
On Tue, Jul 8, 2008 at 5:08 PM, Daniel Elswit <user-8d00d2826ff5@xymon.invalid> wrote:
 Earlier today I had a permissions problem, but I've since modified the
permissions to allow both the hobbit user and www-data full access to the
/usr/bin/hobbit tree (and it's world-readable/executable) and haven't seen
new instances of permissions errors recently.  Nothing has shown up recently
in the bb-display.log.  hobbitlaunch.log still has the "Task bbdisplay
terminated by signal 6" errors.


I'm assuming that bbgen generates the pages?  If the hobbit user manually
runs bbgen it just says "aborted".  Not sure if that's normal.  There is no
bb.html on the entire system, and no index.html in anything related to
hobbit.  There is no DirectoryIndex statement in apache2.conf.


--Dan


*From:* Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid]
*Sent:* Tuesday, July 08, 2008 3:53 PM

*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] Configuration question


When you go to that url you should get the hobbit display page.  You're
not, because bbdisplay is crashing.  Is there anything interesting in
bb-display.log??

Ralph Mitchell

 On Tue, Jul 8, 2008 at 2:41 PM, Daniel Elswit <user-8d00d2826ff5@xymon.invalid> wrote:

Thanks for the reply!  The trailing slash gives me the directory listing of
/hobbit (gifs, help, html, menu, etc.)  The alias statement is:

Alias /hobbit/  "/usr/bin/hobbit/server/www/"


Hobbit does in fact live in /usr/bin/hobbit.


--Dan


*From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
*Sent:* Tuesday, July 08, 2008 3:23 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] Configuration question


Try the address http://localhost/hobbit/ (note the trailing slash)

What is your Alias statement in apache2.conf?

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer

On Tue, Jul 8, 2008 at 3:18 PM, Daniel Elswit <user-8d00d2826ff5@xymon.invalid> wrote:

Hello.  I'm attempting to set up Hobbit 4.2 on a Debian box (very clean -
Hobbit is the only thing it's doing.)  I followed all the directions -
loaded the prerequisites, patched with the all-in-one patch, added the
hobbit-specific lines into apache2.conf, etc.  It compiled and installed
just fine, and the service starts.  But when I go to the
http://localhost/hobbit page, I get a "404 not found" error.  The
apache2.conf file points to the ~hobbit/server/www directory but I don't
see
any html files there or in the subdirectory "html" under that.  In the
hobbitlaunch.log I see a number of "Task bbdisplay terminated by signal
6"... not sure if that's related.  Any thoughts?  I'm starting to run out
of
options to try.

Thanks!
--Dan

=============================================
Daniel Elswit
IT Security & Operations,
College of Agriculture & Life Sciences
Cornell University
Ithaca, NY, USA
user-8d00d2826ff5@xymon.invalid
(XXX) XXX-XXXX
http://www.cals.cornell.edu/cals/cals-it/

list Daniel Elswit · Wed, 9 Jul 2008 08:15:35 -0400 ·
I have a DirectoryIndex in /etc/apache2/mods-enabled/dir.conf.  The line is:

DirectoryIndex index.html index.cgi index.pl index.php index.xhtml

 
Some parts of hobbit appear to be running when I look in the ps list, and
new entries periodically appear in the logs.  But whatever part of it
generates the pages is failing. 
quoted from Josh Luthman

 
--Dan

 
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] 
Sent: Tuesday, July 08, 2008 5:14 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Configuration question

 
Two issues then - Hobbit isn't running as bb.html isn't being generated.

Secondly DirectoryIndex has to be mentioned, as you have apach2.conf I'm
sure it is debian - do a grep /etc/httpd/* -R DirectoryIndex

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer 

On Tue, Jul 8, 2008 at 5:08 PM, Daniel Elswit <user-8d00d2826ff5@xymon.invalid> wrote:

Earlier today I had a permissions problem, but I've since modified the
permissions to allow both the hobbit user and www-data full access to the
/usr/bin/hobbit tree (and it's world-readable/executable) and haven't seen
new instances of permissions errors recently.  Nothing has shown up recently
in the bb-display.log.  hobbitlaunch.log still has the "Task bbdisplay
terminated by signal 6" errors.

 
I'm assuming that bbgen generates the pages?  If the hobbit user manually
runs bbgen it just says "aborted".  Not sure if that's normal.  There is no
bb.html on the entire system, and no index.html in anything related to
hobbit.  There is no DirectoryIndex statement in apache2.conf.

 
--Dan

 
From: Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid] 
Sent: Tuesday, July 08, 2008 3:53 PM


To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Configuration question

 
When you go to that url you should get the hobbit display page.  You're not,
because bbdisplay is crashing.  Is there anything interesting in
bb-display.log??

Ralph Mitchell

On Tue, Jul 8, 2008 at 2:41 PM, Daniel Elswit <user-8d00d2826ff5@xymon.invalid> wrote:

Thanks for the reply!  The trailing slash gives me the directory listing of
/hobbit (gifs, help, html, menu, etc.)  The alias statement is:

Alias /hobbit/  "/usr/bin/hobbit/server/www/"

 
Hobbit does in fact live in /usr/bin/hobbit.

 
--Dan

 
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] 
Sent: Tuesday, July 08, 2008 3:23 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Configuration question

 
Try the address http://localhost/hobbit/ (note the trailing slash)

What is your Alias statement in apache2.conf?

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer 

On Tue, Jul 8, 2008 at 3:18 PM, Daniel Elswit <user-8d00d2826ff5@xymon.invalid> wrote:

Hello.  I'm attempting to set up Hobbit 4.2 on a Debian box (very clean -
Hobbit is the only thing it's doing.)  I followed all the directions -
loaded the prerequisites, patched with the all-in-one patch, added the
hobbit-specific lines into apache2.conf, etc.  It compiled and installed
just fine, and the service starts.  But when I go to the
http://localhost/hobbit page, I get a "404 not found" error.  The
apache2.conf file points to the ~hobbit/server/www directory but I don't see
any html files there or in the subdirectory "html" under that.  In the
hobbitlaunch.log I see a number of "Task bbdisplay terminated by signal
6"... not sure if that's related.  Any thoughts?  I'm starting to run out of
options to try.

Thanks!
--Dan

=============================================
Daniel Elswit
IT Security & Operations,
College of Agriculture & Life Sciences
Cornell University
Ithaca, NY, USA
user-8d00d2826ff5@xymon.invalid
(XXX) XXX-XXXX
http://www.cals.cornell.edu/cals/cals-it/
list Ralph Mitchell · Wed, 9 Jul 2008 11:10:51 -0500 ·
quoted from Daniel Elswit
On Wed, Jul 9, 2008 at 7:15 AM, Daniel Elswit <user-8d00d2826ff5@xymon.invalid> wrote:
 I have a DirectoryIndex in /etc/apache2/mods-enabled/dir.conf.  The line
is:

DirectoryIndex index.html index.cgi index.pl index.php index.xhtml


Some parts of hobbit appear to be running when I look in the ps list, and
new entries periodically appear in the logs.  But whatever part of it
generates the pages is failing.
The page generator is bbgen, which is started up by the [bbdisplay] entry in
server/etc/hobbitlaunch.cfg.  It should log messages in bb-display.log in
whichever directory the other Hobbit logs are stored.  This is the thing
that's causing the "Task bbdisplay terminated by signal 6" messages in the
hobbitlaunch.log file.

bbgen has a --debug option, which might give you a bit more information
about why it crashes.

Ralph Mitchell
list Josh Luthman · Wed, 9 Jul 2008 12:17:00 -0400 ·
So on the assumption that index.html is created by Hobbit and symlinked to
bb.html your issue now is that bbgen isn't running.  Did you install it from
a package or from compilation?  Does the ps stay alive or die when you call
a start to the init script?
quoted from Daniel Elswit

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer

On Wed, Jul 9, 2008 at 12:10 PM, Ralph Mitchell <user-00a5e44c48c0@xymon.invalid>
quoted from Ralph Mitchell
wrote:
On Wed, Jul 9, 2008 at 7:15 AM, Daniel Elswit <user-8d00d2826ff5@xymon.invalid> wrote:
 I have a DirectoryIndex in /etc/apache2/mods-enabled/dir.conf.  The line
is:

DirectoryIndex index.html index.cgi index.pl index.php index.xhtml


Some parts of hobbit appear to be running when I look in the ps list, and
new entries periodically appear in the logs.  But whatever part of it
generates the pages is failing.
The page generator is bbgen, which is started up by the [bbdisplay] entry
in server/etc/hobbitlaunch.cfg.  It should log messages in bb-display.log in
whichever directory the other Hobbit logs are stored.  This is the thing
that's causing the "Task bbdisplay terminated by signal 6" messages in the
hobbitlaunch.log file.

bbgen has a --debug option, which might give you a bit more information
about why it crashes.

Ralph Mitchell

list Daniel Elswit · Thu, 10 Jul 2008 09:41:34 -0400 ·
Strangely, bben -debug shows that it cooks right through the bb-hosts file
and then after the last line, aborts with no further information.  bbgen
-version runs properly and shows the correct version.  I'm beginning to
wonder if the bbgen file itself is corrupted.
quoted from Josh Luthman

 
--Dan

 
From: Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid] 
Sent: Wednesday, July 09, 2008 12:11 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Configuration question

 
On Wed, Jul 9, 2008 at 7:15 AM, Daniel Elswit <user-8d00d2826ff5@xymon.invalid> wrote:

I have a DirectoryIndex in /etc/apache2/mods-enabled/dir.conf.  The line is:

DirectoryIndex index.html index.cgi index.pl index.php index.xhtml

 
Some parts of hobbit appear to be running when I look in the ps list, and
new entries periodically appear in the logs.  But whatever part of it
generates the pages is failing. 


The page generator is bbgen, which is started up by the [bbdisplay] entry in
server/etc/hobbitlaunch.cfg.  It should log messages in bb-display.log in
whichever directory the other Hobbit logs are stored.  This is the thing
that's causing the "Task bbdisplay terminated by signal 6" messages in the
hobbitlaunch.log file.

bbgen has a --debug option, which might give you a bit more information
about why it crashes.

Ralph Mitchell
list Daniel Elswit · Thu, 10 Jul 2008 09:44:37 -0400 ·
I did install this all from source, not a package.  When I run the hobbit.sh
script again the components restart and continue to live until I stop them,
bbdisplay fails each time it tries to run.
quoted from Daniel Elswit

 
--Dan

 
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] 
Sent: Wednesday, July 09, 2008 12:17 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Configuration question

 
So on the assumption that index.html is created by Hobbit and symlinked to
bb.html your issue now is that bbgen isn't running.  Did you install it from
a package or from compilation?  Does the ps stay alive or die when you call
a start to the init script?

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer 

On Wed, Jul 9, 2008 at 12:10 PM, Ralph Mitchell <user-00a5e44c48c0@xymon.invalid>
wrote:

On Wed, Jul 9, 2008 at 7:15 AM, Daniel Elswit <user-8d00d2826ff5@xymon.invalid> wrote:

I have a DirectoryIndex in /etc/apache2/mods-enabled/dir.conf.  The line is:

DirectoryIndex index.html index.cgi index.pl index.php index.xhtml

 
Some parts of hobbit appear to be running when I look in the ps list, and
new entries periodically appear in the logs.  But whatever part of it
generates the pages is failing. 

 
The page generator is bbgen, which is started up by the [bbdisplay] entry in
server/etc/hobbitlaunch.cfg.  It should log messages in bb-display.log in
whichever directory the other Hobbit logs are stored.  This is the thing
that's causing the "Task bbdisplay terminated by signal 6" messages in the
hobbitlaunch.log file.

bbgen has a --debug option, which might give you a bit more information
about why it crashes.

Ralph Mitchell
list Ralph Mitchell · Thu, 10 Jul 2008 09:55:25 -0500 ·
quoted from Daniel Elswit
On Thu, Jul 10, 2008 at 8:41 AM, Daniel Elswit <user-8d00d2826ff5@xymon.invalid> wrote:
 Strangely, bben –debug shows that it cooks right through the bb-hosts
file and then after the last line, aborts with no further information.
bbgen –version runs properly and shows the correct version.  I'm beginning
to wonder if the bbgen file itself is corrupted.
This is what I get in my bb-display.log after a restart.  The first two
lines below are the last two from bb-hosts - a blank comment line and an
include:

     2008-07-10 09:37:51 load_bbhosts: -- got line '#'
     2008-07-10 09:37:51 Opening file /home/hobbit/server/etc/ghosts.inc
     2008-07-10 09:37:51 load_state()
     2008-07-10 09:37:51 Transport setup is:
     2008-07-10 09:37:51 bbdportnumber = 1984
     2008-07-10 09:37:51 bbdispproxyhost = NONE
     2008-07-10 09:37:51 bbdispproxyport = 0
     2008-07-10 09:37:51 Recipient listed as '10.134.13.133'
     2008-07-10 09:37:51 Standard BB protocol on port 1984
     2008-07-10 09:37:51 Will connect to address 10.134.13.133 port 1984

Do you get the "load_state()" ??

Ralph Mitchell
list Daniel Elswit · Thu, 10 Jul 2008 11:30:15 -0400 ·
My bb-display.log has not updated in 2 days (not since I had an initial
problem related to a missing library that was resolved.)  I don't see any of
what you have below.  The hobbitd.log says "Setup complete".  Upon starting
of the service, hobbitlaunch.log says:

 
2008-07-10 11:20:46 hobbitlaunch starting

2008-07-10 11:20:46 Loading tasklist configuration from
/usr/bin/hobbit/server/etc/hobbitlaunch.cfg

2008-07-10 11:20:46 Loading hostnames

2008-07-10 11:20:46 Loading saved state

2008-07-10 11:20:46 Setting up network listener on 0.0.0.0:1984

2008-07-10 11:20:46 Setting up signal handlers

2008-07-10 11:20:46 Setting up hobbitd channels

2008-07-10 11:20:46 Setting up logfiles

2008-07-10 11:20:52 Task bbdisplay terminated by signal 6

2008-07-10 11:21:52 Task bbdisplay terminated by signal 6

2008-07-10 11:22:52 Task bbdisplay terminated by signal 6

 
The bbdisplay errors continue to occur every few minutes.
quoted from Ralph Mitchell

--Dan

 
From: Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid] 
Sent: Thursday, July 10, 2008 10:55 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Configuration question

 
On Thu, Jul 10, 2008 at 8:41 AM, Daniel Elswit <user-8d00d2826ff5@xymon.invalid> wrote:

Strangely, bben -debug shows that it cooks right through the bb-hosts file
and then after the last line, aborts with no further information.  bbgen
-version runs properly and shows the correct version.  I'm beginning to
wonder if the bbgen file itself is corrupted. 


This is what I get in my bb-display.log after a restart.  The first two
lines below are the last two from bb-hosts - a blank comment line and an
include:

     2008-07-10 09:37:51 load_bbhosts: -- got line '#'
     2008-07-10 09:37:51 Opening file /home/hobbit/server/etc/ghosts.inc
     2008-07-10 09:37:51 load_state()
     2008-07-10 09:37:51 Transport setup is:
     2008-07-10 09:37:51 bbdportnumber = 1984
     2008-07-10 09:37:51 bbdispproxyhost = NONE
     2008-07-10 09:37:51 bbdispproxyport = 0
     2008-07-10 09:37:51 Recipient listed as '10.134.13.133'
     2008-07-10 09:37:51 Standard BB protocol on port 1984
     2008-07-10 09:37:51 Will connect to address 10.134.13.133 port 1984

Do you get the "load_state()" ??

Ralph Mitchell
list Ralph Mitchell · Thu, 10 Jul 2008 10:48:55 -0500 ·
OK.  What I did to get that log was: stop hobbit, change the bbdisplay entry
in server/etc/hobbitlaunch.cfg to read:

     CMD bbgen $BBGENOPTS --report --debug

then I renamed the bb-display.log file and restarted hobbit.  The log
fragment I posted came from the new bb-display.log during/after it read
through the bb-hosts file.

I guess you wouldn't need to stop/start Hobbit, as it's trying to launch
bbgen every minute...

Ralph
quoted from Daniel Elswit

On Thu, Jul 10, 2008 at 10:30 AM, Daniel Elswit <user-8d00d2826ff5@xymon.invalid> wrote:
 My bb-display.log has not updated in 2 days (not since I had an initial
problem related to a missing library that was resolved.)  I don't see any of
what you have below.  The hobbitd.log says "Setup complete".  Upon starting
of the service, hobbitlaunch.log says:


2008-07-10 11:20:46 hobbitlaunch starting

2008-07-10 11:20:46 Loading tasklist configuration from
/usr/bin/hobbit/server/etc/hobbitlaunch.cfg

2008-07-10 11:20:46 Loading hostnames

2008-07-10 11:20:46 Loading saved state

2008-07-10 11:20:46 Setting up network listener on 0.0.0.0:1984

2008-07-10 11:20:46 Setting up signal handlers

2008-07-10 11:20:46 Setting up hobbitd channels

2008-07-10 11:20:46 Setting up logfiles

2008-07-10 11:20:52 Task bbdisplay terminated by signal 6

2008-07-10 11:21:52 Task bbdisplay terminated by signal 6

2008-07-10 11:22:52 Task bbdisplay terminated by signal 6


The bbdisplay errors continue to occur every few minutes.

--Dan


*From:* Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid]
*Sent:* Thursday, July 10, 2008 10:55 AM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] Configuration question


On Thu, Jul 10, 2008 at 8:41 AM, Daniel Elswit <user-8d00d2826ff5@xymon.invalid> wrote:

 Strangely, bben –debug shows that it cooks right through the bb-hosts
file and then after the last line, aborts with no further information.
bbgen –version runs properly and shows the correct version.  I'm beginning
to wonder if the bbgen file itself is corrupted.


This is what I get in my bb-display.log after a restart.  The first two
lines below are the last two from bb-hosts - a blank comment line and an
include:

     2008-07-10 09:37:51 load_bbhosts: -- got line '#'
     2008-07-10 09:37:51 Opening file /home/hobbit/server/etc/ghosts.inc
     2008-07-10 09:37:51 load_state()
     2008-07-10 09:37:51 Transport setup is:
     2008-07-10 09:37:51 bbdportnumber = 1984
     2008-07-10 09:37:51 bbdispproxyhost = NONE
     2008-07-10 09:37:51 bbdispproxyport = 0
     2008-07-10 09:37:51 Recipient listed as '10.134.13.133'
     2008-07-10 09:37:51 Standard BB protocol on port 1984
     2008-07-10 09:37:51 Will connect to address 10.134.13.133 port 1984

Do you get the "load_state()" ??

Ralph Mitchell
list Daniel Elswit · Thu, 10 Jul 2008 13:30:48 -0400 ·
Ah. got it.  I see this:

 
2008-07-10 12:38:49 load_bbhosts: -- got line '10.35.80.51
test.cals.cornell.edu # noping dns ntp'

2008-07-10 12:38:49 init_host(test.cals.cornell.edu)

2008-07-10 12:38:49 load_state()

2008-07-10 12:38:49 Transport setup is:

2008-07-10 12:38:49 bbdportnumber = 1984

2008-07-10 12:38:49 bbdispproxyhost = NONE

2008-07-10 12:38:49 bbdispproxyport = 0

2008-07-10 12:38:49 Recipient listed as '10.253.209.163'

2008-07-10 12:38:49 Standard BB protocol on port 1984

2008-07-10 12:38:49 Will connect to address 10.253.209.163 port 1984

2008-07-10 12:38:49 Connect status is 0

2008-07-10 12:38:49 Sent 126 bytes

2008-07-10 12:38:49 Read 3601 bytes

2008-07-10 12:38:49 Closing connection
quoted from Ralph Mitchell

 
--Dan

 
From: Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid] 
Sent: Thursday, July 10, 2008 11:49 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Configuration question

 
OK.  What I did to get that log was: stop hobbit, change the bbdisplay entry
in server/etc/hobbitlaunch.cfg to read:

     CMD bbgen $BBGENOPTS --report --debug

then I renamed the bb-display.log file and restarted hobbit.  The log
fragment I posted came from the new bb-display.log during/after it read
through the bb-hosts file.

I guess you wouldn't need to stop/start Hobbit, as it's trying to launch
bbgen every minute...

Ralph

On Thu, Jul 10, 2008 at 10:30 AM, Daniel Elswit <user-8d00d2826ff5@xymon.invalid> wrote:

My bb-display.log has not updated in 2 days (not since I had an initial
problem related to a missing library that was resolved.)  I don't see any of
what you have below.  The hobbitd.log says "Setup complete".  Upon starting
of the service, hobbitlaunch.log says:

 
2008-07-10 11:20:46 hobbitlaunch starting

2008-07-10 11:20:46 Loading tasklist configuration from
/usr/bin/hobbit/server/etc/hobbitlaunch.cfg

2008-07-10 11:20:46 Loading hostnames

2008-07-10 11:20:46 Loading saved state

2008-07-10 11:20:46 Setting up network listener on 0.0.0.0:1984

2008-07-10 11:20:46 Setting up signal handlers

2008-07-10 11:20:46 Setting up hobbitd channels

2008-07-10 11:20:46 Setting up logfiles

2008-07-10 11:20:52 Task bbdisplay terminated by signal 6

2008-07-10 11:21:52 Task bbdisplay terminated by signal 6

2008-07-10 11:22:52 Task bbdisplay terminated by signal 6

 
The bbdisplay errors continue to occur every few minutes.

--Dan

 
From: Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid] 
Sent: Thursday, July 10, 2008 10:55 AM


To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Configuration question

 
On Thu, Jul 10, 2008 at 8:41 AM, Daniel Elswit <user-8d00d2826ff5@xymon.invalid> wrote:

Strangely, bben -debug shows that it cooks right through the bb-hosts file
and then after the last line, aborts with no further information.  bbgen
-version runs properly and shows the correct version.  I'm beginning to
wonder if the bbgen file itself is corrupted. 


This is what I get in my bb-display.log after a restart.  The first two
lines below are the last two from bb-hosts - a blank comment line and an
include:

     2008-07-10 09:37:51 load_bbhosts: -- got line '#'
     2008-07-10 09:37:51 Opening file /home/hobbit/server/etc/ghosts.inc
     2008-07-10 09:37:51 load_state()
     2008-07-10 09:37:51 Transport setup is:
     2008-07-10 09:37:51 bbdportnumber = 1984
     2008-07-10 09:37:51 bbdispproxyhost = NONE
     2008-07-10 09:37:51 bbdispproxyport = 0
     2008-07-10 09:37:51 Recipient listed as '10.134.13.133'
     2008-07-10 09:37:51 Standard BB protocol on port 1984
     2008-07-10 09:37:51 Will connect to address 10.134.13.133 port 1984

Do you get the "load_state()" ??

Ralph Mitchell
list Ralph Mitchell · Thu, 10 Jul 2008 14:07:45 -0500 ·
Do you get anything after the "close connection"??  I get a bunch of

   init_state(host,domain,com.test, -567484, ...)
   find_or_create_column(test)
   init_state: hostname=host.domain.com, testname=test, color=0......

one for each column for each host.  What do yuo get from this command:

   server/bin/bb localhost "hobbitdboard
fields=hostname,testname,color,flags,lastchange,logtime,validtime,acktime,disabletime,sender,cookie,line1,acklist"

That's all on one line.  It's what bbgen does immediately after logging
"load_state()"
quoted from Daniel Elswit

Ralph


On Thu, Jul 10, 2008 at 12:30 PM, Daniel Elswit <user-8d00d2826ff5@xymon.invalid> wrote:
 Ah… got it.  I see this:


2008-07-10 12:38:49 load_bbhosts: -- got line '10.35.80.51
test.cals.cornell.edu # noping dns ntp'

2008-07-10 12:38:49 init_host(test.cals.cornell.edu)

2008-07-10 12:38:49 load_state()

2008-07-10 12:38:49 Transport setup is:

2008-07-10 12:38:49 bbdportnumber = 1984

2008-07-10 12:38:49 bbdispproxyhost = NONE

2008-07-10 12:38:49 bbdispproxyport = 0

2008-07-10 12:38:49 Recipient listed as '10.253.209.163'

2008-07-10 12:38:49 Standard BB protocol on port 1984

2008-07-10 12:38:49 Will connect to address 10.253.209.163 port 1984

2008-07-10 12:38:49 Connect status is 0

2008-07-10 12:38:49 Sent 126 bytes

2008-07-10 12:38:49 Read 3601 bytes

2008-07-10 12:38:49 Closing connection


--Dan


*From:* Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid]
*Sent:* Thursday, July 10, 2008 11:49 AM

*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] Configuration question


OK.  What I did to get that log was: stop hobbit, change the bbdisplay
entry in server/etc/hobbitlaunch.cfg to read:

     CMD bbgen $BBGENOPTS --report --debug

then I renamed the bb-display.log file and restarted hobbit.  The log
fragment I posted came from the new bb-display.log during/after it read
through the bb-hosts file.

I guess you wouldn't need to stop/start Hobbit, as it's trying to launch
bbgen every minute...

Ralph

On Thu, Jul 10, 2008 at 10:30 AM, Daniel Elswit <user-8d00d2826ff5@xymon.invalid> wrote:

My bb-display.log has not updated in 2 days (not since I had an initial
problem related to a missing library that was resolved.)  I don't see any of
what you have below.  The hobbitd.log says "Setup complete".  Upon starting
of the service, hobbitlaunch.log says:


2008-07-10 11:20:46 hobbitlaunch starting

2008-07-10 11:20:46 Loading tasklist configuration from
/usr/bin/hobbit/server/etc/hobbitlaunch.cfg

2008-07-10 11:20:46 Loading hostnames

2008-07-10 11:20:46 Loading saved state

2008-07-10 11:20:46 Setting up network listener on 0.0.0.0:1984

2008-07-10 11:20:46 Setting up signal handlers

2008-07-10 11:20:46 Setting up hobbitd channels

2008-07-10 11:20:46 Setting up logfiles

2008-07-10 11:20:52 Task bbdisplay terminated by signal 6

2008-07-10 11:21:52 Task bbdisplay terminated by signal 6

2008-07-10 11:22:52 Task bbdisplay terminated by signal 6


The bbdisplay errors continue to occur every few minutes.

--Dan


*From:* Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid]
*Sent:* Thursday, July 10, 2008 10:55 AM


*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] Configuration question


On Thu, Jul 10, 2008 at 8:41 AM, Daniel Elswit <user-8d00d2826ff5@xymon.invalid> wrote:

 Strangely, bben –debug shows that it cooks right through the bb-hosts
file and then after the last line, aborts with no further information.
bbgen –version runs properly and shows the correct version.  I'm beginning
to wonder if the bbgen file itself is corrupted.


This is what I get in my bb-display.log after a restart.  The first two
lines below are the last two from bb-hosts - a blank comment line and an
include:

     2008-07-10 09:37:51 load_bbhosts: -- got line '#'
     2008-07-10 09:37:51 Opening file /home/hobbit/server/etc/ghosts.inc
     2008-07-10 09:37:51 load_state()
     2008-07-10 09:37:51 Transport setup is:
     2008-07-10 09:37:51 bbdportnumber = 1984
     2008-07-10 09:37:51 bbdispproxyhost = NONE
     2008-07-10 09:37:51 bbdispproxyport = 0
     2008-07-10 09:37:51 Recipient listed as '10.134.13.133'
     2008-07-10 09:37:51 Standard BB protocol on port 1984
     2008-07-10 09:37:51 Will connect to address 10.134.13.133 port 1984

Do you get the "load_state()" ??

Ralph Mitchell

list Daniel Elswit · Thu, 10 Jul 2008 15:34:57 -0400 ·
Yes, I get a slew of this sort of thing:

 
2008-07-10 12:38:49 init_state(svr1,cit,cornell,edu.trends, 19, ...)

2008-07-10 12:38:49 find_or_create_column(trends)

2008-07-10 12:38:49 init_state: hostname=svr1.cit.cornell.edu,
testname=trends, color=0, acked=0, age=, oldage=1, propagate=1, alert=0

2008-07-10 12:38:49 init_state(svr1,cit,cornell,edu.info, 134769712, ...)

2008-07-10 12:38:49 find_or_create_column(info)

2008-07-10 12:38:49 init_state: hostname=svr1.cit.cornell.edu,
testname=info, color=0, acked=0, age=, oldage=1, propagate=1, alert=0

2008-07-10 12:38:49 init_state(svr1,cit,cornell,edu.ntp, 134769712, ...)

2008-07-10 12:38:49 find_or_create_column(ntp)

2008-07-10 12:38:49 init_state: hostname=svr1.cit.cornell.edu, testname=ntp,
color=5, acked=0, age=1d22h09m, oldage=1, propagate=1, alert=0

2008-07-10 12:38:49 init_state(svr1,cit,cornell,edu.dns, 134769712, ...)

2008-07-10 12:38:49 find_or_create_column(dns)

2008-07-10 12:38:49 init_state: hostname= svr1.cit.cornell.edu,
testname=dns, color=0, acked=0, age=1d22h09m, oldage=1, propagate=1, alert=0

2008-07-10 12:38:49 init_state(svr1,cit,cornell,edu.conn, 134769712, ...)

2008-07-10 12:38:49 find_or_create_column(conn)

2008-07-10 12:38:49 init_state: hostname= svr1.cit.cornell.edu,
testname=conn, color=1, acked=0, age=1d22h10m, oldage=1, propagate=1,
alert=0

2008-07-10 12:38:49 init_state(cals-seaintir.trends, 134769712, ...)

2008-07-10 12:38:49 find_or_create_column(trends)

 
If I run the command below I don't get anything, but if I add "-debug" I
get:

 
2008-07-10 15:32:17 Transport setup is:

2008-07-10 15:32:17 bbdportnumber = 1984

2008-07-10 15:32:17 bbdispproxyhost = NONE

2008-07-10 15:32:17 bbdispproxyport = 0

2008-07-10 15:32:17 Recipient listed as 'localhost'

2008-07-10 15:32:17 Standard BB protocol on port 1984

2008-07-10 15:32:17 Will connect to address localhost port 1984

2008-07-10 15:32:17 Connect status is 0

2008-07-10 15:32:17 Sent 125 bytes

2008-07-10 15:32:17 Closing connection
quoted from Ralph Mitchell

 
--Dan

 
From: Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid] 
Sent: Thursday, July 10, 2008 3:08 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Configuration question

 
Do you get anything after the "close connection"??  I get a bunch of

   init_state(host,domain,com.test, -567484, ...)
   find_or_create_column(test)
   init_state: hostname=host.domain.com, testname=test, color=0......

one for each column for each host.  What do yuo get from this command:

   server/bin/bb localhost "hobbitdboard

fields=hostname,testname,color,flags,lastchange,logtime,validtime,acktime,di
sabletime,sender,cookie,line1,acklist"
quoted from Ralph Mitchell

That's all on one line.  It's what bbgen does immediately after logging
"load_state()"

Ralph


On Thu, Jul 10, 2008 at 12:30 PM, Daniel Elswit <user-8d00d2826ff5@xymon.invalid> wrote:

Ah. got it.  I see this:

 
2008-07-10 12:38:49 load_bbhosts: -- got line '10.35.80.51
test.cals.cornell.edu # noping dns ntp'

2008-07-10 12:38:49 init_host(test.cals.cornell.edu)

2008-07-10 12:38:49 load_state()

2008-07-10 12:38:49 Transport setup is:

2008-07-10 12:38:49 bbdportnumber = 1984

2008-07-10 12:38:49 bbdispproxyhost = NONE

2008-07-10 12:38:49 bbdispproxyport = 0

2008-07-10 12:38:49 Recipient listed as '10.253.209.163'

2008-07-10 12:38:49 Standard BB protocol on port 1984

2008-07-10 12:38:49 Will connect to address 10.253.209.163 port 1984

2008-07-10 12:38:49 Connect status is 0

2008-07-10 12:38:49 Sent 126 bytes

2008-07-10 12:38:49 Read 3601 bytes

2008-07-10 12:38:49 Closing connection

 
--Dan

 
From: Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid] 
Sent: Thursday, July 10, 2008 11:49 AM


To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Configuration question

 
OK.  What I did to get that log was: stop hobbit, change the bbdisplay entry
in server/etc/hobbitlaunch.cfg to read:

     CMD bbgen $BBGENOPTS --report --debug

then I renamed the bb-display.log file and restarted hobbit.  The log
fragment I posted came from the new bb-display.log during/after it read
through the bb-hosts file.

I guess you wouldn't need to stop/start Hobbit, as it's trying to launch
bbgen every minute...

Ralph

On Thu, Jul 10, 2008 at 10:30 AM, Daniel Elswit <user-8d00d2826ff5@xymon.invalid> wrote:

My bb-display.log has not updated in 2 days (not since I had an initial
problem related to a missing library that was resolved.)  I don't see any of
what you have below.  The hobbitd.log says "Setup complete".  Upon starting
of the service, hobbitlaunch.log says:

 
2008-07-10 11:20:46 hobbitlaunch starting

2008-07-10 11:20:46 Loading tasklist configuration from
/usr/bin/hobbit/server/etc/hobbitlaunch.cfg

2008-07-10 11:20:46 Loading hostnames

2008-07-10 11:20:46 Loading saved state

2008-07-10 11:20:46 Setting up network listener on 0.0.0.0:1984

2008-07-10 11:20:46 Setting up signal handlers

2008-07-10 11:20:46 Setting up hobbitd channels

2008-07-10 11:20:46 Setting up logfiles

2008-07-10 11:20:52 Task bbdisplay terminated by signal 6

2008-07-10 11:21:52 Task bbdisplay terminated by signal 6

2008-07-10 11:22:52 Task bbdisplay terminated by signal 6

 
The bbdisplay errors continue to occur every few minutes.

--Dan

 
From: Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid] 
Sent: Thursday, July 10, 2008 10:55 AM


To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Configuration question

 
On Thu, Jul 10, 2008 at 8:41 AM, Daniel Elswit <user-8d00d2826ff5@xymon.invalid> wrote:

Strangely, bben -debug shows that it cooks right through the bb-hosts file
and then after the last line, aborts with no further information.  bbgen
-version runs properly and shows the correct version.  I'm beginning to
wonder if the bbgen file itself is corrupted. 


This is what I get in my bb-display.log after a restart.  The first two
lines below are the last two from bb-hosts - a blank comment line and an
include:

     2008-07-10 09:37:51 load_bbhosts: -- got line '#'
     2008-07-10 09:37:51 Opening file /home/hobbit/server/etc/ghosts.inc
     2008-07-10 09:37:51 load_state()
     2008-07-10 09:37:51 Transport setup is:
     2008-07-10 09:37:51 bbdportnumber = 1984
     2008-07-10 09:37:51 bbdispproxyhost = NONE
     2008-07-10 09:37:51 bbdispproxyport = 0
     2008-07-10 09:37:51 Recipient listed as '10.134.13.133'
     2008-07-10 09:37:51 Standard BB protocol on port 1984
     2008-07-10 09:37:51 Will connect to address 10.134.13.133 port 1984

Do you get the "load_state()" ??

Ralph Mitchell
list Daniel Elswit · Mon, 14 Jul 2008 08:58:54 -0400 ·
Whew. finally got this working.  I ended up recompiling everything from
scratch and it worked perfectly the first time.  I had already done that
once, early on, but I guess the third time is the charm.  Anyway, thanks
everyone for all the very helpful information!
quoted from Daniel Elswit

 
--Dan

 
From: Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid] 
Sent: Thursday, July 10, 2008 3:08 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Configuration question

 
Do you get anything after the "close connection"??  I get a bunch of

   init_state(host,domain,com.test, -567484, ...)
   find_or_create_column(test)
   init_state: hostname=host.domain.com, testname=test, color=0......

one for each column for each host.  What do yuo get from this command:

   server/bin/bb localhost "hobbitdboard
fields=hostname,testname,color,flags,lastchange,logtime,validtime,acktime,di
sabletime,sender,cookie,line1,acklist"

That's all on one line.  It's what bbgen does immediately after logging
"load_state()"

Ralph


On Thu, Jul 10, 2008 at 12:30 PM, Daniel Elswit <user-8d00d2826ff5@xymon.invalid> wrote:

Ah. got it.  I see this:

 
2008-07-10 12:38:49 load_bbhosts: -- got line '10.35.80.51
test.cals.cornell.edu # noping dns ntp'

2008-07-10 12:38:49 init_host(test.cals.cornell.edu)

2008-07-10 12:38:49 load_state()

2008-07-10 12:38:49 Transport setup is:

2008-07-10 12:38:49 bbdportnumber = 1984

2008-07-10 12:38:49 bbdispproxyhost = NONE

2008-07-10 12:38:49 bbdispproxyport = 0

2008-07-10 12:38:49 Recipient listed as '10.253.209.163'

2008-07-10 12:38:49 Standard BB protocol on port 1984

2008-07-10 12:38:49 Will connect to address 10.253.209.163 port 1984

2008-07-10 12:38:49 Connect status is 0

2008-07-10 12:38:49 Sent 126 bytes

2008-07-10 12:38:49 Read 3601 bytes

2008-07-10 12:38:49 Closing connection

 
--Dan

 
From: Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid] 
Sent: Thursday, July 10, 2008 11:49 AM


To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Configuration question

 
OK.  What I did to get that log was: stop hobbit, change the bbdisplay entry
in server/etc/hobbitlaunch.cfg to read:

     CMD bbgen $BBGENOPTS --report --debug

then I renamed the bb-display.log file and restarted hobbit.  The log
fragment I posted came from the new bb-display.log during/after it read
through the bb-hosts file.

I guess you wouldn't need to stop/start Hobbit, as it's trying to launch
bbgen every minute...

Ralph

On Thu, Jul 10, 2008 at 10:30 AM, Daniel Elswit <user-8d00d2826ff5@xymon.invalid> wrote:

My bb-display.log has not updated in 2 days (not since I had an initial
problem related to a missing library that was resolved.)  I don't see any of
what you have below.  The hobbitd.log says "Setup complete".  Upon starting
of the service, hobbitlaunch.log says:

 
2008-07-10 11:20:46 hobbitlaunch starting

2008-07-10 11:20:46 Loading tasklist configuration from
/usr/bin/hobbit/server/etc/hobbitlaunch.cfg

2008-07-10 11:20:46 Loading hostnames

2008-07-10 11:20:46 Loading saved state

2008-07-10 11:20:46 Setting up network listener on 0.0.0.0:1984

2008-07-10 11:20:46 Setting up signal handlers

2008-07-10 11:20:46 Setting up hobbitd channels

2008-07-10 11:20:46 Setting up logfiles

2008-07-10 11:20:52 Task bbdisplay terminated by signal 6

2008-07-10 11:21:52 Task bbdisplay terminated by signal 6

2008-07-10 11:22:52 Task bbdisplay terminated by signal 6

 
The bbdisplay errors continue to occur every few minutes.

--Dan

 
From: Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid] 
Sent: Thursday, July 10, 2008 10:55 AM


To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Configuration question

 
On Thu, Jul 10, 2008 at 8:41 AM, Daniel Elswit <user-8d00d2826ff5@xymon.invalid> wrote:

Strangely, bben -debug shows that it cooks right through the bb-hosts file
and then after the last line, aborts with no further information.  bbgen
-version runs properly and shows the correct version.  I'm beginning to
wonder if the bbgen file itself is corrupted. 


This is what I get in my bb-display.log after a restart.  The first two
lines below are the last two from bb-hosts - a blank comment line and an
include:

     2008-07-10 09:37:51 load_bbhosts: -- got line '#'
     2008-07-10 09:37:51 Opening file /home/hobbit/server/etc/ghosts.inc
     2008-07-10 09:37:51 load_state()
     2008-07-10 09:37:51 Transport setup is:
     2008-07-10 09:37:51 bbdportnumber = 1984
     2008-07-10 09:37:51 bbdispproxyhost = NONE
     2008-07-10 09:37:51 bbdispproxyport = 0
     2008-07-10 09:37:51 Recipient listed as '10.134.13.133'
     2008-07-10 09:37:51 Standard BB protocol on port 1984
     2008-07-10 09:37:51 Will connect to address 10.134.13.133 port 1984

Do you get the "load_state()" ??

Ralph Mitchell