From owner-freebsd-questions Tue Jul 14 22:23:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA19219 for freebsd-questions-outgoing; Tue, 14 Jul 1998 22:23:37 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA19214 for ; Tue, 14 Jul 1998 22:23:34 -0700 (PDT) (envelope-from andre.albsmeier@mchp.siemens.de) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer david.siemens.de) Received: from salomon.siemens.de (salomon.siemens.de [139.23.33.13]) by david.siemens.de (8.9.1/8.9.1) with ESMTP id HAA25109 for ; Wed, 15 Jul 1998 07:21:53 +0200 (MET DST) Received: from curry.mchp.siemens.de (daemon@curry.mchp.siemens.de [146.180.31.23]) by salomon.siemens.de (8.9.1/8.9.1) with ESMTP id HAA04253 for ; Wed, 15 Jul 1998 07:23:13 +0200 (MET DST) Received: (from daemon@localhost) by curry.mchp.siemens.de (8.8.8/8.8.8) id HAA08197 for ; Wed, 15 Jul 1998 07:23:15 +0200 (CEST) From: Andre Albsmeier Message-Id: <199807150523.HAA08014@internal> Subject: Re: RC5-64 client dies shortly after starting in /etc/rc.local In-Reply-To: from Patrick Gardella at "Jul 14, 98 04:26:24 pm" To: patrick@cre8tivegroup.com (Patrick Gardella) Date: Wed, 15 Jul 1998 07:23:05 +0200 (CEST) Cc: joelh@gnu.org, freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Why don't you try to get the latest version of the rc5des client? I know it > works, and you won't have to use /dev/null to catch messages, since it has a > quiet mode. > > ftp.distributed.net > > Patrick > > > > On 14-Jul-98 Joel Ray Holveck wrote: > > I'm a bit puzzled by this one. I'm running the RC5-64 client in > > /etc/rc.local with the command: > > > > echo -n ' rc564' > > nohup /home/joelh/rc56401/rc564 -runoffline > /dev/null 2> /dev/null \ > > < /dev/null & > > > > (The \ was added so I could fit it in the message. In the actual file > > it's one line.) > > > > I had been running just > > /home/joelh/rc56401/rc564 -runoffline > /dev/null > > but was having the same problems. I added the nohup, 2>, and < in an > > attempt to get it to quit dying. Same here (also with the newest client). Here it is being started from /usr/local/etc/rc.d and it dies shortly after being launched. However, adding a sleep before it helped a lot :-) Thats what I do: [ -d /usr/local/lib/dnet ] || exit 1 cd /usr/local/lib/dnet [ -x rc5des -a -r rc5des.ini ] || exit 1 [ -f /etc/rc.conf ] && . /etc/rc.conf b=rc5des [ "$linux_enable" = "YES" ] && b=rc5des.linux echo -n " rc5" PATH=$PATH:/usr/local/lib/dnet export PATH ( sleep 5 idprio 5 /usr/bin/su nobody -c "$b -ini rc5des.ini > logfile 2>&1 &" ) & -Andre P.S.: At the moment, I try run the linux client because it's faster on MMX... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message