🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Isaac Hopkins Fri, 25 Jun 1999 00:00
Cannot do makehistory -i on new install of inn2.2
#38258
Author: Isaac Hopkins
Date: Fri, 25 Jun 1999 00:00
140 lines
4632 bytes
[ Note: This question was sent to inn-questions@pilhuhn.de and is posted ]
[       here, so that someone will see and answer it. Please email your  ]
[       answer to the original author in addition to posting it.         ]

This is a multi-part message in MIME format.
--------------F84FD9BCDBA3D5CA1024FEA6
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I am trying to set up inn2.2 on a freebsd 3.2 system, and I cannot get
makehistory to run, when I run makehistory -i as suggested in the
Install file, I get this error message.

Can't initialize storage manager: unknown keyword in method declaration.

here is my storage.conf file:


and my cycbuff.conf file 

Thank You for your time.

Isaac Hopkins
--------------F84FD9BCDBA3D5CA1024FEA6
Content-Type: text/plain; charset=us-ascii;
 name="storage.conf"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="storage.conf"

# This file is used to determine which storage method articles are sent to
# to be stored and which storage class they are stored as.  

#
#	Sample for the ``timehash'' storage method:
#
#	method <methodname> {
#		newsgroups: <wildmat>
#		class: <storage class #>
#		size: <minsize>[,<maxsize>]
#		expires: <mintime>[,<maxtime>]
#		options: <options>
#	}
#
#method timehash {
#	newsgroups: *
#	class: 0
#}
#method timehash {
#	newsgroups: alt.binaries.*
#	class: 1
#	size: 2,32000
#}
#method timehash {
#	newsgroups: alt.*
#	class: 2
#	size: 1
#}

#
#	Sample for the ``cnfs'' storage method:
#
#	methodname:wildmat:storage class #:minsize:maxsize:metacycbuffname
#	method cnfs {
#		newsgroups: <wildmat>
#		class: <storage class #>
#		size: <minsize>[,<maxsize>]
#		expires: <mintime>[,<maxtime>]
#		options: <metacycbuffname>
#	}
#
method cnfs {
	newsgroups: alt.binaries.*, alt.sex.*, !*
	class: 1
	size: 0,0
	expires: 0,0
	options: altbin
}
method cnfs {
	newsgroups: alt.*, !alt.sex.*, !alt.binaries
	class: 2
	size: 0,0
	options: alt
}
method cnfs {
	newsgroups: *, !alt.*
	class: 3
	size: 0,0
	options: star
}


--------------F84FD9BCDBA3D5CA1024FEA6
Content-Type: text/plain; charset=us-ascii;
 name="cycbuff.conf"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="cycbuff.conf"

#
# Meta cnfs cyclic buffer configuration file (and assignments of newsgroups to
# metacyclic buffers)
#
# The order in this items appear in this file is *important*.

# 1. Cyclic buffers
# Format:
# "cycbuff" (literally) : symbolic buffer name : path to buffer file : 
#       length of symbolic buffer in kilobytes in decimal (1KB = 1024 bytes)

cycbuff:alt00:/var/spool/news/cycbuff4/alt00:1000000
cycbuff:alt01:/var/spool/news/cycbuff8/alt01:1000000
cycbuff:alt02:/var/spool/news/cycbuff45/alt02:1000000
cycbuff:alt03:/var/spool/news/cycbuff8/alt03:1000000
cycbuff:altb00:/var/spool/news/cycbuff4/altb00:1000000
cycbuff:altb01:/var/spool/news/cycbuff8/altb01:1000000
cycbuff:altb02:/var/spool/news/cycbuff45/altb02:1000000
cycbuff:altb03:/var/spool/news/cycbuff8/altb03:1000000
cycbuff:star00:/var/spool/news/cycbuff4/star00:1000000
cycbuff:star01:/var/spool/news/cycbuff8/star01:1000000
cycbuff:star02:/var/spool/news/cycbuff8/star02:1000000
cycbuff:star03:/var/spool/news/cycbuff45/star03:1000000
cycbuff:star04:/var/spool/news/cycbuff8/star04:1000000

# 2. Meta-cyclic buffers
# Format:
# "metacycbuff" (literally) : symbolic meta-cyclic buffer name :
#       comma separated list of cyclic buffer symbolic names
#
# symbolic meta-cyclic buffer name is defined at storage.ctl like;
# cnfs:*:1:0:3999:SMALLAREA
# cnfs:*:2:4000:1000000:BIGAREA
metacycbuff:altbin:altb00,altb01,altb02,altb03
metacycbuff:alt:alt00,alt01,alt02,alt03
metacycbuff:star:star00,star01,star02,star03,star04

--------------F84FD9BCDBA3D5CA1024FEA6--


Re: Cannot do makehistory -i on new install of inn2.2
#38626
Author: Dennis Black
Date: Tue, 13 Jul 1999 00:00
36 lines
1571 bytes
In article <3773F7D6.84512B5@state.net>, Isaac Hopkins <isaac@state.net> wrote:

> I am trying to set up inn2.2 on a freebsd 3.2 system, and I cannot get
> makehistory to run, when I run makehistory -i as suggested in the
> Install file, I get this error message.
> 
> Can't initialize storage manager: unknown keyword in method declaration.
> 

> method cnfs {
>         newsgroups: alt.binaries.*, alt.sex.*, !*
>         class: 1
>         size: 0,0
>         expires: 0,0
>         options: altbin
> }

Issac, lose the spaces between wildmats.
Should be 
newsgroups: alt.binaries.*,alt.sex.*,!*

I was getting the error 
Can't initialize storage manager: one or more storage methods failed
initialization

because I had 
<space>method cnfs....

Couldn't see them for the longest time, but there they were!

Dennis.Black@UAlberta.Ca
Computing & Network Systems
352 GSB, University of Alberta, Edmonton, T6G 2H1
ph  780-492-9329 fax 780-492-1729

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