About rsh command messages executed from TWS (Full Version)

All Forums >> [SFU / Interix / SUA Technology] >> SFU / Interix - Getting Started



Message


furusun -> About rsh command messages executed from TWS (Sep. 29, '06, 7:40:07 PM)

Thank you for your quick reply.

I use SFU3.5 on Windows Server 2003 SP1.
rshd is made effective on Windows(SFU), and a remote command is executed from AIX for Windows(SFU).

There is no problem when the following command is executed with ksh of AIX.

# rsh sfu35host tar -xvf filename.tar
file_A.txt
file_B.txt
file_C.txt
tar: ustar vol 1, 4 files, 10240 bytes read, 0 bytes written.

When the same rsh command is executed from IBM Tivoli Workload Scheduler as a job of AIX, the last message of four lines is not displayed.
Because the tar file is normally extracted, the command is executed.

The following command was executed as a job of AIX in the same environment for the confirmation.

# rsh sfu35host env

The message is not displayed at all.

Please teach when you know the cause and the workaround.




Rodney -> RE: About rsh command messages executed from TWS (Sep. 30, '06, 5:43:47 AM)

It is possible that the connection is getting closed before the last line
is read from the local buffer for the tar extraction. That is, it
gets flushed when the close is detected.
But it seems odd that none of the env output would be seen at all.

What happens if you couple the command with a sleep ? :
# rsh sfu35host "env ; sleep 2"




furusun -> RE: About rsh command messages executed from TWS (Oct. 1, '06, 11:02:39 PM)

> What happens if you couple the command with a sleep ? :
> # rsh sfu35host "env ; sleep 2"

The messages was not displayed though it tried.

When the command was executed with AIX as job, the message was normally displayed.

# rsh aixhost env




Rodney -> RE: About rsh command messages executed from TWS (Oct. 1, '06, 11:41:44 PM)

The rlogin and rsh commands work with the same setup.
So let's see what happens when you connect with rlogin from the
AIX machine to the Interix machine. This will help scope the problem.
So, when you do "rlogin sfu35host" does it connect fine, and can you
enter commands and see the results?




furusun -> RE: About rsh command messages executed from TWS (Oct. 2, '06, 4:29:21 AM)

Because security is severe, I cannot connect with rlogin from the AIX machine to the Interix machine(SFU of Windows Server 2003).
I can connect with rlogin to the may Interix machine(SFU3.5 of WindowsXP). It connected fine, and the result of the command can be displayed.




Rodney -> RE: About rsh command messages executed from TWS (Oct. 3, '06, 10:37:03 AM)

Okay. So you can connect with rlogin successfully from the machine
sfu35host to itself, right?
Now can you successfully do the "rsh localhost env" with sfu35host?
(I'm trying to see if the problem is the AIX machine)




Page: [1]



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.016