[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Hobbit Installation Issue
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Hobbit Installation Issue
- From: "Josh Luthman" <josh (at) imaginenetworksllc.com>
- Date: Tue, 18 Nov 2008 13:36:00 -0500
- References: <840947.69636.qm (at) web32508.mail.mud.yahoo.com> <81CBD533A4BA4976A7FF1FE05969AC58 (at) jasonsdell> <961092e10811171740x2a0a9aa6w7a3d02e1716f9a5e (at) mail.gmail.com> <466461.61001.qm (at) web32504.mail.mud.yahoo.com> <961092e10811180755o519526f5jbda5a04f43979855 (at) mail.gmail.com> <199afa060811180838t6e86a328tfa90726cffb044f0 (at) mail.gmail.com> <961092e10811180848k7758412cs4928af7f900d1060 (at) mail.gmail.com> <87244.200.qm (at) web32502.mail.mud.yahoo.com> <997a524e0811181015i69e8dcb0s844299442f9cd5e1 (at) mail.gmail.com> <860982.38835.qm (at) web32502.mail.mud.yahoo.com>
Try this...
sudo apt-get install pcre-dev
Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
On Tue, Nov 18, 2008 at 1:31 PM, Tanveer Siddiqui <tanveers (at) yahoo.com>wrote:
> In the /var/log/apache2/error.log file I see the following error:
>
> [Tue Nov 18 12:30:32 2008] [error] [client X.X.X.X] Premature end of script
> headers: bb-hostsvc.sh, referer: http://X.X.X.X/hobbit/
> /home/hobbit/server/bin/hobbitsvc.cgi: error while loading shared
> libraries: libpcre.so.0: cannot open shared object file: No such file or
> directory
>
>
> How can I fix this?
> Thanks.
>
>
>
> ------------------------------
> *From:* Ralph Mitchell <ralphmitchell (at) gmail.com>
> *To:* hobbit (at) hswn.dk
> *Sent:* Tuesday, November 18, 2008 12:15:12 PM
>
> *Subject:* Re: [hobbit] Hobbit Installation Issue
>
> Take a look in your Apache log directory. There should be an error_log
> file there with some useful information about what broke.
>
> Ralph Mitchell
>
>
> On Tue, Nov 18, 2008 at 11:39 AM, Tanveer Siddiqui <tanveers (at) yahoo.com>wrote:
>
>> I got it working :)
>>
>> Here's what I did, I checked /var/log/hobbit/bb-display.log file and there
>> I saw the following error message repeating over and over:
>>
>> bbgen: error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directory
>>
>> Did google on this error, and found that I needed to add:
>>
>> LD_LIBRARY_PATH=/usr/local/lib
>>
>> to hobbitserver.cfg, and then restart Hobbit.
>>
>> Which fixed my issue.
>>
>> But I have another question:
>>
>> When I click on the status icons. I get the following error. Is this normal?
>>
>>
>> Internal Server Error
>>
>> The server encountered an internal error or misconfiguration and was
>> unable to complete your request.
>>
>> Please contact the server administrator, webmaster (at) localhost and inform
>> them of the time the error occurred, and anything you might have done that
>> may have caused the error.
>>
>> More information about this error may be available in the server error
>> log.
>>
>>
>>
>>
>> ------------------------------
>> *From:* Josh Luthman <josh (at) imaginenetworksllc.com>
>> *To:* hobbit (at) hswn.dk
>> *Sent:* Tuesday, November 18, 2008 10:48:11 AM
>>
>> *Subject:* Re: [hobbit] Hobbit Installation Issue
>>
>> Note when I did a grep server\/www * in the server/etc/ directory I only
>> got the hobbit-apache.conf. My output is definitely in server/www.
>>
>> Josh Luthman
>> Office: 937-552-2340
>> Direct: 937-552-2343
>> 1100 Wayne St
>> Suite 1337
>> Troy, OH 45373
>>
>> Those who don't understand UNIX are condemned to reinvent it, poorly.
>> --- Henry Spencer
>>
>>
>> On Tue, Nov 18, 2008 at 11:38 AM, Larry Barber <lebarber (at) gmail.com>wrote:
>>
>>> Since you changed the home directory from /usr/local/hobbit to
>>> /home/hobbit, I suspect that there may still be something pointing to
>>> /usr/local/hobbit. Grep through the configuration files in the Xymon etc
>>> directory looking for anything pointing to /usr/local. You might also check
>>> the scripts in bin.
>>>
>>> Thanks,
>>> Larry Barber
>>>
>>>
>>> On Tue, Nov 18, 2008 at 9:55 AM, Josh Luthman <
>>> josh (at) imaginenetworksllc.com> wrote:
>>>
>>>> Apache is fine in this case. For whatever reason Xymon isn't outputting
>>>> html content in server/www
>>>>
>>>> I grep'ed through my config and I don't see where that is configurable.
>>>> It may be compiled in for all I know. Would you have the capability to
>>>> recompile the source?
>>>>
>>>> Josh Luthman
>>>> Office: 937-552-2340
>>>> Direct: 937-552-2343
>>>> 1100 Wayne St
>>>> Suite 1337
>>>> Troy, OH 45373
>>>>
>>>> Those who don't understand UNIX are condemned to reinvent it, poorly.
>>>> --- Henry Spencer
>>>>
>>>>
>>>> On Tue, Nov 18, 2008 at 10:34 AM, Tanveer Siddiqui <tanveers (at) yahoo.com>wrote:
>>>>
>>>>> I don't have any .html files in ~/server/www directory.
>>>>>
>>>>> Here's the 'ls -al' of the directory:
>>>>>
>>>>>
>>>>> hobbit (at) tidings:home/hobbit/server/www$ ls -al
>>>>> total 40
>>>>> drwxr-xr-x 10 hobbit hobbit 4096 2008-11-13 14:22 .
>>>>> drwxr-xr-x 9 hobbit hobbit 4096 2008-11-13 14:22 ..
>>>>> drwxr-xr-x 2 hobbit hobbit 4096 2008-11-13 14:22 gifs
>>>>> drwxr-xr-x 2 hobbit hobbit 4096 2008-11-13 14:22 help
>>>>> drwxr-xr-x 2 hobbit hobbit 4096 2008-11-13 14:22 html
>>>>> drwxr-xr-x 2 hobbit hobbit 4096 2008-11-13 14:22 menu
>>>>> drwxr-xr-x 2 hobbit hobbit 4096 2008-11-13 14:22 notes
>>>>> drwxrwxr-x 2 hobbit hobbit 4096 2008-11-13 14:22 rep
>>>>> drwxrwxr-x 2 hobbit hobbit 4096 2008-11-13 14:22 snap
>>>>> drwxr-xr-x 2 hobbit hobbit 4096 2008-11-13 14:22 wml
>>>>>
>>>>>
>>>>> Contents (related to hobbit) of my /etc/apache2/apache2.conf files are:
>>>>>
>>>>> ######################## H O B B I T ########################
>>>>> # Add this to your Apache configuration, it makes
>>>>> # the Hobbit webpages and cgi-scripts available in the
>>>>> # "/hobbit" and "/hobbit-cgi" URLs.
>>>>>
>>>>>
>>>>> # NB: The "Alias" line below must NOT be used if you have
>>>>> # the Hobbit webfiles as the root URL. In that case,
>>>>> # you should instead set this:
>>>>> #
>>>>> # DocumentRoot /home/hobbit/server/www
>>>>>
>>>>> Alias /hobbit/ "/home/hobbit/server/www/"
>>>>> <Directory "/home/hobbit/server/www">
>>>>> Options Indexes FollowSymLinks Includes MultiViews
>>>>> Order allow,deny
>>>>> Allow from all
>>>>> </Directory>
>>>>>
>>>>> ScriptAlias /hobbit-cgi/ "/home/hobbit/cgi-bin/"
>>>>> <Directory "/home/hobbit/cgi-bin">
>>>>> AllowOverride None
>>>>> Options ExecCGI Includes
>>>>> Order allow,deny
>>>>> Allow from all
>>>>> </Directory>
>>>>>
>>>>> ScriptAlias /hobbit-seccgi/ "/home/hobbit/cgi-secure/"
>>>>> <Directory "/home/hobbit/cgi-secure">
>>>>> AllowOverride None
>>>>> Options ExecCGI Includes
>>>>> Order allow,deny
>>>>> Allow from all
>>>>>
>>>>> # Password file where users with access to these scripts are kept.
>>>>> # Create it with "htpasswd -c /home/hobbit/server/etc/hobbitpasswd
>>>>> USERNAME"
>>>>> # Add more users / change passwords with "htpasswd
>>>>> /home/hobbit/server/etc/hobbitpasswd USERNAME"
>>>>> #
>>>>> # You can also use a group file to restrict admin access to members
>>>>> of a
>>>>> # group, instead of anyone who is logged in. In that case you must
>>>>> setup
>>>>> # the "hobbitgroups" file, and change the "Require" settings to
>>>>> require
>>>>> # a specific group membership. See the Apache docs for more
>>>>> details.
>>>>>
>>>>> AuthUserFile /home/hobbit/server/etc/hobbitpasswd
>>>>> AuthGroupFile /home/hobbit/server/etc/hobbitgroups
>>>>> AuthType Basic
>>>>> AuthName "Hobbit Administration"
>>>>>
>>>>> # "valid-user" restricts access to anyone who is logged in.
>>>>> Require valid-user
>>>>>
>>>>> # "group admins" restricts access to users who have logged in, AND
>>>>> # are members of the "admins" group in hobbitgroups.
>>>>> # Require group admins
>>>>>
>>>>> </Directory>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------
>>>>> *From:* Josh Luthman <josh (at) imaginenetworksllc.com>
>>>>> *To:* hobbit (at) hswn.dk
>>>>> *Sent:* Monday, November 17, 2008 7:40:54 PM
>>>>>
>>>>> *Subject:* Re: [hobbit] Hobbit Installation Issue
>>>>>
>>>>> index.html will be created - it is a softlink to bb.html
>>>>>
>>>>> Josh Luthman
>>>>> Office: 937-552-2340
>>>>> Direct: 937-552-2343
>>>>> 1100 Wayne St
>>>>> Suite 1337
>>>>> Troy, OH 45373
>>>>>
>>>>> Those who don't understand UNIX are condemned to reinvent it, poorly.
>>>>> --- Henry Spencer
>>>>>
>>>>>
>>>>> On Mon, Nov 17, 2008 at 8:31 PM, Jason Hand <jason (at) hands4christ.org>wrote:
>>>>>
>>>>>> Are you doing \hobbit\bb.html ?
>>>>>>
>>>>>> That is what mine is.
>>>>>>
>>>>>> Try that and see if it works for you.
>>>>>>
>>>>>> Thanks,
>>>>>> Jason
>>>>>>
>>>>>> ------------------------------
>>>>>> *From:* Josh Luthman [mailto:josh (at) imaginenetworksllc.com]
>>>>>> *Sent:* Monday, November 17, 2008 6:08 PM
>>>>>> *To:* hobbit (at) hswn.dk
>>>>>>
>>>>>> *Subject:* Re: [hobbit] Hobbit Installation Issue
>>>>>>
>>>>>> If the processes are running and you're not filling that directory
>>>>>> with index/bb/bb2.html files then you probably have the output directory set
>>>>>> to another directory then where that Alias (or Vhost) is pointing.
>>>>>>
>>>>>> As was mentioned you do have to wait a good minute or two before that
>>>>>> directory is populated. In my experience I never have that wait as I wait
>>>>>> between every step to accomplish something else.
>>>>>>
>>>>>> Josh Luthman
>>>>>> Office: 937-552-2340
>>>>>> Direct: 937-552-2343
>>>>>> 1100 Wayne St
>>>>>> Suite 1337
>>>>>> Troy, OH 45373
>>>>>>
>>>>>> Those who don't understand UNIX are condemned to reinvent it, poorly.
>>>>>> --- Henry Spencer
>>>>>>
>>>>>>
>>>>>> On Mon, Nov 17, 2008 at 5:32 PM, Ralph Mitchell <
>>>>>> ralphmitchell (at) gmail.com> wrote:
>>>>>>
>>>>>>> It can take a minute or two for the page generator to produce that
>>>>>>> first page. Are you still getting that directory listing??
>>>>>>>
>>>>>>> Ralph Mitchell
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Nov 17, 2008 at 4:27 PM, Tanveer Siddiqui <
>>>>>>> tanveers (at) yahoo.com> wrote:
>>>>>>>
>>>>>>>> Yes, Hobbit is running. I have the following processes running.
>>>>>>>>
>>>>>>>> hobbit 4727 1 0 13:58 ? 00:00:00
>>>>>>>> /home/hobbit/server/bin/hobbitlaunch
>>>>>>>> --config=/home/hobbit/server/etc/hobbitlaunch.cfg
>>>>>>>> --env=/home/hobbit/server/etc/hobbitserver.cfg
>>>>>>>> --log=/var/log/hobbit/hobbitlaunch.log
>>>>>>>> --pidfile=/var/log/hobbit/hobbitlaunch.pid
>>>>>>>> hobbit 4728 4727 0 13:58 ? 00:00:00 hobbitd
>>>>>>>> --pidfile=/var/log/hobbit/hobbitd.pid
>>>>>>>> --restart=/home/hobbit/server/tmp/hobbitd.chk
>>>>>>>> --checkpoint-file=/home/hobbit/server/tmp/hobbitd.chk
>>>>>>>> --checkpoint-interval=600 --log=/var/log/hobbit/hobbitd.log --admin-senders=
>>>>>>>> 127.0.0.1 155.17.120.87 --store-clientlogs=!msgs
>>>>>>>> hobbit 4729 4727 0 13:58 ? 00:00:00 hobbitd_channel
>>>>>>>> --channel=stachg --log=/var/log/hobbit/history.log hobbitd_history
>>>>>>>> hobbit 4730 4727 0 13:58 ? 00:00:00 hobbitd_channel
>>>>>>>> --channel=clichg --log=/var/log/hobbit/hostdata.log hobbitd_hostdata
>>>>>>>> hobbit 4731 4729 0 13:58 ? 00:00:00 hobbitd_history
>>>>>>>> hobbit 4732 4730 0 13:58 ? 00:00:00 hobbitd_hostdata
>>>>>>>> hobbit 4733 4727 0 13:58 ? 00:00:00 hobbitd_channel
>>>>>>>> --channel=page --log=/var/log/hobbit/page.log hobbitd_alert
>>>>>>>> --checkpoint-file=/home/hobbit/server/tmp/alert.chk
>>>>>>>> --checkpoint-interval=600
>>>>>>>> hobbit 4734 4733 0 13:58 ? 00:00:00 hobbitd_alert
>>>>>>>> --checkpoint-file=/home/hobbit/server/tmp/alert.chk
>>>>>>>> --checkpoint-interval=600
>>>>>>>> hobbit 4735 4727 0 13:58 ? 00:00:00 hobbitd_channel
>>>>>>>> --channel=status --log=/var/log/hobbit/rrd-status.log hobbitd_rrd
>>>>>>>> --rrddir=/home/hobbit/data/rrd
>>>>>>>> hobbit 4736 4727 0 13:58 ? 00:00:00 hobbitd_channel
>>>>>>>> --channel=data --log=/var/log/hobbit/rrd-data.log hobbitd_rrd
>>>>>>>> --rrddir=/home/hobbit/data/rrd
>>>>>>>> hobbit 4737 4735 0 13:58 ? 00:00:00 hobbitd_rrd
>>>>>>>> --rrddir=/home/hobbit/data/rrd
>>>>>>>> hobbit 4738 4736 0 13:58 ? 00:00:00 hobbitd_rrd
>>>>>>>> --rrddir=/home/hobbit/data/rrd
>>>>>>>> hobbit 4739 4727 0 13:58 ? 00:00:00 hobbitd_channel
>>>>>>>> --channel=client --log=/var/log/hobbit/clientdata.log hobbitd_client
>>>>>>>> hobbit 4741 4739 0 13:58 ? 00:00:00 hobbitd_client
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ------------------------------
>>>>>>>> *From:* Josh Luthman <josh (at) imaginenetworksllc.com>
>>>>>>>> *To:* hobbit (at) hswn.dk
>>>>>>>> *Sent:* Monday, November 17, 2008 2:30:55 PM
>>>>>>>> *Subject:* Re: [hobbit] Hobbit Installation Issue
>>>>>>>>
>>>>>>>> Is *xymon* running? Look for ps named "hobbit"
>>>>>>>>
>>>>>>>> ps aux|grep hobb
>>>>>>>>
>>>>>>>> Josh Luthman
>>>>>>>> Office: 937-552-2340
>>>>>>>> Direct: 937-552-2343
>>>>>>>> 1100 Wayne St
>>>>>>>> Suite 1337
>>>>>>>> Troy, OH 45373
>>>>>>>>
>>>>>>>> Those who don't understand UNIX are condemned to reinvent it,
>>>>>>>> poorly.
>>>>>>>> --- Henry Spencer
>>>>>>>>
>>>>>>>>
>>>>>>>> On Mon, Nov 17, 2008 at 3:26 PM, Tanveer Siddiqui <
>>>>>>>> tanveers (at) yahoo.com> wrote:
>>>>>>>>
>>>>>>>>> Hello everyone,
>>>>>>>>>
>>>>>>>>> For the first time, I am trying to install Hobbit on my Ubuntu
>>>>>>>>> Linux Server. I followed the installation instructions provided on
>>>>>>>>> http://hobbitmon.sourceforge.net/
>>>>>>>>>
>>>>>>>>> Every step went fine but when I started hobbit and typed in the
>>>>>>>>> hobbit address [ http://server-ip/hobbit/ ] in the browser,
>>>>>>>>> instead of getting the main page, I get the directory structure (see below)?
>>>>>>>>> What am I missing here?
>>>>>>>>> Please assist. Thank you!
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Index of /hobbit [image: [ICO]] Name<http://155.17.120.87/hobbit/?C=N;O=D> Last
>>>>>>>>> modified <http://155.17.120.87/hobbit/?C=M;O=A> Size<http://155.17.120.87/hobbit/?C=S;O=A>
>>>>>>>>> Description <http://155.17.120.87/hobbit/?C=D;O=A>
>>>>>>>>> ------------------------------
>>>>>>>>> [image: [DIR]] Parent Directory <http://155.17.120.87/> - [image:
>>>>>>>>> [DIR]] gifs/ <http://155.17.120.87/hobbit/gifs/> 13-Nov-2008 14:22
>>>>>>>>> - [image: [DIR]] help/ <http://155.17.120.87/hobbit/help/> 13-Nov-2008
>>>>>>>>> 14:22 - [image: [DIR]] html/ <http://155.17.120.87/hobbit/html/> 13-Nov-2008
>>>>>>>>> 14:22 - [image: [DIR]] menu/ <http://155.17.120.87/hobbit/menu/> 13-Nov-2008
>>>>>>>>> 14:22 - [image: [DIR]] notes/<http://155.17.120.87/hobbit/notes/> 13-Nov-2008
>>>>>>>>> 14:22 - [image: [DIR]] rep/ <http://155.17.120.87/hobbit/rep/> 13-Nov-2008
>>>>>>>>> 14:22 - [image: [DIR]] snap/ <http://155.17.120.87/hobbit/snap/> 13-Nov-2008
>>>>>>>>> 14:22 - [image: [DIR]] wml/ <http://155.17.120.87/hobbit/wml/> 13-Nov-2008
>>>>>>>>> 14:22 -
>>>>>>>>> ------------------------------
>>>>>>>>> Apache/2.2.8 (Ubuntu) Server at x.x.x.x Port 80
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>> No virus found in this incoming message.
>>>>>> Checked by AVG - http://www.avg.com
>>>>>> Version: 8.0.175 / Virus Database: 270.9.4/1795 - Release Date:
>>>>>> 11/17/2008 5:24 PM
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>>
>
>