Configuring Serial over LAN - Can't login on ttyS0
I am setting up SoL on Cisco UCS, I have everything working great up to the point when I try to login, as both root and non-root user. I have verified that speed, flow control, and term emulation match between my BIOS settings and /etc/init/ttyS0.conf. I can enter the BIOS screens and the grub menu, but I just can't login. I'm wondering if SElinux might be blocking it.
I'm also having an issue with 5.5, in this case I can login fine but the startup messages are a stream of control charaxters.
I have followed the KB article.
https://access.redhat.com/knowledge/articles/7212
Any thoughts?
Karl Vietmeier
Responses
SELinux shouldn't be blocking this. I use serial console all the time on RHEL4, RHEL5 and RHEL6 virtual machines (following How do I set up a guest so that the virsh and xm console commands work for my KVM or Xen guests on RHEL?) and they all have SELinux enabled in enforcing mode.
What RHEL version are you using? (Major and minor version please — 6.1 had a known issue; cf. Why do I unable to login from serial console with plymouth details plugin from Red Hat Enterprise Linux 6.1?) Do you get the system boot messages on the serial console? Do you get a login prompt on the serial console? If so, what error message is reported when you try to log in on it? Are there any related entries in /var/log/messages that could shed light on this?
As for the issue on 5.5, does removing "rhgb" (or "rhgb quiet") from the kernel command line / GRUB config help?
The constant respawning seen in your messages log is definitely not a good sign. I'm afraid that I can't tell from the available data what is causing this. I would recommend to open a support case for this issue and to add a detailed sosreport (as generated e.g. by "sosreport -k rpm.rpmva -k selinux.fixfiles -k startup.servicestatus") to it as a basis for analysis.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
