Re: Screwed my inittab/runlevel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 30 Dec 2003 17:46:12 -0500
James Pifer <jamesredhatlist@xxxxxxxxxxxxxxxx> wrote:

> On Tue, 2003-12-30 at 17:10, Jason Dixon wrote:
> > On Tue, 2003-12-30 at 09:17, James Pifer wrote:
> > > I have a Redhat 9 system that I have totally screwed up inittab and
> > > runlevel to where it will not boot correctly now. I was trying to
> > > change
> > > it from default initlevel 5 to 3. Not sure if I didn't give it
> > > enough
> > > time or what, but now it's hosed.
> > > 
> > > When it boots I get:
> > > INIT: /etc/inittab[8]: missing action field
> > > (same line repeats with 19,22,30,33,39,42,43, and 51)
> > > Cannot execute /etc/rc.d/rc.sysinit
> > 
> > According to a diff of your inittab against mine, the only change
> > you've
> > made is this:
> > 
> > id:1:initdefault:
> > 
> > This forces init to boot single-user.  I've never tried this, so I'm
> > not
> > sure whether to be surprised or not by the error you're seeing. 
> > Change
> > that line to the following and everything should be ok.  If not,
> > you've
> > hosed something else.
> > 
> > id:3:initdefault:
> > 
> > Jason Dixon, RHCE
> > DixonGroup Consulting
> > http://www.dixongroup.net
> > 
> Yeah, that was the last thing I tried. It was set to 3 before that. Any
> idea what would cause the errors I posted since inittab looks ok?
> 
> Thanks,
> James

If you edit the inittab with an editor that then stores the file with
MSDOS line terminators (CR-LF) you'll see that error.  Perhaps you've
resaved the file now with Unix line terminators (LF) and the problem will
disappear.

Sean


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux