Solved

syslog logging to console

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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Suggested Solutions

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

708 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now