From owner-freebsd-questions@FreeBSD.ORG Wed Jun 1 10:37:38 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB2FC106566B for ; Wed, 1 Jun 2011 10:37:37 +0000 (UTC) (envelope-from k0802647@telus.net) Received: from defout.telus.net (defout.telus.net [204.209.205.13]) by mx1.freebsd.org (Postfix) with ESMTP id 763CD8FC17 for ; Wed, 1 Jun 2011 10:37:35 +0000 (UTC) Received: from edmwcm02 ([204.209.205.13]) by priv-edmwes23.telusplanet.net (InterMail vM.8.01.03.00 201-2260-125-20100507) with ESMTP id <20110601101607.PWIK27452.priv-edmwes23.telusplanet.net@edmwcm02> for ; Wed, 1 Jun 2011 04:16:07 -0600 Received: from oliver.bc.lan ([50.92.188.219]) by edmwcm02 with bizsmtp id qaG61g01h4kTNxu01aG7ZS; Wed, 01 Jun 2011 04:16:07 -0600 X-Authority-Analysis: v=1.1 cv=7P9dubtIXLU1uTYoeGISe4WxsS6EUAmv3Yv6BAFyrkg= c=1 sm=2 a=PFWxWM63tqYA:10 a=l-LGobScgMQA:10 a=ZOSeop9BJjQA:10 a=LGgl8L9ij00A:10 a=8nJEP1OIZ-IA:10 a=SCo1hh1FAAAA:8 a=6I5d2MoRAAAA:8 a=i6GbxSaJAAAA:8 a=VaV1ZpDUAAAA:20 a=2VLN4lmkWlN3FsJxSPoA:9 a=wPNLvfGTeEIA:10 a=KXuLW65_DLEA:10 a=vpciK5hXH9IA:10 a=gA6IeH5FQcgA:10 a=NWVoK91CQyQA:10 X-Telus-Outbound-IP: 50.92.188.219 Received: from [10.111.111.111] (unknown [10.111.111.111]) by oliver.bc.lan (Postfix) with ESMTP id 7F2DA6472; Wed, 1 Jun 2011 03:16:06 -0700 (PDT) Message-ID: <4DE61166.2030601@telus.net> Date: Wed, 01 Jun 2011 03:16:06 -0700 From: Carl User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: FTP server at freebsd.isc.org is broken X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jun 2011 10:37:38 -0000 During an unattended, non-interactive build of many ports this evening I ran into what I think indicates that the FTP server at freebsd.isc.org is broken. Here is what I believe to be evidence, performed from a FreeBSD 8.2 server at one site: site1# fetch -vvp ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/GD-Arrow-0.01.tar.gz scheme: [ftp] user: [] password: [] host: [ftp.freebsd.org] port: [0] document: [/pub/FreeBSD/ports/distfiles/GD-Arrow-0.01.tar.gz] ---> ftp.freebsd.org:21 looking up ftp.freebsd.org connecting to ftp.freebsd.org:21 <<< 220 Welcome to freebsd.isc.org. >>> USER anonymous <<< 331 Please specify the password. >>> PASS agile@rose.agile.lan <<< 500 OOPS: cannot change directory:/home/ftp fetch: ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/GD-Arrow-0.01.tar.gz: Syntax error, command unrecognized # echo $FTP_PASSIVE_MODE YES site1# ftp freebsd.isc.org Trying 204.152.184.73... Connected to freebsd.isc.org. 220 Welcome to freebsd.isc.org. Name (freebsd.isc.org:agile): anonymous 331 Please specify the password. Password: 500 OOPS: cannot change directory:/home/ftp ftp: Login failed. ftp> bye 500 OOPS: priv_sock_get_cmd There's no reason that I know of for anything on my end to be referencing /home/ftp. I get this on a Windoze system from a second site (different LAN, different WAN address, same city, same ISP): C:\>ftp freebsd.isc.org Connected to freebsd.isc.org. 220 Welcome to freebsd.isc.org. User (freebsd.isc.org:(none)): anonymous 331 Please specify the password. Password: 500 OOPS: cannot change directory:/home/ftp 500 OOPS: priv_sock_get_cmd Connection closed by remote host. And I found this blog entry dated today in which the author is seeing the same problem: http://salihsblog.blogspot.com/2011/05/freebsd-pkgadd-error-syntax-error.html (http://tinyurl.com/42g7dv5) When problems like this arise, shouldn't the FreeBSD port building mechanisms take advantage of the redundant FreeBSD mirrors to roll over to another working server? I use portmaster for port building and it terminates with this sort of output when this scenario arises: => Attempting to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/gd-2.0.35.tar.bz2 fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/gd-2.0.35.tar.bz2: Syntax error, command unrecognized => Couldn't fetch it - please try to retrieve this => port manually into /usr/ports/distfiles// and try again. *** Error code 1 Stop in /usr/ports/graphics/gd. What is the recommended way to enable portmaster to be more resilient against such failures? Carl / K0802647