Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] Set up ControlChannel may causes the connection to remote host hangs up

Sure we can install bash on AIX, but it is not part of the standard AIX 
code, so I think a "long term solution" is really needed. Thanks.
---
Luc Smolders
STSM, STG Performance Tools         (507) 253-2537
IBM Systems and Technology Group smolders@xxxxxxxxxx 

AIX internal tools are at http://aixptools.austin.ibm.com/perf/html
Visual Performance Analyzer is at http://www.alphaworks.ibm.com/tech/vpa
Internal version of VPA is at http://cs.opensource.ibm.com/projects/vpa
Cell tools are at: 
http://aixptools.austin.ibm.com/perf/w3_tools/cell_tools/



Daniel Felix Ferber <dfferber@xxxxxxxxxxxxxxxxxx> 
Sent by: ptp-dev-bounces@xxxxxxxxxxx
11/19/2008 09:43 AM
Please respond to
Parallel Tools Platform general developers <ptp-dev@xxxxxxxxxxx>


To
Parallel Tools Platform general developers <ptp-dev@xxxxxxxxxxx>
cc

Subject
Re: [ptp-dev] Set up ControlChannel may causes the connection to remote 
host hangs up






The Control channel is required because Open SSH server does not support 
sending signals to remote processes running on the SSH connection. 
Therefore, another bash session is used to retrieve the PID of each 
process started by Remote Tools and also used to run the 'kill' command in 
order to send signals when needed.
Is it possible to implement something similar with ksh? For a long term 
solution, it seems that the Remote Tools connection parameters should also 
have an 'environment' parameter that describe which remote interpreter is 
being used, and which commands and features are available.
Or is it possible to install bash into a AIX machine?

Best regards,
Daniel Felix Ferber

Hong Chang Lin schrieb: 
Hi,

In codes of PTP 2.1 final release, for creating a connection to remote 
host, a ControlChannel is set up. In which, a exec chanel with command 
"/bin/bash" is created. 
This code logic locates in line 68 in class ControlChannel

For AIX system, the default shell is ksh, no bash is installed. So when 
connecting to a remote AIX, the command "/bin/bash" is failed and no 
terminal path is allocated to the control panel, then it falls in a 
end-less loop. This code is in line 99 in class ControlChannel

This causes the UI hangs up there, and user get nothing indication. 

Is it possible to fix this problem?



Regards,
Hongchang Lin
------


_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev
 
_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev




Back to the top