Thread View: news.software.nntp
8 messages
8 total messages
Started by Kevin Bowling
Wed, 27 Nov 2019 04:37
Selective refeed of cutoff news?
Author: Kevin Bowling
Date: Wed, 27 Nov 2019 04:37
Date: Wed, 27 Nov 2019 04:37
24 lines
1777 bytes
1777 bytes
Hi,
I had to rebuild my overview database after an OS upgrade (64-bit inode
change in FreeBSD 12) and it took around 14 days. I had artcutoff set
to 10 days and briefly started innd before I realized this mistake.
Thus far I have tried setting setting "remembertrash" to false and
having a peer run:
cd <pathdb in inn.conf>
perl -ne 'chomp; our ($hash, $timestamps, $_) = split " "; \
my ($arrived, $expires, $posted) = split("~", $timestamps); \
print "$_\n" if $_ and $arrived >= 1573430400 \
and $arrived <= 1574578800' history \
| tr . / > csiph.com/list
innxmit server list
but there are some articles I can tell I am missing still.
Is there a way to handle this situation without duping a bunch of
articles for my users?
Regards,
Kevin
Re: Selective refeed of cutoff news?
Author: Julien ÉLIE
Date: Wed, 27 Nov 2019 09:28
Date: Wed, 27 Nov 2019 09:28
27 lines
2039 bytes
2039 bytes
Hi Kevin, > I had to rebuild my overview database after an OS upgrade (64-bit inode > change in FreeBSD 12) and it took around 14 days. I had artcutoff set > to 10 days and briefly started innd before I realized this mistake. > > Is there a way to handle this situation without duping a bunch of > articles for my users? Do you have all the Message-IDs of rejected articles owing to artcutoff? (in your "news" log file) If that's the case, you need retrieving them from a peer and injecting them in your news server. pullnews and suck do not have the ability to fetch a given list of Message-IDs AFAIK. > Thus far I have tried setting setting "remembertrash" to false and > having a peer run:[...] > there are some articles I can tell I am missing still. Are those messages present in that peer? -- Julien ÉLIE « Je suis né trop tard dans un monde trop antique. » (Astérix)
Re: Selective refeed of cutoff news?
Author: Kevin Bowling
Date: Wed, 27 Nov 2019 18:52
Date: Wed, 27 Nov 2019 18:52
32 lines
1940 bytes
1940 bytes
Julien ?LIE <iulius@nom-de-mon-site.com.invalid> wrote:
>
> Hi Kevin,
>
>> I had to rebuild my overview database after an OS upgrade (64-bit inode
>> change in FreeBSD 12) and it took around 14 days.? I had artcutoff set
>> to 10 days and briefly started innd before I realized this mistake.
>>
>> Is there a way to handle this situation without duping a bunch of
>> articles for my users?
>
> Do you have all the Message-IDs of rejected articles owing to artcutoff?
> (in your "news" log file)
I do:
grep 'Too old' news | wc -l
23326
>
> If that's the case, you need retrieving them from a peer and injecting
> them in your news server. pullnews and suck do not have the ability to
> fetch a given list of Message-IDs AFAIK.
How do you suggest doing this then? Do I have to manipulate history file?
>
>> Thus far I have tried setting setting "remembertrash" to false and
>> having a peer run:[...]
>> there are some articles I can tell I am missing still.
> Are those messages present in that peer?
Presumably yes, this is a large swath of news so the majority should be present.
Re: Selective refeed of cutoff news?
Author: Julien ÉLIE
Date: Wed, 27 Nov 2019 20:55
Date: Wed, 27 Nov 2019 20:55
36 lines
2102 bytes
2102 bytes
Hi Kevin, >> Do you have all the Message-IDs of rejected articles owing to artcutoff? >> (in your "news" log file) > > I do: > grep 'Too old' news | wc -l > 23326 > >> Are those messages present in that peer? > > Presumably yes, this is a large swath of news so the majority should be present. A suggestion is to generate a file containing the Message-IDs you want, and then ask that peer to create a rnews file that you could integrate. On the remote peer (running INN): % cat list <qrmgks$1t8h$1@csiph.com> <qrkuhg$ibt$1@csiph.com> % cat list | grephistory -s | sm -S > articles % rnews -S your.news.server articles (or something like that for the later command - I've not tested it) Tell me if that works. I would be happy to add it to the INN FAQ at the end of the part you saw with innxmit. -- Julien ÉLIE « On s'est mis le sabot dans l'œil ! » (Astérix)
Re: Selective refeed of cutoff news?
Author: Kevin Bowling
Date: Thu, 28 Nov 2019 02:42
Date: Thu, 28 Nov 2019 02:42
41 lines
2111 bytes
2111 bytes
Julien ?LIE <iulius@nom-de-mon-site.com.invalid> wrote: > Hi Kevin, > >>> Do you have all the Message-IDs of rejected articles owing to artcutoff? >>> (in your "news" log file) >> >> I do: >> grep 'Too old' news | wc -l >> 23326 >> >>> Are those messages present in that peer? >> >> Presumably yes, this is a large swath of news so the majority should be present. > > A suggestion is to generate a file containing the Message-IDs you want, > and then ask that peer to create a rnews file that you could integrate. > > On the remote peer (running INN): > > % cat list > <qrmgks$1t8h$1@csiph.com> > <qrkuhg$ibt$1@csiph.com> > > % cat list | grephistory -s | sm -S > articles > > % rnews -S your.news.server articles > (or something like that for the later command - I've not tested it) > > > Tell me if that works. > I would be happy to add it to the INN FAQ at the end of the part you saw q> with innxmit. I have all the missing articles in this format from a friendly peer and see the ones I am missing. However, feeding in with rnews still results in rejects presumably due to history? How can I force the injection? Regards, Kevin
Re: Selective refeed of cutoff news?
Author: Julien ÉLIE
Date: Thu, 28 Nov 2019 09:10
Date: Thu, 28 Nov 2019 09:10
50 lines
2708 bytes
2708 bytes
Hi Kevin, > I have all the missing articles in this format from a friendly peer > and see the ones I am missing. Great! > However, feeding in with rnews still results in rejects presumably due > to history? How can I force the injection? When re-injecting these articles, be sure to set artcutoff to 0, and disable Python and Perl filtering hooks. I suggest using "prunehistory" (expecting a list of Message-IDs in a file): https://www.eyrie.org/~eagle/software/inn/docs/prunehistory.html I think you'll have to wait for the next expire process to complete before re-injecting the article. I don't remember if that's a special case for the history entry to be removed (without taking into account the arrival time and the /remember/ line in expire.ctl). % grephistory -l '<fk0bip$2f1n$1@cabale.usenet-fr.net>' [615DF61165A8E438808D07A5283F230D] 1493645641~-~1197715866 @02015907394922E200000000000000000000@ % echo '<fk0bip$2f1n$1@cabale.usenet-fr.net>' | prunehistory % grephistory -l '<fk0bip$2f1n$1@cabale.usenet-fr.net>' grephistory: field separator missing from history line /home/news/db/history@915935 % grep '615DF61165A8E438808D07A5283F230D' db/history [615DF61165A8E438808D07A5283F230D] 1493645641~-~1197715866 % telnet localhost 119 IHAVE <fk0bip$2f1n$1@cabale.usenet-fr.net> 435 Duplicate I'll tell tomorrow. -- Julien ÉLIE « On s'est mis le sabot dans l'œil ! » (Astérix)
Re: Selective refeed of cutoff news?
Author: Kevin Bowling
Date: Fri, 29 Nov 2019 07:34
Date: Fri, 29 Nov 2019 07:34
53 lines
2903 bytes
2903 bytes
On 2019-11-28 02:10, Julien ÉLIE wrote: > Hi Kevin, > >> I have all the missing articles in this format from a friendly peer >> and see the ones I am missing. > > Great! > > >> However, feeding in with rnews still results in rejects presumably due >> to history? How can I force the injection? > > When re-injecting these articles, be sure to set artcutoff to 0, and > disable Python and Perl filtering hooks. > > I suggest using "prunehistory" (expecting a list of Message-IDs in a file): >  https://www.eyrie.org/~eagle/software/inn/docs/prunehistory.html > > > I think you'll have to wait for the next expire process to complete > before re-injecting the article. > I don't remember if that's a special case for the history entry to be > removed (without taking into account the arrival time and the /remember/ > line in expire.ctl). > > > % grephistory -l '<fk0bip$2f1n$1@cabale.usenet-fr.net>' > [615DF61165A8E438808D07A5283F230D]   1493645641~-~1197715866 > @02015907394922E200000000000000000000@ > > % echo '<fk0bip$2f1n$1@cabale.usenet-fr.net>' | prunehistory > > % grephistory -l '<fk0bip$2f1n$1@cabale.usenet-fr.net>' > grephistory: field separator missing from history line > /home/news/db/history@915935 > > % grep '615DF61165A8E438808D07A5283F230D' db/history > [615DF61165A8E438808D07A5283F230D]   1493645641~-~1197715866 > > % telnet localhost 119 > IHAVE <fk0bip$2f1n$1@cabale.usenet-fr.net> > 435 Duplicate > > > I'll tell tomorrow. > It seems like simply running /usr/local/news/bin/news.daily expireover lowmark delayrm nomail let me feed it in with rnews, without doing the additional commands suggested above. I'm all caught up now! Regards, Kevin
Re: Selective refeed of cutoff news?
Author: Julien ÉLIE
Date: Fri, 29 Nov 2019 21:25
Date: Fri, 29 Nov 2019 21:25
31 lines
2184 bytes
2184 bytes
Hi Kevin, >> % grephistory -l '<fk0bip$2f1n$1@cabale.usenet-fr.net>' >> [615DF61165A8E438808D07A5283F230D]   1493645641~-~1197715866 >> @02015907394922E200000000000000000000@ >> >> % echo '<fk0bip$2f1n$1@cabale.usenet-fr.net>' | prunehistory >> >> % telnet localhost 119 >> IHAVE <fk0bip$2f1n$1@cabale.usenet-fr.net> >> 435 Duplicate >> >> I'll tell tomorrow. >> > > It seems like simply running /usr/local/news/bin/news.daily expireover > lowmark delayrm nomail let me feed it in with rnews, without doing the > additional commands suggested above. I'm all caught up now! Oh, that's great, then! Just for the record, I also now can re-use the Message-ID I pruned yesterday. During the night, news.daily ran. IHAVE <fk0bip$2f1n$1@cabale.usenet-fr.net> 335 Send it -- Julien ÉLIE « On s'est mis le sabot dans l'œil ! » (Astérix)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads