Thread View: news.software.nntp
8 messages
8 total messages
Started by Russ Allbery
Mon, 22 May 2000 00:00
Re: How to recover overview database ?
Author: Russ Allbery
Date: Mon, 22 May 2000 00:00
Date: Mon, 22 May 2000 00:00
14 lines
1149 bytes
1149 bytes
Serguei Tchernev <ser@nsu.ru> writes: > I know the makehistory and makeactive utilities for recovering history > and active files, but can anybody tell me how to recover overview > database? makehistory also recovers the overview database if you're using the storage API when given the -O flag. If you're not and are using the old traditional overview, expireover will do it; see the man page. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: How to recover overview database ?
Author: Russ Allbery
Date: Mon, 22 May 2000 00:00
Date: Mon, 22 May 2000 00:00
20 lines
1521 bytes
1521 bytes
Rick Ellis <ellis@ftel.net> writes: > Russ Allbery <rra@stanford.edu> wrote: >> makehistory also recovers the overview database if you're using the >> storage API when given the -O flag. If you're not and are using the >> old traditional overview, expireover will do it; see the man page. > I don't remember it being quite that simple. Isn't there another step > to be done after the makehistory? (I did it a year ago but can't > remember how.) With INN 2.3, it should be that simple. With INN 2.2, I believe you have to feed the resulting index file through expireindex to recreate the .overview.idx files as well, but I've not done this myself so take the advice with a grain of salt. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: How to recover overview database ?
Author: Rick Ellis
Date: Mon, 22 May 2000 00:00
Date: Mon, 22 May 2000 00:00
14 lines
1217 bytes
1217 bytes
In article <ylaehigv5h.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: >makehistory also recovers the overview database if you're using the >storage API when given the -O flag. If you're not and are using the old >traditional overview, expireover will do it; see the man page. I don't remember it being quite that simple. Isn't there another step to be done after the makehistory? (I did it a year ago but can't remember how.)
Re: How to recover overview database ?
Author: Tim Pennick
Date: Fri, 26 May 2000 00:00
Date: Fri, 26 May 2000 00:00
36 lines
2327 bytes
2327 bytes
> From: Russ Allbery <rra@stanford.edu> >Serguei Tchernev <ser@nsu.ru> writes: > >> I know the makehistory and makeactive utilities for recovering history >> and active files, but can anybody tell me how to recover overview >> database? > >makehistory also recovers the overview database if you're using the >storage API when given the -O flag. If you're not and are using the old >traditional overview, expireover will do it; see the man page. I've just installed INN Beta from May 18th on my test server, and thought I'd experiment with CNFS. I'm only using this for the alt hierarchy, and I thought I could get away with leaving the other hierarchies intact in the spool area, and keeping my old history file. All seemed to be more or less OK except that I thought I'd better blow away the overview structure, and try to rebuild it from scratch using the tradindexed approach. However, I can't find anything about how to recover the overview information when you are employing more than one of the storage classes. I ran makehistory -O -X, but it worte loads of error messages to news.notice complaining about the tradspool storage class. Anone got any ideas how to do this, or have I missed something in the documentation. By the way, on the subject of documentation, I'd like to thank those responsible for the work on version 2.3, in particular there's a vast improvement in the installation info. I think that 2.3 in general looks like a really impressive advance in developments so thanks again to everyone involved. Regards, Tim Pennick
Re: How to recover overview database ?
Author: Ilya Etingof
Date: Tue, 30 May 2000 00:00
Date: Tue, 30 May 2000 00:00
36 lines
2323 bytes
2323 bytes
When I tried to recover overview databases of 2.2 (quite a time ago) with makehistory & expireindex it turned out that these tools do not preserve articles numbering (Xref: stuff) so I got the ranges in my active file shifted back to zero lowmarks what is realy bad since newsreaders rely on active file ranges. So I end up with my own tool which is actually a compilation of expire, expireindex and makehistory code. It is an alpha quality tool but it worked for me when I was with 2.2. The source is available from: ftp://ftp.glas.net/users/ilya/tools/inn/ov/ -ilya Russ Allbery <rra@stanford.edu> wrote: > Rick Ellis <ellis@ftel.net> writes: >> Russ Allbery <rra@stanford.edu> wrote: >>> makehistory also recovers the overview database if you're using the >>> storage API when given the -O flag. If you're not and are using the >>> old traditional overview, expireover will do it; see the man page. >> I don't remember it being quite that simple. Isn't there another step >> to be done after the makehistory? (I did it a year ago but can't >> remember how.) > With INN 2.3, it should be that simple. With INN 2.2, I believe you have > to feed the resulting index file through expireindex to recreate the > .overview.idx files as well, but I've not done this myself so take the > advice with a grain of salt. > -- > Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: How to recover overview database ?
Author: Russ Allbery
Date: Wed, 31 May 2000 00:00
Date: Wed, 31 May 2000 00:00
40 lines
2493 bytes
2493 bytes
Tim Pennick <tpennick@axion.bt.co.uk> writes: > I've just installed INN Beta from May 18th on my test server, and > thought I'd experiment with CNFS. I'm only using this for the alt > hierarchy, and I thought I could get away with leaving the other > hierarchies intact in the spool area, and keeping my old history file. > All seemed to be more or less OK except that I thought I'd better blow > away the overview structure, and try to rebuild it from scratch using > the tradindexed approach. Right, that's what you want. > However, I can't find anything about how to recover the overview > information when you are employing more than one of the storage classes. makehistory is supposed to parse storage.conf and find all of the storage classes and recover articles from all of them. > I ran makehistory -O -X, but it worte loads of error messages to > news.notice complaining about the tradspool storage class. Was it having a hard time figuring out what storage class a newsgroup maps to? There's something weird with makehistory right now in combination with tradspool, I think. I don't think it builds the map file quite right (from other reports); it may work to get the tradspool.map file that it builds and then run makehistory *again* using that map file. I haven't had a chance to look at it yet, though.... > By the way, on the subject of documentation, I'd like to thank those > responsible for the work on version 2.3, in particular there's a vast > improvement in the installation info. I think that 2.3 in general looks > like a really impressive advance in developments so thanks again to > everyone involved. Cool. :) Thanks. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: How to recover overview database ?
Author: Tim Pennick
Date: Fri, 02 Jun 2000 00:00
Date: Fri, 02 Jun 2000 00:00
49 lines
3088 bytes
3088 bytes
> From: Russ Allbery <rra@stanford.edu> >Tim Pennick <tpennick@axion.bt.co.uk> writes: > >> I've just installed INN Beta from May 18th on my test server, and >> thought I'd experiment with CNFS. I'm only using this for the alt >> hierarchy, and I thought I could get away with leaving the other >> hierarchies intact in the spool area, and keeping my old history file. >> All seemed to be more or less OK except that I thought I'd better blow >> away the overview structure, and try to rebuild it from scratch using >> the tradindexed approach. > >Right, that's what you want. > >> However, I can't find anything about how to recover the overview >> information when you are employing more than one of the storage classes. > >makehistory is supposed to parse storage.conf and find all of the storage >classes and recover articles from all of them. > >> I ran makehistory -O -X, but it worte loads of error messages to >> news.notice complaining about the tradspool storage class. > >Was it having a hard time figuring out what storage class a newsgroup maps >to? There's something weird with makehistory right now in combination >with tradspool, I think. I don't think it builds the map file quite right >(from other reports); it may work to get the tradspool.map file that it >builds and then run makehistory *again* using that map file. I haven't >had a chance to look at it yet, though.... The error message produced is along the lines of: tradspool: unable to determine class. I was unable to do a full run of makehistory, as it filled up my logs with error messages. I've also now discovered that for some reason, some groups stored in tradspool have been filling up with articles at a lower number than those stored before the upgrade. This means that no articles in that group appear to be readable as earlier articles still have higher numbers. . I think I'll need to blow away the whole spool area and history file and start from scratch, and this isn't much of a problem as this is only a test server, but I was hoping that I might be able to upgrade my live server while keeping the spool and history files intact, and only recreating the overview database. Any ideas how I could get out of my current predicament without blowing away spool and history files? Many Thanks, Tim Pennick
Re: How to recover overview database ?
Author: Russ Allbery
Date: Tue, 20 Jun 2000 00:00
Date: Tue, 20 Jun 2000 00:00
28 lines
2180 bytes
2180 bytes
Tim Pennick <tpennick@axion.bt.co.uk> writes: > I was unable to do a full run of makehistory, as it filled up my logs > with error messages. I've also now discovered that for some reason, > some groups stored in tradspool have been filling up with articles at a > lower number than those stored before the upgrade. This means that no > articles in that group appear to be readable as earlier articles still > have higher numbers. . I think I'll need to blow away the whole spool > area and history file and start from scratch, and this isn't much of a > problem as this is only a test server, but I was hoping that I might be > able to upgrade my live server while keeping the spool and history files > intact, and only recreating the overview database. Any ideas how I > could get out of my current predicament without blowing away spool and > history files? I think that's your best choice given that it's a test server. I believe that upgrading and just rebuilding history and overview is *supposed* to work, but other people have had a lot of trouble when coming from traditional spool. At this point, I think it's a better idea to use innxmit to transfer all the articles to the new server (possibly with xrefslave turned on). I'd love it if someone would really pound on the makehistory code and get the easier upgrade method working, though. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
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