- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- can console log redirect?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2008 11:44 AM
тАО11-04-2008 11:44 AM
can console log redirect?
my PC is connected to a device through serial console. I want to redirect all the console messages I got on console to file.
console logs only generated upon system getting up/down, unexpected error occured etc.
Is it possible? if yes pl suggest how can i go further to collect console logs in a file on everytime when it getting generated?
Thanks,
MKS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2008 05:09 PM
тАО11-04-2008 05:09 PM
Re: can console log redirect?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2008 12:11 AM
тАО11-05-2008 12:11 AM
Re: can console log redirect?
Most clients allow logging terminal communication to file.
E.g. In PuTTY you have to:
- select Serial in "Session" section
- fill COM number in "Serial line" field
- set log file name in "Logging" section
- select "All session output" or "Printable output" under Session logging.
Regards.
M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2008 01:32 PM
тАО11-06-2008 01:32 PM
Re: can console log redirect?
If your using grub as a boot loader, edit /boot/grub/menu.lst (or grub.conf). Look for the "kernel" line of your active kernel. At the end of that line, add a parameter "console=ttyS0,9600n8" to the end. Of course, adjust for your actual serial port, speed, etc.
Note that if you make this adjustment, you won't see any kernel messages as your booting...they will be all redirecting to the serial port. You should still get a "login" prompt at the end, as long as you have adjusted your getty configuration (/etc/inittab)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2008 07:36 AM
тАО11-07-2008 07:36 AM
Re: can console log redirect?
As console log wipeouts So we need to redirect all those logs to a file. So that we can debug issue from it.
Thank
-monu