Can't login in command line

Asked by Rzulf

After upgrading to fiesty from edgy when I click "ctrl+alt+f1" (or any other f2,f3,f4...) there is no place to login. The last line is "Running local bootscripts (/etc/rc.local) [OK]". On the other screens (f2,f3,f4) ther is only "_" blinking. I don't get what is wrong because command line is considered to be working even if other services fail (for example x.org) but on my PC everything works and login to console doesn't.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Ralph Janke
Solved:
Last query:
Last reply:
Revision history for this message
Rzulf (rzulfeek) said :
#1

I solved the problem by installing sysvinit instead of upstart, but why doesn't it work with upstart. It seems to be quite a serious problem if you can't login :/

Revision history for this message
Best Ralph Janke (txwikinger) said :
#2

Thanks for the question.

Do you have files tty1, tty2, ... tty6 in the directory /etc/event.d that look like this (example tty1)

------------ start ----------------
# tty1 - getty
#
# This service maintains a getty on tty1 from the point the system is
# started until it is shut down again.

start on runlevel 2
start on runlevel 3
start on runlevel 4
start on runlevel 5

stop on runlevel 0
stop on runlevel 1
stop on runlevel 6

respawn
exec /sbin/getty 38400 tty1
------------------- end ----------

I hope this helps

Revision history for this message
Rzulf (rzulfeek) said :
#3

Thanks Ralph Janke, that solved my question.

Revision history for this message
Rzulf (rzulfeek) said :
#4

It helped!!! Surprisingly my /etc/event.d/tty files looked like this:

------------ start ----------------
# tty5 - getty
#
# This service maintains a getty on tty5 from the point the system is
# started until it is shut down again.

start on runlevel 2
start on runlevel 3

stop on runlevel 0
stop on runlevel 1
stop on runlevel 4
stop on runlevel 5
stop on runlevel 6

respawn
/sbin/getty 38400 tty5exec /sbin/getty 38400 tty5
------------------- end ----------

It seems that during some of the upgrades I made the last line became corrupted. After fixing it everything works fine and I can log through command line.

Thanks again!