🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #14541

Re: Help! Removed directories from /var/spool/news/alt/...

#14541
From: Gary Palmer
Date: Tue, 28 Jan 1997 00:00
35 lines
2180 bytes
In article <3310222f.114364316@news.flirble.org>,
	chrisy@easynet.net (Chrisy Luke) writes:
> On 24 Jan 1997 11:38:48 -0500, Mark Lehrer <edge@mud.imperium.net>
> wrote:

>>My big mistake:  I thought I could just rm -rf the directories
>>under alt and over.view/alt and INN would re-create them as it
>>received new news.  Unfortunately, this is not the case... it
>>is simply refusing all alt traffic.

> It should create those directories, so it sounds like your new alt
> filesystem is configured badly. As another person suggested, check the
> permissions on the directory or symlink. If it is a symlink, make sure
> it goes to the right place. Make sure it's news.news and it's 0775. A
> reboot may help in case some processes have open descriptors on the
> old directory structure.

That's what it SHOULD do. However, I've been in the position where
I've had to newfs a spool (one large spool using software stripes) and
INN did *NOT* create any new directories, despite the fact news.news
owned /var/spool/news and it was mode 755 (and inn was running as the
user `news'). Since the server was (obviously) down at the time, and I
had customers complaining, I didn't have time too look into it, and
instead ran a little shell job to do all the mkdirs. Something like:

awk '{print $1}' < /usr/local/news/lib/active | sed 's,.,/,g' | xargs mkdir -p

(that's from memory, so sorry for any mistakes).

However, it does smell like there is an INN bug somewhere :-(

Gary

Technical Details
Message-ID: <5cjgm6$m9g@news.webspan.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <w7iv4nni3r.fsf@mud.imperium.net>

Show Full Headers
Complete Article Headers
Message-ID: <5cjgm6$m9g@news.webspan.net>
Subject: Re: Help! Removed directories from /var/spool/news/alt/...
Date: Tue, 28 Jan 1997 00:00:00 +0000
From: gpalmer@webspan.net (Gary Palmer)
References: <w7iv4nni3r.fsf@mud.imperium.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 212617650
Sender: gpalmer@mutara.noc.webspan.net
Content-type: text/plain; charset=us-ascii
Organization: WebSpan Inc., New Jersey
Mime-version: 1.0
Newsgroups: news.software.nntp