From owner-freebsd-questions Wed Apr 9 06:05:56 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA18149 for questions-outgoing; Wed, 9 Apr 1997 06:05:56 -0700 (PDT) Received: from itsdsv1.enc.edu (itsdsv1.enc.edu [207.95.42.241]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA18143 for ; Wed, 9 Apr 1997 06:05:52 -0700 (PDT) Received: from dingo.its.enc.edu (dingo.its.enc.edu [207.95.222.250]) by itsdsv1.enc.edu (8.7.5/8.7.3) with SMTP id JAA21769; Wed, 9 Apr 1997 09:08:52 -0400 (EDT) Date: Wed, 9 Apr 1997 09:13:42 -0400 (EDT) From: Charles Owens X-Sender: owensc@dingo.its.enc.edu To: Doug White cc: questions list FreeBSD Subject: Re: dump produces setsockopt error. Why? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 8 Apr 1997, Doug White wrote: > On Tue, 8 Apr 1997, Charles Owens wrote: > > > Hi, > > > > Sometimes, but not always, when using dump to do a backup between to > > FreeBSD boxes I get the error > > > > itsdsv3.enc.edu: Connection refused > > TCP_MAXSEG setsockopt: Bad file descriptor > > > > (itsdsv3 is the remote host, of course) > > > > Any ideas as to what's causing this? Both hosts are running 2.1-stable > > (just slightly pre-2.1.5-RELEASE... yes, I know, I need to upgrade). > > You need to tell itsdsv3 to accept rsh connections. > > Doug White | University of Oregon > Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant > http://gladstone.uoregon.edu/~dwhite | Computer Science Major This is true, but I've already done this. On itsdsv3 I have a dummy user set up that has write permission to the tape drive device. In this dummy user's home dir I have a .rhost file with entries of the sort: otherhost1.enc.edu root ...so root on otherhost1 can run dump u.... dummy_user@itsdsv3:/dev/nrst0 ... I have these dumps being invoked from a script. The script does this: 1. uses mt to rewind remote tape 2. uses mt to possibly skip forward x number of file marks 3. invokes dump several times to backup various local file systems Until recently, it worked fine, every time. Lately, however, I've been getting a "connection refused" error with step 2 or with the first dump invocation in step 3. If the latter, then the first partition dump is aborted but _all_other_ dumps complete without error!!! I'm a bit puzzled... Thanks for the reply. --- ------------------------------------------------------------------------- Charles N. Owens Email: owensc@enc.edu http://www.enc.edu/~owensc Network & Systems Administrator Information Technology Services "Outside of a dog, a book is a man's Eastern Nazarene College best friend. Inside of a dog it's too dark to read." - Groucho Marx -------------------------------------------------------------------------