Alexander Barkov wrote:
Author: Alexander Barkov
Email: [EMAIL PROTECTED]
Message:
Hello!

We tested news:// with INN version 2.2. It seems something changed
in INN 2.3.1. Is your news server available through internet?
I have no INN 2.3.1 to test :-(

I do, and 2.3.2 and have no problems like this....

It likely a problem in readers.conf of the news server setup.... one of my patched submitted previously fixes a similar error - you must send a 'mode reader' to the server to ensure that group commands work....

the patch is somthing like:

proto.c line 645:
     size=0;s=Indexer->buf;
     f=fdopen(fd,"r");f1=fdopen(fd,"w");
     fgets(str,sizeof(str),f); /* Read hello string */
+    fprintf(f1,"mode reader\r\n");fflush(f1);
+    fgets(str,sizeof(str),f); /* Read 2nd hello string*/

     /* All news groups on the server */
     if((!strcmp(filename,"/"))||(!strcmp(filename,""))){
     fprintf(f1,"list\r\n");fflush(f1);
     fgets(str,sizeof(str),f);
     sprintf(Indexer->buf,"HTTP/1.0 200 OK\r\nContent-Type: text/html\r\n\r\n<HTML><BODY>\n");

proto.c line 767 (before patch above):
     size=0;s=Indexer->buf;
     f=fdopen(fd,"r");f1=fdopen(fd,"w");
     fgets(str,sizeof(str),f); /* Read hello string */
+    fprintf(f1,"mode reader\r\n");fflush(f1);
+    fgets(str,sizeof(str),f); /* Read 2nd hello string*/

     /* All news groups on the server */
     if((!strcmp(filename,"/"))||(!strcmp(filename,""))){
     fprintf(f1,"list\r\n");fflush(f1);
     fgets(str,sizeof(str),f);
     sprintf(Indexer->buf,"HTTP/1.0 200 OK\r\nContent-Type: text/html\r\n\r\n<HTML><BODY>\n");
 
 

Yours

Matthew

 

> This is my new config:
> #==
> DBAddr  mysql://root:my_password@localhost/mnogonews/
> Server news://localhost/
> #==
>
> #indexer ./news.conf
> Indexer[4618]: [1] news://localhost/
> Indexer[4618]: [1] news://localhost/control
> Indexer[4618]: [1] news://localhost/control.cancel
> Indexer[4618]: [1] news://localhost/control.checkgroups
> Indexer[4618]: [1] news://localhost/control.newgroup
> Indexer[4618]: [1] news://localhost/control.rmgroup
> Indexer[4618]: [1] news://localhost/junk
> Indexer[4618]: [1] news://localhost/cbsd.birga
> Indexer[4618]: [1] news://localhost/cbsd.credit
> Indexer[4618]: [1] news://localhost/cbsd.donix
> Indexer[4618]: [1] news://localhost/cbsd.download
> etc
>
> #indexer -S ./news.conf
>           Database statistics
>     Status    Expired      Total
>    -----------------------------
>        200          0          1 OK
>        404          0        164 Not found
>    -----------------------------
>      Total          0        165
>
> What's wrong ???

Reply: <http://www.mnogosearch.org/board/message.php?id=2791>

___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]


 
begin:vcard 
n:Sullivan;Matthew
tel;cell:+61 (0)414 861 744 (Not for work use)
tel;fax:+61 (0)3 9693 7699
tel;home:+61 (0)3 9397 4859
tel;work:+61 (0)3 9693 7640
x-mozilla-html:TRUE
url:http://people.netscape.com/matthews/
org:<TABLE cols=2 width=350 spacing=0 rows=1><TR><TD width=50><img src="http://people.netscape.com/matthews/penguin.gif";></TD><TD><TABLE width=250 spacing=0 border=0><TR><TD><FONT SIZE=2>Senior Technical Support Engineer<TR><TD><FONT SIZE=2>iPlanet E-Commerce Solutions<TR><TD><FONT SIZE=2>Netscape Communications Australia Pty Ltd<TR><TD><FONT SIZE=2>A division of America On Line Inc.</TABLE></TABLE>
version:2.1
email;internet:[EMAIL PROTECTED]
adr;quoted-printable:;;Netscape Communications Australia=0D=0A;Level 1, The Tea House, 28 Clarendon Street;South Melbourne;VIC 3205;Australia
x-mozilla-cpt:nemesis.netscape.com;-18464
fn:Matthew Sullivan
end:vcard

S/MIME Cryptographic Signature

Reply via email to