Can't login in command line
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:
- 2007-05-01
- Last query:
- 2007-05-01
- Last reply:
- 2007-04-25
| 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 :/
|
|
#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
| Rzulf (rzulfeek) said : | #3 |
Thanks Ralph Janke, that solved my question.
| 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!

