LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-17-2004, 04:02 AM   #1
eelriver
Member
 
Registered: May 2004
Location: san francisco
Distribution: Slackware 10.2 kernel 2.6.13, Gentoo amd64, Some mish-mash of programs that started with slack 9.0
Posts: 165

Rep: Reputation: 30
No output to /var/log/messages or ~syslog


I no longer get any output to /var/log/messages or /var/log/syslog. This seems to have happened after my last kernel compile and reboot. The last message in ~messages is:
Quote:
Jul 15 08:04:36 xxx kernel: klogd 1.4.1, log source = /proc/kmsg started.
and there's been no output to syslog since July 13.
There is a line in /etc/rc.d/rc.syslog that states
Code:
# prevent syslogd/klogd race condition on SMP kernels
. Could this have anything to do with it? I do have SMP enabled but it worked before with it enabled.
It's got to be logging to somewhere, but where.
P.S. And no, I haven't changed the log level.
Thanks
 
Old 07-17-2004, 04:09 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
I would try to increment the value in second for sleep at the line you mentionned in /etc/rc.d/rc.syslog like 'sleep 5'
 
Old 07-17-2004, 03:56 PM   #3
eelriver
Member
 
Registered: May 2004
Location: san francisco
Distribution: Slackware 10.2 kernel 2.6.13, Gentoo amd64, Some mish-mash of programs that started with slack 9.0
Posts: 165

Original Poster
Rep: Reputation: 30
Quote:
I would try to increment the value in second for sleep at the line you mentionned in /etc/rc.d/rc.syslog like 'sleep 5'
Tried it, no go, seems like klogd won't write anything except warnings to console.

Believe me, I've Googled my head off on this!
 
Old 07-17-2004, 05:39 PM   #4
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
If I understand, syslogd must be started before klogd. What happen if you start manually /usr/sbin/syslogd ?
and after that if you
/usr/sbin/klogd -c 3 -x
?
 
Old 07-17-2004, 07:01 PM   #5
eelriver
Member
 
Registered: May 2004
Location: san francisco
Distribution: Slackware 10.2 kernel 2.6.13, Gentoo amd64, Some mish-mash of programs that started with slack 9.0
Posts: 165

Original Poster
Rep: Reputation: 30
When I do ~# /usr/sbin/syslogd, it starts but no change in logs.
Then ~# /usr/sbin/klogd -c 3 -x I get "already started" and still no change in logs
???
 
Old 07-18-2004, 05:13 AM   #6
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
try kill klogd first then start syslogd -d

Last edited by keefaz; 07-18-2004 at 05:15 AM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Redirecting the kernel messages to file other than /var/log/messages jyotika_b83 Linux - General 3 04-28-2005 06:39 PM
HELP!!!! /var/log/messages & syslog 350MB and growing!! nemat0de Mandriva 1 05-29-2004 06:08 AM
output of printk can NOT be found in /var/log/messages linshu Linux - Software 1 02-13-2004 09:06 AM
syslog and firestarter - log messages to another file than messages mule Linux - Newbie 0 08-07-2003 03:35 AM
/var/adm/messages & syslog Khalid Linux - General 0 11-08-2001 05:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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