cycbuff - bad file description problem

Russ Allbery rra at stanford.edu
Fri Sep 21 22:56:30 UTC 2001


Sylwester Zelazko <slz at polcard.com.pl> writes:

> i have problems with inn 2.3.2, i have configured cycbuff, made files
> but can't initialize cycbuff file.

> When I try to run inn or i run 'sm' i'm getting this in news.err:
> Sep 21 10:19:48 post sm[5315]: CNFS-sm: CNFSflushhead: write failed (-1
> bytes): Bad file descriptor
> Sep 21 10:20:16 post sm[5315]: SM storage method 'cnfs' failed initialization
> Sep 21 10:20:23 post sm[5315]: SM one or more storage methods failed
> initialization

> write(5, "CBuf3\0\0\0ONE\0\0\0\0\0\0\0\0\0\0\0\0\0/var/spo"..., 192) = -1
> EBADF (Bad file descriptor)
> time([1001058090])                      = 1001058090
> ...

> System: Debian woody, kernel - i try different - 2.2.20pre6, 2.4.5,
> 2.4.9, 2.4.4, 2.2.19

Either recompile INN with large file support (and make sure that you have
a kernel and glibc that supports it), or use cycbuffs smaller than 2GB.
The latter is probably easiest.

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


More information about the inn-workers mailing list