Date: Thu, 9 Aug 2001 09:35:54 +1200 From: Jonathan Chen <jonathan.chen@itouch.co.nz> To: KurtChen <kurt@dv8.com.tw> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: question about rc.conf Message-ID: <20010809093554.B16091@itouchnz.itouch> In-Reply-To: <00ca01c11ff0$3c19f230$b4a449d3@kurtchen>; from kurt@dv8.com.tw on Wed, Aug 08, 2001 at 05:55:19PM %2B0800 References: <00ca01c11ff0$3c19f230$b4a449d3@kurtchen>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010809093554.B16091>
