[Date Prev] [Date Next] | [Thread Prev] [Thread Next] | [Date Index] [Thread Index] |
Re: trouble with keep_alive script
|
That's a known bug in the code (if Vikas hasn't responded to you already). Edit the script and replace the following (around line 92 is the important test/if): [...] if [ -f ${PIDDIR}/${p}.pid ]; then PID=`head -1 ${PIDDIR}/${p}.pid` else PID="" fi if [ -z $PID ]; then pgmname=`basename $p`; [...] With: [...] if [ -f ${PIDDIR}/${p}.pid ]; then PID=`head -1 ${PIDDIR}/${p}.pid` else PID="" fi if [ "X${PID}" = "X" ]; then pgmname=`basename $p`; [...] Evidently it hasn't been placed in the distribution, yet... On Wed, 30 Sep 1998, Colin Eric Johnson wrote: > Date: Wed, 30 Sep 1998 16:57:24 -0600 (MDT) > From: Colin Eric Johnson <colinj@cs.unm.edu> > To: nocol-users@navya.com > Subject: trouble with keep_alive script > > > I've gotten nocol set up and I have the individual monitors running just > fine. When I try and use the keep_alive script I get this: > > longterm 38 % ./keepalive_monitors > ./keepalive_monitors: test: argument expected > > I've checked all of the variables in keepalive_monitors and I can't find > anything obviously wrong. > > This is on a Sun SparcServer 1000 > running Solaris 2.6 > > Any thoughts from folks? > > Colin E. Johnson | colinj@unm.edu | http://www.unm.edu/~colinj/ > ". . .so I simply point to where I keep the soul I have, right by the > exit, just next to the blues." --Nick Hornby _High_Fidelity_ > -- Russell M. Van Tassell Commercial Systems Corp. russell@cscorp.com http://www.cscorp.com/ Ph: 1-888/COMM-SYS |