hobbitclient.sh on Solaris 10

Richard Wachter hobbit at richwachter.com
Mon May 21 16:10:52 CEST 2007


Hello all,
This is my first Hobbit client install and while it looks like all the
pieces are were they should be I keep getting this error message

/users/hobbit/bin/hobbitclient.sh:
/users/hobbit/bin/hobbitclient-TvoPT.sh: not found

I have tracked it down to the "uname -s" in the "hobbitclient.sh"
script.  While this seems to run fine as root, and as the hobbit use
if I su to hobbit.  It however doesn't like being started this way "
su - hobbit -c "/users/hobbit/runclient.sh start"

Here is the out put from the script with debugging turned on.

# $Id: hobbitclient.sh,v 1.17 2006/07/06 09:07:53 henrik Rel $

# Must make sure the commands return standard (english) texts.
LANG=C
LANG=C
LC_ALL=C
LC_ALL=C
LC_MESSAGES=C
LC_MESSAGES=C
export LANG LC_ALL LC_MESSAGES
+ export LANG LC_ALL LC_MESSAGES

LOCALMODE="no"
LOCALMODE=no
if test $# -ge 1; then
        if test "$1" = "--local"; then
                LOCALMODE="yes"
        fi
        shift
fi
+ test 0 -ge 1

if test "$BBOSSCRIPT" = ""; then
        BBOSSCRIPT="hobbitclient-`uname -s | tr '[A-Z]' '[a-z]'`.sh"
fi
+ test hobbitclient-TvoPT.sh =

MSGFILE="$BBTMP/msg.$MACHINEDOTS.txt"


Any help or ideas appreciated.
-- 
===================================
Richard Wachter
General Unix Geek
hobbit <at> richwachter.com
<><   Precariously perched on the precipice of another day . . .



More information about the Xymon mailing list