Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: eggert@twinsun.com (Paul Eggert)
Subject: Re: problem with GNU tar
Date: 1997/12/09	[thread overview]
Message-ID: <66l4bq$bb4$1@shade.twinsun.com> (raw)
In-Reply-To: 66khr9$3io$1@dove.qut.edu.au


s.imber@qut.edu.au (Steve Imber) writes:

>I attempting to use gnu tar for remote backups to a tape host.
>Gnu tar will support "user@hostname:/dev/tapedevice" as a
>valid file to write the archive to.  I have set up the "r" commands
>to work. The tape host is a DEC alpha (DEC Unix 4.0C).

>When I use gnu tar from a linux box the dump proceeds smoothly
>but when I use tar from a SCO box,

Which tar?  SCO tar or GNU tar?

Do you have GNU tar rmt running on the DEC alpha,
or are you using the DEC alpha rmt?

>the tape hosts wants a name and password  for the tar command.

>When I try to run this from a script, I get this in the daemon.log file

>Dec  9 17:09:07 donald rexecd[16673]:  REXECD FAILURE:SIA init
>Dec  9 18:05:59 donald rexecd[16885]:  REXECD FAILURE:SIA init

Which machine is donald?

You don't give much detail, but I'd guess that you configured GNU tar
incorrectly on your SCO box, and pointed it at the wrong rsh, so that
it thinks rsh doesn't work and falls back on rexec instead.  rexec is
generally a bad idea on most hosts (though I don't know SCO well --
perhaps it's the only thing that works there -- you may need to consult
a local guru on this).

What's the absolute path name of rsh on your SCO box?
Be careful that you have the correct 'rsh' -- you want
the remote shell, not the restricted shell.
Look for REMOTE_SHELL in the makefiles, and make sure it's correct.
Also, make sure that HAVE_NETDB_H is not defined in the .h files.


>When I try a command using a rsh from the remote SCO host, no problem,
>the command proceeds.

Does it work if you rsh as root?  Some rmt's require this.



  parent reply	other threads:[~1997-12-09  5:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-12-09  5:00 problem with GNU tar Steve Imber
1997-12-09  5:00 ` Nick Maclaren
1997-12-10  5:00   ` Alexey Pushkin
1997-12-16  5:00   ` Jonathan Thornburg
1997-12-16  5:00     ` Nick Maclaren
1997-12-09  5:00 ` Paul Eggert [this message]
1997-12-11  5:00   ` Walter Harms
1997-12-11  5:00     ` Paul Eggert
1997-12-15  5:00   ` dkeisen
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox