🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by Dan McGinn-Combs Tue, 05 Jan 1999 00:00
Pre-Building SPOOL Directory Structure?
#34382
Author: Dan McGinn-Combs
Date: Tue, 05 Jan 1999 00:00
22 lines
1513 bytes
Just out of curiosity (which killed the cat :-(...

I'm up(?)grading from an NT based NNS server to an INN news server. so I
"imported" my existing active file overwriting the default one (control,
junk, to).  When I turned started up the server, it had trouble writing the
articles to disk.  The messages in the log sed: "unable to write article to
disk, directory or file not found."

Under NNS, when the first article for a given group came in (and was
accepted), it created a directory tree for that article. Given that NNS was
based (and homage paid to) INN, I figured it worked the same way.

I see ctlinnd creates a directory when you use it to "newgroup" a ... uh...
new group. But what about this kinda case?

-------------------
Dan McGinn-Combs
d.mcginn-combs@mindspring.com
Atlanta, Georgia


Re: Pre-Building SPOOL Directory Structure?
#34433
Author: Frank Slootweg
Date: Wed, 06 Jan 1999 00:00
29 lines
1806 bytes
  May be I do not understand the question, but why don't you turn your
old active file into a script which does "ctlinnd newgroup ..."? You
will have to adapt the "himark lomark" article counts anyway, so why not
let ctlinnd do the work for you?

[Quoting original article because of the recent Supersedes: attacks.]

Dan McGinn-Combs (d.mcginn-combs@mindspring.com) wrote:
> Just out of curiosity (which killed the cat :-(...
> 
> I'm up(?)grading from an NT based NNS server to an INN news server. so I
> "imported" my existing active file overwriting the default one (control,
> junk, to).  When I turned started up the server, it had trouble writing the
> articles to disk.  The messages in the log sed: "unable to write article to
> disk, directory or file not found."
> 
> Under NNS, when the first article for a given group came in (and was
> accepted), it created a directory tree for that article. Given that NNS was
> based (and homage paid to) INN, I figured it worked the same way.
> 
> I see ctlinnd creates a directory when you use it to "newgroup" a ... uh...
> new group. But what about this kinda case?
> 
> -------------------
> Dan McGinn-Combs
> d.mcginn-combs@mindspring.com
> Atlanta, Georgia

Re: Pre-Building SPOOL Directory Structure?
#34468
Author: Dan McGinn-Combs
Date: Thu, 07 Jan 1999 00:00
37 lines
2103 bytes
Frank Slootweg wrote in message <76vv3g$75q@news.neth.hp.com>...
>  May be I do not understand the question, but why don't you turn your
>old active file into a script which does "ctlinnd newgroup ..."? You
>will have to adapt the "himark lomark" article counts anyway, so why not
>let ctlinnd do the work for you?
>

and Dan Replied:

Exactly what I intended to do, let ctlinnd do the work. But, I didn't see an
option to "import active" or something.

As I said, although I don't think I said it well, I built a new news server
from scratch. I ftp'ed my active file to the new machine. I turned on the
server. I assumed that INN would create something like:

/var/spool/news/rec/autos/motorcycles

when the first article came through in that group. But it didn't. It gave a
file system error. So I manually created the directory tree and voila!
articles appeared.

So I took the active file and essential parsed it into a file which said:

mkdir /var/spool/news/<group-name-with-slashes>.

And now the server is happy (except for the occasional rejected article).
So I was curious, why INN didn't do that part automatically? Is there an
option I missed in ctlinnd to import a newly created active file?

-------------------
Dan McGinn-Combs
d.mcginn-combs@mindspring.com
Atlanta, Georgia


Re: Pre-Building SPOOL Directory Structure?
#34476
Author: Dan McGinn-Combs
Date: Thu, 07 Jan 1999 00:00
37 lines
2103 bytes
Frank Slootweg wrote in message <76vv3g$75q@news.neth.hp.com>...
>  May be I do not understand the question, but why don't you turn your
>old active file into a script which does "ctlinnd newgroup ..."? You
>will have to adapt the "himark lomark" article counts anyway, so why not
>let ctlinnd do the work for you?
>

and Dan Replied:

Exactly what I intended to do, let ctlinnd do the work. But, I didn't see an
option to "import active" or something.

As I said, although I don't think I said it well, I built a new news server
from scratch. I ftp'ed my active file to the new machine. I turned on the
server. I assumed that INN would create something like:

/var/spool/news/rec/autos/motorcycles

when the first article came through in that group. But it didn't. It gave a
file system error. So I manually created the directory tree and voila!
articles appeared.

So I took the active file and essential parsed it into a file which said:

mkdir /var/spool/news/<group-name-with-slashes>.

And now the server is happy (except for the occasional rejected article).
So I was curious, why INN didn't do that part automatically? Is there an
option I missed in ctlinnd to import a newly created active file?

-------------------
Dan McGinn-Combs
d.mcginn-combs@mindspring.com
Atlanta, Georgia


Re: Pre-Building SPOOL Directory Structure?
#34477
Author: Dan McGinn-Combs
Date: Thu, 07 Jan 1999 00:00
37 lines
2103 bytes
Frank Slootweg wrote in message <76vv3g$75q@news.neth.hp.com>...
>  May be I do not understand the question, but why don't you turn your
>old active file into a script which does "ctlinnd newgroup ..."? You
>will have to adapt the "himark lomark" article counts anyway, so why not
>let ctlinnd do the work for you?
>

and Dan Replied:

Exactly what I intended to do, let ctlinnd do the work. But, I didn't see an
option to "import active" or something.

As I said, although I don't think I said it well, I built a new news server
from scratch. I ftp'ed my active file to the new machine. I turned on the
server. I assumed that INN would create something like:

/var/spool/news/rec/autos/motorcycles

when the first article came through in that group. But it didn't. It gave a
file system error. So I manually created the directory tree and voila!
articles appeared.

So I took the active file and essential parsed it into a file which said:

mkdir /var/spool/news/<group-name-with-slashes>.

And now the server is happy (except for the occasional rejected article).
So I was curious, why INN didn't do that part automatically? Is there an
option I missed in ctlinnd to import a newly created active file?

-------------------
Dan McGinn-Combs
d.mcginn-combs@mindspring.com
Atlanta, Georgia


Re: Pre-Building SPOOL Directory Structure?
#34499
Author: Frank Slootweg
Date: Fri, 08 Jan 1999 00:00
20 lines
1504 bytes
Dan McGinn-Combs (d.mcginn-combs@mindspring.com) wrote:
[deleted]
>						    I built a new news server
> from scratch. I ftp'ed my active file to the new machine. I turned on the
> server. I assumed that INN would create something like:
> 
> /var/spool/news/rec/autos/motorcycles
> 
> when the first article came through in that group. But it didn't. It gave a
> file system error. So I manually created the directory tree and voila!
> articles appeared.

  After I posted my first response, I realized that I recently had done
the same thing as you, i.e. set up an INN server and copied over an
existing active file, but I did not have the problem that I needed to
create the directories. So now I am puzzled. Why it worked for me, but
not for you? I used INN 1.7.2 (don't ask why I am installing such an
"old" version). Which version are you using?

Re: Pre-Building SPOOL Directory Structure?
#34505
Author: Robin Chen
Date: Fri, 08 Jan 1999 00:00
33 lines
1983 bytes
Perhaps news did not have permission to create directories in
/var/spool/news

Robin

--
Remove nospam2 to e-mail me


Frank Slootweg wrote in message <774f0d$sle@news.neth.hp.com>...
>Dan McGinn-Combs (d.mcginn-combs@mindspring.com) wrote:
>[deleted]
>>     I built a new news server
>> from scratch. I ftp'ed my active file to the new machine. I turned on the
>> server. I assumed that INN would create something like:
>>
>> /var/spool/news/rec/autos/motorcycles
>>
>> when the first article came through in that group. But it didn't. It gave
a
>> file system error. So I manually created the directory tree and voila!
>> articles appeared.
>
>  After I posted my first response, I realized that I recently had done
>the same thing as you, i.e. set up an INN server and copied over an
>existing active file, but I did not have the problem that I needed to
>create the directories. So now I am puzzled. Why it worked for me, but
>not for you? I used INN 1.7.2 (don't ask why I am installing such an
>"old" version). Which version are you using?



Re: Pre-Building SPOOL Directory Structure?
#34706
Author: Dan McGinn-Combs
Date: Fri, 15 Jan 1999 00:00
18 lines
1388 bytes
Robin Chen wrote in message <775gmp$s28$1@cancer.vividnet.com>...
>Perhaps news did not have permission to create directories in
>/var/spool/news
>

Come to think of it, I did mount an additional volume in /var/spool/news so
I could have more room for the articles. Perhaps news didn't have the
permission it needed on the newly mounted disk!

Duh!

-------------------
Dan McGinn-Combs
d.mcginn-combs@mindspring.com
Atlanta, Georgia


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