🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Julien ÉLIE Sun, 01 Jul 2007 10:33
Regarding INN 2.x FAQ
#76209
Author: Julien ÉLIE
Date: Sun, 01 Jul 2007 10:33
89 lines
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)
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