Article View: news.software.nntp
Article #76209Regarding INN 2.x FAQ
From: Julien ÉLIE
Date: Sun, 01 Jul 2007 10:33
Date: Sun, 01 Jul 2007 10:33
89 lines
3803 bytes
3803 bytes
Hi,
Here are some remarks.
> Subject: 4.4. tradspool: could not open ... File exists
>
> A third and better solution in some cases is to just remove all articles
> in the spool that have higher numbers than the numbers in the active file.
> Here's a Perl script that will do that. Just save this to a file, make it
> executable, and run it, giving it the path to the active file as the first
> argument and the path to the top of your tradspool news spool as the
> second argument:
>
> #!/usr/bin/perl
> die "Usage: <name> <active> <spool-path>\n" unless @ARGV == 2;
> open (ACTIVE, $ARGV[0]) or die "Can't open $ARGV[0]: $!\n";
> while (<ACTIVE>) {
> my ($group, $hi, $lo, $flag) = split;
> my $directory = $group;
> next if ($hi == 0 and $lo <= 1);
> $directory =~ tr%.%/%;
> $directory = $ARGV[1] . '/' . $directory;
if(-e $directory) {
> opendir (DIR, $directory) or die "Can't open $directory: $!\n";
> while (defined ($_ = readdir DIR)) {
> unlink "$directory/$_" if ($_ > $hi);
> }
> closedir DIR;
}
> }
Otherwise, the script dies when the newsgroup does not exist
in the spool (for instance an empty one).
By the way, shouldn't that script be added to INN2 contrib?
> Subject: 5.1. INN won't compile on SCO OpenServer
>
> For information about getting INN to run on SCO UnixWare 7.1.* and
> OpenUNIX 8.0.0, see:
>
> <http://zenez.pcunix.com/tmp/ou8faqz/cache/269.html>
The URL is now:
http://www.zenez.com/tmp/ou8faqz/cache/269.html
> Subject: 6.8. Generate MRTG graphs for INN
>
> I'm not aware of any packaged solutions for generating MRTG data from
> other things, such as incoming or outcoming news flows. If anyone has any
> pointers, let me know.
Maybe NGraph (with RRDTool) by Fred:
<http://talisker.lacave.net/news/ngraph/>.
> Subject: 6.13. Back up and restore an INN installation
>
> Otherwise, for more general restorations, compile INN on the new system
> with the same ./configure command if you've lost the installation, run
> make install, then put all the pieces back where they belong. Now, you
> have to run:
>
> makehistory -O
>
> to rebuild the history and overview databases. When that finishes, cd to
> the $pathdb directory and run:
>
> makedbz -s `wc -l history` -o
>
> You should now be able to start the server and read and post news to it.
Cannot « makehistory -O -F » be used? (in order to start the news server
earlier -- in relaying agent mode [since the overview is not complete])
--
Julien ÉLIE
« Être øu ne pås être, telle est lå questiøn... » (Kerøzen)
Technical Details
Message-ID:
<f67vtb$nqt$1@news.trigofacile.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!news.albasani.net!news.trigofacile.com!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <f67vtb$nqt$1@news.trigofacile.com> Subject: Regarding INN 2.x FAQ Date: Sun, 01 Jul 2007 12:33:11 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.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!number1.nntp.dca.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!news.albasani.net!news.trigofacile.com!not-for-mail Newsgroups: news.software.nntp Organization: Gens Iulia -- http://www.trigofacile.com/ Lines: 89 NNTP-Posting-Host: amontpellier-157-1-187-91.w90-27.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit X-Trace: news.trigofacile.com 1183286056 24413 90.27.162.91 (1 Jul 2007 X-Complaints-To: abuse@trigofacile.com NNTP-Posting-Date: Sun, 1 Jul 2007 10:34:16 +0000 (UTC) User-Agent: Thunderbird 2.0.0.4 (Windows/20070604)