Thread View: news.software.nntp
12 messages
12 total messages
Started by Dave Magda
Tue, 12 Jun 2001 18:27
suck + inn
Author: Dave Magda
Date: Tue, 12 Jun 2001 18:27
Date: Tue, 12 Jun 2001 18:27
20 lines
1782 bytes
1782 bytes
I'm setting up suck 4.2.5 with INN 2.3.2 and almost have it working.
I suck the messages into an rnews batchfile and have it go into a
tradspool system. In ~news/spool/articles there are messages in the
well known format of news/group/###.
When I do a telnet localhost nntp I do a LIST I get all the groups as
aspected and a highmark lowmark and 'y' as below:
comp.unix.bsd.openbsd.misc 0000000204 0000000001 y
Doing an `ls spool/articles/comp/unix/bsd/openbsd/misc/` shows
a total of 204 messages. I've gone through documentation and probably
missed the answer but how do I tell innd that the messages are there?
--
David Magda <dmagda at ee.ryerson.ca>
Vimes pulled out his watch and stared at it. It was turning out to be one of
those days...the sort that you got every day.
-- Terry Pratchett, _The_Fifth_Elephant_
Re: suck + inn
Author: Terrance Richard Boyes
Date: Wed, 13 Jun 2001 00:26
Date: Wed, 13 Jun 2001 00:26
23 lines
2076 bytes
2076 bytes
Dave Magda <dmagda@number6.ee.ryerson.ca> wrote: > I'm setting up suck 4.2.5 with INN 2.3.2 and almost have it working. > I suck the messages into an rnews batchfile and have it go into a > tradspool system. In ~news/spool/articles there are messages in the > well known format of news/group/###. > When I do a telnet localhost nntp I do a LIST I get all the groups as > aspected and a highmark lowmark and 'y' as below: > comp.unix.bsd.openbsd.misc 0000000204 0000000001 y > Doing an `ls spool/articles/comp/unix/bsd/openbsd/misc/` shows > a total of 204 messages. I've gone through documentation and probably > missed the answer but how do I tell innd that the messages are there? Err everything you've posted above suggests that it working. What's your actual problem ? -- <URL:http://www.pierrot.co.uk/> Team AMIGA VYARZERZOMANIMORORSEZASSEZANSERAREORSES?
Re: suck + inn
Author: Dave Magda
Date: Wed, 13 Jun 2001 02:45
Date: Wed, 13 Jun 2001 02:45
43 lines
2882 bytes
2882 bytes
Terrance Richard Boyes wrote:
> Err everything you've posted above suggests that it working.
> What's your actual problem ?
>
Oops, small (and important) detail left out.
200 ... InterNetNews NNRP server INN 2.3.2 ready (posting ok).
list
215 Newsgroups in form "group high low flags".
control 0000000000 0000000001 y
junk 0000000000 0000000001 y
control.cancel 0000000000 0000000001 y
control.checkgroups 0000000000 0000000001 y
[...]
comp.unix.bsd.netbsd.misc 0000000057 0000000001 y
comp.unix.bsd.openbsd.announce 0000000000 0000000001 y
comp.unix.bsd.openbsd.misc 0000000204 0000000001 y
..
group comp.unix.bsd.openbsd.misc
211 0 0 0 comp.unix.bsd.openbsd.misc
^^^^^^^---the problem
When I use tin (or even telnet as above) to go into a group there are no
messages list. But the high for openbsd.misc is 204, and there are 204
messages in ~news/spool/.../openbsd/misc. But when I do the group command
there aren't any all of a sudden. Further more if I do a "head" I get the
the header of the message; ditto for the "body" command.
Of course if I do a "next" I get the respose: 421 No next to retrieve.
Therefore my question is: how do get INN to see the messages? Actually
it sees the first one in each group because the NNTP commands "head" and
"body" work; but I can't do a "next".
Sorry for leaving this out the first time: it was the end of day and I
was about to go home; I've recharged a bit now. Hopefully this second
post actually makes sense. :>
--
David Magda <dmagda at ee.ryerson.ca>, 3rd Year Electrical Eng.
Vimes pulled out his watch and stared at it. It was turning out to be one of
those days...the sort that you got every day.
-- Terry Pratchett, _The_Fifth_Elephant_
Re: suck + inn
Author: those who know me have no need o...
Date: Wed, 13 Jun 2001 03:49
Date: Wed, 13 Jun 2001 03:49
13 lines
1102 bytes
1102 bytes
<slrn9icnpd.ha.dmagda@number6.ee.ryerson.ca> divulged: >but how do I tell innd that the messages are there? most likely be because you didn't generate any overviews. you can check that by connecting to your server (again with telnet) and issuing an ``xover 1-'' command after entering the group. or your expire is set too low. -- okay, have a sig then
Re: suck + inn
Author: those who know me have no need o...
Date: Wed, 13 Jun 2001 04:54
Date: Wed, 13 Jun 2001 04:54
14 lines
1413 bytes
1413 bytes
<slrn9idl60.oh.dmagda@number6.ee.ryerson.ca> divulged: >When I use tin (or even telnet as above) to go into a group there are no >messages list. But the high for openbsd.misc is 204, and there are 204 >messages in ~news/spool/.../openbsd/misc. But when I do the group command >there aren't any all of a sudden. Further more if I do a "head" I get the >the header of the message; ditto for the "body" command. no overviews. you probably have enableoverview and useoverchan true (in inn.conf) but didn't uncomment the overchan feed (in newsfeeds). -- okay, have a sig then
Re: suck + inn
Author: Frank Slootweg
Date: Wed, 13 Jun 2001 15:33
Date: Wed, 13 Jun 2001 15:33
37 lines
2889 bytes
2889 bytes
Dave Magda <dmagda@number6.ee.ryerson.ca> wrote: > I'm setting up suck 4.2.5 with INN 2.3.2 and almost have it working. > I suck the messages into an rnews batchfile and have it go into a > tradspool system. In ~news/spool/articles there are messages in the > well known format of news/group/###. This leads me to believe that you directly *copy*/*move* the articles to your spool directory. If so, then INN, i.e. the active file and the history, won't know about them (but you say that the active file *does* know about them, weird!). In general, you should use (and localize) the examples in the sample directory. The names vary with the suck release, but there are probably ones called get.news.inn*. Chose one for your storage method, i.e. tradspool. If this does not solve your problem, then please explain what you mean by your reference "into an rnews batchfile" and "have it go into a tradspool system", i.e. what has rnews got to do with anything (AG, go away! :-)) and *how* do you *inject*/'post' the articles in/to the local server? > When I do a telnet localhost nntp I do a LIST I get all the groups as > aspected and a highmark lowmark and 'y' as below: > > comp.unix.bsd.openbsd.misc 0000000204 0000000001 y > > Doing an `ls spool/articles/comp/unix/bsd/openbsd/misc/` shows > a total of 204 messages. I've gone through documentation and probably > missed the answer but how do I tell innd that the messages are there? As others suggested, check the history (grephistory(1)) and the overview file(s) for some of the articles. That should show what is wrong, i.e. an article needs an article file, a history entry and a overview entry. I don't know where INN 2.3.2 puts its overview files, mine (1.7.2) are below over.view in my spool directory.
Re: suck + inn
Author: Terrance Richard Boyes
Date: Wed, 13 Jun 2001 18:54
Date: Wed, 13 Jun 2001 18:54
20 lines
2159 bytes
2159 bytes
those who know me have no need of my name <not-a-real-address@usa.net> wrote: > <slrn9idl60.oh.dmagda@number6.ee.ryerson.ca> divulged: >>When I use tin (or even telnet as above) to go into a group there are no >>messages list. But the high for openbsd.misc is 204, and there are 204 >>messages in ~news/spool/.../openbsd/misc. But when I do the group command >>there aren't any all of a sudden. Further more if I do a "head" I get the >>the header of the message; ditto for the "body" command. > no overviews. you probably have enableoverview and useoverchan true (in > inn.conf) but didn't uncomment the overchan feed (in newsfeeds). And to generate the overview's for the articles already there look at makehistory, probably -Ox, add other flags to taste. -- <URL:http://www.pierrot.co.uk/> Team AMIGA Wisdom consists of the anticipation of consequences.
Re: suck + inn
Author: Dave Magda
Date: Thu, 14 Jun 2001 00:23
Date: Thu, 14 Jun 2001 00:23
39 lines
2758 bytes
2758 bytes
Terrance Richard Boyes wrote:
[...]
>> no overviews. you probably have enableoverview and useoverchan true (in
>> inn.conf) but didn't uncomment the overchan feed (in newsfeeds).
>
> And to generate the overview's for the articles already there
> look at makehistory, probably -Ox, add other flags to taste.
Ran the command and there are .DAT and .IDX files in the approriate
~/spool/overview/.... directories. And going through the files there is
the information from the messages in ~/spool/articles/.../
I noticed something interesting in the log after `makehistory -Ox` was
run though:
Jun 13 16:26:38 hydrogen makehistory[11280]: tradindexed: could not write
index record for comp.os.linux.misc:418
Also I have the "overview!" statement in the newsfeeds file uncommented:
Jun 13 15:25:10 hydrogen overchan[8335]: tradindexed: could not write index
record for comp.os.linux.misc:5
(Both one line in my ~/log/news.log). There is one line for each
message in the two groups I'm testing with. I ran the command as
user group, and all files are owned by news.news.
Again the "head" and "body" NNTP commands work on the first message even
though after the "group" I get "211 0 0 0 <groupname>". The active also
says there are messages in the groups.
Any words of wisdom, oh holy gods of Usenet?
--
David Magda <dmagda at ee.ryerson.ca>
Vimes pulled out his watch and stared at it. It was turning out to be one of
those days...the sort that you got every day.
-- Terry Pratchett, _The_Fifth_Elephant_
Re: suck + inn
Author: Terrance Richard Boyes
Date: Thu, 14 Jun 2001 18:27
Date: Thu, 14 Jun 2001 18:27
35 lines
2711 bytes
2711 bytes
Dave Magda <dmagda@number6.ee.ryerson.ca> wrote: > Terrance Richard Boyes wrote: > [...] >>> no overviews. you probably have enableoverview and useoverchan true (in >>> inn.conf) but didn't uncomment the overchan feed (in newsfeeds). >> >> And to generate the overview's for the articles already there >> look at makehistory, probably -Ox, add other flags to taste. > Ran the command and there are .DAT and .IDX files in the approriate > ~/spool/overview/.... directories. And going through the files there is > the information from the messages in ~/spool/articles/.../ Does that include the couple of groups that are broken ? What are the permissions/ownership/dates on the files ? > I noticed something interesting in the log after `makehistory -Ox` was > run though: > Jun 13 16:26:38 hydrogen makehistory[11280]: tradindexed: could not write > index record for comp.os.linux.misc:418 I've just had a quick peek at the related code (storage/ov3/ov3.c and lib/pwrite.c). There's nothing obvious that leaps out as a reason for it to fail apart from permissions, or running out of space (which would of course hit a lot more groups). [snip] -- <URL:http://www.pierrot.co.uk/> Team AMIGA Should I start with the time I SWITCHED personalities with a BEATNIK hair stylist or my failure to refer five TEENAGERS to a good OCULIST?
Re: suck + inn
Author: Dave Magda
Date: Thu, 14 Jun 2001 20:54
Date: Thu, 14 Jun 2001 20:54
39 lines
2873 bytes
2873 bytes
In article <9g814d$14n$1@support.neth.hp.com>, Frank Slootweg wrote:
> This leads me to believe that you directly *copy*/*move* the articles
> to your spool directory. If so, then INN, i.e. the active file and the
> history, won't know about them (but you say that the active file *does*
> know about them, weird!).
No, I've used rnews and innxmit with a batchfile create by suck.
> In general, you should use (and localize) the examples in the sample
> directory. The names vary with the suck release, but there are probably
> ones called get.news.inn*. Chose one for your storage method, i.e.
> tradspool.
Oops. I just printed out the manpage and when through it and figured out
what I needed. Comparing the sample scripts and my command line there
is no major difference.
> If this does not solve your problem, then please explain what you mean
> by your reference "into an rnews batchfile" and "have it go into a
> tradspool system", i.e. what has rnews got to do with anything (AG, go
> away! :-)) and *how* do you *inject*/'post' the articles in/to the local
> server?
This is my command line:
suck news.ryerson.ca -A -c -C 150 -dd ./suck -dm ./spool/Msgs -dt ./tmp
-hl localhost -HF /usr/local/news/db/history -sg -br batchfile
It tells suck to download messages and put them into a file called "batchfile"
which rnews can read and then forward to INN. I've also tried "-bi batchfile"
when uses innxmit instead of rnews. Finally I tried the "-bp" option where
after suck finishes downloading all the messages it sends them to INN
directly.
--
David Magda <dmagda at ee.ryerson.ca>
Vimes pulled out his watch and stared at it. It was turning out to be one of
those days...the sort that you got every day.
-- Terry Pratchett, _The_Fifth_Elephant_
Re: suck + inn
Author: Frank Slootweg
Date: Fri, 15 Jun 2001 08:52
Date: Fri, 15 Jun 2001 08:52
37 lines
2853 bytes
2853 bytes
Dave Magda <dmagda@number6.ee.ryerson.ca> wrote: > In article <9g814d$14n$1@support.neth.hp.com>, Frank Slootweg wrote: >> This leads me to believe that you directly *copy*/*move* the articles >> to your spool directory. If so, then INN, i.e. the active file and the >> history, won't know about them (but you say that the active file *does* >> know about them, weird!). > > No, I've used rnews and innxmit with a batchfile create by suck. I was 'afraid' of that. While such setups are *possible*, they are not *needed* and, IMO, *undesirable*. Read on. ["-br" and "-bi" methods deleted] > Finally I tried the "-bp" option where > after suck finishes downloading all the messages it sends them to INN IMO, "-bp" is the only 'proper' way, i.e. why use rnews or innxmit when suck can do the work itself (via IHAVE)? It is also the way which is used in the sample/get.news.inn* script, at least in my version (3.9.2). Note: Please do not consider this as (a) blame/flame, because this stuff is not easy and the documentation is rather confusing. For example for 3.9.2 it says: > CONTENTS:sample/get.news.innxmit # sample for INN (innxmit) but that script does not use innxmit, is not for innxmit, etc., i.e. the name and description is very confusing, to put it mildly. But, from your other responses and from the responses of others, I get the strong impression that your main problem is not with suck, but with INN, i.e. *you* can 'see' the articles, but a newsreader can't. Because I have no experience with your version of INN, I'll leave that part to the others.
makehistory/overchan errors (Re: suck + inn)
Author: Dave Magda
Date: Sun, 17 Jun 2001 21:14
Date: Sun, 17 Jun 2001 21:14
36 lines
2647 bytes
2647 bytes
In article <9gcibr$kec$1@support.neth.hp.com>, Frank Slootweg wrote:
[...]
> IMO, "-bp" is the only 'proper' way, i.e. why use rnews or innxmit
> when suck can do the work itself (via IHAVE)? It is also the way which
> is used in the sample/get.news.inn* script, at least in my version
> (3.9.2).
>
I'll be sure to do it that way from now on.
> Note: Please do not consider this as (a) blame/flame, because this
> stuff is not easy and the documentation is rather confusing. For example
> for 3.9.2 it says:
Don't worry, I've never been afraid of stating my ignorance when I have
no clue what's happening. :>
[...]
> But, from your other responses and from the responses of others, I get
> the strong impression that your main problem is not with suck, but with
> INN, i.e. *you* can 'see' the articles, but a newsreader can't. Because
> I have no experience with your version of INN, I'll leave that part to
> the others.
Actuall I'm getting the following error from both makehistory and
overchan:
Jun 17 17:16:07 hydrogen makehistory[5908]: tradindexed: could not write
index record for comp.os.linux.misc:793
Could this be the problem? I've setup the ovmethod in inn.conf to
tradindexed.
--
David Magda <dmagda at ee.ryerson.ca>
Vimes pulled out his watch and stared at it. It was turning out to be one of
those days...the sort that you got every day.
-- Terry Pratchett, _The_Fifth_Elephant_
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