From owner-freebsd-alpha Wed Mar 27 2:10:31 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by hub.freebsd.org (Postfix) with ESMTP id 1230837B417 for ; Wed, 27 Mar 2002 02:10:27 -0800 (PST) Received: (from uucp@localhost) by srv1.cosmo-project.de (8.11.6/8.11.6) with UUCP id g2RAAF422790; Wed, 27 Mar 2002 11:10:15 +0100 (CET) (envelope-from ticso@cicely8.cicely.de) Received: from cicely8.cicely.de (cicely8.cicely.de [10.1.1.10]) by cicely5.cicely.de (8.12.1/8.12.1) with ESMTP id g2RA8r6e005924; Wed, 27 Mar 2002 11:08:53 +0100 (CET)?g (envelope-from ticso@cicely8.cicely.de) Received: from cicely8.cicely.de (localhost [127.0.0.1]) by cicely8.cicely.de (8.12.2/8.12.2) with ESMTP id g2RA8rnU020505; Wed, 27 Mar 2002 11:08:53 +0100 (CET) (envelope-from ticso@cicely8.cicely.de) Received: (from ticso@localhost) by cicely8.cicely.de (8.12.2/8.12.2/Submit) id g2RA8q0b020504; Wed, 27 Mar 2002 11:08:52 +0100 (CET) Date: Wed, 27 Mar 2002 11:08:52 +0100 From: Bernd Walter To: Rob B Cc: freebsd-alpha@FreeBSD.ORG Subject: Re: Seti not working on 4.5-STABLE Message-ID: <20020327100851.GI17565@cicely8.cicely.de> References: <5.1.0.14.2.20020314152904.01c3f940@pop.ozemail.com.au> <5.1.0.14.2.20020314152904.01c3f940@pop.ozemail.com.au> <5.1.0.14.2.20020327150951.00a78020@pop.ozemail.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.1.0.14.2.20020327150951.00a78020@pop.ozemail.com.au> User-Agent: Mutt/1.3.26i X-Operating-System: FreeBSD cicely8.cicely.de 5.0-CURRENT i386 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Mar 27, 2002 at 03:17:27PM +1100, Rob B wrote: > At 19:22 19/03/2002, Bernd Walter sent this up the stick: > >On Tue, Mar 19, 2002 at 02:07:05PM +1100, Rob B wrote: > >> Hi all, > >> > >> I'm trying to get the OSF1 client running, > > >> I do have the osf1 module loaded: > >> > >> erwin# kldstat > >> Id Refs Address Size Name > >> 1 3 0xfffffc0000300000 2dda68 kernel > >> 2 1 0xfffffe0000b70000 20000 osf1.ko > >> 3 1 0xfffffe0000b96000 28000 linux.ko > >> > >> I also get a similar result with the Linux client. Do I need any special > >> magic to get it to work? > > > >You may want to check your /etc/resolv.conf and /etc/hosts. > >AFAIK the osf1 libs are more sensible about propper syntax. > > Continuing on my little setiathome thread, I'm running it from cron thus: > > [root@erwin]/root: crontab -l > # Run setiathome, and check it every hour > 0 * * * * cd /usr/local/bin/seti-tru; > ./setiathome > /dev/null 2> /dev/null > > This is as suggested on the seti website. the issue with this is that the > lockfile (lock.sah) is not being respected by the client, and cron ends up > starting the setiathome process every hour. > > Is there a way to test whether the client is running, and not start a new > process of it if there is one? You could use /usr/bin/lockf to start the programm. E.G.: /usr/bin/lockf -t 1 -s ./seti.lock ./setiathome -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message