🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by M.A.Broom Fri, 01 Sep 2000 12:09
active file becoming corrupt
#48223
Author: M.A.Broom
Date: Fri, 01 Sep 2000 12:09
47 lines
2356 bytes
Hi,

   The two people who run the news service at UKC are both ill and we now
have problems that our active file is becoming corrupt. We run iin 2.2.1
on a Solaris 2.7 machine.

This file being corrupt has meant the deletion of old articles is not
happening during the night and the disk is filling up.
 In the expire.log file we have:

--------------------------------------------
expire begin Thu Aug 31 22:21:57 BST 2000: (-v1 -z/var/news/log/expire.rm
-Z/var/news/log/expire.lowmark)
    /archivedb/newsdb/active: line 4931 wrong number of fields
expire end Thu Aug 31 22:21:57 BST 2000
	all done Thu Aug 31 22:21:58 BST 2000
lowmarkrenumber begin Thu Aug 31 22:21:58 BST 2000:
(/var/news/log/expire.lowmark)
lowmarkrenumber end Thu Aug 31 22:21:59 BST 2000
	expireover start Thu Aug 31 22:21:59 BST 2000
	expireover end Thu Aug 31 22:21:59 BST 2000
-------------------------------------------------------------

My question  is can I do something like deleting the active file once I
have shutdown the news system by doing:


  ctlinnd shutdown now


  rm /archivedb/newsdb/active

  touch /archivedb/newsdb/active

and then restart the service.

Will the system rebuild the active file for me or not?

  Thanks in advance.

Martin Broom
Computing Service
University of Kent
Canterbury
Kent

Re: active file becoming corrupt
#48226
Author: Andrew Gierth
Date: Fri, 01 Sep 2000 12:24
29 lines
2121 bytes
>>>>> "M" == M A Broom <mab@ukc.ac.uk> writes:

 M> This file being corrupt has meant the deletion of old articles is not
 M> happening during the night and the disk is filling up.
 M>  In the expire.log file we have:

 M> --------------------------------------------
 M> expire begin Thu Aug 31 22:21:57 BST 2000: (-v1 -z/var/news/log/expire.rm
 M> -Z/var/news/log/expire.lowmark)
 M>     /archivedb/newsdb/active: line 4931 wrong number of fields
 M> expire end Thu Aug 31 22:21:57 BST 2000
 M> 	all done Thu Aug 31 22:21:58 BST 2000
 M> lowmarkrenumber begin Thu Aug 31 22:21:58 BST 2000:
 M> (/var/news/log/expire.lowmark)
 M> lowmarkrenumber end Thu Aug 31 22:21:59 BST 2000
 M> 	expireover start Thu Aug 31 22:21:59 BST 2000
 M> 	expireover end Thu Aug 31 22:21:59 BST 2000
 M> -------------------------------------------------------------

 M> My question  is can I do something like deleting the active file

not really.

What does line 4931 of the active file look like? Is it at the end of
the file?

-- 
Andrew.
Re: active file becoming corrupt
#48227
Author: Bill Gunshannon
Date: Fri, 01 Sep 2000 13:33
21 lines
1792 bytes
Just a quick guess, but did someone try adding a bunch of newgrops
while the server was running??  This is pretty much sure to stuff
your active file full of nulls between where it was and where it
put all the new groups.

This can be fixed by downing the server, using vi to remove the
nulls and then restarting innd.

This is the only kind of corruption I have ever seen in the active
file.

Good luck.

bill

-- 
Bill Gunshannon          |  de-moc-ra-cy (di mok' ra see) n.  Three wolves
bill@cs.scranton.edu     |  and a sheep voting on what's for dinner.
University of Scranton   |
Scranton, Pennsylvania   |         #include <std.disclaimer.h>   
Re: active file becoming corrupt
#48235
Author: Russ Allbery
Date: Fri, 01 Sep 2000 20:28
19 lines
1649 bytes
Bill Gunshannon <bill@triangle.cs.uofs.edu> writes:

> Just a quick guess, but did someone try adding a bunch of newgrops while
> the server was running??  This is pretty much sure to stuff your active
> file full of nulls between where it was and where it put all the new
> groups.

> This can be fixed by downing the server, using vi to remove the nulls
> and then restarting innd.

> This is the only kind of corruption I have ever seen in the active file.

I've heard reports of bits of random trash from the disk ending up in the
middle of the active file, but at that stage it's pretty clearly an OS
mmap bug.  (That report was from OpenBSD.)

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
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