From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f72b0,f68bc93bda5b0c46 X-Google-Attributes: gidf72b0,public X-Google-Thread: fe1d2,f68bc93bda5b0c46 X-Google-Attributes: gidfe1d2,public X-Google-Thread: 1025b4,f68bc93bda5b0c46 X-Google-Attributes: gid1025b4,public X-Google-Thread: 1020c6,f68bc93bda5b0c46 X-Google-Attributes: gid1020c6,public X-Google-Thread: fee84,f68bc93bda5b0c46 X-Google-Attributes: gidfee84,public From: "Walter Harms" Subject: Re: problem with GNU tar Date: 1997/12/11 Message-ID: <66p1ed$5o7@news.Informatik.Uni-Oldenburg.DE>#1/1 X-Deja-AN: 297251078 References: <66khr9$3io$1@dove.qut.edu.au> <66l4bq$bb4$1@shade.twinsun.com> Organization: C. v. Ossietzky Universitaet Oldenburg - Fachbereich Informatik Keywords: GNU,tar,remote dumps Newsgroups: comp.unix.osf.osf1,gnu.misc.discuss,comp.unix.misc,comp.unix.admin,comp.unix.sco.misc eggert@twinsun.com (Paul Eggert) writes: >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. the problem is SCO i have used tar from someplattforms but for some odd reason it breaks on SCO. I traced it down to a read() statement but had no idea what caused the problem. the system documentation doesnt give any clue. walter -- ----- "This is not my planet, I didn't choose to be here, I don't want to get involved, just get me out of here, and get me to a party with people I can relate to!" -----