Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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 am trying to get console redirection to work on both a SunFire X4200 and SunFire V20/40z. They all have SLES9 w/SP1. The problem I am facing is that console redirection works until you get into single user mode. In single user mode it won't let you do anything at all. If you go to runlevel 3 it works fine and also during normal boot up it works fine. I made the changes accordingly in menu.1st, inittab, and securetty. If anybody can help me out with this that would be great!!!
Basically we have linux servers somewhere else and we want to be able to remotely do any fsck's and checks in single user mode from our site. The problem is when it goes into single user mode we can't do anything to it.
Basically we have linux servers somewhere else and we want to be able to remotely do any fsck's and checks in single user mode from our site. The problem is when it goes into single user mode we can't do anything to it.
That's not (generally) what console redirection means (the acceptable definition is for say, redirecting stdout of a program to a file somewhere).
What you are doing is called remote administration or something like that. The reason it is not working in single-user mode (AFAICT) is because single-user mode (in the default installs of almost every unix I know of) specifically disables networking (single-user means only one user at the console).
When I say console redirection I mean we are going through an ILOM port on a server via the network management port. Instead of sitting at the server itself we are redirecting the console to us via the network management port. Now I can see the box boot via a remote console but once it hits single user mode it locks me out. If it boots in runlevel 3 we can interact with it and login and do whatever we want.
osors comments about networking still stand, your ILOM port thingie is presumably an interface? and if in single user mode no iterfaces are allowed to be up then.... you can't communicate with the machine no?
We can communicate with the machine no problem. Since these machines will be off site and not many people will be near them if there is a problem and it needs to be fsck'd we need to remotely get into it through the ILOM in single user mode to do it. The problem we are facing is that it won't let us.
What you don't seem to understand is that SINGLE USER MODE specifically DISABLES NETWORKING. Therefore, if you want to do any networking in single user mode, it won't work!
I understand perfectly well that networking is not enabled in single user mode. I know that if you boot a box in single user mode that nobody can access it by telnet or ssh. What you don't understand is that this is through a Sun machine that has an ALOM port which essentially is a Power PC board built into the Sun box. If the server is off, as long as it has inline power coming to it you can remotely get to the box even in single user mode and lets say turn the box on or run fscks. If you have worked with a Sun machine that has this you would understand and know that you can access a Sun machine via the ALOM (NET management and Serial management) and NOT the ETHERNET PORT itself and access it. The problem we are facing is being able to have access to the box in single user mode through console redirection through the ALOM PORT!!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.