From owner-freebsd-questions Fri Jun 21 0:39:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from desert.zssm.zp.ua (desert.zssm.zp.ua [212.8.32.5]) by hub.freebsd.org (Postfix) with ESMTP id C53F337B421 for ; Fri, 21 Jun 2002 00:39:09 -0700 (PDT) Received: from server.hermes-comp.zp.ua (germes-comp.zssm.zp.ua [212.8.32.132] (may be forged)) by desert.zssm.zp.ua (8.11.3/8.11.3) with ESMTP id g5L7Yac20428; Fri, 21 Jun 2002 10:34:40 +0300 (EEST) (envelope-from stalker@hermes-comp.zp.ua) Received: from localhost (localhost [127.0.0.1]) by server.hermes-comp.zp.ua (Postfix) with ESMTP id 8982838302; Fri, 21 Jun 2002 10:38:03 +0300 (EEST) Date: Fri, 21 Jun 2002 10:38:03 +0300 (EEST) From: Alexander V Zubchenko To: Ralph Dratman Cc: Subject: Re: "Couldn't stat file /usr/X11R6/man" In-Reply-To: Message-ID: <20020621103219.R21649-100000@server.hermes-comp.zp.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Greetings! On Thu, 20 Jun 2002, Ralph Dratman wrote: > I keep seeing the message "Warning: couldn't stat file > /usr/X11R6/man!" in the course of output from certain shell commands > (I use bash). Then the command appears to complete normally. I've This does not depend on shell, which You r using. > tried deleting the directory which is being complained about, to no First rule of UNIX: rm is forever, so don't delete anything, unless You r sure, that this will b unnecessary. > avail: I still get a message about it, even though it's no longer > present on the system. Of course. This message stat that no such file/directory found. You rm it and all is getting worse, in fact. > > Here is a typical exmaple: > > ================================= > #whereis xfce > Warning: couldn't stat file /usr/X11R6/man! > xfce: /usr/ports/x11-wm/xfce > ================================= As You can see in this example, only affected commands from man sub-system. > Anybody know what's going on? > As for now, when this directory is not avaiable, check $MANPATH. I think, it supposed to contain entry for dir, which should b excluded. With respect, Alexander V Zubchenko, E-Mail: stalker@hermes-comp.zp.ua System Administrator, WWW: http://www.hermes-comp.zp.ua/ Hermes-comp, Ukraine, Zaporizhzhya, Geroev Stalingrada 50 phone/fax: +380 612 64-19-72 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message