Xymon Mailing List Archive search

Hobbit first timmer

list Galen Johnson
Thu, 10 Jan 2008 13:48:23 -0500
Message-Id: <user-c20e399440ac@xymon.invalid>

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:user-e66ae0780d99@xymon.invalid] 
Sent: Thursday, January 10, 2008 1:39 PM
To: user-ae9b8668bcde@xymon.invalid
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?