<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Try using "ldd" on the binary:<br>
ldd /path/to/hobbitgraph.cgi<br>
<br>
It should show if there is a missing library. You then need to find
where you have that library (probably in /usr/local/lib) and add that
to your LD_LIBRARY_PATH, or, depending on your OS, edit your
/etc/ld.so.conf or equivalent, so that the library can be found.  As a
last resort you can just symlink the missing library to /usr/lib.<br>
<br>
You can keep checking the binary with ldd and once it shows that all
the libs are found, you should be good to go.<br>
<br>
-Charles<br>
<br>
Frauke Scholz wrote:
<blockquote
 cite="midOFF750B1F1.F57DB514-ONC1257188.00385C5A-C1257188.003869D6@csc.com"
 type="cite">
  <pre wrap="">


Hi Henrik,

I have set it, because there was a problem before.
Any other idea?


On Fri, Jun 09, 2006 at 11:37:49AM +0200, Frauke Scholz wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">If that appears to be all-right, I suspect that it might be some
RRDtool library problem. What happens if you run this on the
Hobbit server:

   REQUEST_METHOD="GET" \


    </pre>
  </blockquote>
  <pre wrap=""><!---->QUERY_STRING="host=YOUR.HOBBITSERVER.HOSTNAME&service=bbgen&graph=hourly&action=view"

  </pre>
  <blockquote type="cite">
    <pre wrap=""> \
   SCRIPT_NAME="hobbitgraph.sh" \
   ~hobbit/cgi-bin/hobbitgraph.sh

error message:
ld.so.1: hobbitgraph.cgi: fatal: librrd.so.0: open failed: No such file
    </pre>
  </blockquote>
  <pre wrap=""><!---->or
  </pre>
  <blockquote type="cite">
    <pre wrap="">directory
Killed
    </pre>
  </blockquote>
  <pre wrap=""><!---->
OK, that is your problem then. The hobbitgraph.cgi program cannot find
the rrdtool run-time library. You need to setup an LD_LIBRARY_PATH
setting that points to the location of your librrd.so.0 file. E.g if
you have it in /usr/local/lib then add the line

   LD_LIBRARY_PATH="/usr/local/lib"

to your ~hobbit/server/etc/hobbitserver.cfg file.


  </pre>
</blockquote>
<br>
</body>
</html>