🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80912

Logging failures

#80912
From: John F. Morse
Date: Wed, 06 May 2009 12:46
138 lines
7507 bytes
>From what I see this morning, the recent failure of logs to rotate
and/or restart has moved from syslog back to news.notice.

For the past week, it was syslog that wouldn't restart after being
rotated. I was forcing syslogd to restart.

Monday I did a forced restart on sysklogd instead of syslogd. The syslog
ran for one day then failed Tuesday.

Yesterday I rebooted the computer instead of manually restarting sysklogd.

This morning, news.notice appears do have died. It shows:

-rw-r--r-- 1 news news  25078 2009-05-06 06:31 news.notice

That 25k didn't get rotated, and there is no longer any output on a tail
beyond the last 06:31:02 entry shown below:

May  6 06:10:01 optima5 innd: localhost connected 47
May  6 06:10:01 optima5 innd: localhost:47 closed seconds 0 accepted 0
refused 0 rejected 0 duplicate 0 accepted size 0 duplicate size 0
May  6 06:14:05 optima5 innd: optima7.my.net:28 closed seconds 311
accepted 7 refused 0 rejected 0 duplicate 0 accepted size 30194
duplicate size 0
May  6 06:14:06 optima5 innd: optima7.my.net connected 28 streaming allowed
May  6 06:14:06 optima5 innd: optima7.my.net:28 NCmode "mode stream"
received
May  6 06:19:17 optima5 innd: optima7.my.net:28 closed seconds 311
accepted 13 refused 0 rejected 0 duplicate 0 accepted size 39242
duplicate size 0
May  6 06:19:27 optima5 innd: optima7.my.net connected 28 streaming allowed
May  6 06:19:27 optima5 innd: optima7.my.net:28 NCmode "mode stream"
received
May  6 06:24:38 optima5 innd: optima7.my.net:28 closed seconds 311
accepted 15 refused 0 rejected 0 duplicate 0 accepted size 41460
duplicate size 0
May  6 06:25:31 optima5 innd: optima7.my.net connected 28 streaming allowed
May  6 06:25:31 optima5 innd: optima7.my.net:28 NCmode "mode stream"
received
May  6 06:30:42 optima5 innd: optima7.my.net:28 closed seconds 311
accepted 16 refused 0 rejected 0 duplicate 0 accepted size 53471
duplicate size 0
May  6 06:31:02 optima5 innd: optima7.my.net connected 28 streaming allowed
May  6 06:31:02 optima5 innd: optima7.my.net:28 NCmode "mode stream"
received


The syslog tail did make it through the rotation:

May  6 06:31:02 optima5 innd: optima7.my.net connected 28 streaming allowed
May  6 06:31:02 optima5 innd: optima7.my.net:28 NCmode "mode stream"
received
tail: `syslog' has been replaced;  following end of new file
May  6 06:34:24 optima5 syslogd 1.5.0#1ubuntu1: restart.
May  6 06:34:53 optima5 innd: s
May  6 06:36:13 optima5 innd: optima7.my.net:28 closed seconds 311
accepted 14 refused 0 rejected 0 duplicate 0 accepted size 40501
duplicate size 0
May  6 06:36:15 optima5 innd: optima7.my.net connected 28 streaming allowed
May  6 06:36:15 optima5 innd: optima7.my.net:28 NCmode "mode stream"
received
May  6 06:41:26 optima5 innd: optima7.my.net:28 closed seconds 311
accepted 16 refused 0 rejected 0 duplicate 0 accepted size 48235
duplicate size 0
May  6 06:43:26 optima5 innd: optima7.my.net connected 28 streaming allowed
May  6 06:43:26 optima5 innd: optima7.my.net:28 NCmode "mode stream"
received
May  6 06:44:12 optima5 nnrpd[24377]: n100.my.net (192.168.89.210) connect
May  6 06:44:12 optima5 nnrpd[24377]: Reading access from
/etc/news/readers.conf
May  6 06:44:12 optima5 nnrpd[24377]: Auth strategy 'localhost' does not
match client.  Removing.
May  6 06:44:12 optima5 nnrpd[24377]: n100.my.net res <anonymous>
May  6 06:44:12 optima5 nnrpd[24377]: n100.my.net match_user <anonymous>
<anonymous>
May  6 06:44:12 optima5 nnrpd[24377]: n100.my.net no_post public
May  6 06:44:12 optima5 nnrpd[24377]: n100.my.net auth starting
authenticator /usr/lib/news/bin/auth/passwd/ckpasswd -f
/var/lib/news/passlist
May  6 06:44:12 optima5 nnrpd[24377]: n100.my.net auth authenticator
successful, user john
May  6 06:44:12 optima5 nnrpd[24377]: n100.my.net no_match_user john
<anonymous>
May  6 06:44:12 optima5 nnrpd[24377]: n100.my.net no_match_user john
<localhost>
May  6 06:44:12 optima5 nnrpd[24377]: n100.my.net match_user john *
May  6 06:44:12 optima5 nnrpd[24377]: n100.my.net user john
May  6 06:44:18 optima5 nnrpd[24377]: n100.my.net group news.software.nntp 0
May  6 06:44:50 optima5 nnrpd[24377]: n100.my.net times user 0.148
system 0.104 idle 0.014 elapsed 38.113
May  6 06:44:56 optima5 innd: s
May  6 06:48:37 optima5 innd: optima7.my.net:28 closed seconds 311
accepted 16 refused 0 rejected 0 duplicate 0 accepted size 55333
duplicate size 0
May  6 06:48:41 optima5 innd: optima7.my.net connected 28 streaming allowed
May  6 06:48:41 optima5 innd: optima7.my.net:28 NCmode "mode stream"
received


Both news and errlog seem to have rotated (news is definitely logging
incoming articles, but I haven't had any errors for errlog -- yet).

However, the news.err log doesn't appear to have rotated (I don't have a
message similar to: "tail: `errlog' has been replaced;  following end of
new file" for the enws.err tail). Only the original command is showing
("john@optima5:/var/log/news$ tail -F -n 1000 news.err"). I do have read
permission:

-rw-r--r-- 1 news news      0 2009-05-06 00:00 errlog
-rw-rw-r-- 1 news news  62405 2009-05-06 00:00 expire.lastlowmark
-rw-rw-r-- 1 news news     38 2009-04-28 00:00 expire.list
-rw-rw-r-- 1 news news    633 2009-05-06 00:01 expire.log
-rw-rw-r-- 1 news news      0 2009-04-21 22:37 innfeed.log
-rw-rw-r-- 1 news news   2822 2009-05-05 07:17 innfeed.status
-rw-r--r-- 1 news news 213091 2009-05-06 07:07 news
-rw-r--r-- 1 news news      0 2009-05-06 00:00 news.crit
-rw-r--r-- 1 news news      0 2009-05-06 00:00 news.err
-rw-r--r-- 1 news news  25078 2009-05-06 06:31 news.notice
drwxr-xr-x 2 news news   4096 2009-05-06 00:00 OLD
drwxrwxr-x 2 news news   4096 2007-08-10 07:11 path
-rw-r--r-- 1 root news     62 2009-05-05 07:07 rc.news
-rw-rw---- 1 news news   4489 2009-05-06 00:00 unwanted.log

The news.notice log appears to have rotated at midnight, like the other
INN logs, but it became "disconnected" at 06:31 (i.e. it is no longer
"filling").

It is still not logging at 07:41which means the daily report will likely
have incomplete data.

Any ideas?

-- 
John 

No Microsoft, Apple, AT&T, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message.

The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do. The GPL sounds like it was written by a human being, who wants me to know what I can do.
Technical Details
Message-ID: <gts0rg$v7n$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!feeder.news-service.com!85.214.71.121.MISMATCH!eternal-september.org!feeder.motzarella.org!motzarella.org!optima7.xanadu-bbs.net!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <gts0rg$v7n$1@optima7.xanadu-bbs.net>
Subject: Logging failures
Date: Wed, 06 May 2009 07:46:40 -0500
From: "John F. Morse" <xanadu.bbs@example.invalid>
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!feeder.news-service.com!85.214.71.121.MISMATCH!eternal-september.org!feeder.motzarella.org!motzarella.org!optima7.xanadu-bbs.net!not-for-mail
Newsgroups: news.software.nntp
Organization: Xanadu BBS
Lines: 138
Reply-To: dont.bother
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Trace: optima7.xanadu-bbs.net 1241614000 31991 192.168.89.210 (6 May 2009
X-Complaints-To: newsmaster@xanadu-bbs.net
NNTP-Posting-Date: Wed, 6 May 2009 12:46:40 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.21 (X11/20090318)