Article View: news.software.nntp
Article #80993Re: Logging failures
From: Ray Banana
Date: Tue, 12 May 2009 19:33
Date: Tue, 12 May 2009 19:33
46 lines
3484 bytes
3484 bytes
Thus spake "John F. Morse" <xanadu.bbs@example.invalid>
> I was wandering around in sysklogd last week. Even did the SIGHUP to
> restart it, but that couldn't go on daily! ;-)
/etc/cron.daily/sysklogd does a SIGHUP, too, and that doesn't work, so
sending the SIGHUP manually won't make a difference.
> I applied your change to Optima2 and I'll see what happens tomorrow morning.
> Optima7 (Debian 3.1 with INN 2.4.3) has that same line in its script,
> but Optima7 does not fail.
> I also checked and found Debian 5.0 doesn't even have the
> /etc/cron.daily/sysklogd file.
I don't usually use sysklogd, as I changed to syslog-ng years ago. Out
of curiosity, I just installed it on a Debian Lenny test system and
/etc/cron.daily/sysklogd was installed, too. It is exactly the same as
on the Ubuntu 8.04 system, but I think I found the cause of the problem:
On Debian /usr/sbin/syslogd-listfiles -a also lists the
/var/log/news/news.* log files, whereas these files are ignored on the
Ubuntu system even with option -a. Sysklog seems to rely on the
information from syslogd-listfiles when doing a reload.
The bug is in this line:
Ubuntu 8.04:
| # These files are handled by news.daily from INN, so we ignore them
| next if (!$opt_news && ($pat =~ /news\.(\*|crit|err|info|notice)/));
Debian 5:
| # These files are handled by news.daily from INN, so we ignore them
| next if (!$opt_news &&!$opt_all && ($pat =~ /news\.(\*|crit|err|info|notice)/));
^^^^^^^^^^^
> there. Perhaps the change to anacron is the reason?
Anacron is entirely useless on a server that is always up, but it
hasn't got anything to do with the problem in question.
--
Time flies like an arrow, fruit flies like a Banana.
http://news.motzarella.org
Technical Details
Message-ID:
<80d4ae2k1j.fsf@banana.shacknet.nu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.straub-nv.de!feeder.motzarella.org!eternal-september.org!banana.shacknet.nu!motzarella.org!not-for-mailReferences:
<gts0rg$v7n$1@optima7.xanadu-bbs.net> <gu4ea9$ath$1@news.trigofacile.com> <gu6ksc$oq7$1@optima7.xanadu-bbs.net> <gu6uqv$1ap$1@news.trigofacile.com> <gu804a$4mb$1@optima7.xanadu-bbs.net> <gu8ggp$gic$1@news.trigofacile.com> <gu90j1$d21$1@optima7.xanadu-bbs.net> <gu9nvk$kse$1@news.trigofacile.com> <guc1rv$6qp$1@optima7.xanadu-bbs.net> <8063g6memf.fsf@banana.shacknet.nu> <guch30$aoq$1@optima7.xanadu-bbs.net>Show Full Headers
Complete Article Headers
Message-ID: <80d4ae2k1j.fsf@banana.shacknet.nu> Subject: Re: Logging failures Date: Tue, 12 May 2009 21:33:28 +0200 From: Ray Banana <rayban@banana.shacknet.nu> References: <gts0rg$v7n$1@optima7.xanadu-bbs.net> <gu4ea9$ath$1@news.trigofacile.com> <gu6ksc$oq7$1@optima7.xanadu-bbs.net> <gu6uqv$1ap$1@news.trigofacile.com> <gu804a$4mb$1@optima7.xanadu-bbs.net> <gu8ggp$gic$1@news.trigofacile.com> <gu90j1$d21$1@optima7.xanadu-bbs.net> <gu9nvk$kse$1@news.trigofacile.com> <guc1rv$6qp$1@optima7.xanadu-bbs.net> <8063g6memf.fsf@banana.shacknet.nu> <guch30$aoq$1@optima7.xanadu-bbs.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.straub-nv.de!feeder.motzarella.org!eternal-september.org!banana.shacknet.nu!motzarella.org!not-for-mail Newsgroups: news.software.nntp Organization: A noiseless patient spider Lines: 46 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: banana.shacknet.nu 1242156864 2393 10.1.30.101 (12 May 2009 19:34:24 GMT) X-Complaints-To: abuse@banana.shacknet.nu X-Auth-Sender: <banana> Cancel-Lock: sha1:W7zBQOih9LC3cD74NGY1eVP+U5I= User-Agent: Plonkenlights X-PGP-Sig: 2.6.3ia Subject,Message-ID,Date,From,User-Agent iQCVAwUBSgnPPxFgDSXFGJ/lAQFatgQAoihaXIzCebwqDMW+0vXPQxC2n2eAo/zK Cd1fI9CB1HwWD7Byeh2ug3RuJWCiTe8Ppw5qAJ9U6kO7gmKbs0gY9UoDRNe7TsgY 3zFDflJG+QpbASRIIZIstYfy2a6IthdG4e/FAQcnjbKev6LxlQ9fAnyj8LaHnIGW hEVo3a0E2CY= =of0l X-Attribution: Ray Banana