Thread View: news.software.nntp
6 messages
6 total messages
Started by G Hardman
Mon, 13 Aug 2001 16:47
Newbie question - migrating C-news spool to INN
Author: G Hardman
Date: Mon, 13 Aug 2001 16:47
Date: Mon, 13 Aug 2001 16:47
49 lines
2544 bytes
2544 bytes
(I already tried posting this, but it went AWOL somewhere between my keyboard and Usenet...) Hi, I'm new round here, and I haven't found the answer to this problem anywhere in the FAQ's, man pages, suggested sites or docs. I've been responsible for installing INN on a test server (done), then configuring it (nearly there), and then copying the existing spool across from our current server running C-news (tradspool, tradindexed, carrying local newsgroups only). My plan of attack : 1) tar up the existing spool, copy it to the new server, along with history, newsgroups and active. 2) untar the spool to ~news/spool/articles, copy active, newsgroups and history to ~news/db 3) Clear the overview database (cd ~news/spool/overview; rm -rf *) 4) makedbz -i 5) makehistory -Ox 6) ctlinnd newgroup ... (for each group) 7) chown/chgrp all files to news and chmod 644 8) restart innd My problem is that most of the articles are hidden when I try to view them in my newsreader (slrn/tin). They're definitely there, as the reader prompts me for how many I want to view, and it gives the correct number of articles. Only a small percentage of them make it to the reader, though, and the only thing I can find in common is that they were all crossposted on the existing server. The overview entries do indeed appear to contain only those articles which appear in the reader. Can someone more learned in the ways of INN/C-news please give me a pointer to a new line of enquiry, as I'm pretty sure I've exhausted the docs, FAQs and man pages. TIA, Graham
Re: Newbie question - migrating C-news spool to INN
Author: Russ Allbery
Date: Mon, 13 Aug 2001 21:20
Date: Mon, 13 Aug 2001 21:20
50 lines
3223 bytes
3223 bytes
G Hardman <gph@comp.leeds.ac.uk> writes:
> I've been responsible for installing INN on a test server (done), then
> configuring it (nearly there), and then copying the existing spool
> across from our current server running C-news (tradspool, tradindexed,
> carrying local newsgroups only).
> My plan of attack :
> 1) tar up the existing spool, copy it to the new server, along with
> history, newsgroups and active.
No, you don't want to take this approach.
Instead, grab the active file from the C News server, but replace all the
numbers with 0000000000 0000000001. Use that as your active file. Bring
the system up with xrefslave set to true.
Then, edit all of the files from your old spool to add an Xref header if
they don't already have one (I don't know if C News ever added one). The
first word in the Xref line doesn't matter; the second and all subsequent
words needs to be the newsgroup name, colon, article number. Did C News
create Xref for crossposted articles? If not, that gets a bit complicated
to handle for crossposts. I have a script floating around to do this if
you want it.
Now, use find to create a list of all those files, dump it into a file,
and then point innxmit at your new server and that list of files.
That's by far the best way to get all the overview and everything created
properly. makehistory still has odd problems that we haven't tracked down
yet.
> My problem is that most of the articles are hidden when I try to view
> them in my newsreader (slrn/tin). They're definitely there, as the
> reader prompts me for how many I want to view, and it gives the correct
> number of articles. Only a small percentage of them make it to the
> reader, though, and the only thing I can find in common is that they
> were all crossposted on the existing server. The overview entries do
> indeed appear to contain only those articles which appear in the reader.
Sounds like C News only creates Xref headers for crossposted messages.
INN's makehistory expects Xref headers in every message.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Newbie question - migrating C-news spool to INN
Author: M. Buchenrieder
Date: Fri, 17 Aug 2001 07:57
Date: Fri, 17 Aug 2001 07:57
29 lines
1778 bytes
1778 bytes
Russ Allbery <rra@stanford.edu> writes:
[...]
>Then, edit all of the files from your old spool to add an Xref header if
>they don't already have one (I don't know if C News ever added one).
Yes. It adds Xref headers to all incoming articles.
>The
>first word in the Xref line doesn't matter; the second and all subsequent
>words needs to be the newsgroup name, colon, article number. Did C News
>create Xref for crossposted articles?
[...]
Yes.
I really sometimes do wonder why people are bothering with
INN if all they need is a local server with just some groups. CNews,
though a bit dated, can provide all the functionality much easier
(as most of the stuff is just simple shell scripts).
Michael
--
Michael Buchenrieder * mibu@scrum.greenie.muc.de * http://www.muc.de/~mibu
Lumber Cartel Unit #456 (TINLC) & Official Netscum
Note: If you want me to send you email, don't munge your address.
Re: Newbie question - migrating C-news spool to INN
Author: Dan Glover
Date: Fri, 17 Aug 2001 16:02
Date: Fri, 17 Aug 2001 16:02
43 lines
3223 bytes
3223 bytes
On 17 Aug 2001 11:16:28 -0700, Russ Allbery <rra@stanford.edu> wrote: >M Buchenrieder <mibu@scrum.muc.de> writes: >> I really sometimes do wonder why people are bothering with INN if all >> they need is a local server with just some groups. CNews, though a bit >> dated, can provide all the functionality much easier (as most of the >> stuff is just simple shell scripts). >Sooner or later, we'll get INN as simple on the low end as C News is. :) >I think the lack of an active maintainer and some long-standing problems >with the reference NNTP implementation in terms of Y2K and the like is >most of what's scaring people off. That, and few people talk about it. I'm still running C News here (I'm essentially the only user) and keep putting off the changeover to INN as, well, "it works". When that time comes I'll use some of the hints in this thread. Without going and digging out the details I think there was a problem in C News itself with handling of two-digit years (something of a minority in Date: headers these days). It was simple enough to fix or could be ignored if losing a minority of articles wasn't going to be important. As you say there were a couple of Y2K issues with the Reference Implementation, but with a couple of patches that is also still going strong here. I did notice some minor oddities if one has groups with all-numeric names (something which was traditionally A Bad Idea) which came to light because someone else was seeing error messages from Leafnode. Suppose I could fix that sometime... Actually the existence of things like Leafnode is a factor in C News (lack of) usage: the decision process seems to be between INN as the "industrial strength" solution or Leafnode for small-scale use. C News would probably be ruled out by most on the grounds of lack of visible support/documentation and a perception that something which hasn't had an official release for *years* is probably not worth trying. [resists temptation to cross-post to news.software.b] Dan
Re: Newbie question - migrating C-news spool to INN
Author: Russ Allbery
Date: Fri, 17 Aug 2001 18:16
Date: Fri, 17 Aug 2001 18:16
18 lines
1814 bytes
1814 bytes
M Buchenrieder <mibu@scrum.muc.de> writes:
> I really sometimes do wonder why people are bothering with INN if all
> they need is a local server with just some groups. CNews, though a bit
> dated, can provide all the functionality much easier (as most of the
> stuff is just simple shell scripts).
Sooner or later, we'll get INN as simple on the low end as C News is. :)
I think the lack of an active maintainer and some long-standing problems
with the reference NNTP implementation in terms of Y2K and the like is
most of what's scaring people off. That, and few people talk about it.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Newbie question - migrating C-news spool to INN
Author: M. Buchenrieder
Date: Sun, 19 Aug 2001 07:05
Date: Sun, 19 Aug 2001 07:05
22 lines
1847 bytes
1847 bytes
Russ Allbery <rra@stanford.edu> writes:
>Sooner or later, we'll get INN as simple on the low end as C News is. :)
Death of Usenet predicted. Film at 11. <g>
>I think the lack of an active maintainer and some long-standing problems
>with the reference NNTP implementation in terms of Y2K and the like is
>most of what's scaring people off. That, and few people talk about it.
Yup. It's a shame, though, as CNews since the days of the Cleanup
Release G has been drastically improved, and, once setup, will
work for years without any human interaction. Has done so on my system
since 1993 (and hopefully will do for the forseeable future).
without any active maintainer, though, it is doomed to fade away.
Michael
--
Michael Buchenrieder * mibu@scrum.greenie.muc.de * http://www.muc.de/~mibu
Lumber Cartel Unit #456 (TINLC) & Official Netscum
Note: If you want me to send you email, don't munge your address.
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