Solved

syslog logging to console

Posted on 2004-04-20
2
364 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
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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.:

810 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