[hobbit] No bbdisplay
Steve
Steve.DiSorbo at yale.edu
Mon Jul 16 13:54:31 CEST 2007
Henrik Stoerner wrote:
> On Fri, Jul 13, 2007 at 06:47:08PM -0400, Steve wrote:
>
>> I just installed hobbit monitor 4.2.0 on Solaris 8, hobbit starts fine,
>> but bb.html remains blank, I tired bb2.html and bbnk.html and there is
>> data there. Also tried cgi script find a host, but probably has nothing
>> to do with the main display page, bb.html
>>
>
> This file is created in ~hobbit/data/www/bb.html. Could you see if that
> file is being created, if it is being updated, and whether it contains
> any data ? While you're at it, check permissions on the file - it should
> be writable by the hobbit userid.
>
>
Owner is hobbit, file is being created and updated.
-rw-r--r-- 1 hobbit staff 2221 Jul 16 07:40
/usr/local/hobbit/server/www/bb.html
Here is trhe data.
hobbit at balboa [/usr/local/hobbit/server/bin]
$ cat
/usr/local/hobbit/server/www/bb.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="REFRESH" CONTENT="60">
<META HTTP-EQUIV="EXPIRES" CONTENT="Sat, 01 Jan 2001 00:00:00 GMT">
<META HTTP-EQUIV="Set-Cookie" CONTENT="pagepath=; path=/">
<META HTTP-EQUIV="Set-Cookie" CONTENT="host=; path=/">
<TITLE>green : Hobbit - Status @ Mon Jul 16 07:42:03 2007</TITLE>
<!-- Styles for the menu bar -->
<link rel="stylesheet" type="text/css" href="/hobbit/menu/menu.css">
<!-- The favicon image -->
<link rel="shortcut icon" href="/hobbit/gifs/favicon-green.ico">
</HEAD>
<BODY BGCOLOR="green" BACKGROUND="/hobbit/gifs/bkg-green.gif"
TEXT="#D8D8BF" LINK="#00FFAA" VLINK="#FFFF44">
<TABLE SUMMARY="Topline" WIDTH="100%">
<TR><TD HEIGHT=16> </TD></TR> <!-- For the menu bar -->
<TR>
<TD VALIGN=MIDDLE ALIGN=LEFT WIDTH="30%">
<FONT FACE="Arial, Helvetica" SIZE="+1"
COLOR="silver"><B>Hobbit</B></FONT>
</TD>
<TD VALIGN=MIDDLE ALIGN=CENTER WIDTH="40%">
<CENTER><FONT FACE="Arial, Helvetica" SIZE="+1"
COLOR="silver"><B>Current Status</B></FONT></CENTER>
</TD>
<TD VALIGN=MIDDLE ALIGN=RIGHT WIDTH="30%">
<FONT FACE="Arial, Helvetica" SIZE="+1" COLOR="silver"><B>Mon Jul 16
07:42:03 2007</B></FONT>
</TD>
</TR>
<TR>
<TD COLSPAN=3> <HR WIDTH="100%"> </TD>
</TR>
</TABLE>
<BR>
<A NAME=hosts-blk> </A>
<BR><BR>
<TABLE SUMMARY="Bottomline" WIDTH="100%">
<TR>
<TD> <HR WIDTH="100%"> </TD>
</TR>
<TR>
<TD ALIGN=RIGHT><FONT FACE="Arial, Helvetica" SIZE="-2"
COLOR="silver"><B><A HREF="http://hobbitmon.sourceforge.net/"
style="text-decoration: none">Hobbit Monitor 4.2.0</A></B></FONT></TD>
</TR>
</TABLE>
<!-- menu script itself. you should not modify this file -->
<script type="text/javascript" language="JavaScript"
src="/hobbit/menu/menu.js"></script>
<!-- items structure. menu hierarchy and links are stored there -->
<script type="text/javascript" language="JavaScript"
src="/hobbit/menu/menu_items.js"></script>
<!-- files with geometry and styles structures -->
<script type="text/javascript" language="JavaScript"
src="/hobbit/menu/menu_tpl.js"></script>
<script type="text/javascript" language="JavaScript">
new menu (MENU_ITEMS, MENU_POS);
</script>
</BODY>
</HTML>
hobbit at balboa [/usr/local/hobbit/server/bin]
>> /var/log/hobbit/bb-display.log
>> ::::::::::::::
>> 2007-07-13 18:05:40 Whoops ! bb failed to send message - timeout
>> 2007-07-13 18:05:40 hobbitd status-board not available
>>
>
> This may happen once when Hobbit is started, but it is a problem if
> it shows up every time bbgen runs (once a minute). Does it ?
>
>
It does repeat every minute.
> What happens if you run this command as the hobbit user:
>
> bbcmd bbgen
>
>
Same as in the logs.
hobbit at balboa [/usr/local/hobbit/server/bin]
$ ./bbcmd bbgen
2007-07-16 07:51:35 Using default environment file
/usr/local/hobbit/server/etc/hobbitserver.cfg
2007-07-16 07:52:22 Whoops ! bb failed to send message - timeout
2007-07-16 07:52:22 hobbitd status-board not available
hobbit at balboa [/usr/local/hobbit/server/bin]
$
> The problem with your CGI programs is probably the /usr/local/lib
> not being in the default library search path. Simplest solution is
> to use the "crle" utility to add /usr/local/lib to the system default
> library search path. Alternatively, put
> LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
> export LD_LIBRARY_PATH
> in /etc/hobbit/hobbitcgi.cfg. You can also put that LD_LIBRARY_PATH
> setting into hobbitserver.cfg (without the "export" line) for the
> benefit of the other Hobbit utilities.
>
>
I looked back at other hobbit monitors I installed here on Solaris and
found the cgi problem was resolved using the LD_LIBRARY_PATH.
> Regards,
> Henrik
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>
--
Steve DiSorbo
System Programmer
Yale University ITS, AM&T Library Systems
Voice (203) 432-6694
Fax (203) 436-4067
steve.disorbo at yale.edu
http://www.library.yale.edu/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20070716/3d073e07/attachment.html>
More information about the Xymon
mailing list