Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have a RHEL6 server sitting in a data centre. We hardly ever have cause to access the local console, but we can do remotely using a KVM in the same rack.
I have been doing some maintenance remotely and have noticed that once RHEL6 has booted, a console is not presented locally.
All other services startup fine (that we know of). This is a production server running multiple critical services to a mid-size company.
I have reason to make some changes with the network config and don't want to while I have to no access to the local console via the KVM (I can remotely connect to the KVM, then operate the server as though I was local).
It's impossible to know when this problem manifested because, as mentioned, we typically don't use the local console.
One tip I read was to ensure there is a "console" entry in my /etc/securetty file. it's already there.
Is there any common cause for this which anyone can suggest looking into first?
The server I am working on is RHEL6 and the inittab is as follows. As far as I'm aware this hasn't been changed since installation. Does this look right - I'm not familiar with changing this file:
# inittab is only used by upstart for the default runlevel.
# ADDING OTHER CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
# System initialization is started by /etc/init/rcS.conf
# Individual runlevels are started by /etc/init/rc.conf
# Ctrl-Alt-Delete is handled by /etc/init/control-alt-delete.conf
# Terminal gettys are handled by /etc/init/tty.conf and /etc/init/serial.conf,
# with configuration in /etc/sysconfig/init.
# For information on how to write upstart event handlers, or how
# upstart works, see init(5), init(8), and initctl(8).
# Default runlevel. The runlevels used are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
I'm just comparing the inittab and going through the referenced files, against a CentOS 6 server I have in the same rack, which displays the console login fine. So far these files are looking identical.
I'm not sure I have been clear on something. When I reboot the server and remotely connect to the console session via the KVM, I can actually see the bootup process and watch all the services startup etc, but it's when the server appears to have fully started up I would expect to be given the local login prompt - at this stage, nothing happens. I'm not sure how else to explain it, but this is probably down to my lack of familiarity with linux.
Here's a screenshot of the local console, 17.5 hours after bootup. Where my login prompt!?