LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 05-12-2006, 11:51 AM   #1
nolinuxnollife
Registered User
 
Registered: Jan 2005
Location: india
Distribution: RedHat and Madrake
Posts: 55
Blog Entries: 1

Rep: Reputation: 15
Problem pertaining to dmesg


Hi All,

Recently I found that on my RHEL4 Machine the syslog has stopped.did some googling and as well as linuxquestioning and some experimenting also. A single statement in a post has solved my problem ..to completely switch off the SE Linux feature of RHEL4.

After this I started to have another problem.. dmesg returns firewall logs instead of boot messages i.e the syslog messages...

I am trying from myside.. would be happy someone throws some light..

Thank you.
Mahen.
 
Old 05-14-2006, 04:04 AM   #2
taxtropel
Member
 
Registered: Mar 2005
Location: Cascade Mountains WA USA
Distribution: Linux From Scratch (LFS)
Posts: 149

Rep: Reputation: 16
dmesg only reports the tail end of the boot message
to view syslog well, then view syslog
use either cat /var/log/syslog
or less /var/log/syslog
or tail -f /var/log/syslog
 
Old 05-14-2006, 05:32 AM   #3
nolinuxnollife
Registered User
 
Registered: Jan 2005
Location: india
Distribution: RedHat and Madrake
Posts: 55

Original Poster
Blog Entries: 1

Rep: Reputation: 15
You are true but.. typing dmesg ate # prompt doenot return the boot messages..instead returns the current syslog..even after reboot
 
Old 05-14-2006, 05:44 AM   #4
taxtropel
Member
 
Registered: Mar 2005
Location: Cascade Mountains WA USA
Distribution: Linux From Scratch (LFS)
Posts: 149

Rep: Reputation: 16
look all dmesg does is dump the kernel ring buffer, which is written to /var/log/syslog and /var/log/messages if you really need to view your boot messages the best place is to go to /var/log/messages
 
  


Reply



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
Prob pertaining to eth0 vroom Linux - Networking 3 05-09-2006 07:27 AM
Questions pertaining to APT HOWTO michapma Debian 6 10-02-2004 08:26 AM
/bin/dmesg > /dmesg-boot not Working in Knoppix 3.4 suguru Debian 2 07-04-2004 05:21 PM
A few questions pertaining to getting X up and running... cpugeniusmv Linux - Newbie 1 02-15-2004 01:49 AM
Message pertaining to Java saxophobe Linux - Newbie 1 10-12-2003 08:20 PM

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

All times are GMT -5. The time now is 02:30 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
Open Source Consulting | Domain Registration