LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-13-2006, 06:02 PM   #1
slzckboy
Member
 
Registered: May 2005
Location: uk - Reading
Distribution: slackware 14.2 kernel 4.19.43
Posts: 462

Rep: Reputation: 30
syslogd and stderr


Hi are syslog and stderr inextricably linked?

I have a old laptop that i use as a dumb terminal to program with.

atrd is playing up ,the kernel keeps complaining that it needs a re boot to fixthe prob(even after re booting)
My real question is can i stop syslogd sending the messages in the mean time because it prints over what I am workig on so I have to save ,come out of the document and then go back into it each time.

I know i should look into the artd thing but i'm busy with something else att and need a quick fix.
thnks in advance.
 
Old 01-13-2006, 06:06 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
It sounds syslog is printing to your console? Have a look in /etc/syslog.conf for a line like the following, comment it out and restart syslog:

Code:
kern.*		/dev/console
That stops the error from bugging you - it doesn't fix the error though...
 
Old 01-13-2006, 06:17 PM   #3
slzckboy
Member
 
Registered: May 2005
Location: uk - Reading
Distribution: slackware 14.2 kernel 4.19.43
Posts: 462

Original Poster
Rep: Reputation: 30
lol.. nah..

i'll look at that another day..right now i just want to stick my head in the sand and mask the error from my console.


anyway.its already commented out ??
strange.
 
Old 01-14-2006, 10:26 PM   #4
primo
Member
 
Registered: Jun 2005
Posts: 542

Rep: Reputation: 34
As root, run "dmesg -n 1" to block messages from the kernel as well (ie: iptables)
 
Old 01-16-2006, 04:45 PM   #5
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Moved: This thread is more suitable in Linux-General and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
stderr is not a tty - where are you? lazyboy0001 Slackware 12 12-02-2005 09:44 AM
stderr messages bokini Linux - General 1 11-29-2005 07:30 AM
stderr redirection evilop Linux - Newbie 3 09-21-2004 04:27 PM
redirecting stderr nodger Programming 2 03-11-2004 10:58 AM
stderr is not a tty where are you? davidschob Slackware 6 10-31-2003 10:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:17 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