[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Running Hobbit for the first time.
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Running Hobbit for the first time.
- From: "Josh Luthman" <josh (at) imaginenetworksllc.com>
- Date: Thu, 10 Jan 2008 11:09:02 -0500
- References: <1F7B01020EC4D04DA17703634B9E888E05619B21 (at) ULPGCTMVMAI003.EU.COLT> <A26E1E3491C85A4FBE2116C14E52C15C11ED6AB9 (at) WWDCEXCH09.US.Cingular.Net> <6C2B32F89382AF42875672B6F5BEB6820506029A (at) MERCMBX07.na.sas.com> <961092e10801091151r2089963co2e0ec41c1e29d168 (at) mail.gmail.com> <A26E1E3491C85A4FBE2116C14E52C15C11ED6AC1 (at) WWDCEXCH09.US.Cingular.Net> <B3C956B8A338924E9DCA3102A7EB5B880EC4A32B (at) ailmail.ailife.com> <961092e10801100642l39c3f804ucbaac7dea154dfa3 (at) mail.gmail.com> <997a524e0801100656t7ac8b7e8r127ba6db9020f65 (at) mail.gmail.com> <A26E1E3491C85A4FBE2116C14E52C15C11ED6ACE (at) WWDCEXCH09.US.Cingular.Net>
Can I ask how Hobbit was installed? I'm curious to know if it was from
source or a package.
Josh
On 1/10/08, Snyder, Howard <HS3082 (at) att.com> wrote:
>
> 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
>
>
>
> *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***
>
>
>
>
>
> [image: cid:image001.jpg@01C746B6.59D85350]
>
>
>
> 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.loghobbitd_rrd --rrddir=/home/hobbit/data/rrd
> hobbitd_channel --channel=data --log=/var/log/hobbit/rrd-data.loghobbitd_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
>
>
--
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