Solved

syslog logging to console

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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 …
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

919 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

13 Experts available now in Live!

Get 1:1 Help Now