Article View: news.software.nntp
Article #47791rnews: cant open_remote Illegal seek
From: bill davidsen
Date: Thu, 10 Aug 2000 00:00
Date: Thu, 10 Aug 2000 00:00
30 lines
1971 bytes
1971 bytes
I'm doing a sort of content based feed for a site. All articles in
some groups are scanned by a small perl program, and if they have
certain things they are fed to another site. Now, since I have the whole
article in memory in the program, I tried to do the feed by opening a
pipe to rnews and pushing in the article:
open(RNEWS, "|rnews -h localhost -r remote -P 433") || die "rnews";
print RNEWS $Post;
close RNEWS;
I get the "rnews: cant open_remote Illegal seek" error in the log. The
funny thing is that it doesn't happen if I replace the host name with
"localhost" and try to re-offer them, they are offered (and rejected of
course) just fine.
Permissions on the remote are fine, and if I write the storage tokens
for the articles in a file, and then:
system("innxmit -a -v -P 433 remote $PWD/token_file");
the articles are sent without problem.
A sniffer shows that the socket is never opened by rnews, so it's a
problem there and nowhere else.
INN 2.3 BETA 00-07-23. I have this exact logic working on another
machine, using the 99-12-07 (or so) INN 2.3, so I'm willing to believe
that it's really broken if someone tells me so, but I think I remember
something totally unobvious causes this. Someone remind me, please.
Technical Details
Message-ID:
<8muokh$vko$1@newssvr02.news.prodigy.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <8muokh$vko$1@newssvr02.news.prodigy.com> Subject: rnews: cant open_remote Illegal seek Date: Thu, 10 Aug 2000 00:00:00 +0000 From: davidsen@tmr.com (bill davidsen) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 656828512 X-Trace: newssvr02.news.prodigy.com 965928401 000 192.168.190.236 (10 Aug 2000 17:26:41 GMT) Organization: TMR Associates, Schenectady NY Newsgroups: news.software.nntp Originator: davidsen@darkstar.prodigy.com X-Complaints-To: abuse@prodigy.net