From owner-freebsd-questions Tue Aug 15 6:29:15 2000 Delivered-To: freebsd-questions@freebsd.org Received: from wasp.eng.ufl.edu (wasp.eng.ufl.edu [128.227.116.1]) by hub.freebsd.org (Postfix) with ESMTP id 02C3937B907 for ; Tue, 15 Aug 2000 06:29:12 -0700 (PDT) (envelope-from bob@eng.ufl.edu) Received: from eng.ufl.edu (scanner.engnet.ufl.edu [128.227.152.221]) by wasp.eng.ufl.edu (8.9.3/8.9.3) with ESMTP id JAA07734; Tue, 15 Aug 2000 09:29:03 -0400 (EDT) Message-ID: <3999459F.DF3A2E40@eng.ufl.edu> Date: Tue, 15 Aug 2000 09:29:03 -0400 From: Bob Johnson Organization: University of Florida X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: alisoylu@yahoo.com Cc: questions@freebsd.org Subject: Re: rc.d startup Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I haven't seen an answer to this go by, so here is my meager hint: I had a similar problem a month or to ago, and I finally found a message buried somewhere in a log file that said something to the effect that the script couldn't be started during the boot process because it was trying to attach to the console. I had to arrange things so that the background process was not attempting to attach to the console. I'm sorry I don't remember more details. I hope this at least gets you pointed in the right direction. - Bob > > Date: Sat, 12 Aug 2000 04:11:10 +0300 > From: "Ali Soylu" > Subject: rc.d startup > > I have a program that I need to run at startup, so I added a startup script in > /usr/local/etc/rc.d/ to start up the program. Here's the script: > > #!/bin/sh > cd /usr/infochat/ > /usr/local/jdk1.1.8/bin/java infostart & > > If I start this script from command line, the server starts up, but at boot > time it does not start. I know that the script is executed at start up. And > if I remove "&" it starts-up but stops the initialization process since it's > not running in the background. > > What might be causing the problem here? > > > > Thanks in advance, > Ali Soylu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message