Re: can't seem to get syslog working
- From: "Martin Blume" <mblume@xxxxxxxxx>
- Date: Fri, 31 Aug 2007 20:59:52 +0200
"munky" schrieb
Hmm, so it has to do with your system. What is "EL4" exactly?
Basically if I use syslogd as automatically started up by
my EL4 system I get nothing logged at all, however if I kill
off syslogd and manually restart it then logging works fine
(so my program and syslog.conf are fine!).
You might look in a *.os.linux.* newsgroup appropriate to your
system.
My system uses syslog-ng (syslog new generation), but IIRC the
I had wondered (however unlikely!) if it was something to do
with the -m 0 option (which is set in my /etc/sysconfig/syslog)
but manually starting syslogd works whether I've added this
option or not.
option -m 0 suppresses the "MARK" entries that syslog generates
on itself if there is nothing logged (just to show that it is
still alive).
Indeed :-). No messages in this case? No entry in syslog?
When I got logging working by manually launching syslogd
the logging will also stop if I then try and restart syslogd
with "/sbin/service syslog restart" so it definitely seems
to be something to do with the startup mechanism on my system.
Does dmesg say anything in this case?
Unfortunately I don't actually know howAFAIK there should be a mention of it in /etc/init.d. On my system
syslogd is launched on EL4 - if I do a find in /etc
the only references are in syslog.conf and /etc/sysconfig/syslog.
(an ancient SUSE 9.3) there is a script /etc/init.d/syslog that
starts
syslog and is itself referenced by a link in /etc/init.d/rcX.d
where X are the runlevels that start syslog (almost all do).
You'll have to check with somebody who's more knowledgeable with
your distro "EL4", I'm afraid.
HTH
Martin
.
- References:
- can't seem to get syslog working
- From: munky
- Re: can't seem to get syslog working
- From: Martin Blume
- Re: can't seem to get syslog working
- From: munky
- can't seem to get syslog working
- Prev by Date: Re: The ubuntu.org site does not work
- Next by Date: Re: Pan
- Previous by thread: Re: can't seem to get syslog working
- Next by thread: Dan C., you're right about leafnode and cable (and some slrn stuff)
- Index(es):
Relevant Pages
|