[ Usenet FAQs | Web FAQs | Documents | RFC Index ]
    Search the FAQ Archives

Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page

Top Document: INN FAQ Part 5/9: Other error messages and what they mean
Previous Document: (5.29) syslog: nnrpd[13]: '1.2.3.4' bad_auth
Next Document: (5.31) syslog: nntpd[13]: cant open ...../subscriptions ...


(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 if:

#!/bin/sh
#  
# change this line to your news spool
NEWS_LOC=/var/spool/news
 
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>)



Top Document: INN FAQ Part 5/9: Other error messages and what they mean
Previous Document: (5.29) syslog: nnrpd[13]: '1.2.3.4' bad_auth
Next Document: (5.31) syslog: nntpd[13]: cant open ...../subscriptions ...

Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page


[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
hwr@pilhuhn.de (Heiko W.Rupp)

Last Update October 22 2009 @ 05:25 AM

Some parts © 2009 Advameg, Inc.