Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

All Forums Register Login Search Subscriptions My Profile Inbox
Tool Warehouse FAQs Resources Help Member List Address Book Logout

About rsh command messages executed from TWS

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> SFU / Interix - Getting Started >> About rsh command messages executed from TWS Page: [1]
Login
Message << Older Topic   Newer Topic >>
About rsh command messages executed from TWS - Sep. 29, '06, 7:40:07 PM   
furusun

 

Posts: 4
Joined: Jan. 27, '06,
Status: offline
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.
Post #: 1
RE: About rsh command messages executed from TWS - Sep. 30, '06, 5:43:47 AM   
Rodney

 

Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
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"

(in reply to furusun)
Post #: 2
RE: About rsh command messages executed from TWS - Oct. 1, '06, 11:02:39 PM   
furusun

 

Posts: 4
Joined: Jan. 27, '06,
Status: offline
> 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

(in reply to Rodney)
Post #: 3
RE: About rsh command messages executed from TWS - Oct. 1, '06, 11:41:44 PM   
Rodney

 

Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
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?

(in reply to furusun)
Post #: 4
RE: About rsh command messages executed from TWS - Oct. 2, '06, 4:29:21 AM   
furusun

 

Posts: 4
Joined: Jan. 27, '06,
Status: offline
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.

(in reply to Rodney)
Post #: 5
RE: About rsh command messages executed from TWS - Oct. 3, '06, 10:37:03 AM   
Rodney

 

Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
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)

(in reply to furusun)
Post #: 6
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> SFU / Interix - Getting Started >> About rsh command messages executed from TWS Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.047