Re: Problem with rsh from AIX to linux.
From: Hemant Shah (shah_at_typhoon.xnet.com)
Date: 05/18/04
- Next message: Norman Black: "Re: Porting to AIX. unaligned memory access correction"
- Previous message: Bob Mariotti: "AIX "backup" usage question???"
- In reply to: Villy Kruse: "Re: Problem with rsh from AIX to linux."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 18 May 2004 19:17:51 +0000 (UTC)
While stranded on information super highway Villy Kruse wrote:
> On Mon, 17 May 2004 20:47:50 +0000 (UTC),
> Hemant Shah <shah@typhoon.xnet.com> wrote:
>
>
>>> I think you are missing some parahtneses correct syntax should be as follows:
>>>
>>> /usr/local/bin/gtar -czf - | rsh linuxsys -a "(cd /tmp;tar -xzf -)"
>>
>> Oops, I copied and pated wrong command. I was using "(" and ")" around the
>> commands.
>>
>
> And what did you actualy use. In my experience, the parenteses are not
> important, but the quotes are. Also it is a good habit IMHO to replace the
I used following command:
/usr/local/bin/gtar -czf - | rsh linuxsys -a "(cd /tmp;tar -xzf -)"
> semicolon with && so the line would read:
>
> /usr/local/bin/gtar -czf - | rsh linuxsys -a 'cd /tmp && tar -xzf -'
Thanks for the pointer, I will use && from now on.
>
> That would prevent an embarasment if the cd command failed. In other
> words, tar is only run if cd was successful. By the way, what does the '-a'
> do?
>
> Villy
Here is more info.
System A ==> AIX 5.1 system that is having problem with rsh.
System B ==> Linux (2.4.18-27.8.0) system that is the target for the rsh
command.
System C ==> Any other AIX (4.3.3, 5.1, 5.2)/Linux (Redhat 6, 7 and 9)
system.
I can run rsh from A to C without any problem.
I can run rsh from C to B without any problem.
I am having problem with rsh from A to B.
Systems A and C are in U.S. and system B is in our office in phillipines
connected for dedicated T1 line.
I have another AIX 5,1 system that is at the identical patch level as
system A and I can rsh from that system to the system C.
--
Hemant Shah /"\ ASCII ribbon campaign
E-mail: NoJunkMailshah@xnet.com \ / ---------------------
X against HTML mail
TO REPLY, REMOVE NoJunkMail / \ and postings
FROM MY E-MAIL ADDRESS.
-----------------[DO NOT SEND UNSOLICITED BULK E-MAIL]------------------
I haven't lost my mind, Above opinions are mine only.
it's backed up on tape somewhere. Others can have their own.
- Next message: Norman Black: "Re: Porting to AIX. unaligned memory access correction"
- Previous message: Bob Mariotti: "AIX "backup" usage question???"
- In reply to: Villy Kruse: "Re: Problem with rsh from AIX to linux."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|