*BSD News Article 50227


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!caen!hookup!simtel!vtc.tacom.army.mil!usenet
From: tbaca@wsmr-helstf1.army.mil (Thomas L. Baca)
Newsgroups: news.software.nntp,comp.unix.bsd.bsdi.misc
Subject: INN: makehistory fails...
Date: 29 Aug 1995 15:48:42 GMT
Organization: High Energy Laser Systems Test Facility
Lines: 44
Distribution: world
Message-ID: <TBACA.95Aug29094842@wsmr-helstf1.army.mil>
NNTP-Posting-Host: wsmr-helstf1.army.mil
Xref: euryale.cc.adfa.oz.au news.software.nntp:15445 comp.unix.bsd.bsdi.misc:762

We are running INN as shipped w/ BSD/OS 2.0.  We have the spool split
over multiple partitions, but I've followed all of the applicable
hints in the INN FAQ to allow this.  I've also been through the FAQ
and the man pages, but can find no solution to my problem.

We recently lost the history and dbz files due to a disk problem.
When I run makehistory, it builds up a temp file (e.g. hist000223)
and then runs it through sort.  This creates a new temp file
(e.g. hista00223) and deletes the first one.  Then, when it's about to
create the real history text file, it exits with: 

	warning: last character not record delimiter
	Work file line 1 had bad format

This leaves the second temp file:

-rw-rw-r--    1 root  wheel  102130153 Aug 29 01:30 hista00223

and a zero length history file:

-rw-rw-r--  1 root  news  0 Aug 29 01:30 /var/news/etc/history


The first lines of the temp file (hista00223) are:

////+Lws9Ye/+Lws9Ye/+oMw0zpk/+oMw0zpk/+oMw0zpk/+oMw0zpk/+oMw0zpk/+oMw0zpk/0/03/08/1
<199508231106.GAA01791@Walden.MO.NET>   809228925~-~809176183 comp.os.ms-windows.pre-release/1
	.
	.
	.

I can see that the first line doesn't fit the history(5) format, but I
can't figure out how to fix this.

I have installed the patched 'sort' for BSD/OS.  I have also removed
all symlinks in the spool partitions as suggested by the makehistory
man page.

I really don't want to have to chuck out my entire spool and start
over, but I'm quickly running out of alternatives.

Thanks in advance.

Tom Baca