SUMMARY: failed dump

From: Erik M. Bataller (
Date: Wed Jan 13 1993 - 02:49:53 CST

On: Date: Wed, 6 Jan 93 08:55:59 CST
In: Message-Id: <>

I wrote:

                I am doing an rdump and it fails. Below is the
        output from my dump. Does anyone have any ideas?
        Thanks in advance. I`ll post a summary ASAP.
          DUMP: Date of this level 0 dump: Wed Jan 6 08:50:01 1993
          DUMP: Date of last level 0 dump: the epoch
          DUMP: Dumping /dev/rsd0a (/) to /dev/nrst8 on host zeus
          DUMP: mapping (Pass I) [regular files]
          DUMP: mapping (Pass II) [directories]
          DUMP: estimated 8232 blocks (4.02MB) on 0.00 tape(s).
          DUMP: Protocol to remote tape server botched (in rmtgets).
        rdump: Lost connection to remote host.
          DUMP: Bad return code from dump: 1

Many users responded and the problem was quickly solved. I had been
sending output to stdout (or stderr I believe) which causes rdump
to choke when it is being run. It isn't expecting any output.
For instance, an echo statement in the .cshrc will cause a remote dump
to lose its connection. I assume that this means that various things
will choke when run remotely vis a' vis rsh.

Hence, I would suggest the line( or something like it ):

        csh: if ( ! $?USERS || ! $?PROMPT ) exit
        English: if the variable USERS or PROMPT are NOT set
                 then EXIT.

at the beginning of .cshrc files. This will ensure that if the session/
shell is a remotely run command, the .cshrc will terminate before it sends
anything to stdout or stderr.

Any further information/corrections about this issue can be forwarded to
me and I will gladly update my summary.

Thank you to all those who help:

 Tom Conroy <trc@NSD.3Com.COM>
 Fuat Baran <> (Michael G. Harrington)
 Tom Reingold <!tommy>
 Daniel Quinlan <danq@lemond.Colorado.EDU> (Mark Plotnick) (]ke Sandgren) (Steve Campbell) (Gerald Justice)
 "Marc P. Rinfret" <>
 Geert Jan de Groot <> (Richard J. Niziak) (Arch Hughes)
 Ted Rodriguez-Bell <ted@ssl.Berkeley.EDU> (Ralph Tietje) (Matthew Donaldson)
 Adrian Booth <>
 Mike Raffety <> (Ronald G Minnich)
 "Patrick M. Landry" <> (Don Lewis) (Micky Liu) (Thomas Esquina) (Rick Pluta)
 Margaret Mikulska <mikulska@crux.Princeton.EDU>
 trdlnk!mike@uunet.UU.NET (Michael Sullivan)
 dowjone!jcsadmin!jc@uunet.UU.NET (John Ciesla)
 cyrix!vixen!brian@texsun.Central.Sun.COM (Brian Holgate)
 ups!basil!pauline@fourx.Aus.Sun.COM (Pauline van Winsen)

!! Erik M. Bataller | Phone: (414) 424-0347 | Univ. of Wi., Osh Kosh
!! Academic Computing Services | 800 Algoma Blvd., 307 Dempsey,
!! Osh Kosh, Wi. 54901-8602 | Internet:
!! Bitnet: Bataller@oshkoshw.bitnet

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:07:21 CDT