On:  Date: Wed, 6 Jan 93 08:55:59 CST
In:  Message-Id: <9301061455.AA05313@sol.acs.uwosh.edu>
I wrote:
        Hello,
                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.
        
        Erik
        
          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 <fuat@ans.net>
 mgh@bihobl2.bih.harvard.edu (Michael G. Harrington)
 tommy@boole.att.com
 Tom Reingold <boole.att.com!tommy>
 Daniel Quinlan <danq@lemond.Colorado.EDU>
 mp@allegra.att.com (Mark Plotnick)
 Ake.Sandgren@cs.umu.se (]ke Sandgren)
 steve@avalon.dartmouth.edu (Steve Campbell)
 justice@dao.nrc.ca (Gerald Justice)
 "Marc P. Rinfret" <Marc.Rinfret@eng.canadair.ca>
 Geert Jan de Groot <geertj@ica.philips.nl>
 rickn@copley.com (Richard J. Niziak)
 ahughes@arch386.hyperdesk.com (Arch Hughes)
 Ted Rodriguez-Bell <ted@ssl.Berkeley.EDU>
 tietje@nynexst.com (Ralph Tietje)
 matthew@cs.adelaide.edu.au (Matthew Donaldson)
 Adrian Booth <abcc@dialix.oz.au>
 Mike Raffety <miker@il.us.swissbank.com>
 Perry_Hutchison.Portland@xerox.com
 rminnich@metropolis.super.org (Ronald G Minnich)
 higgins@math.niu.edu
 "Patrick M. Landry" <pml@cacs.usl.edu>
 gdonl@ssi1.com (Don Lewis)
 micky@ejv.com (Micky Liu)
 tesquina@ida.org (Thomas Esquina)
 pluta@cgc9.eda.mke.ab.com (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: Bataller@sol.acs.uwosh.edu 
!!  Bitnet: Bataller@oshkoshw.bitnet
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:07:21 CDT