LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-30-2007, 04:49 AM   #1
paragkalra
Member
 
Registered: Sep 2006
Location: Nagpur, Maharashtra, India
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Posts: 221

Rep: Reputation: 31
Redirecting errors to Serial Port


I have been getting some warnings while installing a software but the software gets installed and works properly

Warning messages are logged on the tty4 (fourth console) whereas the installation process runs on tty0 (first console).

I would like to redirect messages logged on tty4 to a serial port (ttyS0)
in order to catch kernel messages logged during installation phase and save
them in a file.

How can I do that?
 
Old 11-30-2007, 04:52 AM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
How is the program choosing tty4 to output to? What is the program?
 
Old 11-30-2007, 06:24 AM   #3
paragkalra
Member
 
Registered: Sep 2006
Location: Nagpur, Maharashtra, India
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Posts: 221

Original Poster
Rep: Reputation: 31
Cool

Extremely Sorry. There is slight change in the scenario. Actually I am installing SLES 10. It's getting installed on tty0 but the logs are getting generated on tty4. I want to redirect the logs to ttys0 i.e. serial port so that I can save them.

How can I do that?
 
Old 12-03-2007, 05:43 AM   #4
paragkalra
Member
 
Registered: Sep 2006
Location: Nagpur, Maharashtra, India
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Posts: 221

Original Poster
Rep: Reputation: 31
Question

Is there any way of redirecting kernel messages being displayed on tty4 during Linux (particularly SLES) installation to Serial Port i.e. ttys0 ?
 
Old 12-05-2007, 04:23 AM   #5
paragkalra
Member
 
Registered: Sep 2006
Location: Nagpur, Maharashtra, India
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Posts: 221

Original Poster
Rep: Reputation: 31
Angry

Does anyone has any idea?
 
  


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
redirecting a port E-Man Linux - Networking 4 11-18-2007 02:39 PM
RS232 serial port errors when performing mutliple writes riffy Linux - Newbie 0 07-11-2006 01:12 PM
port redirecting st3reo Linux - Networking 3 11-12-2004 06:35 PM
Port redirecting English_Man Linux - Networking 3 03-09-2004 08:40 AM
about port redirecting cmardhekar Linux - Newbie 1 09-13-2001 08:29 AM


All times are GMT -5. The time now is 01:34 AM.

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