Hobbit first timmer

Snyder, Howard HS3082 at att.com
Thu Jan 10 19:38:54 CET 2008


All,

 

I found this string on the web and I too added the below lines into
those files and it started working.  I'm still having a small problem in
that when I start Hobbit I get this: 

 

./hobbit.sh start

2008-01-10 13:24:27 xgetenv: Cannot find value for variable
LD_LIBRARY_PATH

Hobbit started

 

 

 

Hi Mark,

 

thanks - it works like a charme.
Rolf

 

Add this to ~hobbit/server/etc/hobbitcgi.cfg and hobbitserver.cfg:

 

LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/lib:/usr/sfw/lib"
export LD_LIBRARY_PATH

 

It will take care of the web and server processes. Also if you
compile with -R<path> it will hardcode the paths into the binary.

 

Cheers,
Mark

 

Rolf Schrittenlocher wrote:

 

Hi,


finally I got hobbit running by adding the paths for pcre,larrd and
other libs to LD_LIBRARY_PATH in .profile (solaris 9). I don't
understand why this was necessary as I provided these in the Makefile,
but it is working. Now I have the same problem with the webpages.
Detailed webpages fail, the apache log says:
ld.so.1: hobbitsvc.cgi: fatal: libpcre.so.0: open failed: No such file
or directory
[Tue Jan 03 11:50:11 2006] [error] [client 141.2.164.30] Premature end
of script headers: bb-hostsvc.sh, referer: http://lbs...
I don't like to make a .profile with the LD_LIB settings for the apache
user . Is there another way of providing those paths in an
environtment.cfg or something?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20080110/6117ad92/attachment.html>


More information about the Xymon mailing list