🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
14 messages
14 total messages Started by Ivan A. Kosarev Sun, 30 Oct 2005 12:04
Article fetching
#72536
Author: Ivan A. Kosarev
Date: Sun, 30 Oct 2005 12:04
52 lines
2159 bytes
Hello again,

Another problem encountered with the INN. I'm trying to make it possible to 
fetch previously posted messages with the NNTP server. Outlook Express 
inserts strings like

"Ivan A. Kosarev" <ik@mydomain.com> wrote in message 
news:dk29ft$oau$1@mydomain.com...

when replies, so it would be reasonable to think that the INN will fecth 
corresponding article when I click on the link.

However, it doesn't work: Outlook Express fails with the following report:
---
430 No such article

Configuration:
   Account: x.x.x.x
   Server: x.x.x.x
   User name: ik
   Protocol: NNTP
   Port: 119
   Secure(SSL): 0
   Error Number: 430
   Code: 800ccca6
---

The same happens when I try to fetch an article head with a telnet utility:
---
200 mydomain.com InterNetNews NNRP server INN 2.4.1 ready (posting ok).
list
215 Newsgroups in form "group high low flags".
public.a 0000000000 0000000001 y
public.b 0000000014 0000000001 y
public.c 0000000000 0000000001 y
public.d 0000000000 0000000001 y
..
group public.b
211 13 1 14 public.b
head dk29ft$oau$1@mydomain.com
423 Bad article number
--

I'm sure the message is there as I see it in my news pool.

Thanks.

-- 
Unicals Group -- Development Tools for OEMs
http://www.unicals.com

Re: Article fetching
#72538
Author: Jeffrey M. Vinocur
Date: Sun, 30 Oct 2005 12:33
22 lines
1542 bytes
In article <3sjr5iFokp4sU1@individual.net>,
Ivan A. Kosarev <ikosarev@online.ru> wrote:
>
>However, it doesn't work: Outlook Express fails with the following report:
>---
>430 No such article

You're on your own with Outlook Express, I don't use it.


>head dk29ft$oau$1@mydomain.com
>423 Bad article number

But here your problem is that you're missing the angle brackets.
Those are part of the Message-ID and need to be included.  Try:

    head <dk29ft$oau$1@mydomain.com>


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Article fetching
#72537
Author: Ivan A. Kosarev
Date: Sun, 30 Oct 2005 12:50
42 lines
2034 bytes
"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message 
news:dk2eji$jbp$1@puck.litech.org...
> In article <3sjr5iFokp4sU1@individual.net>,
> Ivan A. Kosarev <ikosarev@online.ru> wrote:

>>head dk29ft$oau$1@mydomain.com
>>423 Bad article number
>
> But here your problem is that you're missing the angle brackets.
> Those are part of the Message-ID and need to be included.  Try:
>
>    head <dk29ft$oau$1@mydomain.com>

Nope, that doesn't work, but with a different error code:
---
head <dk29ft$oau$1@mydomain.com>
430 No such article
head dk29ft$oau$1@mydomain.com
423 Bad article number
---

Here is the message header:
---
Path: mydomain.com!not-for-mail
From: "Ivan A. Kosarev" <ik@mydomain.com>
Newsgroups: public.b
Subject: test2
Date: Sun, 30 Oct 2005 14:07:33 +0300
Organization: U
Lines: 7
Message-ID: <dk29ft$oau$1@mydomain.com>
...
---

Note is that I changed the domain name after the INN been installed 
(bsd.localhost.localdomain to mydomain.com). Could it be the reason?

-- 
Unicals Group -- Development Tools for OEMs
http://www.unicals.com

Re: Article fetching
#72539
Author: Szymon Sokół
Date: Sun, 30 Oct 2005 12:53
15 lines
2162 bytes
On Sun, 30 Oct 2005 15:04:02 +0300, Ivan A. Kosarev wrote:

> I'm sure the message is there as I see it in my news pool.
Try
head <dk29ft$oau$1@mydomain.com>
instead. The <> characters around the message-id are important here.
If it still says 430, use shell command:
grephistory '<dk29ft$oau$1@mydomain.com>'
and see what it prints. If nothing at all, you have a problem with your
history file; otherwise, most probably the problem is with overview.
-- 
Szymon Sokół (SS316-RIPE) -- Network Manager                                 B
Computer Center, AGH - University of Science and Technology, Cracow, Poland  O
http://home.agh.edu.pl/szymon/ PGP key id: RSA: 0x2ABE016B, DSS: 0xF9289982  F
Free speech includes the right not to listen, if not interested -- Heinlein  H
Re: Article fetching
#72540
Author: Frank Slootweg
Date: Sun, 30 Oct 2005 13:02
46 lines
2532 bytes
Ivan A. Kosarev <ikosarev@online.ru> wrote:
> Hello again,
> 
> Another problem encountered with the INN. I'm trying to make it possible to 
> fetch previously posted messages with the NNTP server. Outlook Express 
> inserts strings like
> 
> "Ivan A. Kosarev" <ik@mydomain.com> wrote in message 
> news:dk29ft$oau$1@mydomain.com...
> 
> when replies, so it would be reasonable to think that the INN will fecth 
> corresponding article when I click on the link.
> 
> However, it doesn't work: Outlook Express fails with the following report:
> ---
> 430 No such article
> 
> Configuration:
>    Account: x.x.x.x
>    Server: x.x.x.x
>    User name: ik
>    Protocol: NNTP
>    Port: 119
>    Secure(SSL): 0
>    Error Number: 430
>    Code: 800ccca6
> ---

  This works fine for me. For example article
<news:kyV8f.338311$oW2.97338@pd7tw1no> ("Subject: Re: makehistory
doesn't" of "Date: Sun, 30 Oct 2005 01:42:40 GMT") in this group says:

> I guess I should mention that I'm running INN on Debian.
>
> "SunTzu2" <suntzu2@here.org> wrote in message
> news:VvV8f.347852$tl2.77168@pd7tw3no...

  When (in OE) I click on the "news:..." URL, I get the parent article.

  So I can only assume that there is something wrong with your OE
configuration, or the article is indeed not there.

  Jeffrey already covered the missing brackets in the (telnet session)
"head" NNTP command, so be sure that you try that first.

[telnet example deleted]
Re: Article fetching
#72542
Author: Ivan A. Kosarev
Date: Sun, 30 Oct 2005 13:22
23 lines
1818 bytes
"Szymon Sokó³" <szymon@bastard.operator.from.hell.pl> wrote in message 
news:1hsaucx8bl0lx.dlg@falcon.sloth.hell.pl...
> On Sun, 30 Oct 2005 15:04:02 +0300, Ivan A. Kosarev wrote:
>
>> I'm sure the message is there as I see it in my news pool.
> Try
> head <dk29ft$oau$1@mydomain.com>
> instead. The <> characters around the message-id are important here.
> If it still says 430, use shell command:
> grephistory '<dk29ft$oau$1@mydomain.com>'
> and see what it prints. If nothing at all, you have a problem with your
> history file; otherwise, most probably the problem is with overview.

grephistory reports "not found" for the article.

So, what would I do to fix the problem with the history or overview? May I 
reinitialize the server's records somehow?

-- 
Unicals Group -- Development Tools for OEMs
http://www.unicals.com

Re: Article fetching
#72541
Author: Ivan A. Kosarev
Date: Sun, 30 Oct 2005 13:25
18 lines
1580 bytes
"Frank Slootweg" <this@ddress.is.invalid> wrote in message 
news:4364c44d$0$9260$dbd4f001@news.wanadoo.nl...
>
>  This works fine for me. For example article
> <news:kyV8f.338311$oW2.97338@pd7tw1no> ("Subject: Re: makehistory
> doesn't" of "Date: Sun, 30 Oct 2005 01:42:40 GMT") in this group says:
...
>  So I can only assume that there is something wrong with your OE
> configuration, or the article is indeed not there.

Once I changed default account to individual.net, my OE opens the link above 
with no problem.

-- 
Unicals Group -- Development Tools for OEMs
http://www.unicals.com

Re: Article fetching
#72543
Author: Szymon Sokół
Date: Sun, 30 Oct 2005 13:35
11 lines
2008 bytes
On Sun, 30 Oct 2005 16:22:36 +0300, Ivan A. Kosarev wrote:

> So, what would I do to fix the problem with the history or overview? May I 
> reinitialize the server's records somehow?
Run makehistory with appriopriate options. 

-- 
Szymon Sokół (SS316-RIPE) -- Network Manager                                 B
Computer Center, AGH - University of Science and Technology, Cracow, Poland  O
http://home.agh.edu.pl/szymon/ PGP key id: RSA: 0x2ABE016B, DSS: 0xF9289982  F
Free speech includes the right not to listen, if not interested -- Heinlein  H
Re: Article fetching
#72544
Author: Jeffrey M. Vinocur
Date: Sun, 30 Oct 2005 14:22
31 lines
2073 bytes
In article <3sjvotFoj0c9U1@individual.net>,
Ivan A. Kosarev <ikosarev@online.ru> wrote:
>"Szymon Sok�" <szymon@bastard.operator.from.hell.pl> wrote in message 
>news:1hsaucx8bl0lx.dlg@falcon.sloth.hell.pl...
>
>> grephistory '<dk29ft$oau$1@mydomain.com>'
>
>grephistory reports "not found" for the article.

BTW, it's important to use single quotes just like the above, in
case you accidentally used double quotes instead.


>So, what would I do to fix the problem with the history or overview? May I 
>reinitialize the server's records somehow?

Are you sure the article is still present on your server?  Your
Outlook Express may have cached the article and still show it to
you after it has expired from the server.

If the article truly is still on the server, you'll need to
rebuild the history database with makehistory.  Check the
overview database (the DAT file) to see if there is an entry for
that article; if there isn't, then you need to use the -O flag
for makehistory to rebuild the overview also.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Article fetching
#72545
Author: Ivan A. Kosarev
Date: Sun, 30 Oct 2005 14:25
20 lines
1644 bytes
"Szymon Sokó³" <szymon@bastard.operator.from.hell.pl> wrote in message 
news:vfprdsmq0b8c$.dlg@falcon.sloth.hell.pl...
> On Sun, 30 Oct 2005 16:22:36 +0300, Ivan A. Kosarev wrote:
>
>> So, what would I do to fix the problem with the history or overview? May 
>> I
>> reinitialize the server's records somehow?
> Run makehistory with appriopriate options.

bash-3.00$ ./makehistory -b -f -O
makehistory: failed to malloc 80000000 bytes at dbz.c line 1292: Cannot 
allocate memory

;-)

-- 
Unicals Group -- Development Tools for OEMs
http://www.unicals.com

Re: Article fetching
#72546
Author: Ivan A. Kosarev
Date: Sun, 30 Oct 2005 14:28
40 lines
2467 bytes
"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message 
news:dk2kv1$mfg$1@puck.litech.org...
> In article <3sjvotFoj0c9U1@individual.net>,
> Ivan A. Kosarev <ikosarev@online.ru> wrote:
>>"Szymon Sokó³" <szymon@bastard.operator.from.hell.pl> wrote in message
>>news:1hsaucx8bl0lx.dlg@falcon.sloth.hell.pl...
>>
>>> grephistory '<dk29ft$oau$1@mydomain.com>'
>>grephistory reports "not found" for the article.
>
> BTW, it's important to use single quotes just like the above, in
> case you accidentally used double quotes instead.

Yes, I used single quotes to invoke grephistory.

>>So, what would I do to fix the problem with the history or overview? May I
>>reinitialize the server's records somehow?
>
> Are you sure the article is still present on your server?  Your
> Outlook Express may have cached the article and still show it to
> you after it has expired from the server.

Yes, I'm sure. I see the message in a news pool on my server, it's 
definitely there.

> If the article truly is still on the server, you'll need to
> rebuild the history database with makehistory.  Check the
> overview database (the DAT file) to see if there is an entry for
> that article; if there isn't, then you need to use the -O flag
> for makehistory to rebuild the overview also.

Please see my previous post on this point.

Thank you.

-- 
Unicals Group -- Development Tools for OEMs
http://www.unicals.com

Re: Article fetching
#72547
Author: Jeffrey M. Vinocur
Date: Sun, 30 Oct 2005 14:47
15 lines
1488 bytes
In article <3sk3e6Fodg4cU1@individual.net>,
Ivan A. Kosarev <ikosarev@online.ru> wrote:
>
>bash-3.00$ ./makehistory -b -f -O
>makehistory: failed to malloc 80000000 bytes at dbz.c line 1292: Cannot 
>allocate memory

Probably you need to use the -s flag.

Try `wc -l history` to get an estimate of what number to use.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Article fetching
#72548
Author: Ivan A. Kosarev
Date: Sun, 30 Oct 2005 15:12
21 lines
1685 bytes
"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message 
news:dk2me4$mfg$2@puck.litech.org...
> In article <3sk3e6Fodg4cU1@individual.net>,
> Ivan A. Kosarev <ikosarev@online.ru> wrote:
>>
>>bash-3.00$ ./makehistory -b -f -O
>>makehistory: failed to malloc 80000000 bytes at dbz.c line 1292: Cannot
>>allocate memory
>
> Probably you need to use the -s flag.
> Try `wc -l history` to get an estimate of what number to use.

I rebuilt the history. Both grephistory and Outlook Express work well now.

Thanks again.

-- 
Unicals Group -- Development Tools for OEMs
http://www.unicals.com

Re: Article fetching
#72551
Author: Bill Davidsen
Date: Mon, 31 Oct 2005 17:12
33 lines
2395 bytes
Ivan A. Kosarev wrote:
> "Jeffrey M. Vinocur" <jeff@litech.org> wrote in message 
> news:dk2eji$jbp$1@puck.litech.org...
> 
>>In article <3sjr5iFokp4sU1@individual.net>,
>>Ivan A. Kosarev <ikosarev@online.ru> wrote:
> 
> 
>>>head dk29ft$oau$1@mydomain.com
>>>423 Bad article number
>>
>>But here your problem is that you're missing the angle brackets.
>>Those are part of the Message-ID and need to be included.  Try:
>>
>>   head <dk29ft$oau$1@mydomain.com>
> 
> 
> Nope, that doesn't work, but with a different error code:
> ---
> head <dk29ft$oau$1@mydomain.com>
> 430 No such article

That means you don't have that article

> head dk29ft$oau$1@mydomain.com
> 423 Bad article number

That means what you gave it is not an article number at all

-- 
bill davidsen
   SBC/Prodigy Yorktown Heights NY data center
   http://newsgroups.news.prodigy.com
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