Hobbit first timmer
list Howard Snyder
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?
list Galen Johnson
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?
list Howard Snyder
Thanks, I made this change and I still get the error. What is crle? Thank you, Howard Snyder user-e66ae0780d99@xymon.invalid **NOTE NEW EMAIL ADDRESS** Network Engineer III Network Services XXX-XXX-XXXX This email, and any attachments, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. It is the property of Cingular Wireless and its Affiliates. If you are not the intended recipient of this email, you are hereby notified that any dissemination, distribution or copying of this email, any attachments thereto, and any use of the information contained is strictly prohibited. If you have received this email in error, please notify me at XXX.XXX.XXXX and permanently delete the original and any copy thereof. For login requests and password resets, you will need to open a request on the "My Logins" website: https://nslogins.edc.cingular.net/login.cfm?CFID=13246&CFTOKEN=41726264 <https://nslogins.edc.cingular.net/login.cfm?CFID=13246&CFTOKEN=41726264
For OSS problems: DL-MNOC-OSS Adjunct DL-MNOC-OSS Siemens DL-MNOC-OSS Nortel DL-MNOC-OSS Nokia DL-MNOC-OSS Lucent DL-MNOC-OSS Ericsson
▸
From: Galen Johnson [mailto:user-87f955643e3d@xymon.invalid] Sent: Thursday, January 10, 2008 1:48 PM To: user-ae9b8668bcde@xymon.invalid Subject: RE: [hobbit] Hobbit first timmer 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?