From owner-freebsd-questions Wed Aug 8 14:36: 2 2001 Delivered-To: freebsd-questions@freebsd.org Received: from itouch.co.nz (itouch.co.nz [203.99.66.188]) by hub.freebsd.org (Postfix) with ESMTP id 9F35837B405 for ; Wed, 8 Aug 2001 14:35:59 -0700 (PDT) (envelope-from jonc@itouch.co.nz) Received: (from jonc@localhost) by itouch.co.nz (8.11.3/8.11.1) id f78LZtJ18835; Thu, 9 Aug 2001 09:35:55 +1200 (NZST) (envelope-from jonc) Date: Thu, 9 Aug 2001 09:35:54 +1200 From: Jonathan Chen To: KurtChen Cc: freebsd-questions@FreeBSD.ORG Subject: Re: question about rc.conf Message-ID: <20010809093554.B16091@itouchnz.itouch> References: <00ca01c11ff0$3c19f230$b4a449d3@kurtchen> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <00ca01c11ff0$3c19f230$b4a449d3@kurtchen>; from kurt@dv8.com.tw on Wed, Aug 08, 2001 at 05:55:19PM +0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Aug 08, 2001 at 05:55:19PM +0800, KurtChen wrote: > hello!! > i had config my rc.conf file. > cause i write a config in it . > > /bin/sh -c 'cd /usr/local/apache/bin ;./apachectl start A bad place to put this. Startups should should go into /usr/local/etc/rc.d. /etc/rc.conf gets invoked quite a few times (check out the rc* scripts), and the effect of this would be to attempt apache start-ups quite a few times. > but when i reboot , it monitor > > " > /etc/rc,conf : 16 : syntex error : unterminated quoted string > enter full pathname of shell for /bin/sh : > " > > i press enter, i can use some command.but i cannot edit the rc.conf file. > it say the rc.conf is a read only file.so how can i fix this. If you do a: # mount -a this will mount all your disks (you may have to fsck your disks) -- Jonathan Chen Once is dumb luck. Twice is coincidence. Three times and Somebody Is Trying To Tell You Something. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message