Thread View: news.software.nntp
14 messages
14 total messages
Started by Mike Lischke
Wed, 10 Mar 2004 18:31
bogus Xref: header
Author: Mike Lischke
Date: Wed, 10 Mar 2004 18:31
Date: Wed, 10 Mar 2004 18:31
21 lines
1853 bytes
1853 bytes
Hi all, I've got a really annoying problem for which I simply can't find a solution. Maybe anyone can help me here. I had a working INN 2.3 and mirrored it to a new machine also running INN 2.3 (using xrefslave true). When connecting and asking for new articles I get all the migrated postings. So far so good. However I cannot post any new article on the new server. /etc/new.err contains the line: Innd: SERVER cant store article: bogus Xref: header Can somebody please sched a light on this problem? I have tried a lot f things and searched the web for quite some time but found only very few references let alone a solution or at least a hint. The last option I see is to reinstall everything :-( Mike -- www.soft-gems.net
Re: bogus Xref: header
Author: Russ Allbery
Date: Wed, 10 Mar 2004 18:39
Date: Wed, 10 Mar 2004 18:39
29 lines
2156 bytes
2156 bytes
Mike Lischke <public@lischke-online.de> writes:
> I've got a really annoying problem for which I simply can't find a
> solution. Maybe anyone can help me here.
> I had a working INN 2.3 and mirrored it to a new machine also running
> INN 2.3 (using xrefslave true). When connecting and asking for new
> articles I get all the migrated postings. So far so good. However I
> cannot post any new article on the new server. /etc/new.err contains
> the line:
> Innd: SERVER cant store article: bogus Xref: header
You can't post any messages directly to the innd on a system with
xrefslave enabled. See the inn.conf man page under xrefslave:
Servers with this parameter set should generally only have one
upstream feed, and should always have nnrpdposthost set to hand
locally posted articles off to the master server.
You need to set nnrpdposthost on the new server to point to the old server
until you're ready to switch over.
--
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.
Re: bogus Xref: header
Author: Mike Lischke
Date: Wed, 10 Mar 2004 18:52
Date: Wed, 10 Mar 2004 18:52
14 lines
1557 bytes
1557 bytes
Russ Allbery wrote >You need to set nnrpdposthost on the new server to point to the old server >until you're ready to switch over. Thanks a lot Russ for your quick answer. However I have already set back the xrefslave setting to false. However I must admit I never changed nnrpdposthost. Maybe I should redo the import with both settings correctly set. Mike -- www.soft-gems.net
Re: bogus Xref: header
Author: Russ Allbery
Date: Wed, 10 Mar 2004 19:16
Date: Wed, 10 Mar 2004 19:16
19 lines
1732 bytes
1732 bytes
Mike Lischke <public@lischke-online.de> writes:
> Russ Allbery wrote
>> You need to set nnrpdposthost on the new server to point to the old
>> server until you're ready to switch over.
> Thanks a lot Russ for your quick answer. However I have already set back
> the xrefslave setting to false.
It didn't take. I'm pretty sure that you can't get that error message
unless xrefslave is set to true. Did you restart innd after you changed
inn.conf?
--
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.
Re: bogus Xref: header
Author: Mike Lischke
Date: Wed, 10 Mar 2004 20:21
Date: Wed, 10 Mar 2004 20:21
16 lines
1844 bytes
1844 bytes
Russ Allbery wrote >It didn't take. I'm pretty sure that you can't get that error message >unless xrefslave is set to true. Did you restart innd after you changed >inn.conf? It is totally perplexing. I now have deleted all messages, set the xrefslave and the nntp host to my old server. I did a suck over all messages, reset the xrefslave and nntp host and restarted INN. I can read all existing messages but cannot post any new, as it is always rejected with the bogus xref header problem. What else can I do? Mike -- www.soft-gems.net
Re: bogus Xref: header
Author: Russ Allbery
Date: Wed, 10 Mar 2004 20:53
Date: Wed, 10 Mar 2004 20:53
39 lines
2623 bytes
2623 bytes
Mike Lischke <public@lischke-online.de> writes:
> It is totally perplexing. I now have deleted all messages, set the
> xrefslave and the nntp host to my old server. I did a suck over all
> messages, reset the xrefslave and nntp host and restarted INN. I can
> read all existing messages but cannot post any new, as it is always
> rejected with the bogus xref header problem. What else can I do?
Hm, okay, I'm sorry. That isn't the error message that I thought it was,
and this isn't related to xrefslave, upon further investigation. This
error message is coming out of tradspool:
xrefhdr = article.groups;
if ((xrefs = CrackXref(xrefhdr, &numxrefs)) == NULL || numxrefs == 0) {
token.type = TOKEN_EMPTY;
SMseterror(SMERR_UNDEFINED, "bogus Xref: header");
if (xrefs != NULL)
free(xrefs);
return token;
}
if ((p = strchr(xrefs[0], ':')) == NULL) {
token.type = TOKEN_EMPTY;
SMseterror(SMERR_UNDEFINED, "bogus Xref: header");
for (i = 0 ; i < numxrefs; ++i) free(xrefs[i]);
free(xrefs);
return token;
}
This means that INN is generating invalid Xref headers somehow. You don't
have your server name set to something containing a space or the like, do
you?
--
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.
Re: bogus Xref: header
Author: Mike Lischke
Date: Thu, 11 Mar 2004 16:33
Date: Thu, 11 Mar 2004 16:33
40 lines
2461 bytes
2461 bytes
Russ Allbery wrote >This means that INN is generating invalid Xref headers somehow. You don't >have your server name set to something containing a space or the like, do >you? I'm very thankful for your help Russ. I also assumed that the created xref header could be wrong. In the old messages I have: Xref: h2423.serverkompetenz.net delphi-gems.support.colortools:1 while in the new postings in /var/spool/news/incoming I have: Xref: news.soft-gems.net ~XNS:00000090 Obviously, in the new headers the Xref is wrong. Who is responsible for creating this info? Is it INN? My configuration looks like: mta: /usr/sbin/sendmail -oi -oem %s organization: Soft Gems software solutions ovmethod: tradindexed pathhost: soft-gems.net pathnews: /etc/news # General Settings domain: soft-gems.net innflags: mailcmd: /usr/lib/news/bin/innmail server: news.soft-gems.net ... I don't see any space char in the config file except in the organization paramater. Mike -- www.soft-gems.net
Re: bogus Xref: header
Author: Russ Allbery
Date: Thu, 11 Mar 2004 19:53
Date: Thu, 11 Mar 2004 19:53
31 lines
2421 bytes
2421 bytes
Mike Lischke <public@lischke-online.de> writes:
> I'm very thankful for your help Russ. I also assumed that the created
> xref header could be wrong. In the old messages I have:
> Xref: h2423.serverkompetenz.net delphi-gems.support.colortools:1
> while in the new postings in /var/spool/news/incoming I have:
> Xref: news.soft-gems.net ~XNS:00000090
> Obviously, in the new headers the Xref is wrong. Who is responsible for
> creating this info? Is it INN?
INN would never create an Xref header that looked like that.
It looks to me like you're keeping the Xref header of a message that
you're getting from somewhere else. Was this message posted by a local
client? If so, did that client generate the message itself?
If you're using suck or something similar to pull news from another
server, you need to remove the Xref header before posting. Otherwise,
make sure that you have xrefslave turned *off* if this server isn't still
a slave of another server.
--
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.
Re: bogus Xref: header
Author: Mike Lischke
Date: Thu, 11 Mar 2004 20:18
Date: Thu, 11 Mar 2004 20:18
25 lines
2280 bytes
2280 bytes
Russ Allbery wrote >INN would never create an Xref header that looked like that. Ah, interesting. I'll contact the author of my news reader to sue him ;-) >It looks to me like you're keeping the Xref header of a message that >you're getting from somewhere else. Was this message posted by a local >client? If so, did that client generate the message itself? No, this message was posted by a client on my XP box as I had posted hundreds of messages before. >If you're using suck or something similar to pull news from another >server, you need to remove the Xref header before posting. Otherwise, >make sure that you have xrefslave turned off if this server isn't still >a slave of another server. I set xrefslave to false and restarted INN before I posted my test message. Still it contains the strange Xref. Mike -- www.soft-gems.net
Re: bogus Xref: header
Author: Colin Wilson
Date: Fri, 12 Mar 2004 09:08
Date: Fri, 12 Mar 2004 09:08
35 lines
2550 bytes
2550 bytes
Mike Lischke wrote: > > INN would never create an Xref header that looked like that. > > Ah, interesting. I'll contact the author of my news reader to sue him > ;-) Eeek! :) It seems that maybe INN is confusing the 'X-Ref:' header that XanaNews generates with an 'Xref:' header? If you look at the headers on your posts above you'll see what I mean. XanaNews generates 'X-Ref:' headers when you have the 'Archive Posted Messages' option turned on. It uses it to detect when you download a message that you previously posted - so that it can tie the archived posted message and the actual message together. You can turn off the option for an individual server (in account properties, Posting tab) - which will get round the problem for the moment. But it looks like I'll have to change XanaNews :( I don't want it to not be able to post to INN servers... -- Colin Creator of XanaNews & XanaNewz! web: www.wilsonc.demon.co.uk/delphi.htm mail: colin@wilsonc.demon.co.uk Posted with Xananews 1.16.1.12
Re: bogus Xref: header
Author: Mike Lischke
Date: Fri, 12 Mar 2004 17:37
Date: Fri, 12 Mar 2004 17:37
29 lines
2448 bytes
2448 bytes
Colin Wilson wrote >> Ah, interesting. I'll contact the author of my news reader to sue him >> ;-) > >Eeek! :) Oh, ahem, you never should have seen this. How can one keep any secret in this web ;-) >It seems that maybe INN is confusing the 'X-Ref:' header that XanaNews >generates with an 'Xref:' header? If you look at the headers on your >posts above you'll see what I mean. Oooh, yet another x-ref header. But don't worry. I switched off the archiving so the header is not created but my server still refuses to take any message. I'll have to reinstall that thing if I can't find a solution. >But it looks like I'll have to change XanaNews :( I don't want it to >not be able to post to INN servers... Don't worry. I used XN for a long time and my news server accepted so far any message from it. Only on the new server I have that posting problem. So maybe I really should reinstall the server. Mike -- www.soft-gems.net
Re: bogus Xref: header
Author: Colin Wilson
Date: Fri, 12 Mar 2004 19:26
Date: Fri, 12 Mar 2004 19:26
25 lines
2124 bytes
2124 bytes
Mike Lischke wrote: > I switched off the archiving so the header is not created but my > server still refuses to take any message. From your previous message, though it looked like somehow INN was interpretting the X-Ref as an Xref... > > while in the new postings in /var/spool/news/incoming I have: > > > Xref: news.soft-gems.net ~XNS:00000090 That worries me! Does anyone else know anything about this? -- Colin Creator of XanaNews & XanaNewz! web: www.wilsonc.demon.co.uk/delphi.htm mail: colin@wilsonc.demon.co.uk Posted with Xananews 1.16.1.12
Re: bogus Xref: header
Author: Russ Allbery
Date: Fri, 12 Mar 2004 22:57
Date: Fri, 12 Mar 2004 22:57
24 lines
2445 bytes
2445 bytes
Colin Wilson <colin@wilsonc.demon.co.uk> writes:
> Mike Lischke wrote:
>> I switched off the archiving so the header is not created but my server
>> still refuses to take any message.
> From your previous message, though it looked like somehow INN was
> interpretting the X-Ref as an Xref...
>> > while in the new postings in /var/spool/news/incoming I have:
>>
>> > Xref: news.soft-gems.net ~XNS:00000090
> That worries me! Does anyone else know anything about this?
INN is pretty literal about this stuff, so I'm not sure how that could
happen. The extra dash should definitely distinguish.
--
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.
Re: bogus Xref: header
Author: Mike Lischke
Date: Sat, 13 Mar 2004 11:25
Date: Sat, 13 Mar 2004 11:25
9 lines
1894 bytes
1894 bytes
Thank you both for trying to help. I finally reinstalled my INN and after about 30 minutes for setup and sucking the old articles everything now runs smoothly. I did not use xrefslave, though, so people have to reread all message headers to stay in sync. But at least that works. Mike -- www.soft-gems.net
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