Article View: news.software.nntp
Article #38516Re: File not found message, but the file is there
From: Forrest J. Cavalier III
Date: Thu, 08 Jul 1999 00:00
Date: Thu, 08 Jul 1999 00:00
51 lines
2697 bytes
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
Technical Details
Message-ID:
<gq8h3.231$db.44763@news1.epix.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<7m14pr$m4j$1@encore.ece.cmu.edu>Show Full Headers
Complete Article Headers
Message-ID: <gq8h3.231$db.44763@news1.epix.net> Subject: Re: File not found message, but the file is there Date: Thu, 08 Jul 1999 00:00:00 +0000 From: mibsoft@mibsoftware.com (Forrest J. Cavalier III) References: <7m14pr$m4j$1@encore.ece.cmu.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 498833529 Content-Type: Text/Plain; charset=US-ASCII X-Complaints-To: abuse@epix.net X-Trace: news1.epix.net 931468044 199.224.107.114 (Thu, 08 Jul 1999 17:07:24 EDT) Organization: Mib Software MIME-Version: 1.0 NNTP-Posting-Date: Thu, 08 Jul 1999 17:07:24 EDT Newsgroups: news.software.nntp