Thread View: news.software.nntp
6 messages
6 total messages
Started by naegele
Tue, 11 Jan 2000 00:00
cycbuff won't work
Author: naegele
Date: Tue, 11 Jan 2000 00:00
Date: Tue, 11 Jan 2000 00:00
44 lines
2146 bytes
2146 bytes
setting up inn 2.2.2 I wanted to use cybuff as storage method. According to the
documentation I set up one large buffer file with 1 GB and configured
the cycbuffs in the following way:
In cycbuff.conf:
cycbuff:BUFF001:/usr/local/news/spool/cycbuffs/buff.001:1000000
metacycbuff:LARGE:BUFF001
and in storage.conf:
method cnfs {
newsgroups: internal.humour
class: 1
size: 1,1000000
options: LARGE
}
When I start up inn I only get the following message in news.notice:
Jan 11 22:26:28 ginkgo innd: CNFS-sm: Mismatch 3: read ONE for cycbuff BUFF001
Jan 11 22:26:28 ginkgo innd: SM storage method 'cnfs' failed initialization
Jan 11 22:26:28 ginkgo innd: SM one or more storage methods failed initialization
Jan 11 22:26:28 ginkgo innd: SERVER cant initialize the storage subsystem one or
more storage methods failed initialization
Jan 11 22:26:28 ginkgo innfeed[24539]: ME starting innfeed v. 1.0 (Mon Jan 3 14:13:57
CET 2000) at Tue Jan 11 22:26:28 2000
Jan 11 22:26:28 ginkgo innfeed[24539]: CNFS-sm: Mismatch 3: read ONE for cycbuff BUFF001
Jan 11 22:26:28 ginkgo innfeed[24539]: SM storage method 'cnfs' failed initialization
Jan 11 22:26:28 ginkgo innfeed[24539]: SM one or more storage methods failed i
initialization
Jan 11 22:26:28 ginkgo innfeed[24539]: Storage manager initialization failed
Since my configuration looks good for me I would appreciate it, if someone can
point me my mistake in the configuration.
Thanx in advance
Ralf
Re: cycbuff won't work
Author: John R Pierce
Date: Tue, 11 Jan 2000 00:00
Date: Tue, 11 Jan 2000 00:00
38 lines
1831 bytes
1831 bytes
naegele@SHE.NET wrote:
>
>setting up inn 2.2.2 I wanted to use cybuff as storage method. According to the
>documentation I set up one large buffer file with 1 GB and configured
>the cycbuffs in the following way:
>
>In cycbuff.conf:
>
>cycbuff:BUFF001:/usr/local/news/spool/cycbuffs/buff.001:1000000
>metacycbuff:LARGE:BUFF001
>
>and in storage.conf:
>
>method cnfs {
> newsgroups: internal.humour
> class: 1
> size: 1,1000000
> options: LARGE
>}
The size there refers to the min and max size of the articles to be
stored in that metacycbuf. I use 0,0 cuz I want everything that comes
in to go into my metacycbufs, some folks might split some groups into
a small and a large metacycbuf based on article size. Is this what
you intended? articles over 1K and under 1GB go into this buffer??!
-jrp
--
"Usenet is like a herd of performing elephants with diarrhea --
massive, difficult to redirect, awe-inspiring, entertaining, and
a source of mind- boggling amounts of excrement when you least expect it."
Re: cycbuff won't work
Author: cball
Date: Thu, 13 Jan 2000 00:00
Date: Thu, 13 Jan 2000 00:00
17 lines
1347 bytes
1347 bytes
naegele@she.net wrote: : setting up inn 2.2.2 I wanted to use cybuff as storage method. According ... : When I start up inn I only get the following message in news.notice: : Jan 11 22:26:28 ginkgo innd: CNFS-sm: Mismatch 3: read ONE for cycbuff BUFF001 : Jan 11 22:26:28 ginkgo innd: SM storage method 'cnfs' failed initialization : Jan 11 22:26:28 ginkgo innd: SM one or more storage methods failed initialization Try a system call trace of 'innd -d'; you'll need to do this as root so it can bind to the necessary ports. This is the only way I've found to quickly debug storage management errors. -Charles
Re: cycbuff won't work
Author: naegele
Date: Thu, 13 Jan 2000 00:00
Date: Thu, 13 Jan 2000 00:00
45 lines
1868 bytes
1868 bytes
John R Pierce <antispam@here.not> wrote:
: naegele@SHE.NET wrote:
:>
:>setting up inn 2.2.2 I wanted to use cybuff as storage method. According to the
:>documentation I set up one large buffer file with 1 GB and configured
:>the cycbuffs in the following way:
:>
:>In cycbuff.conf:
:>
:>cycbuff:BUFF001:/usr/local/news/spool/cycbuffs/buff.001:1000000
:>metacycbuff:LARGE:BUFF001
:>
:>and in storage.conf:
:>
:>method cnfs {
:> newsgroups: internal.humour
:> class: 1
:> size: 1,1000000
:> options: LARGE
:>}
: The size there refers to the min and max size of the articles to be
: stored in that metacycbuf. I use 0,0 cuz I want everything that comes
: in to go into my metacycbufs, some folks might split some groups into
: a small and a large metacycbuf based on article size. Is this what
: you intended? articles over 1K and under 1GB go into this buffer??!
um, no that ist not the problem. The problem is that inn doesn't start
when I try to use cycbuffs.
Ralf
: -jrp
: --
: "Usenet is like a herd of performing elephants with diarrhea --
: massive, difficult to redirect, awe-inspiring, entertaining, and
: a source of mind- boggling amounts of excrement when you least expect it."
:
Re: cycbuff won't work
Author: Russ Allbery
Date: Sat, 15 Jan 2000 00:00
Date: Sat, 15 Jan 2000 00:00
29 lines
1820 bytes
1820 bytes
naegele <naegele@SHE.NET> writes:
> ok, thanx for the hint so I got the right clue.
> I've traced down inn with the following results:
> writev(2, [{"innd: CNFS-sm: Path mismatch: re"..., 125}, {"\n", 1}],
> 2innd: CNFS-sm: Path mismatch: read /usr/local/news/spool/innfeed/buff.one
> for cycbuff /usr/local/news/spool/cycbuffs/buff.001
> So it seems to me that although I defined the cycbuff in cycbuff.conf as
> cycbuff:BUFF001:/usr/local/news/spool/cycbuffs/buff.001:1000000
> inn expects as cycbuff always the file
> /usr/local/news/spool/innfeed/buff.one no matter how my entry looks
> like.
No, the name of the cycbuff is stored in it when it's first created, as a
protection against INN picking up the wrong one. You originally called
that cycbuff buff.one and renamed it to buff.001 at some point. INN gets
a bit annoyed when you do that.
There should probably be a cycbuff editor (if there isn't already and I've
just missed it) that can let you adjust things like that.
--
Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: cycbuff won't work
Author: naegele
Date: Sat, 15 Jan 2000 00:00
Date: Sat, 15 Jan 2000 00:00
47 lines
2177 bytes
2177 bytes
Hi,
cball@buit6-l.bu.edu wrote:
: naegele@she.net wrote:
: : setting up inn 2.2.2 I wanted to use cybuff as storage method. According
: ...
: : When I start up inn I only get the following message in news.notice:
: : Jan 11 22:26:28 ginkgo innd: CNFS-sm: Mismatch 3: read ONE for cycbuff BUFF001
: : Jan 11 22:26:28 ginkgo innd: SM storage method 'cnfs' failed initialization
: : Jan 11 22:26:28 ginkgo innd: SM one or more storage methods failed initialization
: Try a system call trace of 'innd -d'; you'll need to do this as root so it
: can bind to the necessary ports. This is the only way I've found to
: quickly debug storage management errors.
: -Charles
ok, thanx for the hint so I got the right clue.
I've traced down inn with the following results:
writev(2, [{"innd: CNFS-sm: Path mismatch: re"..., 125}, {"\n", 1}],
2innd: CNFS-sm: Path mismatch: read /usr/local/news/spool/innfeed/buff.one
for cycbuff /usr/local/news/spool/cycbuffs/buff.001
So it seems to me that although I defined the cycbuff in cycbuff.conf as
cycbuff:BUFF001:/usr/local/news/spool/cycbuffs/buff.001:1000000
inn expects as cycbuff always the file /usr/local/news/spool/innfeed/buff.one
no matter how my entry looks like.
I changed the the config in cycbuff.conf to
cycbuff:ONE:/usr/local/news/spool/innfeed/buff.one:1000000
metacycbuff:LARGE:ONE
and it works!
It's a little bit amazing for me since there is nothing about that in the
documentation nor the FAQ. Maybe this is a bug of inn 2.2.2 or I misunderstood
something complettly.
Ralf
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