🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Magic Thu, 17 May 2001 10:20
SM storage method 'cnfs' failed initialization
#52366
Author: Magic
Date: Thu, 17 May 2001 10:20
26 lines
1309 bytes
all

after build the INN2.3.2, and fire-up innd, the following message is display
to console and the service stop to response.
nnrpd[7300]: SM storage method 'cnfs' failed initialization
nnrpd[7291]: SM one or more storage methods failed initialization

and here is my storage.conf
method timehash {
        newsgroups: *
        class: 0
}

method cnfs {
        newsgroups: *
        class: 1
        size: 0,3999
        expires: 4d1s
}






Re: SM storage method 'cnfs' failed initialization
#52372
Author: Rasmus Bøg Hansen
Date: Thu, 17 May 2001 17:00
46 lines
2508 bytes
On Thu, 17 May 2001, Magic wrote:

> nnrpd[7300]: SM storage method 'cnfs' failed initialization
> nnrpd[7291]: SM one or more storage methods failed initialization
>
> method cnfs {
>         newsgroups: *
>         class: 1
>         size: 0,3999
>         expires: 4d1s
> }

You have to set up one or more buffers, which the CNFS can use in
cycbuff.conf. Something like:

cycbuff:ONE:/var/spool/news/buffers/binone:1048576
cycbuff:TWO:/var/spool/news/buffers/bintwo:1048576
cycbuff:THREE:/var/spool/news/buffers/binthree:1048576
cycbuff:FOUR:/var/spool/news/buffers/binfour:1048576
cycbuff:FIVE:/var/spool/news/buffers/binfive:1048576
metacycbuff:BINARY:ONE,TWO,THREE,FOUR,FIVE

And tell the cnfs-based storage class to use this buffer:

method cnfs {
        newsgroups: *
        class: 1
        size: 0,3999
        expires: 4d1s
	options: BINARY
}

And then of course create the buffers of the right size...

Of course only after reading storage.conf(5) and cycbuff.conf(5)...

Rasmus

-- 
-- [ Rasmus 'M�ffe' B�g Hansen ] --------------------------------------
I haven't lost my mind;
I have backed it up on tape somewhere........
--------------------------------- [ moffe at amagerkollegiet dot dk ] -


Re: SM storage method 'cnfs' failed initialization
#52374
Author: ded
Date: Thu, 17 May 2001 19:52
22 lines
1737 bytes
Rasmus B�g Hansen wrote:
> On Thu, 17 May 2001, Magic wrote:
> 
> > nnrpd[7300]: SM storage method 'cnfs' failed initialization
> > nnrpd[7291]: SM one or more storage methods failed initialization
> >
> > method cnfs {
> >         newsgroups: *
> >         class: 1
> >         size: 0,3999
> >         expires: 4d1s
> > }
> 
> You have to set up one or more buffers, which the CNFS can use in
> cycbuff.conf. Something like:
**skipped**

That's all correct.

And also, Magic, why are you trying to have 2 storage methods defined for 
the same set of newsgroups - '*'? It makes no sense.
Re: SM storage method 'cnfs' failed initialization
#52388
Author: those who know me have no need o...
Date: Fri, 18 May 2001 09:00
11 lines
1322 bytes
<3B042C03.2F926CF6@mindless.com> divulged:

>And also, Magic, why are you trying to have 2 storage methods defined for 
>the same set of newsgroups - '*'? It makes no sense.

it might if the order of the methods were swapped, since storage.conf
uses first match.  as it stands the cnfs buffer would never be used.

-- 
okay, have a sig then
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