Re: Problem with rebuild

From: Brian Jackson (brianj@mozart.inet.co.th)
Date: Tue, 07 Oct 1997 16:26:03 +0700

In article <hbGO0gzkg+DI092yn@efn.org>,
sthoenna@efn.org (Allen Scott-Thoennes) wrote:
>In article <FPQN0YhtjP6N092yn@mozart.inet.co.th>,
>brianj@mozart.inet.co.th (Brian Jackson) wrote:
>>I ran rebuild -s but it had no effect on news.dat. Reading the doc, I
>>decided to try and rebuild the history file with rebuild -h. It gave
>>me a "Permission denied" Permission what?
>
>Hmm. Could you have been running yarn (or expire, import, a different
>rebuild, etc.) or looking at news.dat with a hex file viewer or something?

No, nothing else was running at the time. These last few days
everything has been working as normal, except that all 15 Mb of
expired articles are still in the news.dat file.

>>I then ran scandisk, and then rebuild -s again. Now yarn will run, but
>>it shows all newsgroups completely empty, and my news.dat is still 15
>>Mb. All the articles are there but yarn doesn't see them, so expire -r
>>won't delete anything. Any ideas?
>
>Try a rebuild -o? Maybe followed by another rebuild -s?
>BTW, what did scandisk report?

I'll try your suggestion. I did have a lot of stuff cleaned up by
scandisk, but it didn't report any errors or bad sectors. What would
happen if I just delete news.dat? Won't the next import just build a
new one?

Ok, I just now tried to run rebuild -o and this is what I get:
Reading spool file c:\inet\yarn\news.dat
c:\inet\yarn\news.dat: Permission denied

Same thing if I try rebuild -h. My news.dat is over 18Mb now, and 15
Mb of it is expired articles. Rebuild -s has no effect on it.

PS. Help! I just noticed that after this little exercise, I've lost
*all* articles in *all* newsgroups - even what I hadn't read yet! It's
got to be a problem with the history file, but it refuses to fix it.

PPS. Alright, this is the third time to re-edit this mail after trying
something else. I thought maybe it has to do with windows, so I got
out of that and tried rebuild -h and -o again. This time it gives me
"Sharing violation reading drive C". I tried booting with simplified
config.sys and autoexec.bat files, but get the same result. I found
the little text file for mkhist, which I'd forgotten about. So I ran
that according to directions, and it reduced history.pag from about
1/2 Mb to 2 Kb. Rebuild -s still has no effect on the size of
news.dat, and there are no articles showing in any newsgroup.

Brian