Thread View: news.software.nntp
11 messages
11 total messages
Started by Adrian Urquhart
Mon, 24 Apr 2000 00:00
How to empty spool and restart INN from scratch
Author: Adrian Urquhart
Date: Mon, 24 Apr 2000 00:00
Date: Mon, 24 Apr 2000 00:00
18 lines
1315 bytes
1315 bytes
Hi all I set up INN 2.2.2 as directed in the INSTALL doc, and it was working Ok on test. However, we only want to carry a relatively small amount of groups, so I edited the active file by hand to give us just the groups we wanted (plus control and junk). Now, I'd like to clear out the spool directory, and start with an empty history i.e. I want INN to think this is the first time it has been run. Can I just remove everything in the spool dir and makehistory? Thanks Adrian
Re: How to empty spool and restart INN from scratch
Author: Russ Allbery
Date: Mon, 24 Apr 2000 00:00
Date: Mon, 24 Apr 2000 00:00
20 lines
1608 bytes
1608 bytes
Adrian Urquhart <adrian@devnet-uk.net> writes: > Deleting the spool dir completely would have got rid of the overview > (wouldn't it?) but after running makehistory and restarting INN there > were no directories under spool/articles. How are these dirs created - > by makehistory? They're created automatically when you receive messages for those newsgroups; nothing should care that they're not there. > I noticed that originally there was a dir for every group in the active > file, even before any articles had arrived. I would be very surprised if it were really before any articles had arrived, but perhaps I'm missing some oddity of the new tradspool system? -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: How to empty spool and restart INN from scratch
Author: Adrian Urquhart
Date: Mon, 24 Apr 2000 00:00
Date: Mon, 24 Apr 2000 00:00
26 lines
1613 bytes
1613 bytes
On Mon, 24 Apr 2000 13:14:25 +0100, Adrian Urquhart <adrian@devnet-uk.net> wrote: >Hi all > >I set up INN 2.2.2 as directed in the INSTALL doc, and it was working >Ok on test. However, we only want to carry a relatively small amount >of groups, so I edited the active file by hand to give us just the >groups we wanted (plus control and junk). Now, I'd like to clear out >the spool directory, and start with an empty history i.e. I want INN >to think this is the first time it has been run. Can I just remove >everything in the spool dir and makehistory? > >Thanks > >Adrian > > I ought to have said that I'm using the traditional storage method. We're using the pullnews perl script to get our articles. Adrian.
Re: How to empty spool and restart INN from scratch
Author: Adrian Urquhart
Date: Mon, 24 Apr 2000 00:00
Date: Mon, 24 Apr 2000 00:00
42 lines
2365 bytes
2365 bytes
On Mon, 24 Apr 2000 13:20:00 +0100, Adrian Urquhart <adrian@devnet-uk.net> wrote: >On Mon, 24 Apr 2000 13:14:25 +0100, Adrian Urquhart ><adrian@devnet-uk.net> wrote: > >>Hi all >> >>I set up INN 2.2.2 as directed in the INSTALL doc, and it was working >>Ok on test. However, we only want to carry a relatively small amount >>of groups, so I edited the active file by hand to give us just the >>groups we wanted (plus control and junk). Now, I'd like to clear out >>the spool directory, and start with an empty history i.e. I want INN >>to think this is the first time it has been run. Can I just remove >>everything in the spool dir and makehistory? >> >>Thanks >> >>Adrian >> >> >I ought to have said that I'm using the traditional storage method. >We're using the pullnews perl script to get our articles. > >Adrian. > Well, deleting the spool directory (then doing make install), followed by makehistory -o didn't work. I got the expected list of groups in the client, but pulling articles failed.The problem seems to be that there were no subdirectories below the spool/articles directory, so when feeding articles in via localhost, I got an error complaining about non-existent directories. I've got it working (apparently) by creating a minimal active file and adding groups via ctlinnd newgroup, but I'm intrigued as to how the spool directory was initially populated. Am I missing something? Adrian.
Re: How to empty spool and restart INN from scratch
Author: Russ Allbery
Date: Mon, 24 Apr 2000 00:00
Date: Mon, 24 Apr 2000 00:00
20 lines
1671 bytes
1671 bytes
Adrian Urquhart <adrian@devnet-uk.net> writes: > Well, deleting the spool directory (then doing make install), followed > by makehistory -o didn't work. I got the expected list of groups in the > client, but pulling articles failed.The problem seems to be that there > were no subdirectories below the spool/articles directory, so when > feeding articles in via localhost, I got an error complaining about > non-existent directories. I've got it working (apparently) by creating a > minimal active file and adding groups via ctlinnd newgroup, but I'm > intrigued as to how the spool directory was initially populated. Am I > missing something? That's odd; I would have thought that would have worked, although you generally want to delete the overview information as well. Maybe the latter was the problem? -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: How to empty spool and restart INN from scratch
Author: Adrian Urquhart
Date: Tue, 25 Apr 2000 00:00
Date: Tue, 25 Apr 2000 00:00
23 lines
1479 bytes
1479 bytes
On Mon, 24 Apr 2000 13:14:25 +0100, Adrian Urquhart <adrian@devnet-uk.net> wrote: >Hi all > >I set up INN 2.2.2 as directed in the INSTALL doc, and it was working >Ok on test. However, we only want to carry a relatively small amount >of groups, so I edited the active file by hand to give us just the >groups we wanted (plus control and junk). Now, I'd like to clear out >the spool directory, and start with an empty history i.e. I want INN >to think this is the first time it has been run. Can I just remove >everything in the spool dir and makehistory? > >Thanks > >Adrian > > Sigh.
Re: How to empty spool and restart INN from scratch
Author: Adrian Urquhart
Date: Tue, 25 Apr 2000 00:00
Date: Tue, 25 Apr 2000 00:00
37 lines
2223 bytes
2223 bytes
On 25 Apr 2000 15:08:35 -0700, Russ Allbery <rra@stanford.edu> wrote: >Adrian Urquhart <adrian@devnet-uk.net> writes: > >> That's what I'd expected but I was getting messages complaining about >> non-existent directories. > >Could you paste the exact error message that you're getting? Well, obviously I'm not getting them any more :o) but when pulling articles from comp.databases.oracle.misc for testing, I can't remember exaclty what it said, but was something like: SERVER: innd : comp/databases/oracle/misc/1 No such file or directory I couldn't find the message in any obvious logs, and I didn't keep the emails. Yes, I know. > >> I've used our server to send myself a reply to this thread, but it's not >> yet appeared anywhere outside. What's a reasonable time to allow for >> messages to propagate? > >I saw both of your replies. I sent most replies through usenetserver.com, but I also sent two silly ones via our own server which eventually showed up (earlier ones didn't, I found two config errors). Thanks again Adrian
Re: How to empty spool and restart INN from scratch
Author: Russ Allbery
Date: Tue, 25 Apr 2000 00:00
Date: Tue, 25 Apr 2000 00:00
17 lines
1425 bytes
1425 bytes
Adrian Urquhart <adrian@devnet-uk.net> writes: > That's what I'd expected but I was getting messages complaining about > non-existent directories. Could you paste the exact error message that you're getting? > I've used our server to send myself a reply to this thread, but it's not > yet appeared anywhere outside. What's a reasonable time to allow for > messages to propagate? I saw both of your replies. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: How to empty spool and restart INN from scratch
Author: Adrian Urquhart
Date: Tue, 25 Apr 2000 00:00
Date: Tue, 25 Apr 2000 00:00
25 lines
1577 bytes
1577 bytes
On Mon, 24 Apr 2000 13:14:25 +0100, Adrian Urquhart <adrian@devnet-uk.net> wrote: >Hi all > >I set up INN 2.2.2 as directed in the INSTALL doc, and it was working >Ok on test. However, we only want to carry a relatively small amount >of groups, so I edited the active file by hand to give us just the >groups we wanted (plus control and junk). Now, I'd like to clear out >the spool directory, and start with an empty history i.e. I want INN >to think this is the first time it has been run. Can I just remove >everything in the spool dir and makehistory? > >Thanks > >Adrian > > Sorry - just a reply to myself, in the sure and certain knowledge that nobody will ever see it :o( AU
Re: How to empty spool and restart INN from scratch
Author: Adrian Urquhart
Date: Tue, 25 Apr 2000 00:00
Date: Tue, 25 Apr 2000 00:00
29 lines
2266 bytes
2266 bytes
On 24 Apr 2000 17:21:38 -0700, Russ Allbery <rra@stanford.edu> wrote: >Adrian Urquhart <adrian@devnet-uk.net> writes: > >> Well, deleting the spool directory (then doing make install), followed >> by makehistory -o didn't work. I got the expected list of groups in the >> client, but pulling articles failed.The problem seems to be that there >> were no subdirectories below the spool/articles directory, so when >> feeding articles in via localhost, I got an error complaining about >> non-existent directories. I've got it working (apparently) by creating a >> minimal active file and adding groups via ctlinnd newgroup, but I'm >> intrigued as to how the spool directory was initially populated. Am I >> missing something? > >That's odd; I would have thought that would have worked, although you >generally want to delete the overview information as well. Maybe the >latter was the problem? Deleting the spool dir completely would have got rid of the overview (wouldn't it?) but after running makehistory and restarting INN there were no directories under spool/articles. How are these dirs created - by makehistory? I noticed that originally there was a dir for every group in the active file, even before any articles had arrived. Adrian.
Re: How to empty spool and restart INN from scratch
Author: Adrian Urquhart
Date: Tue, 25 Apr 2000 00:00
Date: Tue, 25 Apr 2000 00:00
42 lines
2698 bytes
2698 bytes
On 24 Apr 2000 18:23:50 -0700, Russ Allbery <rra@stanford.edu> wrote: >Adrian Urquhart <adrian@devnet-uk.net> writes: > >> Deleting the spool dir completely would have got rid of the overview >> (wouldn't it?) but after running makehistory and restarting INN there >> were no directories under spool/articles. How are these dirs created - >> by makehistory? > >They're created automatically when you receive messages for those >newsgroups; nothing should care that they're not there. That's what I'd expected but I was getting messages complaining about non-existent directories. Even after going in and creating the directory by hand, I still couldn't save articles. All this was done as the news user, and permissions seemed Ok. > >> I noticed that originally there was a dir for every group in the active >> file, even before any articles had arrived. > >I would be very surprised if it were really before any articles had >arrived, but perhaps I'm missing some oddity of the new tradspool system? On reflection, I'm sure you're right - articles had already arrived before I looked at what was under spool/articles. However, there were definitely directory structures present for groups we had not received articles for (I used the pullnews perl script to get them). This is what made me think that perhaps some mechanism set up the directories based on the active file contents. I've used our server to send myself a reply to this thread, but it's not yet appeared anywhere outside. What's a reasonable time to allow for messages to propagate? Many thanks for your help Adrian.
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