Re: CentOS 6 - Lost Console Login

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



On 8/4/2014 7:30 PM, John R Pierce wrote:
> On 8/4/2014 5:47 PM, Kirk Bocek wrote:
>> Just had a problem with CentOS 6.5 x86_64 after the last kernel upgrade.
>> It looks like the boot sector got hosed somehow and the system was
>> unbootable. I was able to fix it with a boot to an install image USB and
>> running grub-install. System is now bootable.
>>
>> However, I've lost the system console. No login prompt is provided at
>> the console.
>>
>> The system boots and is remotely accessible. Services seem just fine. I
>> don't see any error messages after booting, either dmesg or
>> /var/log/messages.
>>
>> Can anyone tell me what packages provide console login so I can try a
>> reinstall.
> is it booting up in init level 3, or 5  (text console vs X-windows ?)
>
>

Okay, it looks like upstart isn't running /etc/init/start-ttys.conf

After running "initctl list" and seeing that tty was in stop/waiting, I 
manually ran:

      initctl start tty TTY=/dev/tty1

six times to get the six usual ttys. After looking at start-ttys.conf I 
guess I could have just run that once instead. Now "initctl list" looks 
like:

$initctl list
rc start/running, process 1507
tty (/dev/tty3) start/running, process 6169
tty (/dev/tty2) start/running, process 6167
tty (/dev/tty1) start/running, process 6165
tty (/dev/tty6) start/running, process 6176
tty (/dev/tty5) start/running, process 6174
tty (/dev/tty4) start/running, process 6172
plymouth-shutdown stop/waiting
control-alt-delete stop/waiting
rcS-emergency stop/waiting
readahead-collector stop/waiting
kexec-disable stop/waiting
quit-plymouth stop/waiting
rcS stop/waiting
prefdm stop/waiting
init-system-dbus stop/waiting
readahead stop/waiting
splash-manager stop/waiting
start-ttys stop/waiting
readahead-disable-services stop/waiting
rcS-sulogin stop/waiting
serial stop/waiting

Which looks right to me. At the moment I'm at work and this host is at 
home so I can't check the console.

I looked at start-ttys.conf:

         start on stopped rc RUNLEVEL=[2345]

That looks right. Can anyone tell me why it's not running?
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux