🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
12 messages
12 total messages Started by Russ Allbery Thu, 07 Jun 2001 16:04
Re: [INN 2.3.2] CNFS initialization fails
#52731
Author: Russ Allbery
Date: Thu, 07 Jun 2001 16:04
21 lines
1821 bytes
Roland Jesse <jesse@cs.uni-magdeburg.de> writes:

> From my news.err log:

> Jun  7 03:00:01 herzog expireover[26739]: [ID 771915 news.error] CNFS-sm: file '/local/news/spool/articles/two' does not exist, ignoring 'TWO' cycbuff
> Jun  7 03:00:01 herzog expireover[26739]: [ID 371779 news.error] SM storage method 'cnfs' failed initialization
> Jun  7 03:00:01 herzog expireover[26739]: [ID 292155 news.error] SM one or more storage methods failed initialization

> The file does exist, though:

> % ls -l /local/news/spool/articles/two
> -rw-r--r--   1 news     news     6291456000 May 22 23:11 /local/news/spool/articles/two

Did you compile INN with large file support?

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: [INN 2.3.2] CNFS initialization fails
#52774
Author: Russ Allbery
Date: Fri, 08 Jun 2001 23:09
22 lines
1854 bytes
Roland Jesse <jesse@cs.uni-magdeburg.de> writes:
> Russ Allbery <rra@stanford.edu> writes:

>>> % ls -l /local/news/spool/articles/two
>>> -rw-r--r--   1 news     news     6291456000 May 22 23:11 /local/news/spool/articles/two

>> Did you compile INN with large file support?

> Ahem, no. Is it ok to just recompile with an additional
> --with-largefiles and do a "make update" than?

If you've never stored any articles, yup.  It changes the internal format
of the overview database (and I think possibly the history database), so
if you have articles already stored on the server you'll want to wipe it
clean and start fresh.

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: [INN 2.3.2] CNFS initialization fails
#52801
Author: Russ Allbery
Date: Mon, 11 Jun 2001 11:48
21 lines
1884 bytes
Roland Jesse <jesse@cs.uni-magdeburg.de> writes:

> Now I recompiled INN with large file support and the problem still
> stands. From log/news.err:

> Jun 11 11:57:49 herzog innfeed[5652]: [ID 771915 news.error] CNFS-sm: file '/local/news/spool/articles/two' does not exist, ignoring 'TWO' cycbuff

Are you sure you've got a recompiled innfeed here?  That still looks very
much like what happens if you don't have INN fully compiled with large
file support.

Can you try running a system call trace (truss or strace or whatever is
the right way to do that on your OS)?  If it's the large file problem, the
stat of that CNFS cycbuff will fail with EOVERFLOW.

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: [INN 2.3.2] CNFS initialization fails
#52819
Author: Russ Allbery
Date: Tue, 12 Jun 2001 13:10
27 lines
2047 bytes
Roland Jesse <jesse@cs.uni-magdeburg.de> writes:

> % truss innfeed
> ...
> stat("/local/news/spool/articles/one", 0xFFBEF320) = 0
> stat("/local/news/spool/articles/two", 0xFFBEF320) Err#79 EOVERFLOW

Yup, that's the problem.

> There it is. File "one" is 1.5 GB in size, file "two" is 6 GB. I don't
> know yet what you do for large file support. It does not seem to be
> working as intended. Was it used successfully on a Solaris 8 machine,
> yet?

I've used it on Solaris 7 and I'm pretty sure folks have used it on
Solaris 8.  What flags did it pass to the compiler?  It should have passed
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 to the compiler when compiling
all the source files.

(Is this 32-bit Solaris 8 or 64-bit Solaris 8?)

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Sv.: Re: [INN 2.3.2] CNFS initialization fails
#52824
Author: A Device Which is Oscillating
Date: Tue, 12 Jun 2001 18:53
21 lines
1724 bytes
"'jesse@cs.uni-magdeburg.de'" <jesse@cs.uni-magdeburg.de> schrieb in im
Newsbeitrag:0vy9qy44bh.fsf@cs.uni-magdeburg.de...

:: That's after
::

% make clean


:: % ./configure  --prefix=/local/news --with-perl
:: --with-sendmail=/usr/lib/sendmail --with-largefiles
:: % make
:: [su root]
:: # make update


--
you too can make millions while surfing the web!
ask me how!

Re: [INN 2.3.2] CNFS initialization fails
#52855
Author: Russ Allbery
Date: Thu, 14 Jun 2001 18:10
21 lines
1708 bytes
Roland Jesse <jesse@cs.uni-magdeburg.de> writes:

> That might be it:

> % grep -i large **/Makefile
> % grep -l LFS **/Makefile
> %

It should be in Makefile.global.

> Very good question. How may I find out?
> "/usr/platform/sun4u/sbin/prtdiag -v" doesn't tell me anything about it.

/usr/bin/isalist, see if sparcv9 is listed.

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: [INN 2.3.2] CNFS initialization fails
#52873
Author: Russ Allbery
Date: Fri, 15 Jun 2001 18:56
26 lines
1894 bytes
Roland Jesse <jesse@cs.uni-magdeburg.de> writes:

> GCFLAGS         = $(COPT) -I../include  $(LFS_CFLAGS)

> LFS_CFLAGS      = 
> LFS_LDFLAGS     = 
> LFS_LIBS        = 

> That is after starting from scratch again. I.e. removing the distdir,
> unpacking it again and doing a "./configure --with-largefiles
> --with-sendmail=/usr/lib/sendmail".

What does:

    getconf LFS_CFLAGS
    getconf LFS_LDFLAGS
    getconf LFS_LIBS

return?

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: [INN 2.3.2] CNFS initialization fails
#52901
Author: those who know me have no need o...
Date: Mon, 18 Jun 2001 11:21
13 lines
1457 bytes
<0v1yoi5gt1.fsf@cs.uni-magdeburg.de> divulged:
>Russ Allbery <rra@stanford.edu> writes:

>getconf: Unrecognized variable `LFS_CFLAGS' (same for the other two).
>
>Am I supposed to set these in my environment? 

no.  those are the values set when inn was compiled, typically in
config.h.

-- 
okay, have a sig then
Re: [INN 2.3.2] CNFS initialization fails
#52907
Author: Russ Allbery
Date: Mon, 18 Jun 2001 19:05
30 lines
2278 bytes
Roland Jesse <jesse@cs.uni-magdeburg.de> writes:
> Russ Allbery <rra@stanford.edu> writes:

>> What does:

>>     getconf LFS_CFLAGS
>>     getconf LFS_LDFLAGS
>>     getconf LFS_LIBS

> getconf: Unrecognized variable `LFS_CFLAGS' (same for the other two).

> Am I supposed to set these in my environment? I would suggest to
> mention that in the INSTALL file than. ;)

Weird... what version of Solaris was this again?

solaris8-64bit:~> getconf LFS_CFLAGS
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
solaris8-64bit:~> uname -a
SunOS solaris8-64bit 5.8 Generic_108528-05 sun4u sparc SUNW,UltraAX-i2

You shouldn't have to set anything in the environment; they're sysconf
variables on Solaris and have been there since Solaris 2.6 at least.

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: [INN 2.3.2] CNFS initialization fails
#52910
Author: Kjetil Torgrim Homme
Date: Tue, 19 Jun 2001 00:50
17 lines
1757 bytes
[Roland Jesse]

>   Russ Allbery <rra@stanford.edu> writes:
>   
>   > What does:
>   > 
>   >     getconf LFS_CFLAGS
>   >     getconf LFS_LDFLAGS
>   >     getconf LFS_LIBS
>   
>   getconf: Unrecognized variable `LFS_CFLAGS' (same for the other two).

Have you replaced getconf with a GNU version?


Kjetil T.
Re: [INN 2.3.2] CNFS initialization fails
#52929
Author: Russ Allbery
Date: Tue, 19 Jun 2001 21:12
15 lines
1861 bytes
Roland Jesse <jesse@cs.uni-magdeburg.de> writes:

> % getconf LFS_CFLAGS
> getconf: Unrecognized variable `LFS_CFLAGS'
> % uname -a
> SunOS herzog 5.8 Generic_108528-05 sun4u sparc SUNW,Ultra-80

This is /usr/bin/getconf?

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: [INN 2.3.2] CNFS initialization fails
#52959
Author: Russ Allbery
Date: Wed, 20 Jun 2001 08:41
13 lines
1822 bytes
Roland Jesse <jesse@cs.uni-magdeburg.de> writes:

> Is it ok that "getconf LFS_LDFLAGS" and "getconf LFS_LIBS" only return
> an empty string?

Yup.

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
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