[hobbit] Running Hobbit for the first time.

Snyder, Howard HS3082 at att.com
Thu Jan 10 16:57:58 CET 2008


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:

 

more hobbit.sh

#!/bin/sh

 

# Startup script for the Hobbit monitor

#

# This starts the "hobbitlaunch" tool, which in turn starts

# all of the other Hobbit server programs.

 

case "`uname -s`" in

   "SunOS")

        ID=/usr/xpg4/bin/id

        ;;

   *)

        ID=id

        ;;

esac

 

if test `$ID -un` != hobbit

then

        echo "Hobbit must be started as the hobbit user"

        exit 1

fi

 

case "$1" in

   "start")

        if test -s /var/log/hobbit/hobbitlaunch.pid

        then

                kill -0 `cat /var/log/hobbit/hobbitlaunch.pid`

                if test $? -eq 0

                then

                        echo "Hobbit appears to be running, doing
restart"

                        $0 stop

                else

                        rm -f /var/log/hobbit/hobbitlaunch.pid

                fi

        fi

##############################

## I have remarked out the next line and added a modified version as a
test.

##

##       /export/home/hobbit/server/bin/hobbitlaunch
--config=/export/home/hobbit/server/etc/hobbitlaunch.cfg
--env=/export/home/h

obbit/server/etc/hobbitserver.cfg --log=/var/log/hobbit/hobbitlaunch.log
--pidfile=/var/log/hobbit/hobbitlaunch.pid

##

##############################

        /usr/lib/hobbit/server/bin/hobbitlaunch
--config=/usr/lib/hobbit/server/etc/hobbitlaunch.cfg
--env=/usr/lib/hobbit/server/

etc/hobbitserver.cfg --log=/var/log/hobbit/hobbit.launch.log
--pidfile=/var/log/hobbit/hobbitlaunch.pid

        echo "Hobbit started"

        ;;

 

   "stop")

        if test -s /var/log/hobbit/hobbitlaunch.pid

        then

                kill -TERM `cat /var/log/hobbit/hobbitlaunch.pid`

                echo "Hobbit stopped"

        else

                echo "Hobbit is not running"

        fi

        rm -f /var/log/hobbit/hobbitlaunch.pid

        ;;

 

   "status")

        if test -s /var/log/hobbit/hobbitlaunch.pid

        then

                kill -0 `cat /var/log/hobbit/hobbitlaunch.pid`

                if test $? -eq 0

                then

                        echo "Hobbit (hobbitlaunch) running with PID
`cat /var/log/hobbit/hobbitlaunch.pid`"

                else

                        echo "Hobbit not running, removing stale PID
file"

                        rm -f /var/log/hobbit/hobbitlaunch.pid

                fi

        else

                echo "Hobbit (hobbitlaunch) does not appear to be
running"

        fi

        ;;

 

   "restart")

        if test -s /var/log/hobbit/hobbitlaunch.pid

        then

                $0 stop

                sleep 10

                $0 start

        else

                echo "hobbitlaunch does not appear to be running,
starting it"

                $0 start

 

 

I have checked all the locations listed and those files are there.  This
is what I'm getting in the log file:

 

2008-01-10 10:40:31 hobbitlaunch starting

2008-01-10 10:40:31 Loading tasklist configuration from
/usr/lib/hobbit/server/etc/hobbitlaunch.cfg

ld.so.1: hobbitd: fatal: libpcre.so.0: open failed: No such file or
directory

2008-01-10 10:40:36 Task hobbitd terminated by signal 9

ld.so.1: hobbitd: fatal: libpcre.so.0: open failed: No such file or
directory

2008-01-10 10:40:41 Task hobbitd terminated by signal 9

ld.so.1: hobbitd: fatal: libpcre.so.0: open failed: No such file or
directory

2008-01-10 10:40:46 Task hobbitd terminated by signal 9

ld.so.1: hobbitd: fatal: libpcre.so.0: open failed: No such file or
directory

2008-01-10 10:50:47 Task hobbitd terminated by signal 9

ld.so.1: hobbitd: fatal: libpcre.so.0: open failed: No such file or
directory

2008-01-10 10:50:52 Task hobbitd terminated by signal 9

ld.so.1: hobbitd: fatal: libpcre.so.0: open failed: No such file or
directory

2008-01-10 10:50:57 Task hobbitd terminated by signal 9

$  

 

 

Any ideas?

 

 

Thank you,

Howard Snyder

hs3082 at att.com  **NOTE NEW EMAIL ADDRESS**

Network Engineer III

Network Services

404-531-5325

 

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.

 

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: Ralph Mitchell [mailto:ralphmitchell at gmail.com] 
Sent: Thursday, January 10, 2008 9:56 AM
To: hobbit at hswn.dk
Subject: Re: [hobbit] Running Hobbit for the first time.

 

On Jan 10, 2008 8:42 AM, Josh Luthman <josh at imaginenetworksllc.com>
wrote:

	Also be sure you're requesting /hobbit/


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.

So, probably Hobbit isn't running properly. 

My "ps -ef | grep hobbit" shows this (I've edited off the uninteresting
process ids and run times):

/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 
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 10.134.13.133 --store-clientlogs=!msgs
hobbitd_channel --channel=stachg --log=/var/log/hobbit/history.log
hobbitd_history
hobbitd_channel --channel=clichg --log=/var/log/hobbit/hostdata.log
hobbitd_hostdata 
hobbitd_channel --channel=page --log=/var/log/hobbit/page.log
hobbitd_alert --checkpoint-file=/home/hobbit/server/tmp/alert.chk
--checkpoint-interval=600
hobbitd_channel --channel=status --log=/var/log/hobbit/rrd-status.log
hobbitd_rrd --rrddir=/home/hobbit/data/rrd
hobbitd_channel --channel=data --log=/var/log/hobbit/rrd-data.log
hobbitd_rrd --rrddir=/home/hobbit/data/rrd
hobbitd_channel --channel=client --log=/var/log/hobbit/clientdata.log
hobbitd_client 
hobbitd_rrd --rrddir=/home/hobbit/data/rrd
hobbitd_history
hobbitd_client
hobbitd_rrd --rrddir=/home/hobbit/data/rrd
hobbitd_alert --checkpoint-file=/home/hobbit/server/tmp/alert.chk
--checkpoint-interval=600 
hobbitd_hostdata

Ralph Mitchell

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20080110/fa6b41d1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2425 bytes
Desc: image001.jpg
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20080110/fa6b41d1/attachment.jpg>


More information about the Xymon mailing list