Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No prompt in XenServer Virtual Terminal - TTY issue?[SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
hanj
Veteran
Veteran


Joined: 19 Aug 2003
Posts: 1490

PostPosted: Tue Jul 20, 2021 4:13 pm    Post subject: No prompt in XenServer Virtual Terminal - TTY issue?[SOLVED] Reply with quote

Hello

I have a server at Rackspace cloud and running into a weird thing. When I run the XenServer Virtual Terminal via Emergency Console, I see all services starting. I get to Staring Local.. [OK] and it just stops. No login prompt. It's definitely not hung. I can SSH to the image instance without a problem. This only happens in the Emergency Console. I'm wondering if this is some type of TTY setting? Any ideas?

In the past, this was not a problem, and I do have other server instances running Gentoo where Emergency Console is working and showing login prompt. Even if I make a new image off a working console image and try connecting, it does the same thing.

Thanks!
hanji
_________________
Server Admin Blog - Uno-Code.com


Last edited by hanj on Wed Jul 21, 2021 2:07 am; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54216
Location: 56N 3W

PostPosted: Tue Jul 20, 2021 4:30 pm    Post subject: Reply with quote

hanj,

In /etc/inittab make sure that the console is set to the rigth place.

e.g., if you want to use a serial console, the default
Code:
# SERIAL CONSOLES
#s0:12345:respawn:/sbin/agetty -L 115200 ttyS0 vt100
#s1:12345:respawn:/sbin/agetty -L 115200 ttyS1 vt100
has them commented out.

If the serial console is not /dev/ttyS*, like a Raspberry Pi, change that too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
hanj
Veteran
Veteran


Joined: 19 Aug 2003
Posts: 1490

PostPosted: Tue Jul 20, 2021 5:02 pm    Post subject: Reply with quote

NeddySeagoon wrote:
hanj,

In /etc/inittab make sure that the console is set to the rigth place.

e.g., if you want to use a serial console, the default
Code:
# SERIAL CONSOLES
#s0:12345:respawn:/sbin/agetty -L 115200 ttyS0 vt100
#s1:12345:respawn:/sbin/agetty -L 115200 ttyS1 vt100
has them commented out.

If the serial console is not /dev/ttyS*, like a Raspberry Pi, change that too.


Thank you! Is there a way to refresh this? Or would this involve a reboot?

Thanks!
hanji
_________________
Server Admin Blog - Uno-Code.com
Back to top
View user's profile Send private message
hanj
Veteran
Veteran


Joined: 19 Aug 2003
Posts: 1490

PostPosted: Tue Jul 20, 2021 5:14 pm    Post subject: Reply with quote

Okay.. I think we're getting closer. Enter adds a line break where it was hung before. Still no login prompt though.

I see the following messages though

Code:
INIT: Id "s1" respawning too fast: disabled for 5 minutes
INIT: Id "s0" respawning too fast: disabled for 5 minutes


I've uncommented out the following:

Code:
# SERIAL CONSOLES
s0:12345:respawn:/sbin/agetty -L 115200 ttyS0 vt100
s1:12345:respawn:/sbin/agetty -L 115200 ttyS1 vt100

_________________
Server Admin Blog - Uno-Code.com
Back to top
View user's profile Send private message
hanj
Veteran
Veteran


Joined: 19 Aug 2003
Posts: 1490

PostPosted: Wed Jul 21, 2021 2:07 am    Post subject: Reply with quote

Okay.. I found out what happened.

My current /etc/inittab has the following...

Code:
c1:12345:respawn:/sbin/agetty --noclear 38400 tty1 linux
c2:2345:respawn:/sbin/agetty 38400 tty2 linux
c3:2345:respawn:/sbin/agetty 38400 tty3 linux
c4:2345:respawn:/sbin/agetty 38400 tty4 linux
c5:2345:respawn:/sbin/agetty 38400 tty5 linux
c6:2345:respawn:/sbin/agetty 38400 tty6 linux


I looked at a older inittab from Nov 2020 in my config-archive, and noticed the difference:

Code:
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
h0:12345:respawn:/sbin/agetty 38400 hvc0 linux


I made the change and issued a `telinit q` and now I get login prompt!
_________________
Server Admin Blog - Uno-Code.com
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum