Thread View: news.software.nntp
37 messages
37 total messages
Started by James Brister
Mon, 13 Dec 1999 00:00
[ ANNOUNCE ] INN 2.2.2 available
Author: James Brister
Date: Mon, 13 Dec 1999 00:00
Date: Mon, 13 Dec 1999 00:00
29 lines
1528 bytes
1528 bytes
I'm pleased to announce that a new version of INN is now available for general
consumption.
ftp://ftp.isc.org/isc/inn/inn-2.2.2.tar.gz
the MD5 checksum is
a4220c321aa35cb8c2da0186755fba23
a PGP signature will soon be available in the same directory. There is a patch
from 2.2.1 to 2.2.2 available there too.
This is primarily a bug-fix version over version 2.2.1.
A y2k bug that was introduced into version 2.2.1 has been fixed. This bug will
show itself after 1999-01-01 when a reader issues a NEWNEWS command for a date
before 1999-01-01.
Please submit all bug reports to inn-bugs@isc.org. Please send all patches to
inn-patches@isc.org.
Thank-you.
James
--
James Brister brister@iengines.com
Internet Engines Inc. / Internet Software Consortium brister@vix.com
Re: [ ANNOUNCE ] INN 2.2.2 available
Author: Brad Knowles
Date: Mon, 13 Dec 1999 00:00
Date: Mon, 13 Dec 1999 00:00
52 lines
2733 bytes
2733 bytes
In article <8336cs$gpj$1@isrv4.pa.vix.com>, brister@bb.rc.vix.com
(James Brister) wrote:
> ftp://ftp.isc.org/isc/inn/inn-2.2.2.tar.gz
I've got a question related to this version. I configured and
installed it according to the instructions Russ provided earlier (see
Message-id: <yl4sdvllx7.fsf@windlord.stanford.edu>), but this isn't
working.
In particular, after downloading, I did:
$ ./configure --enable-tagged-hash --with-perl
$ mkdir /usr/local/news/bin-2.2.2
$ make update PATHBIN=/usr/local/news/bin-2.2.2
Unfortunately, not only did it install on top of my pre-existing
/usr/local/news/bin (and renamed all the previous binaries to .OLD), the
resulting innd won't start. It gives the error:
innd: SERVER cant dbzinit /usr/local/news/db/history Argument
out of domain
and dies instead. Switching back to the 2.2.1 innd I built and
installed last week works fine, however.
I could have modified the PATHBIN = line in Makefile.global to
prevent the installation of INN 2.2.2 on top of my previous INN 2.2.1,
but I had gotten the impression from Russ that this wasn't necessary.
More importantly, I don't have any earthly idea what could possibly
be causing innd to return this kind of error and die. Even more
worrying is the fact that I can't get a single hit with the following
command:
$ find . -name \* -print | xargs grep 'Argument out of domain'
/dev/null | more
When executed from the root of the INN 2.2.2 distribution.
Any ideas?
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 65? If so, please contact me via private e-mail for details.
Re: [ ANNOUNCE ] INN 2.2.2 available
Author: Brad Knowles
Date: Mon, 13 Dec 1999 00:00
Date: Mon, 13 Dec 1999 00:00
33 lines
1903 bytes
1903 bytes
In article <38554a64$0$84804@news.execpc.com>, jgreco@ns.sol.net (Joe
Greco) wrote:
> That's a perror/strerror/sys_errlist message.
Ahh, okay. I hadn't even thought of looking there. Doh!
> Try grepping for "EDOM".
Done. I get:
$ find . -name \* -print | xargs grep EDOM /dev/null | more
./doc/dbz.3:.B EDOM
./lib/dbz.c: errno = EDOM;
./lib/dbz.c: errno = EDOM;
./lib/dbz.c: errno = EDOM;
./lib/dbz.c: errno = EDOM; /* kind of a kludge, but very
portable */
./lib/sendpass.c: errno = EDOM;
The ones in dbz.c look likely. I'll see what more I can track down.
Thanks again!
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 65? If so, please contact me via private e-mail for details.
Re: [ ANNOUNCE ] INN 2.2.2 available
Author: bill davidsen
Date: Mon, 13 Dec 1999 00:00
Date: Mon, 13 Dec 1999 00:00
50 lines
2800 bytes
2800 bytes
In article <brad-BC9EC0.18442513121999@news.skynet.be>, Brad Knowles <brad@shub-internet.org> wrote: | In particular, after downloading, I did: | | $ ./configure --enable-tagged-hash --with-perl | $ mkdir /usr/local/news/bin-2.2.2 | $ make update PATHBIN=/usr/local/news/bin-2.2.2 | | Unfortunately, not only did it install on top of my pre-existing | /usr/local/news/bin (and renamed all the previous binaries to .OLD), the | resulting innd won't start. It gives the error: | | innd: SERVER cant dbzinit /usr/local/news/db/history Argument | out of domain | | and dies instead. Switching back to the 2.2.1 innd I built and | installed last week works fine, however. Just a thought, were you running with tagged-hash on 2.2.1? I think you finally were, but I don't remember. Also, did you have pathbin in inn.conf set? | I could have modified the PATHBIN = line in Makefile.global to | prevent the installation of INN 2.2.2 on top of my previous INN 2.2.1, | but I had gotten the impression from Russ that this wasn't necessary. Were you supposed to do that in ./configure? I'm don't have a 2.2.2 source unpacked (or even downloaded), so I can't readily look. I don't see PATHBIN in 2.3 ./configure, though. | More importantly, I don't have any earthly idea what could possibly | be causing innd to return this kind of error and die. Even more | worrying is the fact that I can't get a single hit with the following | command: | | $ find . -name \* -print | xargs grep 'Argument out of domain' | /dev/null | more | | When executed from the root of the INN 2.2.2 distribution. If you set pathbin in inn.conf to bin-2.2.2 I have clue what might be wrong. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Re: [ ANNOUNCE ] INN 2.2.2 available
Author: James Brister
Date: Mon, 13 Dec 1999 00:00
Date: Mon, 13 Dec 1999 00:00
18 lines
1195 bytes
1195 bytes
Groan... I wrote: : A y2k bug that was introduced into version 2.2.1 has been fixed. This bug will : show itself after 1999-01-01 when a reader issues a NEWNEWS command for a date : before 1999-01-01. Someone just put me out of my misery, please... Of course that should be 2000-01-01 in both places.... James -- James Brister brister@vix.com Internet Software Consortium inn@isc.org
Re: [ ANNOUNCE ] INN 2.2.2 available
Author: Joe Greco
Date: Mon, 13 Dec 1999 00:00
Date: Mon, 13 Dec 1999 00:00
54 lines
2761 bytes
2761 bytes
In news.software.nntp article <brad-BC9EC0.18442513121999@news.skynet.be>, Brad Knowles <brad@shub-internet.org> wrote: :In article <8336cs$gpj$1@isrv4.pa.vix.com>, brister@bb.rc.vix.com :(James Brister) wrote: : :> ftp://ftp.isc.org/isc/inn/inn-2.2.2.tar.gz : : I've got a question related to this version. I configured and :installed it according to the instructions Russ provided earlier (see :Message-id: <yl4sdvllx7.fsf@windlord.stanford.edu>), but this isn't :working. : : In particular, after downloading, I did: : : $ ./configure --enable-tagged-hash --with-perl : $ mkdir /usr/local/news/bin-2.2.2 : $ make update PATHBIN=/usr/local/news/bin-2.2.2 : : Unfortunately, not only did it install on top of my pre-existing :/usr/local/news/bin (and renamed all the previous binaries to .OLD), the :resulting innd won't start. It gives the error: : : innd: SERVER cant dbzinit /usr/local/news/db/history Argument :out of domain : : and dies instead. Switching back to the 2.2.1 innd I built and :installed last week works fine, however. : : : I could have modified the PATHBIN = line in Makefile.global to :prevent the installation of INN 2.2.2 on top of my previous INN 2.2.1, :but I had gotten the impression from Russ that this wasn't necessary. : : More importantly, I don't have any earthly idea what could possibly :be causing innd to return this kind of error and die. Even more :worrying is the fact that I can't get a single hit with the following :command: : : $ find . -name \* -print | xargs grep 'Argument out of domain' :/dev/null | more : : When executed from the root of the INN 2.2.2 distribution. That's a perror/strerror/sys_errlist message. On FreeBSD, > grep -i domain /usr/include/sys/errno.h #define EDOM 33 /* Numerical argument out of domain */ Try grepping for "EDOM". ... JG
Re: [ ANNOUNCE ] INN 2.2.2 available
Author: Brad Knowles
Date: Mon, 13 Dec 1999 00:00
Date: Mon, 13 Dec 1999 00:00
61 lines
3099 bytes
3099 bytes
In article <brad-87DD68.22453413121999@news.skynet.be>, Brad Knowles
<brad@shub-internet.org> wrote:
> The ones in dbz.c look likely. I'll see what more I can track down.
Looking in dbz.c, it's obvious that the error message is being
printed by the following section starting on line 1801:
gettimeofday(&start, NULL);
if (dbzinit(history) < 0) {
fprintf(stderr, "cant dbzinit %s\n", history);
exit(1);
}
gettimeofday(&end, NULL);
printf("dbzinit: %d msec\n", timediffms(start, end));
Looking inside of the dbzinit() routine, the only place I see EDOM
is in the following section, starting on line 768:
/* pick up configuration */
if (!getconf(dirf, &conf)) {
DEBUG(("dbzinit: getconf failure\n"));
Fclose(dirf);
errno = EDOM; /* kind of a kludge, but very portable */
return FALSE;
}
However, I never saw the error message "dbzinit: getconf failure" in
my news.debug syslog file (I did look for any other occurances of
"dbzinit" in this file before the original post). Looking through the
errlog file, I see occurances of the single word "dbzinit" on a line by
itself, but nothing else.
I just checked to see if anything had changed in dbz.c since 2.2.1,
and the files seem the exact same size, and diff doesn't turn up
anything.
Stepping back and looking in dbz.c/getconf(), I see a number of
debug statements that I would normally expect to show up in my
news.debug syslog file, but none of them are being recorded.
Is this to imply that I need to either enable a different
command-line option on starting innd, or that perhaps I need to compile
it with different options, in order to see these debug messages?
Any other ideas?
Thanks!
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 65? If so, please contact me via private e-mail for details.
Re: [ ANNOUNCE ] INN 2.2.2 available
Author: Brad Knowles
Date: Mon, 13 Dec 1999 00:00
Date: Mon, 13 Dec 1999 00:00
36 lines
2258 bytes
2258 bytes
In article <833ipb$pj$1@newssvr02.news.prodigy.com>, davidsen@tmr.com
(bill davidsen) wrote:
> Just a thought, were you running with tagged-hash on 2.2.1?
Yup.
> Also, did you have pathbin in
> inn.conf set?
Yup. ;-)
> Were you supposed to do that in ./configure? I'm don't have a 2.2.2
> source unpacked (or even downloaded), so I can't readily look. I don't
> see PATHBIN in 2.3 ./configure, though.
I cut-n-pasted the instructions exactly as Russ had posted them, so
I got the distinct impression that they went with the make and not the
configure. Of course, I could have misinterpreted them.
> If you set pathbin in inn.conf to bin-2.2.2 I have clue what might be
> wrong.
PATHBIN was set to /usr/local/news/bin, which was a symlink to the
directory with the INN 2.2.2 binary, which bombed. Renaming that one
file (to innd.old) and symlinking that to ../bin-2.2.1/innd worked like
a charm, but doesn't solve the problem that 2.2.2 was supposed to fix.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 65? If so, please contact me via private e-mail for details.
Re: [ ANNOUNCE ] INN 2.2.2 available
Author: Brad Knowles
Date: Tue, 14 Dec 1999 00:00
Date: Tue, 14 Dec 1999 00:00
110 lines
4602 bytes
4602 bytes
In article <ylyaaywis5.fsf@windlord.stanford.edu>, Russ Allbery
<rra@stanford.edu> wrote:
> -DDBZDEBUG. I think the messages actually go to stdout, too, so you'd
> probably get them in errlog instead of news.debug.
Okay, I had to apply some patches to lib/dbz.c in order to get the
bloody thing to compile with -DBZDEBUG -- see below.
Now, while this compiles, I don't see any "debug" output on stderr
when I try to do a grephistory. At least I'm not getting the "out of
domain" errors I had been previously getting. I'm going to try actually
installing the updated innd and we'll see what happens.
diff -c lib/dbz.c.orig lib/dbz.c
*** lib/dbz.c.orig Mon Dec 13 14:18:37 1999
--- lib/dbz.c Tue Dec 14 10:57:39 1999
***************
*** 1,5 ****
/*
! dbz.c V6.1.1
Copyright 1988 Jon Zeeff (zeeff@b-tech.ann-arbor.mi.us)
You can use this code in any manner, as long as you leave my name on it
--- 1,5 ----
/*
! dbz.c V6.1.2
Copyright 1988 Jon Zeeff (zeeff@b-tech.ann-arbor.mi.us)
You can use this code in any manner, as long as you leave my name on it
***************
*** 65,70 ****
--- 65,73 ----
Limited can't tag warnings once per dbzinit() by Sang-yong Suh (May,
1998)
+ Bugs in "#ifdef DBZDEBUG ... #endif" sections fixed by Brad Knowles
+ <brad@shub-internet.org> Tue Dec 14 10:57:31 MET 1999
+
*/
#include <stdio.h>
***************
*** 972,978 ****
nb2r = sizeof(buffer) - 1;
while ((offset = search(&srch)) != NOTFOUND) {
! DEBUG(("got 0x%lx\n", key_ptr));
/* fetch the key */
offset <<= conf.dropbits;
--- 975,981 ----
nb2r = sizeof(buffer) - 1;
while ((offset = search(&srch)) != NOTFOUND) {
! DEBUG(("got 0x%lx\n", *keytext)); /* WTF was "key_ptr"?!? */
/* fetch the key */
offset <<= conf.dropbits;
***************
*** 1186,1193 ****
cp->tagshift = TAGSHIFT;
cp->dropbits = 0;
cp->lenfuzzy = 0;
! DEBUG(("getconf: defaults (%ld, %c, (0x%lx/0x%lx<<%d %d))\n",
! cp->tsize, cp->casemap, cp->tagenb,
cp->tagmask, cp->tagshift, cp->dropbits));
return TRUE;
}
--- 1189,1196 ----
cp->tagshift = TAGSHIFT;
cp->dropbits = 0;
cp->lenfuzzy = 0;
! DEBUG(("getconf: defaults (%ld, (0x%lx/0x%lx<<%d %d))\n",
! cp->tsize, cp->tagenb, /* WTF was "cp->casemap"?!? */
cp->tagmask, cp->tagshift, cp->dropbits));
return TRUE;
}
***************
*** 1442,1448 ****
taboffset = sp->tabno * conf.tsize;
}
sp->place = ((sp->shorthash + sp->run) % conf.tsize) + taboffset;
! DEBUG(("search @ %ld\n", place));
/* get the tagged value */
if ((options.pag_incore != INCORE_NO) && (sp->place <
conf.tsize)) {
--- 1445,1451 ----
taboffset = sp->tabno * conf.tsize;
}
sp->place = ((sp->shorthash + sp->run) % conf.tsize) + taboffset;
! DEBUG(("search @ %ld\n", sp->place)); /* Obvious typo from
"place" */
/* get the tagged value */
if ((options.pag_incore != INCORE_NO) && (sp->place <
conf.tsize)) {
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 65? If so, please contact me via private e-mail for details.
Re: [ ANNOUNCE ] INN 2.2.2 available
Author: Mike Fagan
Date: Tue, 14 Dec 1999 00:00
Date: Tue, 14 Dec 1999 00:00
22 lines
1646 bytes
1646 bytes
Brad Knowles <brad@shub-internet.org> wrote in message news:brad-E42A40.00103714121999@news.skynet.be... > In article <yl7liixxf4.fsf@windlord.stanford.edu>, Russ Allbery > <rra@stanford.edu> wrote: > > > Weird. Are you using GNU make? That really should have done the right > > thing; variables given on the command line should override variables given > > in the Makefile. > > No, that was the make that comes standard with Digital Unix 4.0B. Somewhat unrelated... Just so you know, Digital Unix 4.0B is NOT y2k compliant. I think there are some patches that fix most of the problems, but you might want to consider upgrading to 4.0F or 5.0 before the 31st.... Mike
Re: [ ANNOUNCE ] INN 2.2.2 available
Author: Brad Knowles
Date: Tue, 14 Dec 1999 00:00
Date: Tue, 14 Dec 1999 00:00
24 lines
2024 bytes
2024 bytes
In article <brad-894F1A.15294614121999@news.skynet.be>, Brad Knowles
<brad@shub-internet.org> wrote:
> Instead, you need to stop innd, and then restart it manually (as
> root, so that it can bind to port 119), adding the "-d" and "-f" flags,
> as appropriate.
However, for me, this just results in what would be the data logged
to /var/log/news instead being sent to the screen. I still don't see
any debugging output from lib/dbz.c.
I'm curious -- do I need to turn on -DEBUG in addition to -DBZDEBUG?
Thanks!
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 65? If so, please contact me via private e-mail for details.
Re: [ ANNOUNCE ] INN 2.2.2 available
Author: Brad Knowles
Date: Tue, 14 Dec 1999 00:00
Date: Tue, 14 Dec 1999 00:00
22 lines
2131 bytes
2131 bytes
In article <brad-8C5D30.15382414121999@news.skynet.be>, Brad Knowles
<brad@shub-internet.org> wrote:
> However, for me, this just results in what would be the data logged
> to /var/log/news instead being sent to the screen. I still don't see
> any debugging output from lib/dbz.c.
I tried defining -DDEBUG as well as -DDBZDEBUG, and then stopping
innd and manually restarting it (adding -d and -f flags), and I *still*
didn't get any debugging output like I was looking for -- just the
contents of what you would normally expect to be logged to /var/log/news.
Sigh.... I give up.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 65? If so, please contact me via private e-mail for details.
Re: [ ANNOUNCE ] INN 2.2.2 available
Author: Brad Knowles
Date: Tue, 14 Dec 1999 00:00
Date: Tue, 14 Dec 1999 00:00
28 lines
2191 bytes
2191 bytes
In article <yl3dt5gu2k.fsf@windlord.stanford.edu>, Russ Allbery
<rra@stanford.edu> wrote:
> Hm. So does that mean that it's actually working now?
I do have an innd that is running without errors, and grephistory is
now working without errors. So far as I can tell, that much is working
okay.
However, even though I've defined both "-DDBZDEBUG" and "-DDEBUG",
I'm still not getting any more debug output into either
/var/log/new/news.debug or /var/log/news/errlog, which I'm still finding
quite puzzling and rather disconcerting.
> If you rebuild again without DBZDEBUG set, and try running the resulting
> grephistory, does it still work?
I assume that it would, but have not yet tried this. I'll give it a
shot tomorrow.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 65? If so, please contact me via private e-mail for details.
Re: [ ANNOUNCE ] INN 2.2.2 available
Author: Brad Knowles
Date: Tue, 14 Dec 1999 00:00
Date: Tue, 14 Dec 1999 00:00
18 lines
1621 bytes
1621 bytes
In article <ylyaaywis5.fsf@windlord.stanford.edu>, Russ Allbery
<rra@stanford.edu> wrote:
> -DDBZDEBUG. I think the messages actually go to stdout, too, so you'd
> probably get them in errlog instead of news.debug.
Under way right now. I'll let you know how things go.
Thanks again!
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 65? If so, please contact me via private e-mail for details.
Re: [ ANNOUNCE ] INN 2.2.2 available
Author: Brad Knowles
Date: Tue, 14 Dec 1999 00:00
Date: Tue, 14 Dec 1999 00:00
32 lines
2103 bytes
2103 bytes
In article <yl7liixxf4.fsf@windlord.stanford.edu>, Russ Allbery
<rra@stanford.edu> wrote:
> Weird. Are you using GNU make? That really should have done the right
> thing; variables given on the command line should override variables given
> in the Makefile.
No, that was the make that comes standard with Digital Unix 4.0B.
> That's dbz's generic "I saw something in history.dir that I didn't like"
> error message. What's your history.dir look like?
$ cat history.dir
dbz 6 8687453 8 50 274877906944 274877906943 25 4
4699757 4466191 4298545 3980895 3781187 4106224 5791621 4413028 0 0 0
350666578 328605549 327605806 310976775 297323665 309162296 421632218
409672179 0 0 0
> Shouldn't have been, although modifying Makefile.global may be a more
> complete solution.
I'm definitely going to do this from now on. The consequences are
just too painful if I don't.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 65? If so, please contact me via private e-mail for details.
Re: [ ANNOUNCE ] INN 2.2.2 available
Author: Brad Knowles
Date: Tue, 14 Dec 1999 00:00
Date: Tue, 14 Dec 1999 00:00
19 lines
1835 bytes
1835 bytes
In article <brad-D46CE8.11101114121999@news.skynet.be>, Brad Knowles
<brad@shub-internet.org> wrote:
> I'm going to try actually
> installing the updated innd and we'll see what happens.
Well, the updated innd actually runs, but I'm *still* not seeing the
debug messages I'd expect (either in errlog or in news.debug).
Any other ideas? I'm getting rather concerned about this....
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 65? If so, please contact me via private e-mail for details.
Re: [ ANNOUNCE ] INN 2.2.2 available
Author: Tim Pennick
Date: Tue, 14 Dec 1999 00:00
Date: Tue, 14 Dec 1999 00:00
14 lines
1179 bytes
1179 bytes
> From: Brad Knowles <brad@shub-internet.org> > I've got a question related to this version. I configured and >installed it according to the instructions Russ provided earlier (see >Message-id: <yl4sdvllx7.fsf@windlord.stanford.edu>), but this isn't >working. I don't seem to have received Russ's article refered to above. Can someone let me know where I can find an archive, or mail me a copy. Many Thanks, Tim Pennick
Re: [ ANNOUNCE ] INN 2.2.2 available
Author: Brad Knowles
Date: Tue, 14 Dec 1999 00:00
Date: Tue, 14 Dec 1999 00:00
23 lines
2074 bytes
2074 bytes
In article <brad-9FE431.11385014121999@news.skynet.be>, Brad Knowles
<brad@shub-internet.org> wrote:
> Well, the updated innd actually runs, but I'm *still* not seeing the
> debug messages I'd expect (either in errlog or in news.debug).
As noted (in a private e-mail), startinnd will prevent the DBZDEBUG
error messages supposedly sent to stderr from actually being displayed,
because it won't attach stderr for innd to the errlog file when it
starts it up.
Instead, you need to stop innd, and then restart it manually (as
root, so that it can bind to port 119), adding the "-d" and "-f" flags,
as appropriate.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 65? If so, please contact me via private e-mail for details.
Re: [ ANNOUNCE ] INN 2.2.2 available
Author: Brad Knowles
Date: Wed, 15 Dec 1999 00:00
Date: Wed, 15 Dec 1999 00:00
22 lines
2053 bytes
2053 bytes
In article <yl3dt5gu2k.fsf@windlord.stanford.edu>, Russ Allbery
<rra@stanford.edu> wrote:
> If you rebuild again without DBZDEBUG set, and try running the resulting
> grephistory, does it still work?
I've tried rebuilding INN without "-DDEBUG" and "-DDBZDEBUG", and it
does appear to build cleanly. The version of grephistory that is built
seems to work as well as the version that had the debugging turned on
(although I never saw any debugging output from it). I'm going to try a
"make update" to install the new binaries and try out the new innd.
I'll let you know if I have any further problems.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 65? If so, please contact me via private e-mail for details.
Re: [ ANNOUNCE ] INN 2.2.2 available
Author: Brad Knowles
Date: Wed, 15 Dec 1999 00:00
Date: Wed, 15 Dec 1999 00:00
32 lines
2224 bytes
2224 bytes
In article <836ekb$11h$1@news3.infoave.net>, "Mike Fagan"
<mfagan@nospam.infoave.net> wrote:
> Somewhat unrelated... Just so you know, Digital Unix 4.0B is NOT y2k
> compliant.
Yeah, I know. The original plan was that this machine would be
replaced several months ago, but we ran into a snag in ordering Mylex
DAC960SXI controllers, and then it took us a while to find a suitable
replacement, and now it's taking a while for the actual hardware to get
in.
This is why I'm working to get a news caching solution put up (with
a fallback to some other provider), so that I can take the underlying
box out of production for the period of time it will take me to do the
upgrade.
> I think there are some patches that fix most of the problems,
> but you might want to consider upgrading to 4.0F or 5.0 before the
> 31st....
I'm not touching 5.0anything with a pole a light-year long. 4.0F,
maybe.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 65? If so, please contact me via private e-mail for details.
Re: [ ANNOUNCE ] INN 2.2.2 available
Author: Johnny Favorite (it means "Writh...
Date: Sun, 02 Jan 2000 00:00
Date: Sun, 02 Jan 2000 00:00
23 lines
1536 bytes
1536 bytes
James Brister wrote: > Groan... > > I wrote: > >> A y2k bug that was introduced into version 2.2.1 has been >> fixed. This bug will show itself after 1999-01-01 when a >> reader issues a NEWNEWS command for a date before 1999-01-01. > > Someone just put me out of my misery, please... Of course that > should be 2000-01-01 in both places.... How is it even possible to issue a NEWNEWS command in the year 2000 for a date before the year 2000? NEWNEWS only allows a two-digit year and RFC977 says that it is in the current century. I ask because I'm writing a newsreader and I think I may have stumbled into your bug ... on one server I tried I got back "What?" and on another one NEWNEWS times out without sending me anything.
Re: [ ANNOUNCE ] INN 2.2.2 available
Author: Miquel van Smoorenburg
Date: Sun, 02 Jan 2000 00:00
Date: Sun, 02 Jan 2000 00:00
23 lines
1751 bytes
1751 bytes
In article <84oe2j0kmj@enews2.newsguy.com>, Johnny Favorite (it means \"Writhing Tentacle of Death\") <allen@snakebite.com> wrote: >How is it even possible to issue a NEWNEWS command in the year 2000 for a >date before the year 2000? NEWNEWS only allows a two-digit year and RFC977 >says that it is in the current century. RFC977 doesn't say it is in the current century: The date is sent as 6 digits in the format YYMMDD, where YY is the last two digits of the year, MM is the two digits of the month (with leading zero, if appropriate), and DD is the day of the month (with leading zero, if appropriate). The closest century is assumed as part of the year (i.e., 86 specifies 1986, 30 specifies 2030, 99 is 1999, 00 is 2000). So, 700101 means 1970 up to 2020, after which it means 2070. Variable sliding window technique .. in an RFC from 1986. Mike. -- There's a lot to be said for not saying a lot.
Re: [ ANNOUNCE ] INN 2.2.2 available
Author: Johnny Favorite (it means "Writh...
Date: Mon, 03 Jan 2000 00:00
Date: Mon, 03 Jan 2000 00:00
18 lines
1569 bytes
1569 bytes
Miquel van Smoorenburg wrote, about NEWNEWS: > RFC977 doesn't say it is in the current century: Okay, I'll buy that, I guess I read it differently. What the heck is up with NEWNEWS, anyway? Are you admins trying to get us to stop using it or what? Without it I'm going to have to tediously keep track of which article indexes I've already seen and which I haven't via GROUP. *With* it I'd only have to keep track of the last date/time I checked for articles in a given group. But I have access to two different news servers and it doesn't work on either one. Is this what XOVER is supposed to solve? I haven't found enough documentation on it yet to figure out if it would help me or not.
Re: [ ANNOUNCE ] INN 2.2.2 available
Author: David Formosa (aka ? the Platypu...
Date: Mon, 03 Jan 2000 00:00
Date: Mon, 03 Jan 2000 00:00
18 lines
1335 bytes
1335 bytes
On Mon, 3 Jan 2000 05:24:37 -0500, Johnny Favorite (it means \"Writhing Tentacle of Death\") <allen@snakebite.com> wrote: [...] >What the heck is up with NEWNEWS, anyway? Using newnews kills server proformence. > Are you admins trying to get us to stop using it or what? Yes we are. -- Please excuse my spelling as I suffer from agraphia. See http://www.zeta.org.au/~dformosa/Spelling.html to find out more.
Re: [ ANNOUNCE ] INN 2.2.2 available
Author: Jeremy
Date: Mon, 03 Jan 2000 00:00
Date: Mon, 03 Jan 2000 00:00
18 lines
1026 bytes
1026 bytes
David Formosa (aka ? the Platypus) <dformosa@zeta.org.au> wrote: >> What the heck is up with NEWNEWS, anyway? > > Using newnews kills server proformence. Not on all servers... >> Are you admins trying to get us to stop using it or what? > > Yes we are. Speak for yourself. :) -- Jeremy ( jeremy@exit109.com | bofh@netscum.dk )
Re: [ ANNOUNCE ] INN 2.2.2 available
Author: Miquel van Smoorenburg
Date: Mon, 03 Jan 2000 00:00
Date: Mon, 03 Jan 2000 00:00
20 lines
1429 bytes
1429 bytes
In article <slrn871613.6qd.dformosa@dformosa.zeta.org.au>, David Formosa (aka ? the Platypus) <dformosa@zeta.org.au> wrote: >On Mon, 3 Jan 2000 05:24:37 -0500, Johnny Favorite (it means >\"Writhing Tentacle of Death\") <allen@snakebite.com> wrote: > >[...] > >>What the heck is up with NEWNEWS, anyway? > >Using newnews kills server proformence. Well that should be fixed in INN-2.3. NEWNEWS output now gets generated from the overview database, which is a lot faster than from the history file. Mike. -- There's a lot to be said for not saying a lot.
Re: [ ANNOUNCE ] INN 2.2.2 available
Author: Johnny Favorite (it means "Writh...
Date: Tue, 04 Jan 2000 00:00
Date: Tue, 04 Jan 2000 00:00
44 lines
2963 bytes
2963 bytes
Richard Kettlewell wrote: > "Johnny Favorite" writes: >> What the heck is up with NEWNEWS, anyway? Are you admins trying >> to get us to stop using it or what? Without it I'm going to have >> to tediously keep track of which article indexes I've already >> seen and which I haven't via GROUP. > > Not that that's exactly hard... I'm new at this so I may not be understanding it all that well but to me it's looking like it's maybe ten times more complicated than if I could do it via NEWNEWS. The first part's not TOO bad ... let's say I have to keep a range of indexes I've already seen and downloaded for a given newsgroup, something like 9000-9108, 9110-10113, 10116-10200, and so on. Okay, not too much fun but doable. Now, sooner or later, even though I've seen article 10116, it's going to expire, and that index may be reused by a newer article in the future. So I'll have to take that index out of my "seen" list and start hunting for it again. When? I haven't come up with a good idea for that yet, but it appears that I'll have to keep the download date/time for each individual index. So now I've got a list of potentionally thousands of index/date-time pairs for each newsgroup that I have to keep track of. If I could do it via NEWNEWS I'd have ONE date/time for the whole group. And the advantage to that would be that I could let the user change it; when they first subscribe to a group I could say "So do you want to see old articles from the last five days, or all old articles, or what?" My other idea is to forget about indexes altogether and just keep track of all the article IDs I've already seen, which sounds easier, but would require way more bytes to store, and the list would just keep getting bigger and bigger and bigger in perpetuity. Unless I keep download date/times, and then I'm back to square one. Basically, all options I can think of outside of NEWNEWS sound like about a week of coding, versus a practical non-issue if I *could* use NEWNEWS.
Re: [ ANNOUNCE ] INN 2.2.2 available
Author: Andrew Gierth
Date: Tue, 04 Jan 2000 00:00
Date: Tue, 04 Jan 2000 00:00
16 lines
1710 bytes
1710 bytes
>>>>> "Johnny" == Johnny Favorite (it means \"Writhing Tentacle of Death\") <allen@snakebite.com> writes: Johnny> Server: 211 100 1 100 news.software.nntp group selected Johnny> So now I know the CURRENT index range is 1 to 100. Sooner or Johnny> later that upper range has to roll over, doesn't it? No. The upper range goes all the way up to 2^32, and then the server falls over and dies. Even at 250k articles/day (which control.cancel was running at a couple of years back, but which no real group is likely to reach anytime soon), that takes about 47 years. -- Andrew.
Re: [ ANNOUNCE ] INN 2.2.2 available
Author: Curt Welch
Date: Tue, 04 Jan 2000 00:00
Date: Tue, 04 Jan 2000 00:00
53 lines
3700 bytes
3700 bytes
"Johnny Favorite (it means \"Writhing Tentacle of Death\")" <allen@snakebite.com> wrote: > Maybe that's what I have been missing. Could you expound on that a > little? Are you talking about article IDs, those long unique strings that > every article has assigned to them, or the indexes from the GROUP > command? > > Let's say I have this conversation with my news server: > > Me: GROUP news.software.nntp > Server: 211 100 1 100 news.software.nntp group selected > > So now I know the CURRENT index range is 1 to 100. Sooner or later that > upper range has to roll over, doesn't it? Let's say for the sake of > argument that they're kept in unsigned 16-bit integers so the upper range > is 65535. What happens when article 65535 has been posted and it's time > to start over? That's where I'm getting lost. As pointed out, the number is a 32 bit number and it's large enough that no one worries about it rolling over. It's really not defined as to what happens when it hits the limit. Most servers would probably break if you let the article numbers hit the 2^32 limit. So, to find the "newnews", all you have to remember is the high article number from each group the last time you checked news. Most newsreaders go a step further and remember which articles have been read using the list of article numbers and ranges. What you do need to watch out for however is the case where the server has all it's numbers reset. This happens sometimes when a server gets upgraded for example. A good admin will copy the active file numbers from the old server so new articles fall in the same sequence. But sometimes they don't do that. In that case, the article numbers for a group will suddenly take a large leap backwards. For example, the old range was 134450-134680, then the next time you check it's 450-1800. A good newsreader will spot this and figure out that all the articles must be new. A bad newsreader thinks that 1800 is < 134680 so they must all be old articles, and will continue to think so for the next 6 months until the article numbers for that group once again passes 134680. Even if you don't see the low number articles as new the first time, you should at least re-set you idea of the high water mark to 1800 so articles which show up after that will once again look like new articles. A group which gets deleted and then recreated can also have it's article numbers jump backwards so this can happen on a group by group basis as well. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: [ ANNOUNCE ] INN 2.2.2 available
Author: Johnny Favorite (it means "Writh...
Date: Tue, 04 Jan 2000 00:00
Date: Tue, 04 Jan 2000 00:00
26 lines
2082 bytes
2082 bytes
Russell Vincent wrote: > No, the article number is assigned by a particular server and > never re-used on that server. The next available number in > increasing sequence is always assigned and never re-used. That > makes it trivial to keep track of what has been read and you > can even expire old article numbers when they fall out of the > range of the GROUP command. Maybe that's what I have been missing. Could you expound on that a little? Are you talking about article IDs, those long unique strings that every article has assigned to them, or the indexes from the GROUP command? Let's say I have this conversation with my news server: Me: GROUP news.software.nntp Server: 211 100 1 100 news.software.nntp group selected So now I know the CURRENT index range is 1 to 100. Sooner or later that upper range has to roll over, doesn't it? Let's say for the sake of argument that they're kept in unsigned 16-bit integers so the upper range is 65535. What happens when article 65535 has been posted and it's time to start over? That's where I'm getting lost.
Re: [ ANNOUNCE ] INN 2.2.2 available
Author: Russell Vincent
Date: Tue, 04 Jan 2000 00:00
Date: Tue, 04 Jan 2000 00:00
22 lines
1916 bytes
1916 bytes
"Johnny Favorite (it means \"Writhing Tentacle of Death\")" <allen@snakebite.com> wrote: > Now, sooner or later, even though I've seen article 10116, it's going to > expire, and that index may be reused by a newer article in the future. So No, the article number is assigned by a particular server and never re-used on that server. The next available number in increasing sequence is always assigned and never re-used. That makes it trivial to keep track of what has been read and you can even expire old article numbers when they fall out of the range of the GROUP command. > Basically, all options I can think of outside of NEWNEWS sound like about a > week of coding, versus a practical non-issue if I *could* use NEWNEWS. Not all news server software even support NEWNEWS and some that do have it disabled for performance reasons. It is not a good idea to rely on it and most client software no longer uses it. -Russell
Re: [ ANNOUNCE ] INN 2.2.2 available
Author: Brad Knowles
Date: Tue, 04 Jan 2000 00:00
Date: Tue, 04 Jan 2000 00:00
27 lines
2235 bytes
2235 bytes
In article <84sik006sf@enews1.newsguy.com>, "Johnny Favorite (it means
\"Writhing Tentacle of Death\")" <allen@snakebite.com> wrote:
> I'm new at this so I may not be understanding it all that well but to me
> it's looking like it's maybe ten times more complicated than if I could
> do it via NEWNEWS.
The problem is that NEWNEWS is extremely expensive on many news
servers, so you can never depend on it being available (or even
implemented). Therefore, you're going to *have* to do something that
doesn't depend on NEWNEWS anyway, unless you're willing to tie yourself
to those implementations that handle NEWNEWS more efficiently, and
therefore the systems won't typically have NEWNEWS disabled.
I don't see a way around this problem -- either you do the work or
the news server does the work, and since most news servers will have
this feature turned off, whether it makes life really easy for you or
not, you simply can't depend on it.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 65? If so, please contact me via private e-mail for details.
newbie newsreader questions (was [ ANNOUNCE ] INN 2.2.2 available)
Author: Johnny Favorite (it means "Writh...
Date: Wed, 05 Jan 2000 00:00
Date: Wed, 05 Jan 2000 00:00
30 lines
2515 bytes
2515 bytes
Curt Welch wrote: > What you do need to watch out for however is the case where the > server has all it's numbers reset. This happens sometimes when > a server gets upgraded for example. A good admin will copy the > active file numbers from the old server so new articles fall in > the same sequence. But sometimes they don't do that. See, I knew there was going to be a catch. Now that I know what it is I can code around it. You guys have been a big help. Thanks! I would far rather spend a lot of time asking questions than writing code based on faulty assumptions and trying to figure out why it doesn't work, or discovering that it breaks in surprising ways after a month or two. So, one last question. (I hope.) I heard from another programmer that nn (No News is Good News) keeps track of visited index numbers for a given group in one or more contiguous ranges, i.e., 10000-10199 and 10201-10299, and so on, just in case an article shows up in one of those "gap" locations that it might want to go back and get later on. Why? How and/or why would it happen that an index in the middle of the range wouldn't have an article the first time you check but might later on? Do I have to do the same thing or can I just keep the beginning and end of the entire visited range, and then also do some kind of test to see if the group has been reset like Curt is talking about above?
Re: newbie newsreader questions (was [ ANNOUNCE ] INN 2.2.2 available)
Author: Brad Knowles
Date: Wed, 05 Jan 2000 00:00
Date: Wed, 05 Jan 2000 00:00
25 lines
2268 bytes
2268 bytes
In article <84vs5f22vda@enews4.newsguy.com>, "Johnny Favorite (it means
\"Writhing Tentacle of Death\")" <allen@snakebite.com> wrote:
> Why? How and/or why
> would it happen that an index in the middle of the range wouldn't have
> an article the first time you check but might later on?
I think they're keeping track of the articles that have been *read*,
as opposed to the articles that are *present*.
If you want to track which articles have been read and not present
them to the user again, then you need to do what nn does.
If you only care what articles have been present, you only need to
keep track of what the highest numbered article number was in each
newsgroup.
--
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
Are you a USENET news server administrator outside of North America or
Western Europe? Would you like a newsfeed from a site in the Freenix
Top 65? If so, please contact me via private e-mail for details.
Re: [ ANNOUNCE ] INN 2.2.2 available
Author: Johnny Favorite (it means "Writh...
Date: Wed, 05 Jan 2000 00:00
Date: Wed, 05 Jan 2000 00:00
9 lines
1220 bytes
1220 bytes
Andrew Gierth wrote: > No. The upper range goes all the way up to 2^32, and then the > server falls over and dies. Heh. I hate it when THAT happens!
Re: newbie newsreader questions (was [ ANNOUNCE ] INN 2.2.2 available)
Author: Curt Welch
Date: Wed, 05 Jan 2000 00:00
Date: Wed, 05 Jan 2000 00:00
54 lines
4120 bytes
4120 bytes
"Johnny Favorite (it means \"Writhing Tentacle of Death\")" <allen@snakebite.com> wrote: > So, one last question. (I hope.) I heard from another programmer that > nn (No News is Good News) keeps track of visited index numbers for a > given group in one or more contiguous ranges, i.e., 10000-10199 and > 10201-10299, and so on, just in case an article shows up in one of those > "gap" locations that it might want to go back and get later on. Why? All standard newsreaders keep a newsrc file which records which articles the user has read. They record it as a list of article numbers and/or ranges. "10000-10199,10201,10203-10299" for example. So this might be what you heard about. But, if your client needs to fetch and store all articles (or XOVER data) as they show up (regardless of what the user wants to read), then yes it's sometimes possible for articles to show up out of sequence. A "good" server would never do that, but we don't live in a perfect world. Because of how some larger multi-system servers work, the articles will sometimes show up (slightly) out of sequence. This is more typical for the XOVER data, but can also happen for the article itself. That is, if you do an XOVER for 3 new articles: "XOVER 100-102" the server might return data for articles 100, and 101, but not 102. If you try it again 10 seconds later, you might find that 102 is now there. Same thing when trying to read the article with ARTICLE/HEAD/BODY commands. Servers should NEVER do this, but they do. Part of the problem is that you normally can't tell if a gap is caused by a canceled article, or by articles arriving out of sequence. But a good client will deal with this problem one way or another. But the problem is trying to decide "what" to do. If you keep a complete list of every gap you saw, and every time you fetch new news, you re-test all the gaps, it will get very slow (for servers which process cancels and have lots of gaps). Typically, if there's an out-of-order gap, it will only exist for a few seconds or minutes at most (anything longer than that and the server really is broken). So depending on how your code works, you only need to re-check the gaps for a short period of time. How fancy you want to get with all this is up to you. This happens because news servers tend to do things in parallel so they can keep up with the volume. And if you process the articles in parallel after you have assigned numbers to them, it's possible that articles will not show up for the user in the same order they were assigned numbers. When a server is working correctly, even with this bug, the gaps will be very short lived (seconds at most). But when a server gets overloaded, the delays can be much longer, and the gaps might exist for many minutes. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: newbie newsreader questions (was [ ANNOUNCE ] INN 2.2.2 available)
Author: Johnny Favorite (it means "Writh...
Date: Thu, 06 Jan 2000 00:00
Date: Thu, 06 Jan 2000 00:00
19 lines
1994 bytes
1994 bytes
Curt Welch wrote: > But, if your client needs to fetch and store all articles (or > XOVER data) as they show up (regardless of what the user wants > to read), then yes it's sometimes possible for articles to show > up out of sequence. A "good" server would never do that, but > we don't live in a perfect world. Because of how some larger > multi-system servers work, the articles will sometimes show up > (slightly) out of sequence. [etc.] Well, that one article would have answered all my questions, if my original grasp of the concepts hadn't been so nebulous as to prevent me from asking them properly. Thanks Curt, and everybody else that ventured a reply. So I'm going to go give it a shot, and maybe with luck the next time I come poking around asking stuff I'll be doing it via my own newsreader.
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