SUMMARY: Backups on Solaris 2.3

From: Scott Sherrill (slsherri@mtu.edu)
Date: Wed Aug 03 1994 - 08:32:24 CDT


I most humbly apologize for wasting bandwidth on this post. It was pointed
out to me that the answer to my question lies in the sun-managers FAQ
section 10.1.

Thanks to those that did reply.

>
> You need to read the Sun Managers Frequently Asked Questions in this
> list before mailing too! :-)
>
> The following questions and answer addresses your problem exactly:
>
> 10. Miscellaneous Software
>
> Subject: 10.1) My rdump is failing with a "Protocol botched" message.
> What do I do?
>
> The problem produces output like the following:
>
> 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 foo
> 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
>
> This occurs when something in .cshrc on the remote machine prints
> something to stdout or stderr (eg. stty, echo). The rdump command
> doesn't expect this, and chokes. Other commands which use the rsh
> protocol (eg. rdist, rtar) may also be affected.
>
> The way to get around this is to add the following line near the
> beginning of .cshrc, before any command that might send something
> to stdout or stderr:
>
> if ( ! $?prompt ) exit
>
> This causes .cshrc to exit when prompt isn't set, which distinguishes
> between remote commands (eg. rdump, rsh) where these variables are not
> set, and interactive sessions (eg. rlogin) where they are.
>

-- 
 __^__                                                             __^__
( ___ )-----------------------------------------------------------( ___ )
 | / |                    Scott L. Sherrill                        | \ |
 | / |          System Administrator Walker Building               | \ |
 | / |    Michigan Technological University, Houghton, MI 49931    | \ |
 | / |        Phone: (906)487-3434       Fax: (906)487-3347        | \ |
 |___|                                                             |___|
(_____)------------------Email:slsherri@mtu.edu-------------------(_____)



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