Date: Wed, 8 Aug 2001 08:18:53 -0700 From: "Joe Knapp" <jknapp@harborside.com> To: "KurtChen" <kurt@dv8.com.tw> Cc: <freebsd-questions@FreeBSD.ORG> Subject: RE: question about rc.conf Message-ID: <ALEAKGJBDNBPBFJGPKOKGECHCAAA.jknapp@harborside.com> In-Reply-To: <00ca01c11ff0$3c19f230$b4a449d3@kurtchen>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_0012_01C11FE2.C2FE9A20 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 7bit Hi Kurt, Just so happens I had this exact same problem last night. The solution is to hit enter to get a prompt, unmount everything using umount -a then remount everything using mount -a. You should then be able to ee /etc/rc.conf (or vi if you prefer the work of Satan.) Good Luck, Joe Knapp -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of KurtChen Sent: Wednesday, August 08, 2001 2:55 AM To: freebsd-questions@FreeBSD.ORG Subject: question about rc.conf 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 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. thanks ... kurt chen kurt@dv8.com.tw ------=_NextPart_000_0012_01C11FE2.C2FE9A20 Content-Type: text/html; charset="big5" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Dbig5" http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.3315.2870" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN = class=3D125161615-08082001>Hi=20 Kurt,</SPAN></FONT></DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20 class=3D125161615-08082001></SPAN></FONT> </DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN = class=3D125161615-08082001>Just=20 so happens I had this exact same problem last night. The solution = is to=20 hit enter to get a prompt, unmount everything using umount -a then = remount=20 everything using mount -a. You should then be able to ee = /etc/rc.conf (or=20 vi if you prefer the work of Satan.)</SPAN></FONT></DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20 class=3D125161615-08082001></SPAN></FONT> </DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN = class=3D125161615-08082001>Good=20 Luck,</SPAN></FONT></DIV> <DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN = class=3D125161615-08082001>Joe=20 Knapp</SPAN></FONT></DIV> <BLOCKQUOTE style=3D"MARGIN-RIGHT: 0px"> <DIV align=3Dleft class=3DOutlookMessageHeader dir=3Dltr><FONT = face=3DTahoma=20 size=3D2>-----Original Message-----<BR><B>From:</B>=20 owner-freebsd-questions@FreeBSD.ORG=20 [mailto:owner-freebsd-questions@FreeBSD.ORG]<B>On Behalf Of=20 </B>KurtChen<BR><B>Sent:</B> Wednesday, August 08, 2001 2:55 = AM<BR><B>To:</B>=20 freebsd-questions@FreeBSD.ORG<BR><B>Subject:</B> question about=20 rc.conf<BR><BR></DIV></FONT> <DIV><FONT face=3DMingLiu size=3D2> <DIV><FONT face=3DMingLiu size=3D2>hello!!</FONT></DIV> <DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2> i had = config my rc.conf=20 file.</FONT></DIV> <DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2> cause i = write a config in it=20 .</FONT></DIV> <DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2> = </FONT></DIV> <DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2> <FONT = face=3DMingLiu>/bin/sh -c 'cd=20 /usr/local/apache/bin ;./apachectl start</FONT></FONT></DIV> <DIV><FONT face=3DMingLiu size=3D2> </FONT></DIV> <DIV><FONT face=3DMingLiu size=3D2> but whe<FONT = face=3DMingLiu>n i=20 reboot , it monitor </FONT></FONT></DIV> <DIV> </DIV> <DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2>"</FONT></DIV> <DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2> /etc/rc,conf : 16 = : syntex error :=20 unterminated quoted string</FONT></DIV> <DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2> enter full = pathname of shell for /bin/sh=20 :</FONT></DIV> <DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2>"</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2>i press enter, i can use = some command.but i cannot=20 edit the rc.conf file.</FONT></DIV> <DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2>it say the rc.conf is a = read only file.so how can i=20 fix this.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2>thanks ...</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2>kurt chen</FONT></DIV> <DIV><FONT face=3D=B2=D3=A9=FA=C5=E9 size=3D2><A=20 = href=3D"mailto:kurt@dv8.com.tw">kurt@dv8.com.tw</A></FONT></DIV></FONT></= DIV></BLOCKQUOTE></BODY></HTML> ------=_NextPart_000_0012_01C11FE2.C2FE9A20-- 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?ALEAKGJBDNBPBFJGPKOKGECHCAAA.jknapp>