From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078612210680.tru64-unix-managers.marc@archive.invalid> From: ccksb () trentu ! ca (Ken Brown) Date: Wed, 28 May 1997 19:42:30 +0000 To: tru64-unix-managers Subject: SUMMARY nntp.1.5.12.1 X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078612210680 Hello! I asked: >I am having a few problems with nntp.1.5.12.1 running with Cnews (CR.G) on >Digital UNIX 4.0b. > >I have built Cnews and compiled nntpd. I can receive articles from our >feed(s). > >Howver, nntpxmit does not appear to be able to resolve FQDN and dumps core. > >By contrast, using an IP address works. The resolution was to change /xmit/get_tcp_conn.c to account for 64 bits. (Thanks to Paul Kern for this). Here are the diffs; diff get_tcp_conn.c get_tcp_conn.c.orig ============================================================================== 205,207c205 < #ifdef __osf__ < if (hstp->h_length == 0 || hstp->h_length > sizeof(u_long)) < #else --- > 209d206 < #endif ============================================================================== > >Secondly, nntpd appears to refuse to log via either syslog or FAKESYSLOG. One has to assure that FAKESYSLOG and FAKEAPPEND are *not* defined and use debug in syslog.conf; news.debug /var/spool/mqueue/nntplog Finally, running nntpd as the user "news"; nntp stream tcp nowait news /usr/local/etc/nntpd nntpd also required SGID mem on nntpd; -rwx--s--x 1 root mem 139264 May 27 13:15 nntpd to prevent kmem errors in the nntpd log. ---------------------------------------------------------------------- Ken Brown / kbrown@trentu.ca / tel: (705)748-1540 / fax: (705)748-1635 ----------------------------------------------------------------------