From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,74db56c60d5ea449 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-10-11 03:41:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.cis.ohio-state.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: Joerg Bochert Newsgroups: comp.unix.tru64 Subject: Re: TC V5.1 & Apache 1.3.19 "went offline", why? Date: Thu, 11 Oct 2001 12:35:39 +0200 Organization: private Message-ID: <3BC575FB.90E0980A@t-online.de> References: <3BC48CDE.919F4EAA@t-online.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.t-online.com 1002796587 06 2316 fsTWS6kSra-VH 011011 10:36:27 X-Complaints-To: abuse@t-online.com X-Sender: 520081632196-0001@t-dialin.net X-Mailer: Mozilla 4.78 [en] (Win98; U) X-Accept-Language: en Xref: archiver1.google.com comp.unix.tru64:5233 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.