EFS 1.12 bug: FTP closing while accessing remote host

Adrian Phillips (adrian.phillips@dnmi.no)
Mon, 10 Oct 94 07:57:44 +0100


Dear bug team:


Strange problem while accessing a remote host using dired. While an
operation is underway, for example, renaming a file (see below), the
FTP server closes the connection (see 421), but efs doesn't restart
the connection, so all operations after that just hang until
keyboard-quit is hit at which point closing the connection and
restarting any operations is okay.

Any clues ?

Thanks,

Adrian


Emacs  : GNU Emacs 19.27.1 (mips-sgi-irix5.2, X toolkit) of Mon Sep 19 1994 on freeze
Package: efs

efs believes that the host type of typhoon is unix.

Contents of *ftp oracle@typhoon*:
Please edit sensitive or irrelevant information.
================================================

226 Transfer complete.
ftp> ls "-dal /usr2/oracle/dbconfig/.create_problem" /tmp/efsj00084
200 PORT command successful.
150 Opening ASCII mode data connection for '/bin/ls'.
226 Transfer complete.
ftp> get /usr2/oracle/dbconfig/.sqlcrelog_klimabas /tmp/efsh00084
200 PORT command successful.
150 Opening BINARY mode data connection for '/usr2/oracle/dbconfig/.sqlcrelog_klimabas' (371898 bytes).
226 Transfer complete.
371898 bytes received in 1.15 seconds (316.02 Kbytes/s)
ftp> put /tmp/efsh00084 /usr2/oracle/dbconfig/.sqlcrelog_klimabas.1
200 PORT command successful.
150 Opening BINARY mode data connection for '/usr2/oracle/dbconfig/.sqlcrelog_klimabas.1'.
226 Transfer complete.
371898 bytes sent in 0.34 seconds (1055.28 Kbytes/s)
ftp> delete /usr2/oracle/dbconfig/.sqlcrelog_klimabas
250 DELE command successful.
ftp> ls "-dal /usr2/oracle/dbconfig/.sqlcrelog_klimabas.1" /tmp/efsh00084
200 PORT command successful.
421 Service not available, remote server has closed connection
ftp> 
Process *ftp oracle@typhoon* kill
open typhoon
Connected to typhoon.oslo.dnmi.no.
220 typhoon.oslo.dnmi.no FTP server ready.
quote user "oracle"
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> 331 Password required for oracle.
ftp> quote pass  Turtle Power!
230 User oracle logged in.
ftp> hash
Hash mark printing on (1024 bytes/hash mark).
ftp> ls "-dal /usr2/oracle/dbconfig/.sqlcrelog_klimabas.1" /tmp/efsh00084
200 PORT command successful.
150 Opening ASCII mode data connection for '/bin/ls'.
226 Transfer complete.
ftp> quote site idle
200 Current IDLE time limit is 900 seconds; max 7200
ftp> ls "-dal /usr2/oracle/dbconfig/.sqlcrelog_klimabas.1" /tmp/efsj00084

Process *ftp oracle@typhoon* kill
open typhoon
Connected to typhoon.oslo.dnmi.no.
220 typhoon.oslo.dnmi.no FTP server ready.
quote user "oracle"
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> 331 Password required for oracle.
ftp> quote pass  Turtle Power!
230 User oracle logged in.
ftp> hash
Hash mark printing on (1024 bytes/hash mark).
ftp> ls "-dal /usr2/oracle/dbconfig/.sqlcrelog_klimapro" /tmp/efsk00084
200 PORT command successful.
150 Opening ASCII mode data connection for '/bin/ls'.
226 Transfer complete.
ftp> quote site idle
200 Current IDLE time limit is 900 seconds; max 7200
ftp> ls "-al /usr2/oracle/dbconfig/." /tmp/efsk00084
200 PORT command successful.
150 Opening ASCII mode data connection for '/bin/ls'.
226 Transfer complete.
ftp> 

current state:
==============
(setq
 efs-19.23-version "1.12/1.8"
 efs-cu-version "1.12/1.7"
 efs-defun-version "1.12/1.3"
 efs-dired-version "1.12/1.25"
 efs-fnh-version "1.12/1.1"
 efs-netrc-version "1.12/1.7"
 efs-ovwrt-version "1.12/1.5"
 efs-report-version "1.12/1.7"
 efs-version "1.12/1.43"
 efs-36-bit-binary-file-name-regexp nil
 efs-anonymous-umask nil
 efs-auto-save 0
 efs-auto-save-remotely nil
 efs-backup-by-copying nil
 efs-binary-file-host-regexp nil
 efs-binary-file-name-regexp "\\.\\([zZ]\\|t?gz\\|lzh\\|arc\\|zip\\|zoo\\|ta[rz]\\|dvi\\|sit\\|ps\\|elc\\|gif\\|Z-part-..\\|tpz\\|exe\\|[jm]pg\\|TZ[a-z]?\\|lib\\)\\(~\\|~[0-9]+~\\)?$\\|\\.\\(ARC\\|ELC\\|TAGS\\|EXE\\|ZIP\\|DVI|ZOO\\|GIF\\|T?GZ\\|[JM]PG\\)\\([.#;][0-9]+\\)?$"
 efs-buffer-name-case nil
 efs-compute-remote-buffer-file-truename nil
 efs-debug-ftp-connection nil
 efs-ding-on-chmod-failure t
 efs-ding-on-umask-failure t
 efs-disable-netrc-security-check nil
 efs-expire-ftp-buffers t
 efs-ftp-buffer-expire-time nil
 efs-ftp-program-args '("-i" "-n" "-g" "-v")
 efs-ftp-prompt-regexp "^\\(ftp\\|Ftp\\|FTP\\)> *"
 efs-gateway-ftp-prompt-regexp "^\\(ftp\\|Ftp\\|FTP\\)> *"
 efs-gateway-hash-mark-size nil
 efs-gateway-incoming-binary-hm-size nil
 efs-generate-anonymous-password t
 efs-hash-mark-size 1024
 efs-high-security-hosts nil
 efs-incoming-binary-hm-size nil
 efs-local-apollo-unix nil
 efs-ls-cache-max 5
 efs-make-backup-files '(unix sysV-unix bsd-unix next-unix apollo-unix dumb-unix super-dumb-unix)
 efs-max-ftp-buffer-size 3000
 efs-maximize-idle nil
 efs-message-interval 0
 efs-nlist-cmd "ls"
 efs-nslookup-on-connect nil
 efs-nslookup-program "nslookup"
 efs-prompt-for-transfer-type nil
 efs-pty-check-retry-time 5
 efs-pty-check-threshold 1000
 efs-retry-time 5
 efs-root-umask nil
 efs-send-hash t
 efs-short-circuit-to-remote-root nil
 efs-suppress-abort-recursive-edit-and-then nil
 efs-text-file-name-regexp ".*"
 efs-treat-crlf-as-nl nil
 efs-umask nil
 efs-verbose t
 efs-verify-anonymous-modtime nil
 efs-verify-modtime-host-regexp ".*"
 efs-ftp-program-name "ftp"
 efs-ftp-program-args '("-i" "-n" "-g" "-v")
 efs-local-host-regexp ".*"
 efs-ftp-local-host-regexp ".*"
 efs-gateway-host nil
 efs-gateway-type nil
 reporter-version "2.12"
 features '(mailalias
	    sendmail
	    reporter
	    efs-report
	    tar-mode
	    env
	    man
	    assoc
	    info
	    efs-dired
	    dired-fsf
	    dired
	    shell
	    rsz-mini
	    jka-compr
	    view
	    default-dir
	    efs-19\.23
	    efs-fnh
	    passwd
	    efs-ovwrt
	    efs-cu
	    efs-netrc
	    efs-defun
	    comint
	    ring
	    backquote
	    efs
	    font-lock
	    server
	    disp-table
	    vc-hooks
	    lisp-float-type
	    lisp-mode
	    page
	    select
	    scroll-bar
	    menu-bar
	    faces
	    mouse
	    frame
	    x-toolkit
	    )
 )


-- 
-------------------------------------------------------------------------
= Adrian Phillips at            | BUT any thoughts in this are purely    =
= The Norwegian Meteorological  | my own and have nothing to do with     =
= Institute   	    	        | this establishment, thankfully.        =
= Net: adrian.phillips@dnmi.no  | Phone: 47 22 96 32 09 Fax: 47 22 96 30 50