If I type Ctrl-D, the system will go to multi-user mode. If I use the init
1 command to try to get into single user mode, I get right back into the
cycle ... I'm at the Ctrl-D prompt again.
A variation on this (and I'm not sure how I caused this) ... sometimes when
I'm at the Ctrl-D prompt and enter the root password, I get a prompt to
Enter the run level (0-6, s or S) ... but neither 1 or s will work ... #2
will work, however.
I've searched the technical articles and did not find any pertinent TA's for
this problem ... please help...
Ken Benson
ken spam at bkenbenson.com
remove the spam for email address ... thank you...
Thank you for any help ...
Try to get to multi-user mode and, once logged in as root, delete
the /etc/ioctl.syscon file; next, try again to boot into single
user mode.
Best,
Roberto
--
---------------------------------------------------------------------
Roberto Zini email : r.z...@strhold.it
Technical Support Manager -- Strhold Evolution Division R.E. (ITALY)
---------------------------------------------------------------------
"Has anybody around here seen an aircraft carrier?"
(Pete "Maverick" Mitchell - Top Gun)
Roberto Zini <r.z...@strhold.it> wrote in message
news:3C74A764...@strhold.it...
Uhm ... what about the devices under /dev with major nb = 3 and minor
nb = 1 ? There should be 3 of 'em, namely:
/dev/console
/dev/syscon
/dev/systty
Are you in the position to check if __all__ of 'em have major 3 and
minor 1 ?
Someone else suggested that off-line and I've looked ... all three are there
and have major:3 and minor:1 ... with an inode of 0 (which I thought was a
little strange!)
[lotsa stuff deleted - wjv]
>> > > Try to get to multi-user mode and, once logged in as root, delete
>> > > the /etc/ioctl.syscon file; next, try again to boot into single
>> > > user mode.
>> Uhm ... what about the devices under /dev with major nb = 3 and minor
>> nb = 1 ? There should be 3 of 'em, namely:
>> /dev/console
>> /dev/syscon
>> /dev/systty
>> Are you in the position to check if __all__ of 'em have major 3 and
>> minor 1 ?
>Someone else suggested that off-line and I've looked ... all three
>are there and have major:3 and minor:1 ... with an inode of 0
>(which I thought was a little strange!)
Inode 0 is more than strange it should be impossible.
Lowest inode is 2. I forget why what was once 1 in the very first
systems gave way to 2.
--
Bill Vermillion - bv @ wjv . com
[snip]
> >
> > Uhm ... what about the devices under /dev with major nb = 3 and minor
> > nb = 1 ? There should be 3 of 'em, namely:
> >
> > /dev/console
> > /dev/syscon
> > /dev/systty
> >
> > Are you in the position to check if __all__ of 'em have major 3 and
> > minor 1 ?
> >
>
> Someone else suggested that off-line and I've looked ... all three are there
> and have major:3 and minor:1 ... with an inode of 0 (which I thought was a
> little strange!)
Could you please post the resulf of the following command:
ls -lai /dev/console /dev/syscon /dev/systty
# ls -lai /dev/console /dev/syscon /dev/systty
34025 crw------- 3 bin terminal 3, 1 Feb 26 12:21 /dev/console
34025 crw------- 3 bin terminal 3, 1 Feb 26 12:21 /dev/syscon
34025 crw------- 3 bin terminal 3, 1 Feb 26 12:21 /dev/systty
#
Well, I've got the same values here on an running machine so it's not
an issue related to the above devices.
Sorry, I'm out of ideas now :-(
Take a look at /etc/passwd and check to be sure that root's shell
is /bin/sh. I have seen single user mode fail when a client had changed
root's shell to scosh.
>
> --
> ---------------------------------------------------------------------
> Roberto Zini email : r.z...@strhold.it
> Technical Support Manager -- Strhold Evolution Division R.E. (ITALY)
> ---------------------------------------------------------------------
> "Has anybody around here seen an aircraft carrier?"
> (Pete "Maverick" Mitchell - Top Gun)
--
Steve Fabac
S.M. Fabac & Associates
816/765-1670
the root login in /etc/passwd does not have any shell.