🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Jim McKinney Thu, 08 Jul 1999 00:00
File not found message, but the file is there
#38519
Author: Jim McKinney
Date: Thu, 08 Jul 1999 00:00
48 lines
2251 bytes
Hi,

I'm in the process of installing inn 2.2 on a solaris 2.6 machine
and I've run into something I can't track down.  I followed the
INSTALL document, read about all the man pages, and even registered
with RKT to see if I can figure it out, all without success.

I'm trying to use cycbuffs for several groups and here is my
cycbuff.conf:

	cycbuff:BUFF00:/usr/local/news/cycbuffs/buff00:2097152
	cycbuff:BUFF01:/usr/local/news/cycbuffs/buff01:2097152
	cycbuff:BUFF03:/usr/local/news/cycbuffs/buff03:5120

	metacycbuff:ALTBUFF:BUFF00,BUFF01
	metacycbuff:CTLBUFF:BUFF03

When I run "makehistory -i" I get the following entries in 
/var/adm/messages (indents done for readability, and to make tin less
unhappy about long lines):

	Jul  7 16:36:53 nntp.ece.cmu.edu makehistory[22336]: CNFS-sm: 
		file '/usr/local/news/cycbuffs/buff00' does not exist, 
		ignoring 'BUFF00' cycbuff
	Jul  7 16:36:53 nntp.ece.cmu.edu makehistory[22336]: SM storage 
		method 'cnfs' failed initialization
	Jul  7 16:36:53 nntp.ece.cmu.edu makehistory[22336]: SM one or 
		more storage methods failed initialization

Now, the weird part.  When I cut and paste the path to buff00 and feed it
to "ls -l" the file is there and is the proper size.  It is mode 664 and
owned by news with a group of news.

I have also tried increasing the "ulimit -n" value to 1024 with the same
results.

Any hints, tips, other places to look will be greatly appreciated.

thanx
 -jmck
--
Jim McKinney					jmck@ece.cmu.edu
System Administrator Manager, ECE		Office: HH1304
Carnegie Mellon University			(412) 268-5141
Pittsburgh PA, the only place where sunny and dry conditions will add
15 minutes to your commute!?!

Re: File not found message, but the file is there
#38516
Author: Forrest J. Cavalier III
Date: Thu, 08 Jul 1999 00:00
51 lines
2697 bytes
In article <7m14pr$m4j$1@encore.ece.cmu.edu>, jmck@elmo.ece.cmu.edu wrote...
>
>Hi,
>
>I'm in the process of installing inn 2.2 on a solaris 2.6 machine
>and I've run into something I can't track down.  I followed the
>INSTALL document, read about all the man pages, and even registered
>with RKT to see if I can figure it out, all without success.
>
>I'm trying to use cycbuffs for several groups and here is my
>cycbuff.conf:
>
>        cycbuff:BUFF00:/usr/local/news/cycbuffs/buff00:2097152
>        cycbuff:BUFF01:/usr/local/news/cycbuffs/buff01:2097152
>        cycbuff:BUFF03:/usr/local/news/cycbuffs/buff03:5120
>
>        metacycbuff:ALTBUFF:BUFF00,BUFF01
>        metacycbuff:CTLBUFF:BUFF03
>
>When I run "makehistory -i" I get the following entries in 
>/var/adm/messages (indents done for readability, and to make tin less
>unhappy about long lines):
>
>        Jul  7 16:36:53 nntp.ece.cmu.edu makehistory[22336]: CNFS-sm: 
>                file '/usr/local/news/cycbuffs/buff00' does not exist, 
>                ignoring 'BUFF00' cycbuff

The error message is generated when stat() fails, but the "does not
exist" is only one reason stat() can fail.  INN does not report
the errno.

The code is in storage/cnfs.c near line 334.

Other reasons stat() can fail are listed on the stat man page,
a copy of the OpenBSD version is at
    http://www.mibsoftware.com/reuse/cfn/man2/fstat.2.htm

My guess is that one of the parent directories is
not accessible, since the other ways stat() fails are
probably not it if ls -l works.

Placing some debugging code in cnfs would definitely give
the real reason.

Forrest J. Cavalier III, Mib Software, INN customization and consulting 
'Pay-as-you-go' commercial support for INN: Only $64/hour! 
Searchable hypertext INN docs, FAQ, RFCs, etc: 650+ pages
   http://www.mibsoftware.com/innsup.htm 


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