LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 07-14-2006, 12:39 PM   #1
rjb982
LQ Newbie
 
Registered: Jul 2006
Posts: 8

Rep: Reputation: 0
Console Redirection


Hello All,

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!!!

Ryan
 
Old 07-15-2006, 09:02 PM   #2
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
what do you mean by console redirection?
 
Old 07-17-2006, 10:08 AM   #3
rjb982
LQ Newbie
 
Registered: Jul 2006
Posts: 8

Original Poster
Rep: Reputation: 0
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.
 
Old 07-17-2006, 02:07 PM   #4
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 77
Quote:
Originally Posted by rjb982
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).
 
Old 07-25-2006, 07:52 AM   #5
rjb982
LQ Newbie
 
Registered: Jul 2006
Posts: 8

Original Poster
Rep: Reputation: 0
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.
 
Old 07-25-2006, 07:55 AM   #6
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
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?
 
Old 07-25-2006, 09:03 AM   #7
rjb982
LQ Newbie
 
Registered: Jul 2006
Posts: 8

Original Poster
Rep: Reputation: 0
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.
 
Old 07-25-2006, 09:30 AM   #8
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 77
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!
 
Old 08-02-2006, 02:54 PM   #9
rjb982
LQ Newbie
 
Registered: Jul 2006
Posts: 8

Original Poster
Rep: Reputation: 0
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!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
redirection bhuvana Linux - General 2 07-03-2006 02:36 AM
Log redirection? Filosofem Linux - General 6 11-28-2005 04:13 PM
redirection in C pantera Programming 2 08-11-2004 01:06 PM
Output redirection legtester Linux - General 4 07-07-2003 02:36 PM
Device Redirection CPUNeck Linux - Newbie 1 12-20-2001 01:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration