[hobbit] no graph shown

Frauke Scholz fscholz at csc.com
Tue Jun 13 12:21:07 CEST 2006





Hi to all,


thank you for all your information.


The command
ldd /path/to/hobbitgraph.cgi
was very fine.

I have found the error.

I have now copied the librrd.o.0 to /usr/local/lib. It works now.
A link to the original file doesn't work. I don't know why. But this is a
solution.

Thank you.
Regards,



Frauke Scholz

CSC (Germany) Ltd.; MDS (Managed Desktop Services) Web & Middleware
Engineering
Wolfenbütteler Str. 86/Obergstr. 5
38102 Braunschweig
Germany
Phone: +49.5172.129279 or +49.531.224.1086
e-Mail: fscholz at csc.com
Internet: http://www.de.csc.com

Experience Results. Experience CSC.

__________________________________________________
Please note that this e-mail, including any attachments, contains
information that is subject to United States laws and regulations. The use
or further dissemination of these materials or information therein may be
prohibited by United States law.


--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------




                                                                           
             Charles Jones                                                 
             <jonescr at cisco.co                                             
             m>                                                         To 
                                       hobbit at hswn.dk                      
             12.06.2006 12:56                                           cc 
                                                                           
                                                                   Subject 
             Please respond to         Re: [hobbit] no graph shown         
              hobbit at hswn.dk                                               
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Try using "ldd" on the binary:
ldd /path/to/hobbitgraph.cgi

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.

You can keep checking the binary with ldd and once it shows that all the
libs are found, you should be good to go.

-Charles

Frauke Scholz wrote:



      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:

            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" \



      QUERY_STRING="host=YOUR.HOBBITSERVER.HOSTNAME&service=bbgen&graph=hourly&action=view"



             \
               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

      or

            directory
            Killed


      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.








More information about the Xymon mailing list