🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #47217

Re: Interaction between NNTP and CNews

#47217
From: Dan Glover
Date: Sat, 01 Jul 2000 00:00
52 lines
2281 bytes
In article <8jfg2d$5e6$1@nnrp1.deja.com>, divismartin@my-deja.com wrote:

>I�ve installed and configured the two packages (NNTP 1.5.12 und CNews
>with patch CR.G April '95) on a SUN SparcStation 60, with Solaris 2.5.1,
>for a local newsgroup server in an Intranet.

I'm sure you already know that cnews is rather old and effectively no
longer maintained.  That said it still works well.

>CNEWS functions without sending any error reports. You can read and post
>articles locally. The archive process seems to be alright and the
>history files as well - see the output

Good.

>The NNTP software seems to be alright,but nevertheless there is some
>inconsistence -

> 215 Newsgroups in form "group high low flags".
[...]
> test 0000000003 00001 y

This information comes from the active file.

> group test
> 211 0 0 0 test

This is produced by scanning the directory in the spool, see function
scan_dir() in server/scandir.c - it uses malloc() and if this fails will
leave the counters as zero.  Optionally if you #define SYSLOG it should
log the failure.

>Strange about these reaction is that

> article 2
> 220 2 <FwEquo.An@lfk.dasa.de> Article retrieved;   head and body
>follow.

Here we're just trying to read the numbered file from the spool, via
spew() in misc.c

>Any help would be greatly appreciated.

I suggest enabling SYSLOG and seeing if that reports errors with
malloc() while doing scan_dir()

Dan

-- 
Dan Glover (dan@dangl.demon.co.uk)

Technical Details
Message-ID: <Fx0HB7.686@dgsys.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <8jfg2d$5e6$1@nnrp1.deja.com>

Show Full Headers
Complete Article Headers
Message-ID: <Fx0HB7.686@dgsys.co.uk>
Subject: Re: Interaction between NNTP and CNews
Date: Sat, 01 Jul 2000 00:00:00 +0000
From: Dan Glover <news@dangl.demon.co.uk>
References: <8jfg2d$5e6$1@nnrp1.deja.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 641147670
Sender: dan@dgsys.co.uk (Dan Glover)
X-Complaints-To: abuse@theplanet.net
X-Trace: newsg2.svr.pol.co.uk 962442941 19725 62.136.127.59 (1 Jul 2000 09:15:41 GMT)
Organization: One day, maybe!
Reply-To: newsreply@dgsys.co.uk
NNTP-Posting-Date: 1 Jul 2000 09:15:41 GMT
Newsgroups: news.software.nntp