Syntax error in rc.conf - cannot fix

lrnobs lrnobs at
Fri Apr 9 14:12:36 PDT 2004

It works.  Thanks all.

XP recognizes my Samba Server now too.  Apparently XP did not like my old
"localhost", claimed someone else on the network was already using that
name, probably itself.

Larry Nobs

----- Original Message -----
From: "Atom Powers" <APowers at>
To: "lrnobs" <lrnobs at>;
<freebsd-questions at>
Sent: Friday, April 09, 2004 3:59 PM
Subject: RE: Syntax error in rc.conf - cannot fix

> Yeah, I know this. :)
> You are obviously in single user mode so,
> 'mount -a' will mount all your file systems according to fstab
> '/usr/bin/vi /etc/rc.conf' to correct your config
> save and reboot.
> --
> The meek will inherit the earth; the rest of us will go to the stars.
> Atom Powers
> Pyramid Brewery
> 206.682.8322 x251
> -----Original Message-----
> From: owner-freebsd-questions at
> [mailto:owner-freebsd-questions at] On Behalf Of lrnobs
> Sent: Friday, April 09, 2004 1:56 PM
> To: freebsd-questions at
> Subject: Syntax error in rc.conf - cannot fix
> I am setting up a new server so I could just reinstall, but this is a
> learning opportunity.
> I was changing the hostname of the computer.  In rc.conf I apparently
> left the leading " off the name.
> BSD doesn't like this. It stops the boot and allows/forces me to a
> shell. So I found that "cat" shows me the error of my ways.  vi
> apparently doesn't exist or is stored somewhere that I cannot find
> because "find" does not work either.
> I did find "ed" and thought I would be learning how to use it, but alas
> trying to launch it tells me that I have a readonly file system.
> So, is there any way for me to fix my typo, or is reinstall my only
> option.
> Thanks,
> Larry Nobs
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list