Thread View: news.software.nntp
6 messages
6 total messages
Started by Richard A Haas
Tue, 23 Jan 1996 00:00
Refilling news spool after OS install
Author: Richard A Haas
Date: Tue, 23 Jan 1996 00:00
Date: Tue, 23 Jan 1996 00:00
50 lines
2668 bytes
2668 bytes
[ Article crossposted from news.admin.misc ] [ Author was Richard A Haas ] [ Posted on 23 Jan 1996 18:02:51 GMT ] Folks, The following is not really a critical problem but nonetheless annoying. Any assistance would be appreciated. We have 2 news servers (SOLARIS, inn1.4sec). One serves as the primary news spooler machine, while the other is the site news reader machine (with a 8GB spool). The news spooler machine does have a smaller spool (with shorter retention times) that could serve as a backup for the newsreader (in the event of a hardware failure). During an OS install, it was necessary to reorganize the logical volume which held the news spool on our news spooler, destroying all the articles on the smaller spool. Following the install of the new OS, and a rebuild of the history database, the spool filled with new articles over a few days -- as expected. However, the old articles on our newsreader did not transfer to the newly-installed news spooler. I assume that the local articles are already noted as having been sent, and the nntpsend on the newsreader sees no reason to send them again. This somewhat limits the usefulness of the news spooler as a newsreader backup until the expiration dates (some quite long) are reached on all the groups. How does nntpsend determine what has already been sent? Any cookbook examples on fooling it to resend old articles? TIA. Richard -- ------------------------------------------------------------------------ Richard A. Haas | Unix Engineer RMS Technologies Inc. | email: Richard.Haas@lerc.nasa.gov NASA Lewis Research Center | http://www.lerc.nasa.gov/hyplan/rhaas.html ------------------------------------------------------------------------ -- -- ------------------------------------------------------------------------ Richard A. Haas | Unix Engineer RMS Technologies Inc. | email: Richard.Haas@lerc.nasa.gov NASA Lewis Research Center | http://www.lerc.nasa.gov/hyplan/rhaas.html ------------------------------------------------------------------------
Re: Refilling news spool after OS install
Author: Dave Barr
Date: Wed, 24 Jan 1996 00:00
Date: Wed, 24 Jan 1996 00:00
26 lines
1670 bytes
1670 bytes
[ incorrect Distribution: inet removed. please fix your distrib.pats ] In article <4e3iq6$jqf@sulawesi.lerc.nasa.gov>, Richard A Haas <rhaas@lerc.nasa.gov> wrote: >How does nntpsend determine what has already been sent? It doesn't. innd does that. For every new article that arrives to a given server, it will be offered to each site it feeds unless it meets one of the following conditions: 1. It is excluded explicitly due to a newsgroups or distributions restriction in newsfeeds(5). 2. The article already passed through the site (by examining Path: and the configuration in newsfeeds(5) 3. The article was thrown away because it's not in the server's active file and innd was compiled without WANT_TRASH. If it doesn't meet any of those conditions, then a line will be written to that site's batch file. nntpsend will use that batch file to determine what to send. If you want to re-send news articles, you're going to have to generate your own batch files. Using awk on your server's history file is the easiest way to do this. --Dave
Re: Refilling news spool after OS install
Author: Richard A Haas
Date: Wed, 24 Jan 1996 00:00
Date: Wed, 24 Jan 1996 00:00
43 lines
2015 bytes
2015 bytes
Below is an email reply that answered this ... looks like I was making it more complex than necessary. A quick: find /var/spool/news -type f -ctime +10 -print > /tmp/oldarticles innxmit -r -v news /tmp/oldarticles And all was restored. Thanks Andy. Richard -- ------------------------------------------------------------------------ Richard A. Haas | Unix Engineer RMS Technologies Inc. | email: Richard.Haas@lerc.nasa.gov NASA Lewis Research Center | http://www.lerc.nasa.gov/hyplan/rhaas.html ------------------------------------------------------------------------ From teffta@crypt.erie.ge.com Wed Jan 24 09:29:37 1996 Subject: Re: Refilling news spool after OS install X-Original-Newsgroups: news.software.nntp To: rhaas@lerc.nasa.gov (Richard A Haas) In article <4e3iq6$jqf@sulawesi.lerc.nasa.gov>, rhaas@lerc.nasa.gov (Richard A Haas) writes: > >How does nntpsend determine what has already been sent? Any cookbook >examples on fooling it to resend old articles? It doesn't -- when a new article is received, its name is noted in /var/spool/news/out.going spool files. That's it. All you need to do is write up a quick script to create spool file entries for your local groups. You can use innxmit manually to send the articles off. -- Andy Tefft - new, expanded .sig - teffta@erie.ge.com
Re: Refilling news spool after OS install
Author: bill davidsen
Date: Fri, 26 Jan 1996 00:00
Date: Fri, 26 Jan 1996 00:00
23 lines
1519 bytes
1519 bytes
In article <4e5p28$dvq@sulawesi.lerc.nasa.gov>, Richard A Haas <rhaas@lerc.nasa.gov> wrote: | Below is an email reply that answered this ... looks like I was | making it more complex than necessary. | | A quick: | | find /var/spool/news -type f -ctime +10 -print > /tmp/oldarticles | innxmit -r -v news /tmp/oldarticles This is only practical if you have a tiny news spool. I can imagine that running several hours on a site with a full feed and reasonable retention, say 4-6G of news. The correct solution is to scan the history file for all articles older than ten days and still online. Takes about 20 sec and doesn't beat the disk. -- Bill Davidsen (davidsen@tmr.com) Davidsen's first rule of system administration: He learns to swim fastest who is thrown in the deepest water.
Re: Refilling news spool after OS install
Author: Rich Salz
Date: Sat, 27 Jan 1996 00:00
Date: Sat, 27 Jan 1996 00:00
9 lines
878 bytes
878 bytes
In <4e62da$jj9@dodgson.math.psu.edu> barr@math.psu.edu (Dave Barr) writes: >If you want to re-send news articles, you're going to have to >generate your own batch files. Using awk on your server's history >file is the easiest way to do this. See also newsrequeue. /r$
Re: Refilling news spool after OS install
Author: Richard A Haas
Date: Mon, 29 Jan 1996 00:00
Date: Mon, 29 Jan 1996 00:00
16 lines
1342 bytes
1342 bytes
Yes, actually I lied ... I ran the find only on the groups which we retain for 60+ days, rather than the whole 6GB+ spool. Since these represent a very small percentage of the articles ( < 20MB) there wasn't much of a wait. Good point. Richard -- ------------------------------------------------------------------------ Richard A. Haas | Unix Engineer RMS Technologies Inc. | email: Richard.Haas@lerc.nasa.gov NASA Lewis Research Center | http://www.lerc.nasa.gov/hyplan/rhaas.html ------------------------------------------------------------------------
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