Thread View: news.software.nntp
5 messages
5 total messages
Started by Mark Lehrer
Fri, 24 Jan 1997 00:00
Help! Removed directories from /var/spool/news/alt/...
Author: Mark Lehrer
Date: Fri, 24 Jan 1997 00:00
Date: Fri, 24 Jan 1997 00:00
20 lines
1001 bytes
1001 bytes
I'm using INN 1.4 I added a new disk to handle alt.*. 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. What file can I tweak to get things going again? I could make an awk script to rebuild the directories, I suppose, but there must be a better way Thanks! Mark
Re: Help! Removed directories from /var/spool/news/alt/...
Author: Tomasz R. Surmacz
Date: Fri, 24 Jan 1997 00:00
Date: Fri, 24 Jan 1997 00:00
29 lines
1503 bytes
1503 bytes
In news.software.nntp Mark Lehrer <edge@mud.imperium.net> wrote: : I'm using INN 1.4 : I added a new disk to handle alt.*. : 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. : What file can I tweak to get things going again? I could make an : awk script to rebuild the directories, I suppose, but there must be : a better way chown news /var/...../alt chgrp news /var/...../alt chmod 775 /var/...../alt Enjoy. -- _________ (_ _' __) Tomasz R. Surmacz *--* Work:(071)320-2636 tsurmacz@ict.pwr.wroc.pl | (__ \ http://www.ict.pwr.wroc.pl/~tsurmacz/ *----* Home: ts@wroc.apk.net |__(____/ For PGP key finger tsurmacz@asic.ict.pwr.wroc.pl *---* irc: TomekS
Re: Help! Removed directories from /var/spool/news/alt/...
Author: Chrisy Luke
Date: Mon, 27 Jan 1997 00:00
Date: Mon, 27 Jan 1997 00:00
24 lines
1616 bytes
1616 bytes
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. Chris. == chrisy@easynet.net, chrisy@flirble.org, chrisy@etsiig.uniovi.es == Newsmaster and Senior Systems Developer for Easynet Group Plc. == I recently saw a Flirble, in the bushes on Regents Park. It == frowned at me and said "If it were Wimbledon you wouldn't stare!"
Re: Help! Removed directories from /var/spool/news/alt/...
Author: Dan Swartzendruber
Date: Tue, 28 Jan 1997 00:00
Date: Tue, 28 Jan 1997 00:00
42 lines
2589 bytes
2589 bytes
In article <5cjgm6$m9g@news.webspan.net>, gpalmer@webspan.net (Gary Palmer) wrote: >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: I'm more likely to believe you left out a step. The ownership of the original /var/spool/news directory is irrelevant. So, when you run 'newfs' (or whatever) on the spool filesystem, and then remount it, the /var/spool/news that is the root of the spool filesystem will be owned by root and have to be chowned. I've forgotten this one step myself more than once, and this was the exact symptoms. -- Dan Swartzendruber
Re: Help! Removed directories from /var/spool/news/alt/...
Author: Gary Palmer
Date: Tue, 28 Jan 1997 00:00
Date: Tue, 28 Jan 1997 00:00
35 lines
2180 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads