Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Anonymous FTP on DEC OSF/1 V2.0
@ 1994-06-30 13:18 Stephen Morris
  1994-06-30 20:06 ` Mike Salehi {CIBER}
  1994-07-05 10:45 ` Gilles Rech
  0 siblings, 2 replies; 5+ messages in thread
From: Stephen Morris @ 1994-06-30 13:18 UTC (permalink / raw)


I'm having a problem setting up anonymous FTP on a DEC Alpha system running
OSF/1 V2.0.

I've set up user anonymous in /usr/ftp, and created the subdirectories pub, bin
(containing ls), etc (containing truncated passwd and group files), and sia
(containing copies of all the DEC SIA files).  When I connect to the anonymous
FTP account, the "ls" command works successfully, but "ls -l" fails:

ftp> ls -l
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls (aa.bb.cc.dd,1063).
/bin/ls: Exec format error
226 Transfer complete.
ftp>

Any ideas?

Thanks,

Stephen Morris (mors@tessella.co.uk)


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Anonymous FTP on DEC OSF/1 V2.0
  1994-06-30 13:18 Anonymous FTP on DEC OSF/1 V2.0 Stephen Morris
@ 1994-06-30 20:06 ` Mike Salehi {CIBER}
  1994-07-05 10:45 ` Gilles Rech
  1 sibling, 0 replies; 5+ messages in thread
From: Mike Salehi {CIBER} @ 1994-06-30 20:06 UTC (permalink / raw)


Copy the staticly linked ls (/sbin/ls) to ~ftp/bin/ls

Mike

In article <Cs7oyu.DFn@tessella.co.uk>, mors@tessella.co.uk (Stephen Morris) writes:
|> I'm having a problem setting up anonymous FTP on a DEC Alpha system running
|> OSF/1 V2.0.
|> 
|> I've set up user anonymous in /usr/ftp, and created the subdirectories pub, bin
|> (containing ls), etc (containing truncated passwd and group files), and sia
|> (containing copies of all the DEC SIA files).  When I connect to the anonymous
|> FTP account, the "ls" command works successfully, but "ls -l" fails:
|> 
|> ftp> ls -l
|> 200 PORT command successful.
|> 150 Opening ASCII mode data connection for /bin/ls (aa.bb.cc.dd,1063).
|> /bin/ls: Exec format error
|> 226 Transfer complete.
|> ftp>
|> 
|> Any ideas?
|> 
|> Thanks,
|> 
|> Stephen Morris (mors@tessella.co.uk)


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Anonymous FTP on DEC OSF/1 V2.0
  1994-06-30 13:18 Anonymous FTP on DEC OSF/1 V2.0 Stephen Morris
  1994-06-30 20:06 ` Mike Salehi {CIBER}
@ 1994-07-05 10:45 ` Gilles Rech
  1994-07-06 12:22   ` Andy Phillips
  1994-07-06 17:10   ` Stephen Morris
  1 sibling, 2 replies; 5+ messages in thread
From: Gilles Rech @ 1994-07-05 10:45 UTC (permalink / raw)


Stephen Morris (mors@tessella.co.uk) wrote:
> I'm having a problem setting up anonymous FTP on a DEC Alpha system running
> OSF/1 V2.0.

> I've set up user anonymous in /usr/ftp, and created the subdirectories pub, bin
> (containing ls), etc (containing truncated passwd and group files), and sia
> (containing copies of all the DEC SIA files).  When I connect to the anonymous
> FTP account, the "ls" command works successfully, but "ls -l" fails:

	1. copy /sbin/loader onto /usr/ftp/sbin/loader
	2. copy /usr/shlib/libc.so onto /usr/ftp/usr/shlib/libc.so

	If you intend to run wu-ftpd , add the necessary binaries for 
	on-the-fly conversions (GNU tar, gzip, compress, gztoZ) onto
	/usr/ftp/bin or onto /usr/ftp/sbin and add the shared libraries
	they need onto /usr/ftp/usr/shlib ( 'odump -Dl executable' to see
	what they need).
	Then copy your local time zone from /etc/zoneinfo onto /ftp/etc/zoneinfo
	in order to get the right local time zone in welcome banner. E.g.,

36 [12:36] gilles@myhost:/ftp> ls -l /ftp/etc/zoneinfo
-rw-r--r--   1 root     anonftp      588 Jun  6 10:11 MET
lrwxrwxrwx   1 root     anonftp        3 Jun  6 10:13 localtime -> MET

	Sincerely,
--
		Gilles Rech.
		C.I.S.M., Universite Claude Bernard Lyon I & INSA Lyon, France.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Anonymous FTP on DEC OSF/1 V2.0
  1994-07-05 10:45 ` Gilles Rech
@ 1994-07-06 12:22   ` Andy Phillips
  1994-07-06 17:10   ` Stephen Morris
  1 sibling, 0 replies; 5+ messages in thread
From: Andy Phillips @ 1994-07-06 12:22 UTC (permalink / raw)


gilles@cismhp.univ-lyon1.fr (Gilles Rech) writes:

>Stephen Morris (mors@tessella.co.uk) wrote:
>> I'm having a problem setting up anonymous FTP on a DEC Alpha system running
>> OSF/1 V2.0.
>> FTP account, the "ls" command works successfully, but "ls -l" fails:
>	1. copy /sbin/loader onto /usr/ftp/sbin/loader
>	2. copy /usr/shlib/libc.so onto /usr/ftp/usr/shlib/libc.so

   or just copy /sbin/ls into ~ftp/bin like it says in the man page for
   ftpd (osf/1 vn 1.3). As this is statically linked there is no need to
   have any dynamic libraries floating around. (oh, and take a note of 
   /sbin/ls's checksum too,)
   
   	andy
	
--
atp@mssly1.mssl.ucl.ac.uk 		  	  Andy Phillips
atp@mssl.ucl.ac.uk 			Mullard Space Science Laboratory, 
phillips@isass1.solar.isas.ac.jp	 Dept. Space and Climate Physics, 
19709::atp				    University College London. 


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Anonymous FTP on DEC OSF/1 V2.0
  1994-07-05 10:45 ` Gilles Rech
  1994-07-06 12:22   ` Andy Phillips
@ 1994-07-06 17:10   ` Stephen Morris
  1 sibling, 0 replies; 5+ messages in thread
From: Stephen Morris @ 1994-07-06 17:10 UTC (permalink / raw)


Many thanks to all who replied.  The simplest solution was to use the
statically linked version of ls (/sbin/ls, as opposed to /bin/ls) in the
~ftp/bin directory.

Stephen Morris
mors@tessella.co.uk



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1994-07-06 17:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-06-30 13:18 Anonymous FTP on DEC OSF/1 V2.0 Stephen Morris
1994-06-30 20:06 ` Mike Salehi {CIBER}
1994-07-05 10:45 ` Gilles Rech
1994-07-06 12:22   ` Andy Phillips
1994-07-06 17:10   ` Stephen Morris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox