tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY nntp.1.5.12.1
@ 1997-05-28 19:42 ccksb
  0 siblings, 0 replies; only message in thread
From: ccksb @ 1997-05-28 19:42 UTC (permalink / raw)
  To: tru64-unix-managers

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 <pkern@utcc.utoronto.ca> 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
----------------------------------------------------------------------

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-05-28 19:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-05-28 19:42 SUMMARY nntp.1.5.12.1 ccksb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox