🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
34 messages
34 total messages Started by Dave Smith Tue, 08 Aug 2000 00:00
Revert from CNFS
#47763
Author: Dave Smith
Date: Tue, 08 Aug 2000 00:00
23 lines
1245 bytes
Folks,

I'm new to working with INN. We have a server here that has recently
been moved to INN 2.2.1 with CNFS. Users are now complaining about the
speed with which articles are expiring, and the fact that articles get
shown in the newsreader, but when they try to read those articles they
are told they have expired.

The client has asked me to look into reverting this server from CNFS to
tradspool. Has anyone done this? Can it be done without losing a backlog
of news? Does it involve more than rebuilding INN and changing the
config files?

TIA for any help,

Dave Smith
--
David O Smith
Somerford Consultancy Ltd.



Re: Revert from CNFS
#47787
Author: Rick Ellis
Date: Wed, 09 Aug 2000 00:00
16 lines
1283 bytes
In article <398FF248.ECD8114@esoc.esa.de>,
Dave Smith  <DavSmith@esoc.esa.de> wrote:

>I'm new to working with INN. We have a server here that has recently
>been moved to INN 2.2.1 with CNFS. Users are now complaining about the
>speed with which articles are expiring, and the fact that articles get
>shown in the newsreader, but when they try to read those articles they
>are told they have expired.

Are large binaries being stored in the same buffers as text articles?  If
so, that's probably why you are seeing short expire times.

--
http://www.fnet.net/~ellis/photo/

Re: Revert from CNFS
#47788
Author: Kjetil Torgrim Homme
Date: Wed, 09 Aug 2000 00:00
29 lines
1696 bytes
[Dave Smith]

>   I'm new to working with INN. We have a server here that has recently
>   been moved to INN 2.2.1 with CNFS. Users are now complaining about the
>   speed with which articles are expiring,

CNFS is more efficient with regards to disk space than traditional
spool, so there probably is some error in the configuration.  Have you
tried "cnfsstat -a" to see if articles end up where intended?

>   and the fact that articles get shown in the newsreader, but when
>   they try to read those articles they are told they have expired.

Set
nnrpdcheckart:          true
in inn.conf

>   The client has asked me to look into reverting this server from
>   CNFS to tradspool. Has anyone done this? Can it be done without
>   losing a backlog of news? Does it involve more than rebuilding INN
>   and changing the config files?

Depends.  Will the tradspool be on a new set of disks, or are you
reusing the CNFS space?


Kjetil T.

Re: Revert from CNFS
#47817
Author: Kjetil Torgrim Homme
Date: Fri, 11 Aug 2000 00:00
64 lines
3682 bytes
[Dave Smith]

>   I tried that. The output doesn't seem to make sense. I've got four
>   small cycbuffs (small = 500Mb) grouped into two 1 gig
>   metabuffers. My feed site is sending me the alt.*, comp.* and
>   rec.* groups that they receive (they only take a subset of alt.*
>   leaving out, for example, the binaries). I have alt.* going into
>   one metabuffer and the rest going into the other. Is this
>   reasonable?

Yes.  You might want to watch out for control.cancel though -- it's
probably a good idea to send it into the same metacycbuff as alt.*
Also, *.jobs* are full of useless spam.  Remove them from your list of
newsgroups, and make sure you don't keep junk.
wanttrash:              false

>   When I look at what articles are available through my newsreader
>   (Netscape 4.7 running under Solaris 2.6) I can see articles going
>   back to 28/7 and also as recent as midnight last night. But the
>   output from cnfsstat -a says:
>   
>   Class ALTERNATE  for groups matching "alt.*", article size min/max: 0/3999
>    Buffer ONE, len: 500.00 Mbytes, used: 0.12 Mbytes ( 0.0%)   0 cycles
>     Newest: 2000-07-26  9:45:24,   16 days,  0:01:47 ago
>     Oldest: ,  ago
>    Buffer TWO, len: 500.00 Mbytes, used: 0.12 Mbytes ( 0.0%)   0 cycles
>     Newest: 2000-07-26  9:45:24,   16 days,  0:01:47 ago
>     Oldest: ,  ago

Hmm, your cnfsstat doesn't seem to be working very well...  Can you
download the latest version and try that instead?

You can get a snapshot of just cnfsstat.in from 18th of May from
  http://www.ifi.uio.no/~kjetilho/tmp/cnfsstat.in
That one works fine for me.  You'll need to edit the first four lines
manually to reflect your own paths.

>   > Depends.  Will the tradspool be on a new set of disks, or are you
>   > reusing the CNFS space?
>   
>   Almost certainly we'll be re-using the CNFS space, but it's up to
>   me to recommend which way we go. I can't see the client putting
>   their hands in their pockets for more disc space, though. And the
>   speed that their procurement works it would take far too long.

Okay.  If you had duplicate disk space, you could set up a tradspool
storage class, and send all new articles into that.  Old articles
would still be available in the CNFS buffers.  After a couple of
weeks, when those old articles were no longer needed, you could just
remove the CNFS buffers from the system.

Now, if you need to reuse your storage, things are messier.  You'll
have to store all the messages in some format on temporary storage I
would create a huge rnews batch file.  Then you reformat and feed the
batch file back in.  I once wrote a patch to make sm create the
batchfile very painlessly, but they never got integrated in the
official release. :-/

Are you sure you can't borrow a harddisk from someone for a month?


Kjetil T.

Re: Revert from CNFS
#47828
Author: Dave Smith
Date: Fri, 11 Aug 2000 00:00
58 lines
2897 bytes

Kjetil Torgrim Homme wrote:

> CNFS is more efficient with regards to disk space than traditional
> spool, so there probably is some error in the configuration.  Have you
> tried "cnfsstat -a" to see if articles end up where intended?

I tried that. The output doesn't seem to make sense. I've got four small
cycbuffs (small = 500Mb) grouped into two 1 gig metabuffers. My feed site is
sending me the alt.*, comp.* and rec.* groups that they receive (they only
take a subset of alt.* leaving out, for example, the binaries). I have alt.*
going into one metabuffer and the rest going into the other. Is this
reasonable?

When I look at what articles are available through my newsreader (Netscape 4.7
running under Solaris 2.6) I can see articles going back to 28/7 and also as
recent as midnight last night. But the output from cnfsstat -a says:

Class ALTERNATE  for groups matching "alt.*", article size min/max: 0/3999
 Buffer ONE, len: 500.00 Mbytes, used: 0.12 Mbytes ( 0.0%)   0 cycles
  Newest: 2000-07-26  9:45:24,   16 days,  0:01:47 ago
  Oldest: ,  ago
 Buffer TWO, len: 500.00 Mbytes, used: 0.12 Mbytes ( 0.0%)   0 cycles
  Newest: 2000-07-26  9:45:24,   16 days,  0:01:47 ago
  Oldest: ,  ago

Class REMAINDER  for groups matching "comp.*,rec.*", article size min/max:
0/3999
 Buffer THREE, len: 500.00 Mbytes, used: 0.12 Mbytes ( 0.0%)   0 cycles
  Newest: 2000-07-26  9:45:24,   16 days,  0:01:47 ago
  Oldest: ,  ago
 Buffer FOUR, len: 500.00 Mbytes, used: 0.12 Mbytes ( 0.0%)   0 cycles
  Newest: 2000-07-26  9:45:24,   16 days,  0:01:47 ago
  Oldest: ,  ago

I mean this doesn't match up, does it? I'm running INN 2.2.3 under Solaris 2.6
on a Sun Ultra 5 by the way

>
> Depends.  Will the tradspool be on a new set of disks, or are you
> reusing the CNFS space?

Almost certainly we'll be re-using the CNFS space, but it's up to me to
recommend which way we go. I can't see the client putting their hands in their
pockets for more disc space, though. And the speed that their procurement
works it would take far too long.

TIA for your help

Dave Smith
--
David O Smith
Somerford Consultancy Ltd.



Re: Revert from CNFS
#47849
Author: Dave Smith
Date: Mon, 14 Aug 2000 00:00
35 lines
1566 bytes

Kjetil Torgrim Homme wrote:

> Hmm, your cnfsstat doesn't seem to be working very well...  Can you
> download the latest version and try that instead?
>
> You can get a snapshot of just cnfsstat.in from 18th of May from
>   http://www.ifi.uio.no/~kjetilho/tmp/cnfsstat.in
> That one works fine for me.  You'll need to edit the first four lines
> manually to reflect your own paths.
>

Well, I've downloaded it, edited it, as far as I can see, changed the name to
cnfsstat, changed the permissions to 550

I still just get:

/bin/ksh: cnfsstat: cannot execute

when I try to run it.

I presume I've missed something glaringly obvious. Would anyone (gently, please)
point out what ?

TIA,

Dave
--
David O Smith
Somerford Consultancy Ltd.



Re: Revert from CNFS
#47850
Author: Anonymous Coward
Date: Mon, 14 Aug 2000 00:00
26 lines
1811 bytes
[posted and mailed to specified Reply-To header; invalid sender address,
 do not attempt to reply by mail]

On Mon, 14 Aug 19100, Dave Smith wrote:

> > Hmm, your cnfsstat doesn't seem to be working very well...  Can you
> > download the latest version and try that instead?
> 
> Well, I've downloaded it, edited it, as far as I can see, changed the name to
> /bin/ksh: cnfsstat: cannot execute

What does the first line of the file look like?  It should be
something like
#!/usr/local/bin/perl   or
#!/usr/bin/perl

Whatever it is, you should be able to find perl at that location.
If not, with your ksh, you should be able to type
$ which perl
and find the correct path.


% ln -s `which perl` meow


Re: Revert from CNFS
#47851
Author: Dave Smith
Date: Tue, 15 Aug 2000 00:00
47 lines
2489 bytes
Anonymous Coward wrote:

> What does the first line of the file look like?  It should be
> something like
> #!/usr/local/bin/perl   or
> #!/usr/bin/perl
>
> Whatever it is, you should be able to find perl at that location.
> If not, with your ksh, you should be able to type
> $ which perl
> and find the correct path.
>

All right, I fixed that. I said it was going to be something silly, didn't I? But
the output still doesn't make sense to me. This is what I get:

Class ALTERNATE  for groups matching "alt.*", article size min/max: 0/3999
 Buffer ONE, size:   500 MBytes, current:   128 kBytes  0.00 cycles
  Newest: 2000-07-26  9:45:24,   20 days,  0:29:53 ago
  Oldest: 1970-01-01  0:00:00, 11184 days, 10:15:17 ago
 Buffer TWO, size:   500 MBytes, current:   128 kBytes  0.00 cycles
  Newest: 2000-07-26  9:45:24,   20 days,  0:29:53 ago
  Oldest: 1970-01-01  0:00:00, 11184 days, 10:15:17 ago

Class REMAINDER  for groups matching "comp.*,rec.*", article size min/max: 0/3999
 Buffer THREE, size:   500 MBytes, current:   128 kBytes  0.00 cycles
  Newest: 2000-07-26  9:45:24,   20 days,  0:29:53 ago
  Oldest: 1970-01-01  0:00:00, 11184 days, 10:15:17 ago
 Buffer FOUR, size:   500 MBytes, current:   128 kBytes  0.00 cycles
  Newest: 2000-07-26  9:45:24,   20 days,  0:29:53 ago
  Oldest: 1970-01-01  0:00:00, 11184 days, 10:15:17 ago

But if I look at the news through Netscape I see messages datestamped for this
morning!

Can someone please tell me what's going on?

Getting news-frazzled

Dave
--
David O Smith
Somerford Consultancy Ltd.



Re: Revert from CNFS
#47854
Author: Kjetil Torgrim Homme
Date: Tue, 15 Aug 2000 00:00
23 lines
1723 bytes
[Dave Smith]

>   Kjetil Torgrim Homme wrote:
>   
>   > Okay.  If you had duplicate disk space, you could set up a tradspool
>   > storage class, and send all new articles into that.  Old articles
>   > would still be available in the CNFS buffers.  After a couple of
>   > weeks, when those old articles were no longer needed, you could just
>   > remove the CNFS buffers from the system.
>   
>   I don't understand how the newsreaders would access the news in
>   the CNFS buffers once I'd reverted to tradspool. Surely I'd need a
>   second copy of INN, with storage_api configured into it, to read
>   those buffers.

No.  You'd keep the CNFS buffers in cycbuff.conf (tells the system
where to find articles), but remove any references to them from
storage.conf (tells the system where to store new articles).


Kjetil T.

Re: Revert from CNFS
#47864
Author: Dave Smith
Date: Tue, 15 Aug 2000 00:00
30 lines
1760 bytes

Kjetil Torgrim Homme wrote:

> Okay.  If you had duplicate disk space, you could set up a tradspool
> storage class, and send all new articles into that.  Old articles
> would still be available in the CNFS buffers.  After a couple of
> weeks, when those old articles were no longer needed, you could just
> remove the CNFS buffers from the system.
>

I don't understand how the newsreaders would access the news in the CNFS buffers
once I'd reverted to tradspool. Surely I'd need a second copy of INN, with
storage_api configured into it, to read those buffers. I don't know if having two
copies of INN running on the same machine is possible, let alone feasible. I can
envisage an almighty tangle, with two complete sets of configuration files.

Won't the new version of INN just claw down all the old news from the feed
service, so that it is reasonably up-to-date?

Cheers for now,

Dave
--
David O Smith
Somerford Consultancy Ltd.



Re: Revert from CNFS
#47869
Author: Dave Smith
Date: Tue, 15 Aug 2000 00:00
21 lines
1486 bytes
> Okay.  If you had duplicate disk space, you could set up a tradspool
> storage class, and send all new articles into that.  Old articles
> would still be available in the CNFS buffers.  After a couple of
> weeks, when those old articles were no longer needed, you could just
> remove the CNFS buffers from the system.

And how would I access the news in the CNFS buffers in the meantime - unless I had
two copies of INN running at the same time, of course? I don't even know if that
is possible, I doubt it's feasible. When I rebuild INN and restart it, won't it
claw down all the old news from the feed source?

Cheers,

Dave
--
David O Smith
Somerford Consultancy Ltd.



Re: Revert from CNFS
#47881
Author: Russ Allbery
Date: Wed, 16 Aug 2000 00:00
16 lines
1394 bytes
Dave Smith <dave@cs71.esoc.esa.de> writes:
> Kjetil Torgrim Homme wrote:

>> No.  You'd keep the CNFS buffers in cycbuff.conf (tells the system
>> where to find articles), but remove any references to them from
>> storage.conf (tells the system where to store new articles).

> And INN will still look at cycbuff.conf even with storageapi set to
> 'false' in inn.conf???

The trick that Kjetil is describing only works with INN 2.3.0 or later.

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

Re: Revert from CNFS
#47882
Author: Dave Smith
Date: Wed, 16 Aug 2000 00:00
23 lines
1309 bytes

Kjetil Torgrim Homme wrote:

> No.  You'd keep the CNFS buffers in cycbuff.conf (tells the system
> where to find articles), but remove any references to them from
> storage.conf (tells the system where to store new articles).

And INN will still look at cycbuff.conf even with storageapi set to 'false' in
inn.conf???

I didn't realise it was that clever.

Cheers,

Dave Smith
--
David O Smith
Somerford Consultancy Ltd.



Re: Revert from CNFS
#47893
Author: Kjetil Torgrim Homme
Date: Wed, 16 Aug 2000 00:00
16 lines
1446 bytes
[Russ Allbery]

>   > And INN will still look at cycbuff.conf even with storageapi set to
>   > 'false' in inn.conf???
>   
>   The trick that Kjetil is describing only works with INN 2.3.0 or later.

Ah, I see now he's using 2.2.1.  And the reason it works in 2.3.0 is
that tradspool is a valid backend for storageapi (so it should still
have the value "true").  It should be possible to upgrade to 2.3.0 and
keep the articles, though.


Kjetil T.

Re: Revert from CNFS
#47897
Author: Russ Allbery
Date: Thu, 17 Aug 2000 00:00
17 lines
1606 bytes
Dave Smith <dave@cs71.esoc.esa.de> writes:
> Kjetil Torgrim Homme wrote:

>> Ah, I see now he's using 2.2.1.  And the reason it works in 2.3.0 is
>> that tradspool is a valid backend for storageapi (so it should still
>> have the value "true").  It should be possible to upgrade to 2.3.0 and
>> keep the articles, though.

> Is 2.3.0 robust enough for commercial use, or is it still beta software?

It's robust.  I've been running it on production feed systems for a while
and I know sites that are running it on large production reader systems.

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

Re: Revert from CNFS
#47899
Author: Dave Smith
Date: Thu, 17 Aug 2000 00:00
26 lines
1711 bytes

Kjetil Torgrim Homme wrote:

> Now, if you need to reuse your storage, things are messier.  You'll
> have to store all the messages in some format on temporary storage I
> would create a huge rnews batch file.  Then you reformat and feed the
> batch file back in.  I once wrote a patch to make sm create the
> batchfile very painlessly, but they never got integrated in the
> official release. :-/

Since I can't run tradspool and CNFS alongside each other until 2.3 is available,
can someone please tell me how to export the articles from the cyclic buffers.
I've got 28Gb of cyclic buffers on one of these systems and I don't want to have
to go through it exporting all the messages by hand. And how would the articles
have to be reformatted. Can this be done by a sed or awk script, and if so, has
anyone got such a beast, pretty please?

Dave
--
David O Smith
Somerford Consultancy Ltd.



Re: Revert from CNFS
#47904
Author: Dave Smith
Date: Thu, 17 Aug 2000 00:00
19 lines
1389 bytes

Kjetil Torgrim Homme wrote:

> Ah, I see now he's using 2.2.1.  And the reason it works in 2.3.0 is
> that tradspool is a valid backend for storageapi (so it should still
> have the value "true").  It should be possible to upgrade to 2.3.0 and
> keep the articles, though.

Is 2.3.0 robust enough for commercial use, or is it still beta software?

Dave
--
David O Smith
Somerford Consultancy Ltd.



Re: Revert from CNFS
#47922
Author: Russ Allbery
Date: Thu, 17 Aug 2000 00:00
18 lines
1577 bytes
Dave Smith <dave@cs71.esoc.esa.de> writes:

> Since I can't run tradspool and CNFS alongside each other until 2.3 is
> available, can someone please tell me how to export the articles from
> the cyclic buffers.  I've got 28Gb of cyclic buffers on one of these
> systems and I don't want to have to go through it exporting all the
> messages by hand. And how would the articles have to be reformatted. Can
> this be done by a sed or awk script, and if so, has anyone got such a
> beast, pretty please?

Might be better to just wait until 2.3, which should be out shortly.
You'll need to rebuild your overview when upgrading from 2.2 to 2.3, but
2.3 should be able to read 2.2 cycbuffs just fine.

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

Re: Revert from CNFS
#47941
Author: Russ Allbery
Date: Fri, 18 Aug 2000 00:00
15 lines
1335 bytes
Dave Smith <dave@cs71.esoc.esa.de> writes:
> Russ Allbery wrote:

>> Might be better to just wait until 2.3, which should be out shortly.
>> You'll need to rebuild your overview when upgrading from 2.2 to 2.3,
>> but 2.3 should be able to read 2.2 cycbuffs just fine.

> So, can you specify what you mean by "out shortly".

Unless something catastrophic goes wrong, this weekend.

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

Re: Revert from CNFS
#47946
Author: Dave Smith
Date: Fri, 18 Aug 2000 00:00
24 lines
1530 bytes

Russ Allbery wrote:

> Might be better to just wait until 2.3, which should be out shortly.
> You'll need to rebuild your overview when upgrading from 2.2 to 2.3, but
> 2.3 should be able to read 2.2 cycbuffs just fine.

So, can you specify what you mean by "out shortly". And is it possible to get
a beta version of 2.3 so I can see what would be involved in an upgrade from
2.2 before I recommend that my client go that way. They have some considerable
problems with their news service and are pestering for a 'quick and dirty'
fix, just to keep their users satisfied

Regards,

Dave Smith
--
David O Smith
Somerford Consultancy Ltd.



Re: Revert from CNFS
#47968
Author: Katsuhiro Kondou
Date: Fri, 18 Aug 2000 15:51
11 lines
1776 bytes
In article <399D1F29.5A494F2F@cs71.esoc.esa.de>,
	Dave Smith <dave@cs71.esoc.esa.de> wrote;

} So, can you specify what you mean by "out shortly". And is it possible to get
} a beta version of 2.3 so I can see what would be involved in an upgrade from
} 2.2 before I recommend that my client go that way. They have some considerable

Grab latest inn-BETA-* under ftp://ftp.isc.org/isc/inn/snapshots.
-- 
Katsuhiro Kondou
Re: Revert from CNFS
#47981
Author: David O Smith
Date: Sun, 20 Aug 2000 00:00
21 lines
1583 bytes
In article <8njm1o$rfh$1@bgsv5906.tk.mesh.ad.jp>, Katsuhiro Kondou
<kondou@isc.org> writes
>
>Grab latest inn-BETA-* under ftp://ftp.isc.org/isc/inn/snapshots.

I've done that, and spent time over the weekend going through the files.
I can't see how to configure 2.3 so that it reads the cyclic buffers,
but stores information in tradspool. I can see that both are available
under storageapi, now, but at the same time? And with only one being
used for ongoing storage?

Can you advise me, please?

TIA,

Dave Smith
-- 
David O Smith AMBCS
Somerford Consultancy Ltd.

Re: Revert from CNFS
#47990
Author: Russ Allbery
Date: Sun, 20 Aug 2000 00:00
19 lines
1668 bytes
David O Smith <dave@maildulf.co.uk> writes:

> I've done that, and spent time over the weekend going through the files.
> I can't see how to configure 2.3 so that it reads the cyclic buffers,
> but stores information in tradspool. I can see that both are available
> under storageapi, now, but at the same time? And with only one being
> used for ongoing storage?

> Can you advise me, please?

cycbuff.conf determines what cycbuffs are accessible; storage.conf
determines where new articles are stored.  If you use the cycbuff.conf
from your old server and write a storage.conf that sends everything to
tradspool you should be all set.

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

Re: Revert from CNFS
#47994
Author: Katsuhiro Kondou
Date: Sun, 20 Aug 2000 22:47
11 lines
1736 bytes
In article <17o33HBzcCo5Ew4t@maildulf.co.uk>,
	David O Smith <dave@maildulf.co.uk> wrote;

} but stores information in tradspool. I can see that both are available
} under storageapi, now, but at the same time? And with only one being
} used for ongoing storage?

Yes, both are available at the same time.
-- 
Katsuhiro Kondou
Re: Revert from CNFS
#48003
Author: Dave Smith
Date: Mon, 21 Aug 2000 00:00
32 lines
1857 bytes

Russ Allbery wrote:

> cycbuff.conf determines what cycbuffs are accessible; storage.conf
> determines where new articles are stored.  If you use the cycbuff.conf
> from your old server and write a storage.conf that sends everything to
> tradspool you should be all set.

I've done that. I've got 2.3 up and running and all seems to be well (except
for a couple of error messages in the system log - see my separate message
about those).
BUT - I can't seem to access the news that is in the old cyclic buffers.

Whenever I try to read an article that should be in the cyclic buffers I get
the message:

newsgroup server responded: Bad article number
Perhaps that article has expired

Please could someone suggest what I've done wrong this time.

TIA,

Dave Smith
--
David O Smith
Somerford Consultancy Ltd.



Re: Revert from CNFS
#48010
Author: Miquel van Smoorenburg
Date: Mon, 21 Aug 2000 00:00
17 lines
1467 bytes
In article <39A12AAC.EFD016C9@cs71.esoc.esa.de>,
Dave Smith  <DavSmith@esoc.esa.de> wrote:
>I've done that. I've got 2.3 up and running and all seems to be well (except
>for a couple of error messages in the system log - see my separate message
>about those).
>BUT - I can't seem to access the news that is in the old cyclic buffers.

If you're upgrading from 2.2 to 2.3 you need to rebuild the
history database.

Stop innd, remove the old overview completely, restart innd,
run 'makehistory -F -O -x' as the 'news' user, then go out to lunch
for a day or so (depending howmuch articles there are in your spool).

Mike.

Re: Revert from CNFS
#48022
Author: Dave Smith
Date: Tue, 22 Aug 2000 00:00
26 lines
1387 bytes

Miquel van Smoorenburg wrote:

>
> Stop innd, remove the old overview completely, restart innd,
> run 'makehistory -F -O -x' as the 'news' user, then go out to lunch
> for a day or so (depending howmuch articles there are in your spool).
>

I did that, it took about 41/2 hours (I've not got much news on the system).
Now I've got a system log full of messages saying:

makehistory[26947]: tradspool: can't determine class : @<message-id>@: Bad
article handle

Any ideas?

Dave
--
David O Smith
Somerford Consultancy Ltd.



Re: Revert from CNFS
#48026
Author: Miquel van Smoorenburg
Date: Tue, 22 Aug 2000 00:00
16 lines
1303 bytes
In article <39A279F7.6E95D7EB@cs71.esoc.esa.de>,
Dave Smith  <DavSmith@esoc.esa.de> wrote:
>I did that, it took about 41/2 hours (I've not got much news on the system).
>Now I've got a system log full of messages saying:
>
>makehistory[26947]: tradspool: can't determine class : @<message-id>@: Bad
>article handle
>
>Any ideas?

Ehm. No. I do know that I don't really trust the tradspool storage
method, IMO it's not quite ready for production yet.

Mike.

Re: Revert from CNFS
#48028
Author: Dave Smith
Date: Tue, 22 Aug 2000 00:00
36 lines
1626 bytes

Miquel van Smoorenburg wrote:

> If you're upgrading from 2.2 to 2.3 you need to rebuild the
> history database.
>
> Stop innd, remove the old overview completely, restart innd,
> run 'makehistory -F -O -x' as the 'news' user, then go out to lunch
> for a day or so (depending howmuch articles there are in your spool).
>

What I did was

makehistory �b �f history.n �O �T/usr/local/news/tmp �l 600000

followed by:

makedbz -s `wc -l < history.n` -f history.n

then moved the files into place.

This was the procedure given in the NEWS document about upgrading that came with
2.3. If this is not correct, or not sufficient, then can I suggest the document
gets modified?

Cheers for now,

Dave
--
David O Smith
Somerford Consultancy Ltd.



Re: Revert from CNFS
#48030
Author: Katsuhiro Kondou
Date: Tue, 22 Aug 2000 00:00
17 lines
1613 bytes
In article <39A279F7.6E95D7EB@cs71.esoc.esa.de>,
	Dave Smith <dave@cs71.esoc.esa.de> wrote;

} Now I've got a system log full of messages saying:
} 
} makehistory[26947]: tradspool: can't determine class : @<message-id>@: Bad
} article handle
} 
} Any ideas?

It means you have articles which should belong to other storage
method according to your storage.conf.  You can ignore those
messages although.
-- 
Katsuhiro Kondou

Re: Revert from CNFS
#48140
Author: Graham Murray
Date: Sun, 27 Aug 2000 00:00
11 lines
1539 bytes
Katsuhiro Kondou <kondou@isc.org> writes:

> It means you have articles which should belong to other storage
> method according to your storage.conf.  You can ignore those
> messages although.

Are you sure? I have *only* defined the tradspool method in
storage.conf, but I got this message for (I think) every article in my
spool when running makehistory as part of the upgrade from 2.2

Re: Revert from CNFS
#48153
Author: Katsuhiro Kondou
Date: Sun, 27 Aug 2000 23:00
20 lines
2198 bytes
In article <m2lmxiwq4o.fsf@barnowl.demon.co.uk>,
	Graham Murray <newspost@gmurray.org.uk> wrote;

} > It means you have articles which should belong to other storage
} > method according to your storage.conf.  You can ignore those
} > messages although.

This was not correct desctiption.  It should be wrote as; it
means you have articles which should belong to other storage
method according to your storage.conf, or newsgroups of those
articles are not defined 'newsgroups' in storage.conf.

} Are you sure? I have *only* defined the tradspool method in
} storage.conf, but I got this message for (I think) every article in my
} spool when running makehistory as part of the upgrade from 2.2

What your storage.conf looks like?
-- 
Katsuhiro Kondou
Re: Revert from CNFS
#48164
Author: Graham Murray
Date: Mon, 28 Aug 2000 00:00
71 lines
2520 bytes
Katsuhiro Kondou <kondou@isc.org> writes:

> What your storage.conf looks like?
# This file is used to determine which storage method articles are sent to
# to be stored and which storage class they are stored as.  

#
#	Sample for the ``timehash'' storage method:
#
#	method <methodname> {
#		newsgroups: <wildmat>
#		class: <storage class #>
#		size: <minsize>[,<maxsize>]
#		expires: <mintime>[,<maxtime>]
#		options: <options>
#	}
#
#method timehash {
#	newsgroups: *
#	class: 0
#}
#method timehash {
#	newsgroups: alt.binaries.*
#	class: 1
#	size: 2,32000
#}
#method timehash {
#	newsgroups: alt.*
#	class: 2
#	size: 1
#}

#
#	Sample for the ``cnfs'' storage method:
#
#	methodname:wildmat:storage class #:minsize:maxsize:metacycbuffname
#	method cnfs {
#		newsgroups: <wildmat>
#		class: <storage class #>
#		size: <minsize>[,<maxsize>]
#		expires: <mintime>[,<maxtime>]
#		options: <metacycbuffname>
#	}
#
#method cnfs {
#	newsgroups: *
#	class: 1
#	size: 0,3999
#	expires: 4d1s
#	options: FAQS
#}
#method cnfs {
#	newsgroups: *
#	class: 2
#	size: 0,3999
#	expires: 0s,4d
#	options: SMALLAREA
#}
#method cnfs {
#	newsgroups: *
#	class: 3
#	size: 4000,1000000
#	options: BIGAREA
#}

method tradspool {
	newsgroups: *
	class: 5
}

Re: Revert from CNFS
#48193
Author: Katsuhiro Kondou
Date: Tue, 29 Aug 2000 02:02
14 lines
1802 bytes
In article <m23djp3ijq.fsf@barnowl.demon.co.uk>,
	Graham Murray <newspost@gmurray.org.uk> wrote;

} > What your storage.conf looks like?
:
} method tradspool {
} 	newsgroups: *
} 	class: 5
} }

Ok,I see.  Do those articles include Xref header?
-- 
Katsuhiro Kondou
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