[hobbit] Few processes after startup II - solved but apache problem
Rolf Schrittenlocher
Schrittenlocher at rz.uni-frankfurt.de
Tue Jan 3 14:49:09 CET 2006
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?
>>
>> thanks
>> Rolf
>>
>>> Hi,
>>>
>>> I rebuilt with hobbit-4.1.2p1. The effect is the same. The browser
>>> shows only the index. There were no compile errors. I suppose I am
>>> missing something obvious but I can't see it. Are there any other
>>> logs despite $BBLOGDIR? Thanks for hints where to look at!
>>> Rolf
>>>
>>> This was my first mail which didn't get an answer yet.
>>> Finally we want migrate from BB to Hobbit. I build hobbit_4.1.1 on
>>> Solaris 9 and started it. Only a part of the processes that should run
>>> are actually running. What is missing? Any help appreciated!
>>> kind regards
>>> Rolf
>>>
>>> hobbits processes: psx
>>> UID PID PPID C STIME TTY TIME CMD
>>> bb 12146 12145 0 11:14:09 ? 0:00 hobbitd
>>> --pidfile=/raid0/log/hobbit/hobbitd.pid --restart=/pica/ffm/com/sys/hob
>>> bb 12154 12152 0 11:14:14 ? 0:00 hobbitd_history
>>> bb 12152 12145 0 11:14:14 ? 0:00 hobbitd_channel
>>> --channel=stachg --log=/raid0/log/hobbit/history.log hobbitd_hi
>>> bb 12363 1 0 11:19:16 ? 0:00 sh -c vmstat 300 2
>>> 1>/pica/ffm/com/sys/hobbit/hobbit/client/tmp/hobbit_vmstat.1
>>> bb 12018 11571 0 11:13:44 pts/1 0:00 -bash
>>> bb 12364 12363 0 11:19:16 ? 0:00 vmstat 300 2
>>> bb 12145 1 0 11:14:09 ? 0:00
>>> /pica/ffm/com/sys/hobbit/hobbit/server/bin/hobbitlaunch
>>> --config=/pica/ffm/com/
>>>
>>> This is what hobbitlaunch.log says (There are no other logs):
>>> 2005-12-21 11:14:09 hobbitlaunch starting
>>> 2005-12-21 11:14:09 Loading tasklist configuration from
>>> /pica/ffm/com/sys/hobbit/hobbit/server/etc/hobbitlaunch. cfg
>>> 2005-12-21 11:14:09 Loading hostnames
>>> 2005-12-21 11:14:09 Loading saved state
>>> 2005-12-21 11:14:09 Setting up network listener on 0.0.0.0:1984
>>> 2005-12-21 11:14:09 Setting up signal handlers
>>> 2005-12-21 11:14:09 Setting up hobbitd channels
>>> 2005-12-21 11:14:09 Setting up logfiles
>>> 2005-12-21 11:14:19 Task bbnet terminated by signal 9
>>> 2005-12-21 11:14:19 Task bbcombotest terminated by signal 9
>>> 2005-12-21 11:14:19 Task bbdisplay terminated by signal 9
>>> 2005-12-21 11:14:19 Task clientdata terminated, status 1
>>> 2005-12-21 11:14:19 Task rrddata terminated, status 1
>>> 2005-12-21 11:14:19 Task rrdstatus terminated, status 1
>>> 2005-12-21 11:14:19 Task bbpage terminated, status 1
>>> ...
>>>
>>
>>
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>
--
Mit freundlichen Gruessen
Rolf Schrittenlocher
HRZ/BDV, Senckenberganlage 31, 60054 Frankfurt
Tel: (49) 69 - 798 28908 Fax: (49) 69 798 2881
LBS: lbs-f at mlist.uni-frankfurt.de
Persoenlich: schritte at rz.uni-frankfurt.de
More information about the Xymon
mailing list