SM could not find token type or method was not initialized (2)

Chris Davis df at prism.net
Mon Jan 7 23:07:00 UTC 2002



I've been getting this error a lot, here it is as it appears in the news.notice log:

Jan  7 17:36:33 moltar nnrpd[24318]: SERVER perl filtering enabled
Jan  7 17:36:34 moltar nnrpd[24318]: davis.prism.net connect
Jan  7 17:36:34 moltar nnrpd[24318]: SM could not find token type or method was not initialized (2)

This happens everythime I try to get the new header list, but only randomly happens when my customers download  headers.

I've searched everywhere and haven't found much in the way of solving this.

I'm assuming the SM stands for Storage Method, in which case I've included my storage.conf and cycbuff.conf file  contents.
If there is a better way of setting up these two files, please let me know.

I've got a few other issues, which I'll be posting as seperate emails.

Thanks for all your help guys, I've been working on this server for weeks.

Here is my storage.conf contents:
----------------------------------------------------------------------------------------------
(64) news at moltar:/usr/local/news/etc> cat 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 cnfs {
    class: 1
    newsgroups: internal.*
    options: INTERNAL
}

method cnfs {
    class: 2
    newsgroups: alt.binaries.*
    options: BINARIES
}

method cnfs {
    class: 3
    newsgroups: *
    size: 50000
    options: LARGE
}

method cnfs {
    class: 4
    newsgroups: alt.*
    options: ALT
}

method cnfs {
    class: 5
    newsgroups: comp.*
    options: COMP
}

method cnfs {
    class: 6
    newsgroups: microsoft.*
    options: MS
}

method cnfs {
    class: 7
    newsgroups: *
    options: CA
}

Here is my cycbuff.conf contents:
------------------------------------------------------
(65) news at moltar:/usr/local/news/etc> cat cycbuff.conf

# Meta cnfs cyclic buffer configuration file (and assignments of newsgroups to
# metacyclic buffers)
# cycbuff names limited to 7 characters
# metacycbuff names limited to 8 characters
# buffer sizes are in bytes (1 gig = 1000000 bytes)

# INTERNAL - 1 gig each - 1 gig total
cycbuff:IN1:/var/spool/news/db/cycbuffs/in1:1000000

# BINARIES - 10 gigs each - 100 gigs total
cycbuff:BIN1:/var/spool/news/db/cycbuffs/bin1:10000000
cycbuff:BIN2:/var/spool/news/db/cycbuffs/bin2:10000000
cycbuff:BIN3:/var/spool/news/db/cycbuffs/bin3:10000000
cycbuff:BIN4:/var/spool/news/db/cycbuffs/bin4:10000000
cycbuff:BIN5:/var/spool/news/db/cycbuffs/bin5:10000000
cycbuff:BIN6:/var/spool/news/db/cycbuffs/bin6:10000000
cycbuff:BIN7:/var/spool/news/db/cycbuffs/bin7:10000000
cycbuff:BIN8:/var/spool/news/db/cycbuffs/bin8:10000000
cycbuff:BIN9:/var/spool/news/db/cycbuffs/bin9:10000000
cycbuff:BIN10:/var/spool/news/db/cycbuffs/bin10:10000000

# LARGE - 10 gigs each - 50 gigs total
cycbuff:LAR1:/var/spool/news/db/cycbuffs/lar1:10000000
cycbuff:LAR2:/var/spool/news/db/cycbuffs/lar2:10000000
cycbuff:LAR3:/var/spool/news/db/cycbuffs/lar3:10000000
cycbuff:LAR4:/var/spool/news/db/cycbuffs/lar4:10000000
cycbuff:LAR5:/var/spool/news/db/cycbuffs/lar5:10000000

# ALT - 1 gig each - 5 gigs total
cycbuff:ALT1:/var/spool/news/db/cycbuffs/alt1:1000000
cycbuff:ALT2:/var/spool/news/db/cycbuffs/alt2:1000000
cycbuff:ALT3:/var/spool/news/db/cycbuffs/alt3:1000000
cycbuff:ALT4:/var/spool/news/db/cycbuffs/alt4:1000000
cycbuff:ALT5:/var/spool/news/db/cycbuffs/alt5:1000000

# COMP - 1 gig each - 5 gigs total
cycbuff:COMP1:/var/spool/news/db/cycbuffs/comp1:1000000
cycbuff:COMP2:/var/spool/news/db/cycbuffs/comp2:1000000
cycbuff:COMP3:/var/spool/news/db/cycbuffs/comp3:1000000
cycbuff:COMP4:/var/spool/news/db/cycbuffs/comp4:1000000
cycbuff:COMP5:/var/spool/news/db/cycbuffs/comp5:1000000

# MICROSOFT - 1 gig each - 5 gigs total
cycbuff:MS1:/var/spool/news/db/cycbuffs/ms1:1000000
cycbuff:MS2:/var/spool/news/db/cycbuffs/ms2:1000000
cycbuff:MS3:/var/spool/news/db/cycbuffs/ms3:1000000
cycbuff:MS4:/var/spool/news/db/cycbuffs/ms4:1000000
cycbuff:MS5:/var/spool/news/db/cycbuffs/ms5:1000000

# CATCHALL - 10 gigs each - 50 gigs total
cycbuff:CA1:/var/spool/news/db/cycbuffs/ca1:10000000
cycbuff:CA2:/var/spool/news/db/cycbuffs/ca2:10000000
cycbuff:CA3:/var/spool/news/db/cycbuffs/ca3:10000000
cycbuff:CA4:/var/spool/news/db/cycbuffs/ca4:10000000
cycbuff:CA5:/var/spool/news/db/cycbuffs/ca5:10000000

# metacycbuff names are limited to eight characters

# INTERNAL
metacycbuff:INTERNAL:IN1

# BINARIES
metacycbuff:BINARIES:BIN1,BIN2,BIN3,BIN4,BIN5,BIN6,BIN7,BIN8,BIN9,BIN10

# LARGE
metacycbuff:LARGE:LAR1,LAR2,LAR3,LAR4,LAR5

# ALT
metacycbuff:ALT:ALT1,ALT2,ALT3,ALT4,ALT5

# COMP
metacycbuff:COMP:COMP1,COMP2,COMP3,COMP4,COMP5

# MICROSOFT
metacycbuff:MS:MS1,MS2,MS3,MS4,MS5

# CATCHALL
metacycbuff:CA:CA1,CA2,CA3,CA4,CA5




More information about the inn-workers mailing list