From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d10d4a9b772c4735 X-Google-Attributes: gidfee84,public From: neal@grover.stat.washington.edu (Phil Neal) Subject: Re: Setting up ftp -- wierd behavior-- help ! Date: 1995/07/28 Message-ID: <3vbs48$hme@nntp5.u.washington.edu>#1/1 X-Deja-AN: 107033287 references: <3vbarl$57t@nntp5.u.washington.edu> organization: U. Washington Dept. of Statistics nntp-posting-user: neal newsgroups: comp.unix.osf.osf1 Dear OSF types, The solution was supplied by Andrew Gallatin . Many thanks Andrew. I had copied over /bin/ls rather than /sbin/ls. /sbin/ls is statically linked. Thus, it works under the chroot ftp directory. Phil Phil Neal (neal@trieste.stat.washington.edu) wrote: : Dear DEC OSF types, : I am setting up an ftp server on my DEC alpha 3000/800 running : OSF/1 version 2.0. : I get this when I try to ls: : > shoubuliao 48% ftp ftp.stat.washington.edu : > Connected to trieste.stat.washington.edu. : > 220 trieste FTP server (OSF/1 Version 5.60) ready. : > Name (ftp.stat.washington.edu:neal): anonymous : > 331 Guest login ok, send ident as password. : > Password: : > 230 Guest login ok, access restrictions apply. : > Remote system type is UNIX. : > Using binary mode to transfer files. : > ftp> ls : > 200 PORT command successful. : > 150 Opening ASCII mode data connection for /bin/ls (128.95.17.173,27206). : > /bin/ls: Exec format error : > 226 Transfer complete. : > ftp> : However, when I "ftp 0" on trieste, the ls works just fine. : Any help would be appreciated. : Thanks, : Phil : -- : ---------------------------------------------------------------- : Phil Neal, Systems Programmer, Statistics Department GN-22 : University of Washington, Seattle, Wa. 98195 USA : voice: 206 685 1627 fax: 206 685 7419 : http://www.stat.washington.edu/phil/ : ---------------------------------------------------------------- : "He's dead Jim. You take the tricorder,I'll get his wallet" -- ---------------------------------------------------------------- Phil Neal, Systems Programmer, Statistics Department GN-22 University of Washington, Seattle, Wa. 98195 USA voice: 206 685 1627 fax: 206 685 7419 http://www.stat.washington.edu/phil/ ---------------------------------------------------------------- "He's dead Jim. You take the tricorder,I'll get his wallet"