Article View: news.software.nntp
Article #38933Recovering stuck rnews messages after disk full
From: Andrew Mickish
Date: Tue, 03 Aug 1999 00:00
Date: Tue, 03 Aug 1999 00:00
68 lines
3726 bytes
3726 bytes
Yesterday my /var/spool/mqueue partition filled up briefly due to an
unnaturally large outbound email message, and this somehow prevented
incoming mail messages from getting forwarded to the newsgroups,
(even though /var/spool/news is on its own partition).
The aftermath, after deleting the offending message, is that there
are about 12 messages that should have been delivered to the newsgroups
that are stuck in /var/spool/news/in.coming/tmp/:
$ ls -l /var/spool/news/in.coming/tmp
-rw-rw-r-- 1 mail mail 899 Aug 2 15:47 37a5f5e8a22015
-rw-rw-r-- 1 mail mail 2628 Aug 2 15:47 37a5f5eaa22017
-rw-rw-r-- 1 mail mail 2690 Aug 2 15:52 37a5f70fa22027
-rw-rw-r-- 1 mail mail 4540 Aug 2 15:52 37a5f710a22029
-rw-rw-r-- 1 mail mail 899 Aug 2 16:02 37a5f965a22288
-rw-rw-r-- 1 mail mail 2628 Aug 2 16:02 37a5f965a22290
...
Is there any way to get these messages forwarded to the right newsgroups?
Can I run rnews with some sort of recovery parameters? If I cannot forward
them elegantly, should I just delete these files?
Here is as much detail about the system as I can think of to mention.
I'm using mail2news + rnews in /etc/aliases to forward email addresses
to local newsgroups. I'm using inn-2.2-1 on RedHat 5.2. Here's a
sample line from /etc/aliases:
iserve-transcripts: "|/usr/bin/mail2news -=/usr/bin/rnews -n sneakerlabs.transcripts.iserve"
Here's what I saw in /var/log/maillog regarding one such failure to forward:
Aug 2 16:15:34 wolf sendmail[22697]: QAA22697: from=<transcripts@iserve.sneakerlabs.com>,
size=847, class=0, pri=30847, nrcpts=1, msgid=<27513018.933624442063.
JavaMail.nobody@iserve.sneakerlabs.com>, proto=SMTP, relay=iserve.sneakerlabs.com
[205.201.53.17]
Aug 2 16:15:35 wolf sendmail[22698]: QAA22697: to="|/usr/bin/mail2news -=/usr/bin/rnews
-n sneakerlabs.transcripts.iserve", delay=00:00:01, xdelay=00:00:01, mailer=prog,
stat=unknown mailer error 1
Aug 2 16:15:35 wolf sendmail[22698]: QAA22697: QAA22698: DSN: unknown mailer error 1
Aug 2 16:15:35 wolf sendmail[22698]: QAA22698: to="|/usr/bin/mail2news -=/usr/bin/rnews
-n sneakerlabs.transcripts.iserve", delay=00:00:00, xdelay=00:00:00, mailer=prog,
stat=unknown mailer error 1
Aug 2 16:15:35 wolf sendmail[22698]: QAA22698: QAB22698: return to sender:
unknown mailer error 1
Here's what I saw in /var/log/news/news.notice
Aug 2 16:15:47 wolf innd: localhost connected 8 streaming allowed
Aug 2 16:15:47 wolf innd: localhost:8 closed seconds 0 accepted 0 refused 0 rejected 0
Aug 2 16:15:47 wolf rnews: rejected connection 400 No space (newslib)
[innwatch:29] 4677 lt 25000
Aug 2 16:15:47 wolf rnews: cant rename
/var/spool/news/in.coming/tmp/37a5fc73a22772 to
/var/spool/news/in.coming/37a5fc73a22772 Permission denied
Thanks in advance for your advice.
--Andrew Mickish
Technical Details
Message-ID:
<37A71AF6.570557A2@sneakerlabs.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <37A71AF6.570557A2@sneakerlabs.com> Subject: Recovering stuck rnews messages after disk full Date: Tue, 03 Aug 1999 00:00:00 +0000 From: Andrew Mickish <mickish@sneakerlabs.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 508422359 Content-Transfer-Encoding: 7bit Organization: Posted via Supernews, http://www.supernews.com X-Accept-Language: en Content-Type: text/plain; charset=us-ascii MIME-Version: 1.0 Newsgroups: news.software.nntp X-Complaints-To: newsabuse@supernews.com