From owner-freebsd-questions@FreeBSD.ORG Mon Feb 2 07:11:51 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 768FF16A4F7 for ; Mon, 2 Feb 2004 07:11:51 -0800 (PST) Received: from rdsnet.ro (smtp.rdsnet.ro [62.231.74.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id C912943D68 for ; Mon, 2 Feb 2004 07:10:45 -0800 (PST) (envelope-from itetcu@apropo.ro) Received: (qmail 9598 invoked from network); 2 Feb 2004 15:10:18 -0000 Received: from unknown (HELO it.buh.cameradicommercio.ro) (81.196.25.19) by mail.rdsnet.ro with SMTP; 2 Feb 2004 15:10:18 -0000 Date: Mon, 2 Feb 2004 17:12:07 +0200 From: Ion-Mihai Tetcu To: Barbish3@adelphia.net Message-Id: <20040202171207.143dd6ac@it.buh.cameradicommercio.ro> In-Reply-To: References: <20040202142553.7b82b58b@it.buh.cameradicommercio.ro> X-Mailer: Sylpheed version 0.9.8claws (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: fetch fails, ftp works question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2004 15:11:51 -0000 On Mon, 2 Feb 2004 09:40:12 -0500 "JJB" wrote: > FBSD Friend Thanks for your time, > Since the fetch command does function for you, but some times you > get this message, > File unavailable (e.g., file not found, no access) > > The "file not found" part you know is not true, because you have > used the same command where it does get the same named package. > SO it must be the "no access" part of the message that has meaning > for this execution of the command. > > That means that the FTP server you are using is busy right them when > you are trying to access it. Like in max users exceeded. Those FTP > servers are being beat on right now by people trying to get the bug > infested 5.2 .iso files. >From that machine's inetd.conf: ftp stream tcp nowait root /usr/libexec/ftpd ftpd -d -l -l -t 120 -T 120 and I don't remember setting any other limits, in other places. > I know the error message is not very clear, but that 's what it > means in your case. Bottom line is since the fetch command works > some times, it can not be fetch command syntax, ether the targeted > server is busy and just try again in 10 seconds, or the you have the > package name typed wrong and it's really not found as you have it > spelled. The second can be, as it is a part of make fetch && make checksum from a script. > The package names with the version number appended as an suffix is [..] > link file commands. I'm talking about distfiles, not packages, so that is not the problem. There can be cases when my host has a newer distinfo the the server, but I've triple-checked that it is not the case here. > One other gotya, for native FBSD without any FTP environment > overrides, ftp defaults to active mode and fetch ftp defaults to > passive mode. >From ftp(1) it defaults to passive. But fetch defaults indeed to active, so this could be a reason; I still don't understand why it works on some ports and not on others. > You will get the "File unavailable (e.g., file not > found, no access)" message if your firewall is blocking FTP access. > Check out this web site for real good explanation of the 2 FTP > access modes http://www.slacksite.com/other/ftp.html > > I hope this gives you the insight you were desiring. > > Joe -- IOnut Unregistered ;) FreeBSD user