Article View: news.software.nntp
Article #49371Re: INN 2.3.0 Linux/Alpha articles gone AWOL
From: news
Date: Mon, 11 Dec 2000 04:13
Date: Mon, 11 Dec 2000 04:13
34 lines
1945 bytes
1945 bytes
In comp.os.linux.alpha Russ Allbery <rra@stanford.edu> wrote:
> Hm. So it's using the message ID to get the token? This may be pointing
> at your history file. What does running grephistory on that message ID
> return? If it returns a storage token, does running sm on that token
> work?
Another followup, I've worked where things go wrong by hacking
some simple debig statements into storage/tradspool/tradspool.c
in the TokenToPath function,
memcpy(&artnum, &token.token[sizeof(ngnum)], sizeof(artnum));
artnum = 1375797248
artnum = ntohl(artnum);
artnum = 338
ngnum = ntohl(ngnum);
artnum = 338
ng = FindNGByNum(ngnum);
if (ng == NULL) return NULL;
artnum = 1375797248
path = NEW(char, strlen(ng)+20+strlen(innconf->patharticles));
artnum = 1375797248
sprintf(path, "%s/%s/%lu", innconf->patharticles, ng, artnum);
artnum = 1375797248
path = /usr/local/news/spool/articles/news/software/nntp/1375797248
So it seems that for some reason the call to FindNGByNum is somehow
resetting artnum to it's network byte order version ! Uhm, where
does the memory for ng come from ?
Technical Details
Message-ID:
<911k8r$vv$0@pita.alt.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!feed1.uncensored-news.com!news.alt.net!usenetReferences:
<90uqui$k18$0@pita.alt.net> <910ecf$5ad$0@pita.alt.net> <ylk898vtk9.fsf@windlord.stanford.edu> <9115bt$ulr$0@pita.alt.net> <ylvgsru8d0.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <911k8r$vv$0@pita.alt.net> Subject: Re: INN 2.3.0 Linux/Alpha articles gone AWOL Date: Mon, 11 Dec 2000 04:13:15 +0000 From: news@nospam.invalid References: <90uqui$k18$0@pita.alt.net> <910ecf$5ad$0@pita.alt.net> <ylk898vtk9.fsf@windlord.stanford.edu> <9115bt$ulr$0@pita.alt.net> <ylvgsru8d0.fsf@windlord.stanford.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!feed1.uncensored-news.com!news.alt.net!usenet Newsgroups: news.software.nntp,comp.os.linux.alpha Organization: a slightly misconfigured INN site Lines: 33