Thread View: news.software.readers
2 messages
2 total messages
Started by Joe DeBattista%ITS
Wed, 06 Nov 1991 20:28
rn4.3/rn4.4 problems reading news on RS/6000
Author: Joe DeBattista%ITS
Date: Wed, 06 Nov 1991 20:28
Date: Wed, 06 Nov 1991 20:28
64 lines
3666 bytes
3666 bytes
Greetings,
I have a little problem running rn on my RS/6000.
When I first run rn, it calls up all the newsgroups telling
the user about the number of articles unread. As an example, I'll
say that ca.driving comes up with a message saying I have 175 unread
articles, and I'll say that there are really 10 articles sitting in
/usr/spool/news/ca/driving, numbered from 5100 thru 5110. When
I do an rn on ca.driving, I get the message saying
Skipping unavailable articles ...
and comes to the end. Checking the .newsrc file, ca.driving shows
the marked articles as 1-5110. If I change the number in my .newsrc
to 5105, and try to access ca.driving again, I can read the
articles from 5105 thru 5110. If I change the number to 5099, then
I don't see any articles, and the .newsrc still gets set to 5110.
Articles arriving after 5110 seem to be accessible by rn ok, as long
as the article number in .newsrc still corresponds to existing articles
in ca.driving. If .newrc says the articles read are from 1-5125, and
the actual articles in ca.driving are 5130-5136, then I don't see
the articles again.
I am running this on an RS/6000, running AIX3.1.5. I also have
nntp1.5.11 and CNEWS in place. I have the same problems with rn4.3
and rn4.4. Anyone have any ideas on what is going on? Posting
a response is ok, though with the problems I'm having, email to
me would be better. Thanks very much.
Joe DeBattista
Unix Systems Administrator
UC San Francisco
BITNET: joed@ucsfcca
INTERNET: joed@cca.ucsf.edu
fine from then on. Any idea what's causing
this fluke on startup, or some hints as to where to start looking?
I am currently running rn4.3 (soon to be bringing up 4.4) Cnews, and
nntp1.5.11. Thanks.
Joe DeBattista
ITS, UCSF Computer Center
BITNET: joed@ucsfcca
INTERNET: joed@cca.ucsf.edu
>From jd9014 Sun Nov 3 20:33:23 1991
To: sob@lib.tmc.edu /cca4/jd9014/mail.dir/cnews
Subject: more on rn problems on rs/6000
Status: R
I found out some further information that might help you pinpoint my
problem with rn. If the article number is set to 1642 in .newsrc and
the actual article numbers sitting in the news group are 1850 thru 1856,
rn says there are 6 articles waiting to be read. If you say you want to
read them now, it doesn't find any of the articles, but checking the
.newsrc, it does mark the last article read as 1856. If I manually set
.newsrc to 1850, then it finds all the articles fine.
I compiled rn4.4 and had the same sort of problem.
Joe DeBattista
ITS, UCSF Computer Center
BITNET: joed@ucsfcca
INTERNET: joed@cca.ucsf.edu
Re: rn4.3/rn4.4 problems reading news on RS/6000
Author: Wes Chalfant
Date: Mon, 11 Nov 1991 21:10
Date: Mon, 11 Nov 1991 21:10
52 lines
3570 bytes
3570 bytes
In article <21013@cgl.ucsf.EDU> joed@cca.ucsf.edu (Joe DeBattista%ITS) writes: > I have a little problem running rn on my RS/6000. >When I first run rn, it calls up all the newsgroups telling >the user about the number of articles unread. As an example, I'll >say that ca.driving comes up with a message saying I have 175 unread >articles, and I'll say that there are really 10 articles sitting in >/usr/spool/news/ca/driving, numbered from 5100 thru 5110. When >I do an rn on ca.driving, I get the message saying > > Skipping unavailable articles ... > >and comes to the end. Checking the .newsrc file, ca.driving shows >the marked articles as 1-5110. If I change the number in my .newsrc >to 5105, and try to access ca.driving again, I can read the >articles from 5105 thru 5110. If I change the number to 5099, then >I don't see any articles, and the .newsrc still gets set to 5110. >Articles arriving after 5110 seem to be accessible by rn ok, as long >as the article number in .newsrc still corresponds to existing articles >in ca.driving. If .newrc says the articles read are from 1-5125, and >the actual articles in ca.driving are 5130-5136, then I don't see >the articles again. This problem can be caused by a using a bad version of the directory scanning subroutines (opendir, readdir, ...). When a missing article is detected, the routine getngmin() is called to find the lowest numbered article for a newsgroup. getngmin does this by opening and reading the appropriate directory; if the directory routines fail then getngmin returns a failure value and rn sets the current article to the last article (per the active file). I had this problem when I built rn on SCO UNIX. Rn worked just fine except for the problem that you describe. In the case of SCO UNIX, the problem was that SCO provide two incompatible implementations of opendir/readdir/etc -- one in libc.a (the "right" one for this application), and one in libx.a (the "wrong" one). libx.a was needed for some compatibility calls. The workaround was to search libc.a twice -- once before libx.a to get the right directory routines, and once after to resolve any new references from the libx.a routines. I've never built rn under AIX, so I don't know if there is a similar pitfall. I found three versions of readdir in AIX libraries (libc.a, libcfg.a and libXm.a), but it is doubtful that you are linking rn with libcfg.a or libXm.a. Possibly the configuration script decided that you needed rn's version of the directory routines -- check config.h in the rn root directory and make sure USENDIR is undefined. If all else fails, use a debugger to watch what readdir() is returning in getngmin(). Wes Chalfant Kofax Image Products uunet!kofax!wes
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