Thread View: news.software.nntp
6 messages
6 total messages
Started by Nigel Jones
Sun, 22 Jun 2003 16:09
inn 2.4 - can't get any articles
Author: Nigel Jones
Date: Sun, 22 Jun 2003 16:09
Date: Sun, 22 Jun 2003 16:09
66 lines
2838 bytes
2838 bytes
Hi -
I have downloaded & built inn 2.4 to use traditional spool &
traditional indexing. I had previously been using an ancient version
of inn (since deleted...) but probably on backup somewhere! The server
is my own private machine and is just used to convert some local
mailings to a local newsgroup for my own purposes. No external feeds
are received by the machine, although it does feed my laptop (which
pulls like a reader)
OS is AIX (5.2). I have rebuild the history from the spool along with
the overview.
(titan) >cat inn.conf | grep trad
ovmethod: tradindexed
tradindexedmmap: true
(titan) >cat active | grep jonesn.orange
jonesn.orange 0000001559 0000001545 m
(titan) >ls -la history
-rw-rw-r-- 1 news news 1144738 Jun 22 16:53 history
(titan) >
(titan) >ls -la
total 872
drwxrwxr-x 3 news news 256 Jun 22 09:58 .
drwxrwxr-x 18 news news 4096 Jun 03 14:49 ..
-rw-rw---- 1 news news 340757 Jun 22 09:59
jonesn.orange.DAT
-rw-r--r-- 1 news news 56124 Jun 22 09:59
jonesn.orange.IDX
drwxrwxr-x 2 news news 4096 Jun 22 10:00 o
(titan) >ls -la | wc -l
1562
(titan) >pwd
/news/spool/articles/jonesn/orange
Yet if I try to receive my messages in any way (NEWNEWS or XOVER) I am
told there are no messages
(titan) >telnet titan nntp
Trying...
Connected to titan
Escape character is '^]'.
200 titan.hursley.ibm.com InterNetNews NNRP server INN 2.4.0 ready
(posting ok).
group jonesn.orange
211 1574 1 1559 jonesn.orange
xover 1574-1559
224 1574-1559 fields follow
..
newnews jonesn.orange 000000 000000
502 NEWNEWS command disabled by administrator
Unsure why this fails given
allownewnews: true
in /news/etc/inn.conf (configure was run with --prefix=/news)
Any ideas why I don't see any news?
Pls reply here (or to nigel at my isp, which is worldonline.co.uk, not
forgetting planetf1 as my hostname..
Re: inn 2.4 - can't get any articles
Author: Jeffrey M. Vinocur
Date: Sun, 22 Jun 2003 23:00
Date: Sun, 22 Jun 2003 23:00
41 lines
2037 bytes
2037 bytes
In article <b6dcdd63.0306220809.67a23241@posting.google.com>, Nigel Jones <jonesn@my-deja.com> wrote: > > I have downloaded & built inn 2.4 to use traditional spool & >traditional indexing. [...] > >-rw-rw---- 1 news news 340757 Jun 22 09:59 jonesn.orange.DAT >-rw-r--r-- 1 news news 56124 Jun 22 09:59 jonesn.orange.IDX > >group jonesn.orange >211 1574 1 1559 jonesn.orange > >xover 1574-1559 >224 1574-1559 fields follow >. Hmm. I expect the contents of the .DAT file are normal, although you could peek. I also expect that `tdx-util -A` won't find anything useful, if you just rebuilt. Anything in $pathlog/news.notice at the time when you try XOVER? Ok, I know I'm missing something obvious, but...aaaa. >newnews jonesn.orange 000000 000000 >502 NEWNEWS command disabled by administrator > >Unsure why this fails given >allownewnews: true Well, that's pretty weird too. Oh wait, are you using the access: line in readers.conf? -- Jeffrey M. Vinocur jeff@litech.org
Re: inn 2.4 - can't get any articles
Author: Nigel Jones
Date: Mon, 23 Jun 2003 11:52
Date: Mon, 23 Jun 2003 11:52
59 lines
2894 bytes
2894 bytes
jeff@litech.org (Jeffrey M. Vinocur) wrote in message news:<bd5ces$e88$3@puck.litech.org>...
>
> Hmm. I expect the contents of the .DAT file are normal, although
> you could peek. I also expect that `tdx-util -A` won't find
> anything useful, if you just rebuilt.
tdx-util showed a few inconsistent groups - but not this one. I fixed
them up anyway.
> Anything in $pathlog/news.notice at the time when you try XOVER?
I changed nnrpd to not validate articles and overviews now show up
fine -- and the dat files look good, so I no longer think it is an
overview problem
If I try to just get an article it fails
200 titan.hursley.ibm.com InterNetNews NNRP server INN 2.4.0 ready
(posting ok).
group jonesn.orange
411 No such group jonesn.orange
group jonesn.orange
211 159 1404 1563 jonesn.orange
xover 1404-1404
224 1404-1404 fields follow
1404 Re: [ORANGE] Lost sim card. Orange will not replace without
new phone pu
rchase. tim@traindriver.fsnet.co.uk ("Tim Buckley") Fri, 13 Jun
2003 04:32:5
9 +0100 <00bf01c3315c$7d8dc0a0$c88887d9@timbuckl>
9
Xref: titan jonesn.orange:1404
..
article 1404
423 Bad article number
> Oh wait, are you using the access: line in readers.conf?
I've since fixed this with the default open config in readers.conf to
allow anyone to do anything (for now... and it's on a private
firewalled network)
Reading here more it seems as if there was a similar problem a few
years ago which appeared to be down to some bad processing in
tradspool.c (search for tradspool alpha awol) when compiled with a
certain gcc level.
I am trying to build on AIX 5.1 or 5.2 with gcc version
2.9-aix51-020209
The fix mentioned in the article (moving where artnum is obtained)
didn't seem to help - I'm going to double check and consider looking
for a different version of the compiler
Has anyone built inn recently on AIX? Which compiler/version did you
use?
Re: inn 2.4 - can't get any articles
Author: Jeffrey M. Vinocur
Date: Mon, 23 Jun 2003 15:58
Date: Mon, 23 Jun 2003 15:58
52 lines
2775 bytes
2775 bytes
In article <b6dcdd63.0306230352.3a95e7f7@posting.google.com>, Nigel Jones <jonesn@my-deja.com> wrote: > >I changed nnrpd to not validate articles and overviews now show up >fine -- and the dat files look good, so I no longer think it is an >overview problem > >If I try to just get an article it fails > >xover 1404-1404 >224 1404-1404 fields follow >1404 Re: [ORANGE] Lost sim card. Orange will not replace [...] >. >article 1404 >423 Bad article number Nice work -- you found what I was forgetting (that nnrpdcheckart can make XOVER incorrectly empty even if overview is fine). Hmm, maybe we can pin this down a little bit. Do you have the same inability to retrieve articles with `sm token` (you can get the token with `grephistory '<messageid@host>'` or just take the last field of the last line of the history file)? >> Oh wait, are you using the access: line in readers.conf? > >I've since fixed this with the default open config in readers.conf to >allow anyone to do anything (for now... and it's on a private >firewalled network) (There's an explanation about how access: interacts with allownewnews in the readers.conf manpage.) >Reading here more it seems as if there was a similar problem a few >years ago which appeared to be down to some bad processing in >tradspool.c (search for tradspool alpha awol) when compiled with a >certain gcc level. >I am trying to build on AIX 5.1 or 5.2 with gcc version >2.9-aix51-020209 I have no reason to believe it's a compiler bug you're seeing, but I'm not exactly up to speed on my gcc versions. I suppose you could set COPT=-O0 and see if it fixes it. -- Jeffrey M. Vinocur jeff@litech.org
Re: inn 2.4 - can't get any articles
Author: Nigel Jones
Date: Mon, 23 Jun 2003 22:20
Date: Mon, 23 Jun 2003 22:20
39 lines
2536 bytes
2536 bytes
jeff@litech.org (Jeffrey M. Vinocur) wrote in message news:<bd782t$nl4$1@puck.litech.org>...
>> Hmm, maybe we can pin this down a little bit. Do you have the
> same inability to retrieve articles with `sm token` (you can get
> the token with `grephistory '<messageid@host>'` or just take the
> last field of the last line of the history file)?
Ok, from xover:
xover 1571-1571
224 1571-1571 fields follow
1571 Re: [ORANGE] T610 worth the wait? lists@sime.org.uk
("Sime")
Mon, 23 Jun 2003 20:28:31 +0100
<001701c339bd$a3bfbd00$0a00a8c0@ANDROMEDA>
1327 Xref: titan.hursley.ibm.com jonesn.orange:1571
..
article 1571
423 Bad article number
(titan) >grephistory -v -v -v
'<001701c339bd$a3bfbd00$0a00a8c0@ANDROMEDA>'
@05000000000E000000000000000000000000@ (hash is
1A0BBAEBF97D2B88EE76248C1DD5E0D6)
(titan) >sm -i @05000000000E000000000000000000000000@
sm: could not get article information for
@05000000000E000000000000000000000000@
(titan) >
> I have no reason to believe it's a compiler bug you're seeing,
> but I'm not exactly up to speed on my gcc versions. I suppose
> you could set COPT=-O0 and see if it fixes it.
I rebuilt with -O0 (same compiler) and it made zero difference. I then
worked with truss and saw article 0 being retrieved. I then added some
additional syslog calls to tradspool.c to locate further.
At this point it started working ..... I'll try to work out why
(tomorrow).. ahh it works for some articles only... will try cnfs
also...
Re: inn 2.4 - can't get any articles
Author: Russ Allbery
Date: Mon, 23 Jun 2003 22:48
Date: Mon, 23 Jun 2003 22:48
19 lines
1846 bytes
1846 bytes
Nigel Jones <jonesn@my-deja.com> writes:
> (titan) >grephistory -v -v -v
> '<001701c339bd$a3bfbd00$0a00a8c0@ANDROMEDA>'
> @05000000000E000000000000000000000000@ (hash is
> 1A0BBAEBF97D2B88EE76248C1DD5E0D6)
> (titan) >sm -i @05000000000E000000000000000000000000@
> sm: could not get article information for
> @05000000000E000000000000000000000000@
That's a broken tradspool token for a file that doesn't exist. Did
makehistory spew error messages to syslog when you ran 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.
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