Thread View: news.software.nntp
5 messages
5 total messages
Started by �p���s
Sun, 25 Jun 2000 00:00
about CNFS
Author: �p���s
Date: Sun, 25 Jun 2000 00:00
Date: Sun, 25 Jun 2000 00:00
48 lines
2192 bytes
2192 bytes
I have such error...please tell me how to solve it...
%tail -f news.err
Jun 25 16:28:22 hope nnrpd[5410]: CNFS-sm: CNFSflushhead: write failed (-1
bytes): Bad file descriptor
Jun 25 16:28:22 hope nnrpd[5410]: SM storage method 'cnfs' failed
initialization
Jun 25 16:28:22 hope nnrpd[5410]: SM one or more storage methods failed
initialization
%./cnfsstat
Class SMALAREA for groups matching "*", article size min/max: 1/3999
Illegal division by zero at ./cnfsstat line 339, <STOR> chunk 64.
Buffer , len: 0.00 Mbytes, used: 0.00 Mbytes%
#My storage.conf
method cnfs {
newsgroups: *
class: 2
size: 1,3999
expires: 0s,4d
options: SMALAREA
}
method cnfs {
newsgroups: *
class: 3
size: 4000,1000000
expires: 0s,4d
options: BIGAREA
}
#My cycbuff.conf
cycbuff:ONE:/export/cycbuffs/one:512
cycbuff:TWO:/export/cycbuffs/two:512
cycbuff:THREE:/export/cycbuffs/three:512
metacycbuff:BIGAREA:ONE,TWO
metacycbuff:SMALAREA:THREE
# I've run the following as root successfully
# dd if=/dev/zero of=/export/cycbuffs/one bs=32k count=1000
# dd if=/dev/zero of=/export/cycbuffs/two bs=32k count=1000
# dd if=/dev/zero of=/export/cycbuffs/three bs=32k count=1000
--
To win is my only desire...
Re: about CNFS
Author: Ben C. O. Grimm
Date: Sun, 25 Jun 2000 00:00
Date: Sun, 25 Jun 2000 00:00
34 lines
2120 bytes
2120 bytes
On 25 Jun 2000 14:20:22 GMT, �p���s <lcli@csie.nctu.edu.tw> wrote: > I have such error...please tell me how to solve it... > #My cycbuff.conf > cycbuff:ONE:/export/cycbuffs/one:512 > cycbuff:TWO:/export/cycbuffs/two:512 > cycbuff:THREE:/export/cycbuffs/three:512 > metacycbuff:BIGAREA:ONE,TWO > metacycbuff:SMALAREA:THREE > # I've run the following as root successfully > # dd if=/dev/zero of=/export/cycbuffs/one bs=32k count=1000 > # dd if=/dev/zero of=/export/cycbuffs/two bs=32k count=1000 > # dd if=/dev/zero of=/export/cycbuffs/three bs=32k count=1000 1) are your cycbuffs now root-owned? You should be running dd as the news user to get the proper permissions. Chown -R your cycbuffs dirs to news.news and chmod 0664. 2) your cycbuff.conf is using size '512' while you created cycbuffs of length 32000. Both should be the same (32000 k). 3) are you sure you want to accept articles up to 1 Meg with only 64 Meg spool to store them? Hope you're not taking a full feed ... -- - Ben C. O. Grimm ----------------- Ben.Grimm@wirehub.net - - Wirehub! Internet Engineering - http://www.wirehub.net/ - - Wirehub! Backbone --- http://doema.wirehub.net/wirehub/ - - Private Ponderings ----------- http://www.bengrimm.net/ -
Re: about CNFS
Author: Ben C. O. Grimm
Date: Mon, 26 Jun 2000 00:00
Date: Mon, 26 Jun 2000 00:00
36 lines
2501 bytes
2501 bytes
On 26 Jun 2000 08:27:46 GMT, �p���s <lcli@csie.nctu.edu.tw> wrote: > Ben C. O. Grimm <Ben.Grimm@wirehub.net> ����: > : 1) are your cycbuffs now root-owned? You should be running dd as > : the news user to get the proper permissions. Chown -R your > : cycbuffs dirs to news.news and chmod 0664. > : 2) your cycbuff.conf is using size '512' while you created > : cycbuffs of length 32000. Both should be the same (32000 k). > : 3) are you sure you want to accept articles up to 1 Meg with > : only 64 Meg spool to store them? Hope you're not taking a full > : feed ... > thx,the error disappear > However,something trouble... > When I post in method CNFS (post ok ) > CNFS seem work properly... > but I can't see any of my articles... > I guess it's because of permission > so I've chmod 755 /export/cycbuffs > innd have no error report ( news.err,news.crit,news.notice ) > it still don't work... > what should I do ? I think you'd better start all over again, using the INSTALL manual in your INN build tree as a guideline. If you follow the steps described in there, you really can't go wrong. My guess is you're not running overchan in newsfeeds, and you haven't set up logging in syslog.conf. This will leave you with an INN feeder setup without logging ... -- - Ben C. O. Grimm ----------------- Ben.Grimm@wirehub.net - - Wirehub! Internet Engineering - http://www.wirehub.net/ - - Wirehub! Backbone --- http://doema.wirehub.net/wirehub/ - - Private Ponderings ----------- http://www.bengrimm.net/ -
Re: about CNFS
Author: �p���s
Date: Mon, 26 Jun 2000 00:00
Date: Mon, 26 Jun 2000 00:00
36 lines
2254 bytes
2254 bytes
Ben C. O. Grimm <Ben.Grimm@wirehub.net> ����: : 1) are your cycbuffs now root-owned? You should be running dd as : the news user to get the proper permissions. Chown -R your : cycbuffs dirs to news.news and chmod 0664. : 2) your cycbuff.conf is using size '512' while you created : cycbuffs of length 32000. Both should be the same (32000 k). : 3) are you sure you want to accept articles up to 1 Meg with : only 64 Meg spool to store them? Hope you're not taking a full : feed ... thx,the error disappear However,something trouble... When I post in method CNFS (post ok ) CNFS seem work properly... but I can't see any of my articles... I guess it's because of permission so I've chmod 755 /export/cycbuffs innd have no error report ( news.err,news.crit,news.notice ) it still don't work... what should I do ? %../bin/cnfsstat Class SMALAREA for groups matching "*", article size min/max: 1/3999 Buffer ONE, len: 31.25 Mbytes, used: 0.02 Mbytes ( 0.1%) 0 cycles Newest: 2000-06-26 15:30:14, 0 days, 0:47:27 ago Buffer TWO, len: 31.25 Mbytes, used: 0.02 Mbytes ( 0.1%) 0 cycles Newest: 2000-06-26 15:30:14, 0 days, 0:47:27 ago Buffer THREE, len: 31.25 Mbytes, used: 0.02 Mbytes ( 0.1%) 0 cycles Newest: 2000-06-26 15:45:36, 0 days, 0:32:05 ago -- To win is my only desire...
Re: about CNFS
Author: �p���s
Date: Mon, 26 Jun 2000 00:00
Date: Mon, 26 Jun 2000 00:00
26 lines
1578 bytes
1578 bytes
Ben C. O. Grimm <Ben.Grimm@wirehub.net> ����: : I think you'd better start all over again, using the INSTALL manual in : your INN build tree as a guideline. If you follow the steps described : in there, you really can't go wrong. My guess is you're not running : overchan in newsfeeds, and you haven't set up logging in syslog.conf. ^^^^^^^^ ouch....that's exactly right!!! you are my HERO!!! I love you !! : This will leave you with an INN feeder setup without logging ... -- Oh my God ! you don't know who is jjwang !?
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