Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Joerg Bochert <joerg.bochert@t-online.de>
Subject: Re: TC V5.1 & Apache 1.3.19 "went offline", why?
Date: Thu, 11 Oct 2001 12:35:39 +0200	[thread overview]
Message-ID: <3BC575FB.90E0980A@t-online.de> (raw)
In-Reply-To: 3BC48CDE.919F4EAA@t-online.de

Thanks to Udo de Boer for the answer to that topic, and especially for his previous mail 
to the list where he noticed that some CAA examples reported in 
/var/cluster/caa/examples/
are faulty (at least the Apache and Samba). In the Apache.scr and Samba.scr the function 
probeapp() has a wrong if condition which avoids the proper functionality of the CAA 
application.

        probeapp () {
            checkdaemon $1
            if [ $? -ne 0 ]; then
                postevent $DEBUG_PRIORITY "$1 check OK"
                return 0
            else
                postevent $DEBUG_PRIORITY "$1 check failed"
                return 1
            fi
        }

The if MUST be set  
if [ $? -ne 1 ]; then 
to work properly.


      reply	other threads:[~2001-10-11 10:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-10 18:01 TC V5.1 & Apache 1.3.19 "went offline", why? Joerg Bochert
2001-10-11 10:35 ` Joerg Bochert [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox