LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-15-2009, 10:57 AM   #1
OutThere
LQ Newbie
 
Registered: Dec 2008
Posts: 5

Rep: Reputation: Disabled
help with dmesg, klogd, and syslog-ng


Hi, I'm trying to configure a centeral log server using syslog-ng. I want all the kernel logs from klogd to also be stored centrally. Following instructions on the Balabit website from the syslog-ng documentation, I have syslog-ng taking in the messages that klogd would normally handle. I'm on Ubuntu Server, so when syslog-ng is installed, klogd is uninstalled by apt-get.

Here is my question: Why is /var/log/dmesg still being written to? Klogd is gone, and syslog-ng is writing the same information to annother file just as I want it to, but /var/log/dmesg still is created on a reboot if i delete it beforehand.

I hope this is clear, if I havent been, let me know and I'll try to explain further.
 
Old 06-15-2009, 01:46 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
/var/log/dmesg has nothing to do with klogd, it's created by the bootmisc init script, not a service in itself. if you read the script you'll see it just dumps the contents of dmesg to boot as a one off per boot.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
dmesg and syslog full of network traffic pljvaldez Linux - Networking 3 04-23-2008 11:10 PM
klogd won't start pobbz Debian 5 08-24-2007 05:37 AM
klogd and syslog asahlot Linux - Kernel 1 09-22-2006 10:35 AM
dmesg (command) and /var/log/dmesg are different? Oxagast Linux - Software 2 07-10-2006 05:50 AM
/bin/dmesg > /dmesg-boot not Working in Knoppix 3.4 suguru Debian 2 07-04-2004 05:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:53 AM.

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