<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
Henrik Stoerner wrote:
<blockquote cite="mid:20070716110054.GA6555@hswn.dk" type="cite">
  <pre wrap="">On Fri, Jul 13, 2007 at 06:47:08PM -0400, Steve wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">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
    </pre>
  </blockquote>
  <pre wrap=""><!---->
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.

  </pre>
</blockquote>
Owner is hobbit, file is being created and updated.<br>
<br>
-rw-r--r--   1 hobbit   staff       2221 Jul 16 07:40
/usr/local/hobbit/server/www/bb.html<br>
<br>
<br>
Here is trhe data.<br>
<tt><br>
hobbit@balboa [/usr/local/hobbit/server/bin]<br>
$ cat
/usr/local/hobbit/server/www/bb.html                                                     
<br>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><br>
<HTML><br>
<HEAD><br>
<META HTTP-EQUIV="REFRESH" CONTENT="60"><br>
<META HTTP-EQUIV="EXPIRES" CONTENT="Sat, 01 Jan 2001 00:00:00
GMT"><br>
<META HTTP-EQUIV="Set-Cookie" CONTENT="pagepath=; path=/"><br>
<META HTTP-EQUIV="Set-Cookie" CONTENT="host=; path=/"><br>
<TITLE>green : Hobbit - Status @ Mon Jul 16 07:42:03
2007</TITLE><br>
<br>
<!-- Styles for the menu bar --><br>
<link rel="stylesheet" type="text/css"
href="/hobbit/menu/menu.css"><br>
<br>
<!-- The favicon image --><br>
<link rel="shortcut icon" href="/hobbit/gifs/favicon-green.ico"><br>
<br>
</HEAD><br>
<br>
<BODY BGCOLOR="green" BACKGROUND="/hobbit/gifs/bkg-green.gif"
TEXT="#D8D8BF" LINK="#00FFAA" VLINK="#FFFF44"><br>
<br>
<TABLE SUMMARY="Topline" WIDTH="100%"><br>
<TR><TD HEIGHT=16>&nbsp;</TD></TR>  <!--
For the menu bar --><br>
<TR><br>
  <TD VALIGN=MIDDLE ALIGN=LEFT WIDTH="30%"><br>
    <FONT FACE="Arial, Helvetica" SIZE="+1"
COLOR="silver"><B>Hobbit</B></FONT><br>
  </TD><br>
  <TD VALIGN=MIDDLE ALIGN=CENTER WIDTH="40%"><br>
    <CENTER><FONT FACE="Arial, Helvetica" SIZE="+1"
COLOR="silver"><B>Current
Status</B></FONT></CENTER><br>
  </TD><br>
  <TD VALIGN=MIDDLE ALIGN=RIGHT WIDTH="30%"><br>
   <FONT FACE="Arial, Helvetica" SIZE="+1"
COLOR="silver"><B>Mon Jul 16 07:42:03
2007</B></FONT><br>
  </TD><br>
</TR><br>
<TR><br>
  <TD COLSPAN=3> <HR WIDTH="100%"> </TD><br>
</TR><br>
</TABLE><br>
<BR><br>
<br>
<A NAME=hosts-blk>&nbsp;</A><br>
<br>
<BR><BR><br>
<br>
<TABLE SUMMARY="Bottomline" WIDTH="100%"><br>
<TR><br>
  <TD> <HR WIDTH="100%"> </TD><br>
</TR><br>
<TR><br>
  <TD ALIGN=RIGHT><FONT FACE="Arial, Helvetica" SIZE="-2"
COLOR="silver"><B><A
HREF=<a class="moz-txt-link-rfc2396E" href="http://hobbitmon.sourceforge.net/">"http://hobbitmon.sourceforge.net/"</a> style="text-decoration:
none">Hobbit Monitor
4.2.0</A></B></FONT></TD><br>
</TR><br>
</TABLE><br>
<br>
<br>
<!-- menu script itself. you should not modify this file --><br>
<script type="text/javascript" language="JavaScript"
src="/hobbit/menu/menu.js"></script><br>
<!-- items structure. menu hierarchy and links are stored there
--><br>
<script type="text/javascript" language="JavaScript"
src="/hobbit/menu/menu_items.js"></script><br>
<!-- files with geometry and styles structures --><br>
<script type="text/javascript" language="JavaScript"
src="/hobbit/menu/menu_tpl.js"></script><br>
<script type="text/javascript" language="JavaScript"><br>
        new menu (MENU_ITEMS, MENU_POS);<br>
</script><br>
<br>
</BODY><br>
</HTML><br>
<br>
hobbit@balboa [/usr/local/hobbit/server/bin]<br>
</tt><br>
<blockquote cite="mid:20070716110054.GA6555@hswn.dk" type="cite">
  <pre wrap=""></pre>
  <blockquote type="cite">
    <pre wrap="">/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
    </pre>
  </blockquote>
  <pre wrap=""><!---->
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 ?

  </pre>
</blockquote>
It does repeat every minute.<br>
<blockquote cite="mid:20070716110054.GA6555@hswn.dk" type="cite">
  <pre wrap="">
What happens if you run this command as the hobbit user:

   bbcmd bbgen 

  </pre>
</blockquote>
Same as in the logs.<br>
<br>
<tt>hobbit@balboa [/usr/local/hobbit/server/bin]<br>
$ ./bbcmd bbgen<br>
<br>
2007-07-16 07:51:35 Using default environment file
/usr/local/hobbit/server/etc/hobbitserver.cfg<br>
2007-07-16 07:52:22 Whoops ! bb failed to send message - timeout<br>
2007-07-16 07:52:22 hobbitd status-board not available<br>
<br>
hobbit@balboa [/usr/local/hobbit/server/bin]<br>
$ <br>
</tt><br>
<blockquote cite="mid:20070716110054.GA6555@hswn.dk" type="cite">
  <pre wrap="">
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_<a class="moz-txt-link-freetext" href="PATH:/usr/local/lib">PATH:/usr/local/lib</a>
  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.

  </pre>
</blockquote>
I looked back at other hobbit monitors I installed here on Solaris and
found the cgi problem was resolved using the LD_LIBRARY_PATH.<br>
<br>
<blockquote cite="mid:20070716110054.GA6555@hswn.dk" type="cite">
  <pre wrap="">
Regards,
Henrik


To unsubscribe from the hobbit list, send an e-mail to
<a class="moz-txt-link-abbreviated" href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a>


  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Steve DiSorbo
System Programmer
Yale University ITS, AM&T Library Systems
Voice (203) 432-6694
Fax   (203) 436-4067
<a class="moz-txt-link-abbreviated" href="mailto:steve.disorbo@yale.edu">steve.disorbo@yale.edu</a>
<a class="moz-txt-link-freetext" href="http://www.library.yale.edu/">http://www.library.yale.edu/</a></pre>
</body>
</html>