Thread View: news.software.nntp
3 messages
3 total messages
Started by Dominique FRISE
Wed, 31 Jul 1996 00:00
INN: no message to read after adding newgroup
Author: Dominique FRISE
Date: Wed, 31 Jul 1996 00:00
Date: Wed, 31 Jul 1996 00:00
14 lines
1165 bytes
1165 bytes
After using "$ ctlinnd newgroup <group name>" command on a solaris 2.4 news server the "active.*" files are correctly updated. "$ Inncheck" reports no error in the "active" file. When I'm using a reader on that server I can see the new group I added without any message -although there are some- to read. What am I missing or doing wrong? Are there any problem with the hi(0000000000)/lomarks(0000000001). I looked at the faq-inn* without success. Thanks for any help Dominique
Re: INN: no message to read after adding newgroup
Author: Tony Fitzgerald
Date: Fri, 09 Aug 1996 00:00
Date: Fri, 09 Aug 1996 00:00
97 lines
4452 bytes
4452 bytes
In article <31FF45B9.3477@ci.unil.ch>,
Dominique FRISE <Dominique.Frise@ci.unil.ch> wrote:
>After using "$ ctlinnd newgroup <group name>" command on a solaris 2.4
>news server the "active.*" files are correctly updated.
>"$ Inncheck" reports no error in the "active" file.
>When I'm using a reader on that server I can see the new group I added
>without any message -although there are some- to read.
>What am I missing or doing wrong?
>Are there any problem with the hi(0000000000)/lomarks(0000000001).
>I looked at the faq-inn* without success.
I think I may be suffering the same problem. Am running INN1.4unoff4
under Solaris 2.5. I have found that recently added new groups are not
being properly handled. The following is rather lengthy, however,
illustrates a number of aspects of the problem, so please bear with me:
This is an account which has not been used very much, so there are a lot
of "Ignoring groupname" messages preceeding where this output from trn
begins. Note that the last new group shown is de.soc.arbeit. Also note
that when I ask to "goto" alt.life-mars, it tells me that there are 37
unread articles, but presents none of them to me when I ask to read now:
******************* begin extract from trn session ***************
(Ignoring de.alt.tierrechte)
(Ignoring de.rec.sport.eishockey)
(Ignoring de.soc.arbeit)
====== 1199 unread articles in rec.crafts.textiles.needlework -- read
now? [+ynq] galt.life-mars
Newsgroup alt.life-mars not in .newsrc -- subscribe? [ynYN]
Put newsgroup where? [$^.Lq]
====== 37 unread articles in alt.life-mars -- read now? [+ynq]
====== 1199 unread articles in rec.crafts.textiles.needlework -- read
now? [+ynq]
******************* end extract from trn session ***************
Now look at the tail end of my active file and note that there are
some eight groups following the de.soc.arbeit group which was the last
one listed as new by trn:
sol [~] {jafstud.2}% tail /usr/lib/news/active
de.rec.sport.eishockey 0000000001 0000000001 y
de.soc.arbeit 0000000000 0000000001 y
de.soc.menschenrechte 0000000000 0000000001 y
de.soc.weltanschauung.buddhismus 0000000000 0000000001 y
no.prat.seksualitet 0000000009 0000000001 y
rec.games.bridge.okbridge 0000000007 0000000001 y
sg.general 0000000005 0000000001 y
sg.jobs.offer 0000000009 0000000001 y
uk.education.maths 0000000000 0000000001 y
alt.life-mars 0000000037 0000000001 y
sol [~] {jafstud.3}% wc !*
wc /usr/lib/news/active
8893 35572 403788 /usr/lib/news/active
To further test, I engaged in an nntp conversation with the server and
found that the server would give back a 411 No such group message for
each news group after d.s.a:
******************* begin extract nntp session ***************
sol [~] {jafstud.4}% telnet localhost nntp
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 news.unb.ca InterNetNews NNRP server INN 1.4unoff4 05-Mar-96 ready
(posting ok).
listgroup alt.life-mars
411 No such group
group alt.life-mars
411 No such group
group de.soc.menschenrechte
411 No such group
group de.soc.arbeit
211 0 0 0 de.soc.arbeit
quit
205
Connection closed by foreign host.
sol [~] {jafstud.5}%
******************* end extract nntp session ***************
Does anyone have any ideas on what might be going wrong here or what can
be done to rectify it? I'm particularly curious as to why trn is able
to show me that there are 37 articles in the group but not to be able to
actually get the articles. What command does trn use to determine the
number of new articles in the group?
I have tried reloading the control files and shutting down and
restarting innd, neither action had any effect.
--
O- J. Anthony Fitzgerald, jaf@UNB.ca, http://www.unb.ca/web/CSD/staff/jaf/ -O
Re: INN: no message to read after adding newgroup
Author: Tony Fitzgerald
Date: Sat, 10 Aug 1996 00:00
Date: Sat, 10 Aug 1996 00:00
40 lines
2200 bytes
2200 bytes
In article <4ugi49$k2s@sol.sun.csd.unb.ca>,
Tony Fitzgerald <jaf@sarastro.sun.csd.unb.ca> wrote:
>group alt.life-mars
>411 No such group
Still pursuing this. I found that by re-organizing the entries in the
active file, I could circumvent the problem that brought this to my
attention by moving alt.life-mars within the first 8885 groups.
Looking through the source, I find the 411 error is generated by
nnrpd/group.c and it would appear to be a problem with shared active
support, so I will confess to be using shared active with:
#define GROUP_SHARED /* Use shared memory */
#ifdef GROUP_SHARED
# define MAX_ACTIVE_SIZE 1500000 /* Max size of active file */
# define MAX_GROUPS 20000 /* Max number of groups in active */
# define RELOAD_DELAY 300 /* min #secs before reloading active */
# define XSEM_UNDO SEM_UNDO /* Do use kernel undo */
#endif
so the MAX_ACTIVE_SIZE is about three times the current size of the
active file and MAX_GROUPS is somehat more than twice the number of
groups in active:
sol [~] {news.4}% wc /usr/lib/news/active
8893 35572 403792 /usr/lib/news/active
So I would have thought this was OK.
Given this additional information, does anyone have any suggestions or
am I going to have to try to figure out what this module is doing? It
will probably be an interesting learning experience, however, I do have
other work I should be doing.
--
O- J. Anthony Fitzgerald, jaf@UNB.ca, http://www.unb.ca/web/CSD/staff/jaf/ -O
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