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.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
Code:
# 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)
#
id:3:initdefault:
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!?
The screen scrolls up a line if I press enter, appearing to prove that keyboard input is passed through the KVM to the Red Hat console without a problem.
If I enter CTRL-C, q, enter, enter, enter.. etc no command prompt appears.
I can key in random text which appears on the console screen, but there's no shell/interpreter so nothing happens.
This DBfax scheduler init script seems to be not exiting cleanly, just staying active. If you log in via ssh and disable this service does the console come up ok on reboot?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.