[hobbit] Hobbit first timmer

Galen Johnson Galen.Johnson at sas.com
Thu Jan 10 19:48:23 CET 2008


it should read
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib:/usr/sfw/lib.  Not
inside quotes.

 

You may also want to look at crle to avoid even having to do this.

 

=G=

 

From: Snyder, Howard [mailto:HS3082 at att.com] 
Sent: Thursday, January 10, 2008 1:39 PM
To: hobbit at hswn.dk
Subject: [hobbit] Hobbit first timmer

 

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/b9970c3b/attachment.html>


More information about the Xymon mailing list