🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
9 messages
9 total messages Started by Raymond N Popowich Thu, 08 Jun 2000 00:00
configuring inn 2.2.2
#46849
Author: Raymond N Popowich
Date: Thu, 08 Jun 2000 00:00
25 lines
1470 bytes
Hello,

I am trying to do a fresh install of innn 2.2.2.  I made it all the
way through the docs to the second last step "makehistory -i".  When I
run this command (as news) I get the error: "Can't initialize storage
manager: one or more storage methods failed initialization".  This is
the step that is supposed to create the initial history databases.  

I am using CNFS and believe that all of my buffers, inn.conf,
cycbuff.conf, and storage.conf files are setup correctly.  Where
should I be looking to track down this problem?  I can run rc.news
(last step of install) and the script starts innwatch, but innd dies.  
There are only a bunch of empty logs in the ~news/log/ dir, so they
are not much help.

Any thoughts would be greatly appreciated.  Thank you.

-----
Raymond Popowich 
popowich@acsu.buffalo.edu



Re: configuring inn 2.2.2
#46863
Author: Russ Allbery
Date: Thu, 08 Jun 2000 00:00
24 lines
1780 bytes
Raymond N Popowich <popowich@acsu.buffalo.edu> writes:

> I am trying to do a fresh install of innn 2.2.2.  I made it all the way
> through the docs to the second last step "makehistory -i".  When I run
> this command (as news) I get the error: "Can't initialize storage
> manager: one or more storage methods failed initialization".  This is
> the step that is supposed to create the initial history databases.

Check syslog; there's something wrong with your cycbuff configuration.

> I am using CNFS and believe that all of my buffers, inn.conf,
> cycbuff.conf, and storage.conf files are setup correctly.  Where should
> I be looking to track down this problem?  I can run rc.news (last step
> of install) and the script starts innwatch, but innd dies.  There are
> only a bunch of empty logs in the ~news/log/ dir, so they are not much
> help.

Sounds like syslog isn't set up correctly.  Go through the instructions in
the INSTALL guide for setting up logging and see if that helps.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Re: configuring inn 2.2.2
#46873
Author: Olaf Salchow
Date: Fri, 09 Jun 2000 00:00
17 lines
1422 bytes
Raymond N Popowich wrote:
>
>Hello,
>
>I am trying to do a fresh install of innn 2.2.2.  I made it all the
>way through the docs to the second last step "makehistory -i".  When I
>run this command (as news) I get the error: "Can't initialize storage
>manager: one or more storage methods failed initialization".  This is
>the step that is supposed to create the initial history databases.  
>
Did you create the article spool with somethink like dd? Have the
spoolfiles the right owner and permissions? (This was my faults
some days ago)

Olaf

Re: configuring inn 2.2.2
#46877
Author: Russ Allbery
Date: Fri, 09 Jun 2000 00:00
15 lines
1377 bytes
Raymond N Popowich <popowich@acsu.buffalo.edu> writes:

> Yes, I created all of the spool files with dd and they are all 664
> news.news.  i created 14*3 2GB files.  Do they need to be in a directory
> listed in inn.conf?  I have all of the spool files in
> /usr/local/news/spool/(01,02,03)/.  01,02,03 are each seperate
> partitions.  They are listed correctly in cycbuff.conf and storage.conf.

It doesn't matter where they are provided the right path is in
cycbuff.conf.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Re: configuring inn 2.2.2
#46880
Author: Raymond N Popowich
Date: Fri, 09 Jun 2000 00:00
21 lines
1325 bytes
>> Did you create the article spool with somethink like dd? Have the
>> spoolfiles the right owner and permissions? (This was my faults
>> some days ago)

Yes, I created all of the spool files with dd and they are all 664
news.news.  i created 14*3 2GB files.  Do they need to be in a
directory listed in inn.conf?  I have all of the spool files in
/usr/local/news/spool/(01,02,03)/.  01,02,03 are each seperate
partitions.  They are listed correctly in cycbuff.conf and
storage.conf. 


-----
Raymond Popowich
popowich@acsu.buffalo.edu




Re: configuring inn 2.2.2
#46888
Author: Raymond N Popowich
Date: Mon, 12 Jun 2000 00:00
42 lines
2040 bytes
>> >I am trying to do a fresh install of innn 2.2.2.  I made it all the
>> >way through the docs to the second last step "makehistory -i".  When I
>> >run this command (as news) I get the error: "Can't initialize storage
>> >manager: one or more storage methods failed initialization".  This is
>> >the step that is supposed to create the initial history databases.  
>> >
>> Did you create the article spool with somethink like dd? Have the
>> spoolfiles the right owner and permissions? (This was my faults
>> some days ago)

My guess guess is that I am having a numbers problem.  He is an
example of the life of a buffer in my configs.

should files like:
-rw-rw-r--   1 news     news     2048000000 Jun 12 11:39 BUF0301

created with the command:
dd if=/dev/zero of=/usr/local/news/spool/03/BUF0301 bs=4k count=500000

work with cycbuff.conf config lines:
cycbuff:BUF0301:/usr/local/news/spool/03/BUF0301:2048000000

metacycbuff:MBUF03:BUF0301:BUF0302:BUF0303:BUF0304:BUF0305:BUF0306:
BUF0307:BUF0308:BUF0309:BUF0310:BUF0311:BUF0312:BUF0313:BUF0314
(one line)

and part of a storage.conf line:

method cnfs {
        class: 3
        newsgroups: alt.*
        options: MBUF03
}

-----
Raymond Popowich
popowich@acsu.buffalo.edu



Re: configuring inn 2.2.2
#46889
Author: Russ Allbery
Date: Mon, 12 Jun 2000 00:00
17 lines
1325 bytes
Raymond N Popowich <popowich@acsu.buffalo.edu> writes:

> metacycbuff:MBUF03:BUF0301:BUF0302:BUF0303:BUF0304:BUF0305:BUF0306:
> BUF0307:BUF0308:BUF0309:BUF0310:BUF0311:BUF0312:BUF0313:BUF0314
> (one line)

If that's actually what you have, that's a syntax error.  It should look
something more like:

metacycbuff:MBUF03:BUF0301,BUF0302,BUF0302, [...]

with the individual buffers separated by commas rather than colons.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Re: configuring inn 2.2.2
#46895
Author: Raymond N Popowich
Date: Tue, 13 Jun 2000 00:00
32 lines
1652 bytes
Thank you!  I knew it was something silly.  You stare at this stuff
long enough and it starts to look like oatmeal.  Thanks again.

-Raymond


>> Raymond N Popowich <popowich@acsu.buffalo.edu> writes:
>> 
>> > metacycbuff:MBUF03:BUF0301:BUF0302:BUF0303:BUF0304:BUF0305:BUF0306:
>> > BUF0307:BUF0308:BUF0309:BUF0310:BUF0311:BUF0312:BUF0313:BUF0314
>> > (one line)
>> 
>> If that's actually what you have, that's a syntax error.  It should look
>> something more like:
>> 
>> metacycbuff:MBUF03:BUF0301,BUF0302,BUF0302, [...]
>> 
>> with the individual buffers separated by commas rather than colons.
>> 
>> -- 
>> Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
>> 
>> 

-----
Raymond Popowich
popowich@acsu.buffalo.edu



Re: configuring inn 2.2.2
#46897
Author: mauro_clementi
Date: Tue, 13 Jun 2000 00:00
27 lines
1725 bytes
Hello,

I had a similar problem during the installation of inn2.2.2 in
a Solaris 2.7 environment, using the cnfs storage discipline.
I followed the INSTALL file included in the inn tarball, and everything
worked fine until I reached the  makehistory -i step. The diagnostic
issued by the system, as usual, was no helpful:
<host>% makehistory -i
Can't initialize storage manager: Unknown keyword in method declaration

I tried also to truss the command, just to see if I was missing
libraries. I checked also the suggestions on the postings of the thread,
and it looks like I did it properly.
Have you any suggestion?
I don't know what else I should check on the inn.conf and on the
storage.conf files. My cycbuffs have news:news ownership and the 664
permissions.

Thanks in advance
Greetings from Rome
Mauro


Sent via Deja.com http://www.deja.com/
Before you buy.

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