Can I ask how Hobbit was installed?  I'm curious to know if it was from source or a package.<br><br>Josh<br><br><div><span class="gmail_quote">On 1/10/08, <b class="gmail_sendername">Snyder, Howard</b> <<a href="mailto:HS3082@att.com">
HS3082@att.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









<div link="blue" vlink="purple" lang="EN-US">

<div>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Thanks for the info, I can to the same conclusion as you.  I
have found that the hobbit.sh script was pointing to a different directory the
where all the files were located:</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">more hobbit.sh</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">#!/bin/sh</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"># Startup script for the Hobbit monitor</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">#</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"># This starts the "hobbitlaunch" tool, which in turn
starts</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"># all of the other Hobbit server programs.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">case "`uname -s`" in</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">   "SunOS")</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">        ID=/usr/xpg4/bin/id</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">        ;;</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">   *)</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">        ID=id</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">        ;;</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">esac</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">if test `$ID -un` != hobbit</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">then</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">        echo "Hobbit
must be started as the hobbit user"</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">        exit 1</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">fi</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">case "$1" in</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">   "start")</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">        if test -s
/var/log/hobbit/hobbitlaunch.pid</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">        then</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">               
kill -0 `cat /var/log/hobbit/hobbitlaunch.pid`</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">               
if test $? -eq 0</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">               
then</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">                       
echo "Hobbit appears to be running, doing restart"</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">                       
$0 stop</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">               
else</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">                       
rm -f /var/log/hobbit/hobbitlaunch.pid</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">               
fi</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">        fi</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">##############################</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">## I have remarked out the next line and added a modified
version as a test.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">##</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">##      
/export/home/hobbit/server/bin/hobbitlaunch
--config=/export/home/hobbit/server/etc/hobbitlaunch.cfg --env=/export/home/h</span></p><span class="q">

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">obbit/server/etc/hobbitserver.cfg
--log=/var/log/hobbit/hobbitlaunch.log
--pidfile=/var/log/hobbit/hobbitlaunch.pid</span></p></span>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">##</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">##############################</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">       
/usr/lib/hobbit/server/bin/hobbitlaunch
--config=/usr/lib/hobbit/server/etc/hobbitlaunch.cfg
--env=/usr/lib/hobbit/server/</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">etc/hobbitserver.cfg --log=/var/log/hobbit/hobbit.launch.log
--pidfile=/var/log/hobbit/hobbitlaunch.pid</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">        echo "Hobbit
started"</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">        ;;</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">   "stop")</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">        if test -s
/var/log/hobbit/hobbitlaunch.pid</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">        then</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">               
kill -TERM `cat /var/log/hobbit/hobbitlaunch.pid`</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">               
echo "Hobbit stopped"</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">        else</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">               
echo "Hobbit is not running"</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">        fi</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">        rm -f
/var/log/hobbit/hobbitlaunch.pid</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">        ;;</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">   "status")</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">        if test -s
/var/log/hobbit/hobbitlaunch.pid</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">        then</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">               
kill -0 `cat /var/log/hobbit/hobbitlaunch.pid`</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">               
if test $? -eq 0</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">               
then</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">                       
echo "Hobbit (hobbitlaunch) running with PID `cat
/var/log/hobbit/hobbitlaunch.pid`"</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">               
else</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">                       
echo "Hobbit not running, removing stale PID file"</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">                       
rm -f /var/log/hobbit/hobbitlaunch.pid</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">               
fi</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">        else</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">               
echo "Hobbit (hobbitlaunch) does not appear to be running"</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">        fi</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">        ;;</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">   "restart")</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">        if test -s
/var/log/hobbit/hobbitlaunch.pid</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">        then</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">               
$0 stop</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">               
sleep 10</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">               
$0 start</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">        else</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">               
echo "hobbitlaunch does not appear to be running, starting it"</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">               
$0 start</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">I have checked all the locations listed and those files are
there.  This is what I'm getting in the log file:</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">2008-01-10 10:40:31 hobbitlaunch starting</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">2008-01-10 10:40:31 Loading tasklist configuration from
/usr/lib/hobbit/server/etc/hobbitlaunch.cfg</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">ld.so.1: hobbitd: fatal: libpcre.so.0: open failed: No such file
or directory</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">2008-01-10 10:40:36 Task hobbitd terminated by signal 9</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">ld.so.1: hobbitd: fatal: libpcre.so.0: open failed: No such file
or directory</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">2008-01-10 10:40:41 Task hobbitd terminated by signal 9</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">ld.so.1: hobbitd: fatal: libpcre.so.0: open failed: No such file
or directory</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">2008-01-10 10:40:46 Task hobbitd terminated by signal 9</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">ld.so.1: hobbitd: fatal: libpcre.so.0: open failed: No such file
or directory</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">2008-01-10 10:50:47 Task hobbitd terminated by signal 9</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">ld.so.1: hobbitd: fatal: libpcre.so.0: open failed: No such file
or directory</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">2008-01-10 10:50:52 Task hobbitd terminated by signal 9</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">ld.so.1: hobbitd: fatal: libpcre.so.0: open failed: No such file
or directory</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">2008-01-10 10:50:57 Task hobbitd terminated by signal 9</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">$  </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Any ideas?</span></p><span class="q">

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Thank you,</span><span style="font-size: 11pt; color: rgb(31, 73, 125);"></span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Howard Snyder</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"><a href="mailto:hs3082@att.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">hs3082@att.com</a>  </span><span style="font-size: 11pt; color: red;">
**NOTE NEW EMAIL ADDRESS**</span><span style="font-size: 11pt; color: red;"></span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Network Engineer III</span><span style="font-size: 11pt; color: rgb(31, 73, 125);"></span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Network Services</span><span style="font-size: 11pt; color: rgb(31, 73, 125);"></span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">404-531-5325</span><span style="font-size: 11pt; color: rgb(31, 73, 125);"></span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(0, 0, 204);">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
404.531.5325 and permanently delete the original and any copy thereof.</span><span style="font-size: 11pt; color: rgb(31, 73, 125);"></span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="color: black;">For
login requests and password resets, you will need to open a request on the
"My Logins" website:</span><span style="font-size: 10pt; color: rgb(0, 0, 204);"></span></p>

<p><span style="color: black;"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"><a href="https://nslogins.edc.cingular.net/login.cfm?CFID=13246&CFTOKEN=41726264" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"><span style="color: blue;">
https://nslogins.edc.cingular.net/login.cfm?CFID=13246&CFTOKEN=41726264</span></a></span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><i><span style="font-size: 11pt; color: rgb(31, 73, 125);">For OSS problems:</span></i></p>

<p><i><span style="font-size: 11pt; color: rgb(31, 73, 125);">DL-MNOC-OSS Adjunct</span></i></p>

<p><i><span style="font-size: 11pt; color: rgb(31, 73, 125);">DL-MNOC-OSS Siemens</span></i></p>

<p><i><span style="font-size: 11pt; color: rgb(31, 73, 125);">DL-MNOC-OSS Nortel</span></i></p>

<p><i><span style="font-size: 11pt; color: rgb(31, 73, 125);">DL-MNOC-OSS Nokia</span></i></p>

<p><i><span style="font-size: 11pt; color: rgb(31, 73, 125);">DL-MNOC-OSS Lucent</span></i></p>

<p><i><span style="font-size: 11pt; color: rgb(31, 73, 125);">DL-MNOC-OSS Ericsson</span></i><i><span style="font-size: 11pt; color: rgb(31, 73, 125);"></span></i></p>

<p><span style="font-size: 11pt;"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"><img alt="cid:image001.jpg@01C746B6.59D85350" border="0" height="57" width="197"></span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

</span><div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">

<p><span style="font-size: 10pt;">From:
Ralph Mitchell [mailto:<a href="mailto:ralphmitchell@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ralphmitchell@gmail.com</a>] <br>
Sent: Thursday, January 10, 2008 9:56 AM<br>
To: <a href="mailto:hobbit@hswn.dk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">hobbit@hswn.dk</a><span class="q"><br>
Subject: Re: [hobbit] Running Hobbit for the first time.</span></span></p>

</div>

<p> </p><div><span class="e" id="q_1176470a818c0622_7">

<p>On Jan 10, 2008 8:42 AM, Josh Luthman <<a href="mailto:josh@imaginenetworksllc.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">josh@imaginenetworksllc.com</a>>
wrote:</p>

<div>

<blockquote style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(204, 204, 204); border-width: medium medium medium 1pt; padding: 0in 0in 0in 6pt; margin-left: 4.8pt; margin-right: 0in;">


<p>Also be sure you're requesting /hobbit/</p>

</blockquote>

<div>

<p style="margin-bottom: 12pt;"><br>
Going back to the original email, I'd say it's not an Apache problem. 
After all, Apache *is* handing out a directory listing, which is correct
behaviour when there's no index.html file in the directory...  Which there
isn't.  There also isnt a bb.html or a bb2.html, both of which appear in
server/www when the page generator runs.<br>
<br>
So, probably Hobbit isn't running properly. <br>
<br>
My "ps -ef | grep hobbit" shows this (I've edited off the
uninteresting process ids and run times):<br>
<br>
/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 <br>
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= <a href="http://127.0.0.1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">127.0.0.1</a>
<a href="http://10.134.13.133" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">10.134.13.133</a> --store-clientlogs=!msgs<br>
hobbitd_channel --channel=stachg --log=/var/log/hobbit/history.log
hobbitd_history<br>
hobbitd_channel --channel=clichg --log=/var/log/hobbit/hostdata.log
hobbitd_hostdata <br>
hobbitd_channel --channel=page --log=/var/log/hobbit/page.log hobbitd_alert
--checkpoint-file=/home/hobbit/server/tmp/alert.chk --checkpoint-interval=600<br>
hobbitd_channel --channel=status --log=/var/log/hobbit/rrd-status.log
hobbitd_rrd --rrddir=/home/hobbit/data/rrd<br>
hobbitd_channel --channel=data --log=/var/log/hobbit/rrd-data.log hobbitd_rrd
--rrddir=/home/hobbit/data/rrd<br>
hobbitd_channel --channel=client --log=/var/log/hobbit/clientdata.log
hobbitd_client <br>
hobbitd_rrd --rrddir=/home/hobbit/data/rrd<br>
hobbitd_history<br>
hobbitd_client<br>
hobbitd_rrd --rrddir=/home/hobbit/data/rrd<br>
hobbitd_alert --checkpoint-file=/home/hobbit/server/tmp/alert.chk
--checkpoint-interval=600 <br>
hobbitd_hostdata<br>
<br>
Ralph Mitchell</p>

</div>

</div>

</span></div></div>

</div>


<br clear="all"></blockquote></div><br><br clear="all"><br>-- <br>Josh Luthman<br>Office: 937-552-2340<br>Direct: 937-552-2343<br>1100 Wayne St<br>Suite 1337<br>Troy, OH 45373<br><br>Those who don't understand UNIX are condemned to reinvent it, poorly.
<br>--- Henry Spencer