Solved

syslog logging to console

Posted on 2004-04-20
2
368 Views
Last Modified: 2013-12-16
I have several systems installed with Mandrake 10.0 Community.  Once in a while, stuff that goes to /var/log/messages also to the console.  I looked in /etc/syslog.conf and nothing appears to go to /dev/console or any tty.  How do I make it stop?
0
Comment
Question by:Mithander
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 500 total points
ID: 10874806
Those are probably klogd messages. On a RedHat system you can suppress those in /etc/sysconfig/syslog with:

# Options to klogd
# -2 prints all kernel oops messages twice; once for klogd to decode, and
#    once for processing with 'ksymoops'
# -x disables all klogd processing of oops messages entirely
# See klogd(8) for more details
KLOGD_OPTIONS="-x -c 3"
0
 

Author Comment

by:Mithander
ID: 10875216
I had:
KLOGD_OPTIONS="-2"
changed it to:
KLOGD_OPTIONS="-2 -c 1"
hopefully this will fix it.  Should know in the next few hours.

Thanks.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question