[news.software.anu-news] Problems with nntp_tcpcmu

LUSGR@VAX1.CC.LEHIGH.EDU (STEVE ROSEMAN) (09/01/89)

I am trying to install News 5.8 with the 5.8A patches on a VAXstation 3100
running VMS 5.1-B, Vax C 3.0, and CPU/TEK TCP/IP V6.4.  With the various
fixes (changes of 1 << PRV$V to PRV$M, copy v5maildef.h, etc.), I got
everything compiled, and NEWS seems to work.
     
However, when I try to connect to the server (via TELNET/port=119,
NNTP_FEED, or using the NNTP_CLIENT), the connection opens, the disk
drive defined as NEWS_ROOT is accessed a few times, and the connection
closes.  I have checked the logicals, etc., all day, but I can't find
anything wrong (they are as close to my V5.7 settings on our 8530 as
possible.) I set DEBUG=1 in nntp_tcpcmu.c, but that simply hangs up,
creating but not writing anything to the log file.
     
Any suggestions?  Does anyone have this configuration of products running?
Where to go from here?
     
Thanks for any assistance or pointers,
Steve
     
-------------------------------------------------------------------------
Steve Roseman
Lehigh University Computing Center
LUSGR@VAX1.CC.Lehigh.EDU
     
     

lusgr@vax1.cc.lehigh.edu (STEVE ROSEMAN) (09/05/89)

In article <ANU-NEWS%89083116270220@NDSUVM1>, LUSGR@VAX1.CC.LEHIGH.EDU (STEVE ROSEMAN) writes:
> I am trying to install News 5.8 with the 5.8A patches on a VAXstation 3100
> running VMS 5.1-B, Vax C 3.0, and CPU/TEK TCP/IP V6.4.  With the various
> fixes (changes of 1 << PRV$V to PRV$M, copy v5maildef.h, etc.), I got
> everything compiled, and NEWS seems to work.
>      
> However, when I try to connect to the server (via TELNET/port=119,
> NNTP_FEED, or using the NNTP_CLIENT), the connection opens, the disk
> drive defined as NEWS_ROOT is accessed a few times, and the connection
> closes. 
> ...

Well, the following changes seem to fix the problems.  The first was a
misplaced io status check, the second problems with the getremhost code.

************
File LU$LIB:[ANU_V5P8.NEWS.NEWS_SRC]NNTP_TCPCMU.C;6
  234       cks(sys$qiow(0,f,IO$_CREATE,iosb,0,0,0,0,119,0,0,0));
  235       cks(*i_o_sts);
  236       return(1);
******
File LU$LIB:[ANU_V5P8.NEWS.NEWS_SRC]NNTP_TCPCMU.C-SAV;1
  234       cks(*i_o_sts);
  235       cks(sys$qiow(0,f,IO$_CREATE,iosb,0,0,0,0,119,0,0,0));
  236       return(1);
************
************
File LU$LIB:[ANU_V5P8.NEWS.NEWS_SRC]NNTP_TCPCMU.C;6
  267       short fill_0;
  268       unsigned short fport;
******
File LU$LIB:[ANU_V5P8.NEWS.NEWS_SRC]NNTP_TCPCMU.C-SAV;1
  267       unsigned short fport;
************
************
File LU$LIB:[ANU_V5P8.NEWS.NEWS_SRC]NNTP_TCPCMU.C;6
  282           cks(sys$qiow(0,f,IO$_MODIFY,iosb,0,0,&info_buffer,sizeof(info_buffer),0,0,0,0));
  283           cks(*i_o_sts);
******
File LU$LIB:[ANU_V5P8.NEWS.NEWS_SRC]NNTP_TCPCMU.C-SAV;1
  281           cks(sys$qiow(0,f,IO$_MODIFY,iosb,0,0,&info_buffer,26,0,0,0,0));
  282           cks(*i_o_sts);
************

Number of difference sections found: 3
Number of difference records found: 4

DIFFERENCES /IGNORE=()/MERGED=1/OUTPUT=LU$LIB:[ANU_V5P8.NEWS.NEWS_BUILD]A.A;1-
    LU$LIB:[ANU_V5P8.NEWS.NEWS_SRC]NNTP_TCPCMU.C;6-
    LU$LIB:[ANU_V5P8.NEWS.NEWS_SRC]NNTP_TCPCMU.C-SAV;1

Steve

-- 
-------------------------------------------------------------------------
Steve Roseman
Lehigh University Computing Center
LUSGR@VAX1.CC.Lehigh.EDU