<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1528" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=777352321-27022006><FONT face=Arial 
size=2>Hello,</FONT></SPAN></DIV>
<DIV><SPAN class=777352321-27022006><FONT face=Arial size=2>New to 
Hobbit...</FONT></SPAN></DIV>
<DIV><SPAN class=777352321-27022006><FONT face=Arial size=2>I cannot start 
hobbit via the service command.  When I try I get the following 
error:</FONT></SPAN></DIV>
<DIV><SPAN class=777352321-27022006><FONT face=Arial size=2>I type:  
service hobbit start</FONT></SPAN></DIV>
<DIV><SPAN class=777352321-27022006><FONT face=Arial size=2>Error 
is:</FONT></SPAN></DIV>
<DIV><SPAN class=777352321-27022006><FONT face=Arial size=2>Starting 
hobbit:  su:/bin/bash permission denied.</FONT></SPAN></DIV>
<DIV><SPAN class=777352321-27022006><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=777352321-27022006><FONT face=Arial size=2>When I tried to do 
this manually it works fine.</FONT></SPAN></DIV>
<DIV><SPAN class=777352321-27022006><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=777352321-27022006><FONT face=Arial size=2>#su - c 
"/usr/lib/hobbit/service/hobbit.sh start" - hobbit</FONT></SPAN></DIV>
<DIV><SPAN class=777352321-27022006><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=777352321-27022006><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=777352321-27022006><FONT face=Arial size=2>Any help is much 
appreciated</FONT></SPAN></DIV>
<DIV><SPAN class=777352321-27022006><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=777352321-27022006><FONT face=Arial 
size=2>Mike</FONT></SPAN></DIV>
<DIV><SPAN class=777352321-27022006><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=777352321-27022006><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=777352321-27022006><FONT face=Arial size=2>Here is my 
/etc/init.d/hobbit.sh file:</FONT></SPAN></DIV>
<DIV><SPAN class=777352321-27022006><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=777352321-27022006><FONT face=Arial size=2>#! /bin/sh<BR>#<BR># 
hobbit          This shell script 
takes care of starting and 
stopping<BR>#                 
hobbit(the Hobbit network monitor)<BR>#<BR># chkconfig: 2345 80 20<BR># 
description: hobbit is a network monitoring tool that allows \<BR># you to 
monitor hosts and services. The monitor status is available \<BR># via a 
webpage.</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=777352321-27022006><FONT face=Arial 
size=2>PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin<BR>DAEMON=/usr/lib/hobbit/server/hobbit.sh<BR>NAME=hobbit<BR>DESC=hobbit</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=777352321-27022006><FONT face=Arial size=2>test -x $DAEMON || 
exit 0</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=777352321-27022006><FONT face=Arial size=2># Include hobbit 
defaults if available<BR>if [ -f /etc/default/hobbit ] ; 
then<BR>        . 
/etc/default/hobbit<BR>fi</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=777352321-27022006><FONT face=Arial size=2>set 
-e</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=777352321-27022006><FONT face=Arial size=2>case "$1" 
in<BR>  start)<BR>        echo -n 
"Starting $DESC: "<BR>        su -c "$DAEMON 
start" - hobbit<BR>        echo 
"$NAME."<BR>        ;;<BR>  
stop)<BR>        echo -n "Stopping $DESC: 
"<BR>        su -c "$DAEMON stop" - 
hobbit<BR>        echo 
"$NAME."<BR>        ;;<BR>  
reload|force-reload)<BR>        echo 
"Reloading $DESC configuration 
files."<BR>        su -c "$DAEMON reload" - 
hobbit<BR>        echo 
"$NAME."<BR>          ;;<BR>  
restart)<BR>        echo -n "Restarting 
$DESC: "<BR>        su -c "$DAEMON restart" - 
hobbit<BR>        echo 
"$NAME."<BR>        ;;<BR>  
rotate)<BR>        echo -n "Rotating logs for 
$DESC: "<BR>        su -c "$DAEMON rotate" - 
hobbit<BR>        echo 
"$NAME."<BR>        ;;<BR>  
*)<BR>        
N=/etc/init.d/$NAME<BR>        # echo "Usage: 
$N {start|stop|restart|reload|force-reload}" 
>&2<BR>        echo "Usage: $N 
{start|stop|restart|force-reload}" 
>&2<BR>        exit 
1<BR>        ;;<BR>esac</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=777352321-27022006><FONT face=Arial size=2>exit 
0<BR></FONT></SPAN></DIV></BODY></HTML>