Thread View: news.software.nntp
6 messages
6 total messages
Started by cthorpe
Thu, 06 Aug 1998 00:00
Inn 2.1 Active file corrupting
Author: cthorpe
Date: Thu, 06 Aug 1998 00:00
Date: Thu, 06 Aug 1998 00:00
34 lines
1675 bytes
1675 bytes
Hi People... I've installed Inn 2.1 on an IRIX 6.4 box and have things running pretty well, except for one problem. I won't go into too many details now, I just want to see if anyone has heard/seen this before... 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.. or even merging most of the line into 1 like this : 00000001230000000125y I run makeactive to rebuild the file and sometimes get messages that some lines are too long. I check them out and they look fine to me. I restrart Inn and all is cool. I'm using cnfs but not actived at present. Checking out all the logs I can't spot anything unusual... Any help would be really appreciated 'cos I need to turn off my old Inn 1.5.1 box asap! Chris
Re: Inn 2.1 Active file corrupting
Author: Igor Rakcheev
Date: Thu, 06 Aug 1998 00:00
Date: Thu, 06 Aug 1998 00:00
21 lines
1392 bytes
1392 bytes
cthorpe (cthorpe@team.xtra.co.nz) wrote: > Hi People... > I've installed Inn 2.1 on an IRIX 6.4 box and have things running pretty > well, except for one problem. > 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 got that problem with inn 1.5 on BSDI3.0 when I've used MMAP for articles. The solution was to change ACT_STYLE MMAP on ACT_STYLE READ in the config/config.data. Check your inn.conf file, may be you have "articlemmap: true". Change it to "false". That can help you. Igor
Re: Inn 2.1 Active file corrupting
Author: bill davidsen
Date: Thu, 06 Aug 1998 00:00
Date: Thu, 06 Aug 1998 00:00
30 lines
1784 bytes
1784 bytes
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 use mmap as little as possible, because it causes a lot of problems on AIX. I see no problem with programs developed here, so I suspect a non-portability in the code. -- Bill Davidsen (davidsen@tmr.com) CTO, TMR Associates, Inc What do you mean I shouldn't do things like that at my age? At my age if you don't do things like that you might die of natural causes or boredom!
Re: Inn 2.1 Active file corrupting
Author: Don Lewis
Date: Sat, 08 Aug 1998 00:00
Date: Sat, 08 Aug 1998 00:00
31 lines
1888 bytes
1888 bytes
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. The patch that added this feature had an off by one error. In my case I think it tended to eat the final newline. This patch also introduced some potential bugs that would bite if groups were added or deleted while the renumber was running. Instead of trying to fix all the problems I just stopped using this feature. -- Don "Truck" Lewis TDK Semiconductor Internet: Don.Lewis@tsc.tdk.com 138 New Mohawk Road Phone: +1 530 478-8284 FAX: +1 530 478-8251 Nevada City, CA 95959
Re: Inn 2.1 Active file corrupting
Author: bill davidsen
Date: Mon, 10 Aug 1998 00:00
Date: Mon, 10 Aug 1998 00:00
30 lines
1999 bytes
1999 bytes
In article <6qgs8c$nbe$1@news.gv.tsc.tdk.com>, Don Lewis <gdonl@tsc.tdk.com> wrote: | In article <6qccnn$sn0$1@newssvr09-int.news.prodigy.com>, | bill davidsen <davidsen@tmr.com> wrote: | >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. | | The patch that added this feature had an off by one error. In my case I | think it tended to eat the final newline. This patch also introduced some | potential bugs that would bite if groups were added or deleted while the | renumber was running. Instead of trying to fix all the problems I just | stopped using this feature. The off by one error was correctable, but the delete group problem really wasn't. I never saw a problem with addgroup, it may have been the one problem which ever missed me ;-) I now run innd on a separate port and readers have no problems no matter what innd is doing. -- bill davidsen <davidsen@tmr.com> "If I were a diplomat, in the best case I'd go hungry. In the worst case, people would die." -- Robert Lipe
Re: Inn 2.1 Active file corrupting
Author: cthorpe
Date: Mon, 10 Aug 1998 00:00
Date: Mon, 10 Aug 1998 00:00
51 lines
2436 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads