Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z
faqs.org - Internet FAQ Archives

INN FAQ Part 5/9: Other error messages and what they mean
Section - (5.30) Not a directory writing article file -- throttling

( Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Part8 - Part9 - Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Forum archive ]


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 ...
See reader questions & answers on this topic! - Help others by sharing your knowledge
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>)

User Contributions:

Comment about this article, ask questions, or add new information about this topic:

CAPTCHA




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 November 21 2011 @ 01:00 PM