rkt logo

INN FAQ Part 5

Subject: (5.30) Not a directory writing article file -- throttling

This typically means that in the spool there is a directory in
the spool that thinks it is a file. This seems to happen when
the machine running innd crashes, and the spool gets corrupted.
Fsck then tries to make sense of the mess it finds; sometimes
it guesses wrong.

Here is a little script that finds the offending file and disposes
of it:

# change this line to your news spool
find ${NEWS_LOC} -type f -print |  # list all files
        tr -d [0-9] |              # get rid of numbers
        grep -v "overview" |       # get rid of .overview files
        egrep -v "/$" |            # everything w/ / at end of line
        sed -s "s/^/rm /" |        # put rm in front of file
        sh -s                      # it's history
or alternatively:

find ${NEWS_LOC} -type f -name "[a-z]*" -print | xargs rm

(From: Carlso Castro <carlos@mci.net> and Matthias Urlichs <urlichs@noris.net>)


[Source: INN FAQ Part 5 Archive-name: usenet/software/inn-faq/part5]
[Last Changed: $Date: 1997/09/16 01:25:56 $ $Revision: 2.25 $]
[Copyright: 1997 Heiko Rupp, portions by Tom Limoncelli, Rich Salz, et al.]

(Corrections, notes, and links by Mib Software)
More Detailed Topics

Overview and Related Topics
Up to: INN Troubleshooting by message
Up to: INN Troubleshooting by Topic: Articles/Spool/Expire
Up to: INN FAQ Table Of Contents for Part 5/9
INN Setup by Topic: Articles/Spool/Expire
Installing InterNetNews

RKT Rapid-Links:[ Search ] [ RKT Tips ] Path: Usenet RKT / For Providers / INN FAQ / Part 5 / 0031.htm

You are reading from the Usenet RKT
Copyright 1997-1999, Forrest J. Cavalier III, Mib Software
INN customization and consulting
E-mail comments