🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #30395

Re: Inn 2.1 Active file corrupting

#30395
From: cthorpe
Date: Mon, 10 Aug 1998 00:00
51 lines
2436 bytes



Don Lewis wrote:

> In article <6qccnn$sn0$1@newssvr09-int.news.prodigy.com>,
> bill davidsen <davidsen@tmr.com> wrote:
> >In article <35C8BF7C.B29BA3A1@team.xtra.co.nz>,
> >cthorpe  <cthorpe@team.xtra.co.nz> wrote:
> >
> >| Out of the blue my active file gets corrupted. When I runn inncheck it
> >| reports malformed lines.
> >|
> >| eg: two line merged into 1, merging the 'y' at then end of a line onto
> >| the end..
> >
> >I've seen two things do this:
> >
> >1 - mmap'd active on a machine which has mmap not working quite the way
> >it does on BSD, Solaris, or whatever the developer used.
> >
> >2 - in older versions the background renumber (renum '*' from memory)
> >did this as well, but it almost always hit only the first line of
> >active.
>

I checked my configs and definately haven't had mmap enabled in inn.conf.

And then this afternoon the file corrupted again. So I rebuilt active with
makeactive
and managed to stuff it up so that I had a zero byte active file.
When I restarted Inn I got this error in news.notice:

innd: SERVER cant mmap 15 /usr/local/news/db/active No such device or address


After checking the source mmap is on by default for the active file.

I'm really hoping that this is the cause. I'll recompile tomorrow and see what
happens.

Oh.. the joy of using IRIX ;)

If it doesn't solve my problem I'm going to reshuffle the servers here and make
sure that an Ultra 2 falls off the end somewhere!

Chris


Technical Details
Message-ID: <35CEBD3F.9367F1D0@team.xtra.co.nz>
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: <35C8BF7C.B29BA3A1@team.xtra.co.nz> <6qccnn$sn0$1@newssvr09-int.news.prodigy.com> <6qgs8c$nbe$1@news.gv.tsc.tdk.com>

Show Full Headers
Complete Article Headers
Message-ID: <35CEBD3F.9367F1D0@team.xtra.co.nz>
Subject: Re: Inn 2.1 Active file corrupting
Date: Mon, 10 Aug 1998 00:00:00 +0000
From: cthorpe <cthorpe@team.xtra.co.nz>
References: <35C8BF7C.B29BA3A1@team.xtra.co.nz> <6qccnn$sn0$1@newssvr09-int.news.prodigy.com> <6qgs8c$nbe$1@news.gv.tsc.tdk.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: 379655541
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: newsadmin@xtra.co.nz
X-Trace: titan.xtra.co.nz 902741620 8763 202.27.185.242 (10 Aug 1998 09:33:40 GMT)
Organization: Customer of Telecom Internet Services
Mime-Version: 1.0
NNTP-Posting-Date: 10 Aug 1998 09:33:40 GMT
Newsgroups: news.software.nntp