New Ranks & Badges For The Community!
Notice something different? The ranks and associated badges have gone "Star Fleet". See what they all mean HERE
Highlighted
Absent Member.. Absent Member..
Absent Member..
290 views

PPM 9.10 Object Migrator: waiting for something to read…

After setting up a new environment I get this error during the environment check:
waiting for something to read…
waiting for something to read…
waiting for something to read…
waiting for something to read…
etc.
But if I change nothing, but keep trying the check eventually succeeds. And subsequent checks and migrations succeed.


I have also seen the same error during migration using command ksc_connect_dest_server.

 

Has anyone seen this? HP support has not been able to help.

 

Here is a snippet from the migration log:

 

KSC Connect

Source Command:Connect

Protocol:        com.kintana.core.net.SSH2Client
Host:            mdrqatebsal1.d-rco.com
Username:        oracle
Stream Encoding: UTF-8

[2012/05/29 14:47:59 -0600] LOGON_ATTEMPT oracle@mdrqatebsal1.d-rco.com:22
SSH version received from remote host: SSH-2.0-OpenSSH_4.3
SSH version sent to remote host: SSH-2.0-1.0 Kintana SSH client
Initiating key exchange.
Succeeded in key exchange.
Authenticating user.
Succeeded in authenticating user.
Opening channel.
Attempting to negotiate the terminal type.
Sent a PTY request with terminal type dumb.
Succeeded opening channel.
Issuing test commands to test the readiness of the remote host to receive commands.
Sending command: echo 'TEST_SESSION_RESPONSE'; echo KSC_EXIT_STATUS $? 1
waiting for something to read...

SSH-2.0-OpenSSH_4.3
Last login: Tue May 29 22:14:34 2012 from mdrprdmrcdl2.d-rco.com
echo 'TEST_SESSION_RESPONSE'; echo KSC_EXIT_STATUS $? echo 'TEST_SESSION_RESPONSE'; echo KSC_EXIT_STATUS $?

waiting for something to read...

1
[oracle@mdrqatebsal1 ~]$ [oracle@mdrqatebsal1 ~]$

waiting for something to read...
waiting for something to read...
waiting for something to read...
waiting for something to read...
waiting for something to read...
waiting for something to read...
<snip>
waiting for something to read...

 

Closing SSH2 Session


Command(s) timed out...

Reading available session output.
Session output processed:


SSH-2.0-OpenSSH_4.3
Last login: Tue May 29 22:14:34 2012 from mdrprdmrcdl2.d-rco.com
echo 'TEST_SESSION_RESPONSE'; echo KSC_EXIT_STATUS $?
1
[oracle@mdrqatebsal1 ~]$


(KNTA-10896)
Stream closed.
 

 

 

0 Likes
9 Replies
Highlighted
Vice Admiral Vice Admiral
Vice Admiral

Hi Mandragoran,

 

What version of PPM are you using? What is the OS?

Please try the following:

 

1) SSH from command line to this server. Does it work?

 

2) Add the following settings to your .bash_profile:

 

export JAVA_HOME=<JAVA_HOME_HERE>

export PATH=$JAVA_HOME/bin:$PATH

export TERM=vt100

export PS1=‘$ ‘

export  TMOUT=600               

stty cols 999

 

The "PS1" setting will avoid the possibly having an issue of exceeding command line length restrictions.
The "stty cols 999" will avoid the appearance of an exact command length failure.
The "TERM" type must be one of the supported types dumb or vt100.

 

I hope this helps.

 

Best regards,

 

Nikola


Micro Focus Customer Support

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Mandragoran,

This seems to be an issue that is being experienced by a lot of users since 9.1 upgrade.

Please refer to http://h30499.www3.hp.com/t5/Project-and-Portfolio-Management/ksc-simple-respond-times-out-after-50-seconds-with-PPM-9-12/td-p/5623171  on regular forum which suggests to:     add "$" "echo $" at the end of your command  line

 

This has been helpful for my case.

 

Thanks.

-Raj

0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Never mind .. looks like you have already Noticed that post 🙂  Sorry.

0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

This problem is showing up again intermittantly.

It's probably the same issue you pointed out, but I can't fix it by adding "$ echo $" at the end because it's failing on:  ksc_connect_dest_server. not ksc_simple_respond.

FRUSTRATING!

0 Likes
Highlighted
Absent Member.
Absent Member.

Hi Mandragoran,

Do you try to connect win to unix/linux system (or reverse) ?
Celil

IT Governance Professional
& PPM Solution Architect
0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

I am connecting Linux to Linux
The only thing the support tach has already had me add the following to the bash profile, and it didn't help:
export TERM=vt100
export PS1='$ '
stty cols 999

0 Likes
Highlighted
Absent Member.
Absent Member.

* Did you apply these settings both linux system bash file?
* Can you connect to other one via ssh using a ssh tool (not using PPM) ?
Celil

IT Governance Professional
& PPM Solution Architect
0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Yes. I applied them to the bash profile of the PPM server, and the target host one at a time, then both at the same time. Same error is occurring.

I connect with ssh to both hosts, and from one to another all the time, and have never had a problem with putty.exe, and with the command line ssh built into redhat linux.
0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

In case anyone else is troubleshooting this issue, here is what fixed it for me:

My host provider was logging all activity with this block in .bash_profile:

 

if [ -t 1 ]
then
   script -q -a /var/tmp/Hist/$LOGNAME.$$.script.`date +%T`
   exit
fi

 

I commented it out, and my problem went away.

 

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.