Skip site navigation (1)Skip section navigation (2)
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

[-- Attachment #1 --]
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

[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=big5" http-equiv=Content-Type>
<META content="MSHTML 5.00.3315.2870" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=125161615-08082001>Hi 
Kurt,</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN 
class=125161615-08082001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=125161615-08082001>Just 
so happens I had this exact same problem last night.&nbsp; The solution is to 
hit enter to get a prompt, unmount everything using umount -a then remount 
everything using mount -a.&nbsp; You should then be able to ee /etc/rc.conf (or 
vi if you prefer the work of Satan.)</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN 
class=125161615-08082001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=125161615-08082001>Good 
Luck,</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=125161615-08082001>Joe 
Knapp</SPAN></FONT></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> 
  owner-freebsd-questions@FreeBSD.ORG 
  [mailto:owner-freebsd-questions@FreeBSD.ORG]<B>On Behalf Of 
  </B>KurtChen<BR><B>Sent:</B> Wednesday, August 08, 2001 2:55 AM<BR><B>To:</B> 
  freebsd-questions@FreeBSD.ORG<BR><B>Subject:</B> question about 
  rc.conf<BR><BR></DIV></FONT>
  <DIV><FONT face=MingLiu size=2>
  <DIV><FONT face=MingLiu size=2>hello!!</FONT></DIV>
  <DIV><FONT face=細明體 size=2>&nbsp;&nbsp; i had config my rc.conf 
  file.</FONT></DIV>
  <DIV><FONT face=細明體 size=2>&nbsp;&nbsp; cause i write a config in it 
  .</FONT></DIV>
  <DIV><FONT face=細明體 size=2>&nbsp;&nbsp; </FONT></DIV>
  <DIV><FONT face=細明體 size=2>&nbsp;<FONT face=MingLiu>/bin/sh -c 'cd 
  /usr/local/apache/bin ;./apachectl start</FONT></FONT></DIV>
  <DIV><FONT face=MingLiu size=2>&nbsp;&nbsp;</FONT></DIV>
  <DIV><FONT face=MingLiu size=2>&nbsp;&nbsp; but whe<FONT face=MingLiu>n i 
  reboot , it monitor &nbsp;</FONT></FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=細明體 size=2>"</FONT></DIV>
  <DIV><FONT face=細明體 size=2>&nbsp;/etc/rc,conf : 16 : syntex error : 
  unterminated quoted string</FONT></DIV>
  <DIV><FONT face=細明體 size=2>&nbsp;enter full pathname of shell for /bin/sh 
  :</FONT></DIV>
  <DIV><FONT face=細明體 size=2>"</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=細明體 size=2>i press enter, i can use some command.but i cannot 
  edit the rc.conf file.</FONT></DIV>
  <DIV><FONT face=細明體 size=2>it say the rc.conf is a read only file.so how can i 
  fix this.</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=細明體 size=2>thanks ...</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=細明體 size=2>kurt chen</FONT></DIV>
  <DIV><FONT face=細明體 size=2><A 
  href="mailto:kurt@dv8.com.tw">kurt@dv8.com.tw</A></FONT></DIV></FONT></DIV></BLOCKQUOTE></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ALEAKGJBDNBPBFJGPKOKGECHCAAA.jknapp>