inn2.3 - SERVER cant initialize the storage subsystem

Russ Allbery rra at stanford.edu
Tue Apr 4 23:34:49 UTC 2000


unilerik <unilerik at green.rnd.uni-c.dk> writes:

> Trying to set up inn2.3/cnfs/buffindexed (inn-2000-02-09_03-01) on a
> ibm/aix 4.3.3 box.

> Configured with flag: --with-largefiles
> And output from configure says:

> checking for largefile linkage... ok

> But if a cycbuff exceed 2 Gb INN won't start and logs this:

> Feb 11 12:30:31 holein1 innd: CNFS-sm: file '/cycbuffs/buff_01' does not
> exist, ignoring 'BUFF01' cycbuff

This indicates that the large file linkage isn't sufficient to get stat()
working on files larger than 2GB.  Checking man pages on an AIX 4.3.3 box
I have here, AIX apparently wants you to use stat64() instead.  Solaris
will quietly map stat() to stat64() and make the correct structure changes
if you compile with the large file flags, but some other operating systems
don't do it that way.

I'm afraid that INN doesn't currently have configure support for fixing
this.  It wouldn't be too difficult to add it, but it would require
autoconf changes and probably defining an internal stat type in INN that
can be set as appropriate for large file support.

So currently, you're probably stuck using <2GB cycbuffs unless you want to
tackle that problem.  :/

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



More information about the inn-workers mailing list