🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Hoshi Sepai Thu, 01 Jul 1999 00:00
Generating active.times files
#38369
Author: Hoshi Sepai
Date: Thu, 01 Jul 1999 00:00
31 lines
1817 bytes
Hi

I've install INN 2.2 on a Solaris 2.6 system. I choose to use the
traditional article storage method. I have installed news into
/usr/local/news  After I ran make install and scrolled through to check
for errors I read a comment saying don't forget to run makehistory -o if
this is the first time makehistory has been run. However, the INSTALL
document mentions running makehistory -i in ~/news/db directory after
su - news

I ran makehistory -i after downloading active and newsgroups from
ftp.isc.org. This generated several history files. My problem is that a
active.times files has not been created. When a user trys posting a
message to a group I receive an error message saying the the remote
system could not update the active.times files.

If I touch a active.times to create an empty file will the news clitinnd
or innd update the empty active.times file automatically. From the man
page for active I know that the active.times file is supposed to have
three fields for each entry.

If the active.times needs to be generated how do I go about doing this.
The man page for makeactive doesn't seem to have an option to create an
active.times file.

thanks

Hoshi


Re: Generating active.times files
#38391
Author: Russ Allbery
Date: Thu, 01 Jul 1999 00:00
14 lines
884 bytes
Hoshi Sepai <h.sepai@mdx.ac.uk> writes:

> If I touch a active.times to create an empty file will the news clitinnd
> or innd update the empty active.times file automatically.

Yup.

Just create an empty file.  That's now in the INSTALL instructions for
2.3.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: Generating active.times files
#38393
Author: Russ Allbery
Date: Fri, 02 Jul 1999 00:00
21 lines
1151 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> writes:

> This script will make an initial active.times based on your current
> active:

> #! /usr/bin/perl

> open (A, "active") || die;
> while (<A>) {
>    $name = (split (/\s/))[0];
>    print "$name ", time, " usenet\n";
> }

Won't that have the rather nasty side effect, if people move their clients
over to that server from another, of making the client think that every
newsgroup had been created since the last time it checked?

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: Generating active.times files
#38402
Author: greg andruk
Date: Fri, 02 Jul 1999 00:00
15 lines
1294 bytes
Russ Allbery <rra@stanford.edu> writes:

> Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> writes:
{make a new active.times from scratch script}

> Won't that have the rather nasty side effect, if people move their clients
> over to that server from another, of making the client think that every
> newsgroup had been created since the last time it checked?

If the new server has a different name, they'll have to get a fresh
load of active anyway.  If it's an old server being replaced, the old
active.times can be copied over.


Re: Generating active.times files
#38403
Author: Kjetil Torgrim Homme
Date: Fri, 02 Jul 1999 00:00
24 lines
1267 bytes
[Hoshi Sepai]

>   If the active.times needs to be generated how do I go about doing
>   this.  The man page for makeactive doesn't seem to have an option
>   to create an active.times file.

This script will make an initial active.times based on your current
active:

#! /usr/bin/perl

open (A, "active") || die;
while (<A>) {
   $name = (split (/\s/))[0];
   print "$name ", time, " usenet\n";
}

Some clients may like a complete active.times, but they generally can
do without.


Kjetil T.

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