Issue with Telnet Check on the PPM Server - Windows 2008 R2 (2208 Views)
Reply
Trusted Contributor
Surendra Poosarla
Posts: 72
Registered: ‎03-31-2008
Message 1 of 20 (2,208 Views)

Issue with Telnet Check on the PPM Server - Windows 2008 R2

Hi,

 

I am getting the following error while configring environment for the Kintana Servers. The FTP works but the telnet fails with the following message. We are on 2008 R2.

 

An error occured while executing the Environment Check commands. This may be due to incorrect or unsupported Environment settings; please review the log and make necessary adjustments. (KNTA-11064)  Execution Log
 

KSC Connect

Source Command:Env Check: Shell connection to Env server

Protocol:        com.kintana.core.net.TelnetClient
Host:            SVUSPHXHPPPM1
Username:        kintanaftp
NT Domain:       svusphxhpppm1
Stream Encoding: US-ASCII
Attempting to negotiate the terminal type.
Received: DO Terminal Type
Sent: WILL Terminal Type
Microsoft Telnet Server detected
Welcome to Microsoft Telnet Service
login:[2011/09/30 10:49:27 -0700] LOGON_ATTEMPT svusphxhpppm1\kintanaftp@SVUSPHXHPPPM1:23
 svusphxhpppm1\kintanaftp
password:Received: SB Terminal Type ...
Received: SE
Sent: SB Terminal Type 'dumb' SE
Received: SB Terminal Type ...
Received: SE
Sent: SB Terminal Type 'dumb' SE
 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...
echo 'TEST_SESSION_RESPONSE'; echo KSC_EXIT_STATUS $? 1
-login-4.1$ line: echo 'TEST_SESSION_RESPONSE'; echo KSC_EXIT_STATUS $? 1
Doesn't contain a valid attempt number and exit status.
Sending command: echo 'TEST_SESSION_RESPONSE'; echo KSC_EXIT_STATUS $? 2
waiting for something to read...
echo 'TEST_SESSION_RESPONSE'; echo KSC_EXIT_STATUS $? 2
Closing telnet session.

Command(s) timed out...
Reading available session output.
Session output processed:  svusphxhpppm1\kintanaftp
echo 'TEST_SESSION_RESPONSE'; echo KSC_EXIT_STATUS $? 1


echo 'TEST_SESSION_RESPONSE'; echo KSC_EXIT_STATUS $? 2
  (KNTA-10896)

Honored Contributor
Celil
Posts: 548
Registered: ‎03-17-2011
Message 2 of 20 (2,199 Views)

Re: Issue with Telnet Check on the PPM Server - Windows 2008 R2

Hi Surendra,

 

I couldn't understand what was done. Could you try to connect from PPM server to remote system by telnet by yourself. You can see what is going wrong clearly.

 

 

Celil

IT Governance Professional
& PPM Solution Architect
director@ppmdiary.com
director@isframeworks.com
Trusted Contributor
Kerim KILIC
Posts: 162
Registered: ‎04-01-2011
Message 3 of 20 (2,195 Views)

Re: Issue with Telnet Check on the PPM Server - Windows 2008 R2

can you check with utf8 encoding and also check the attachment for telnet configuration on windows

Honored Contributor
Utkarsh_Mishra
Posts: 713
Registered: ‎07-13-2010
Message 4 of 20 (2,191 Views)

Re: Issue with Telnet Check on the PPM Server - Windows 2008 R2

Try to manually connect to the server via telnet and check what else it is asking for... apart from user_id and password.

 

As per your logs... environment check is wating for any inputs...

 

so to get these details.. you need to manually telnet the server and check..

Cheers..
Utkarsh Mishra

-- Remember to give Kudos to answers! (click the KUDOS star)
Occasional Advisor
Shan_2005
Posts: 6
Registered: ‎10-04-2011
Message 5 of 20 (2,180 Views)

Re: Issue with Telnet Check on the PPM Server - Windows 2008 R2

Hi All,

Yes we are able to login from our local desktop to server through Telnet. and also able to get output of the test session commands like "$ echo 'TEST_SESSION_RESPONSE'; echo KSC_EXIT_STATUS $? 1" the output is:

TEST_SESSION_RESPONSE
KSC_EXIT_STATUS 0 1

 

The same user account is set in Environment but it fails while checking the Telnet with the error log as mentoined above.

 

 

Honored Contributor
Celil
Posts: 548
Registered: ‎03-17-2011
Message 6 of 20 (2,178 Views)

Re: Issue with Telnet Check on the PPM Server - Windows 2008 R2

Hi Shan,

Which user have start PPM (even service)? local admin or other user? Because when you use telnet, you propably run telnet as admin. Please check who start PPM?
Celil

IT Governance Professional
& PPM Solution Architect
director@ppmdiary.com
director@isframeworks.com
Occasional Advisor
Shan_2005
Posts: 6
Registered: ‎10-04-2011
Message 7 of 20 (2,177 Views)

Re: Issue with Telnet Check on the PPM Server - Windows 2008 R2

Yes we are able to manully connect to our server and even getting response for the test session commands which telnet sends.
Occasional Advisor
Shan_2005
Posts: 6
Registered: ‎10-04-2011
Message 8 of 20 (2,176 Views)

Re: Issue with Telnet Check on the PPM Server - Windows 2008 R2

Hi Celil,

 

We have users 2 users configured as local admin. Both can start the servers and we are able to connect with both users from our Local desktop. On the Environment, we are using one of these users. Have also tried with other user but no luck.

 

We have also tried making few registry changes, as suggested in the case by one of the user. but the problem is, this doc doesnt talks about Windows 2008 Server. It only explains 2000 and 2003.

Occasional Advisor
Shan_2005
Posts: 6
Registered: ‎10-04-2011
Message 9 of 20 (2,175 Views)

Re: Issue with Telnet Check on the PPM Server - Windows 2008 R2

Hi Kerim,

 

We have alread tried these by making few registry changes, as suggested in the document. but the problem is, this doc doesnt talks about Windows 2008 Server. It only explains 2000 and 2003.

No exact idea on how to go for Windows 2008 R2 Reg settings

Frequent Advisor
Akif Saburi
Posts: 44
Registered: ‎03-15-2010
Message 10 of 20 (2,161 Views)

Re: Issue with Telnet Check on the PPM Server - Windows 2008 R2

I think the settings for Server 2003 is applicable for all the higher version of Windows.  Same settings works for me in Windows 7.

 

Which shell you have configured to work with Telnet.  I normally prefer BASH shell.  Some shells like TCSH will wait for users response after you run commands,  which does not go well with PPM.  

Occasional Visitor
Jbisht
Posts: 1
Registered: ‎10-06-2011
Message 11 of 20 (2,149 Views)

Re: Issue with Telnet Check on the PPM Server - Windows 2008 R2

Did anybody found the solution for this problem?


We are facing the same issue on our installation and telnet check is failing on windows 2008R2 . We followed the same steps mentioned in the document for windows 2003 but no luck.

 

Also I noticed the CPU goes 100% on the server when we run this telnet check.

 

Frequent Advisor
tech_cons
Posts: 46
Registered: ‎12-13-2009
Message 12 of 20 (2,073 Views)

Re: Issue with Telnet Check on the PPM Server - Windows 2008 R2

Did anybody found the solution for this problem? We have same problem. 

 

Valued Contributor
roxor
Posts: 131
Registered: ‎11-15-2010
Message 13 of 20 (2,059 Views)

Re: Issue with Telnet Check on the PPM Server - Windows 2008 R2

[ Edited ]

Same problem here. But after all, I have found that this issue in fact is not related to PPM! When I update telnet registry to use Bash shell instead of cmd.exe and try to use telnet from cmd.exe telnet can log into machine, opens bash and immediately close connection. This is my problem.

 

You can chek it too. Are you able to connect to machine via telnet from cmd when shell is bash? (you have to follow instructions attached about telent registries)

 

After al I would say that one possibility is taht Win 2008 needs different configuration of telnet or cygwin, or we have problem with windows user rights (not checked yet), or I missed something:)

 

Funny thing is also that Google dind't help. Seems like nobody had never problem or need of use bash as shell in telnet. (Except one person in 1998...)

 

Cheers,

r.

Frequent Advisor
Akif Saburi
Posts: 44
Registered: ‎03-15-2010
Message 14 of 20 (2,053 Views)

Re: Issue with Telnet Check on the PPM Server - Windows 2008 R2

Hi,

 

Even Last  week I installed cygwin and configured Telnet for three Windows 2008 R2 Servers.  I followed the instructions provide in the document you have attached.  It worked fine with out any issues.

 

At certain times cygwin do behave strange. Since Mictosoft Telnet is not working for you, follow the below instructions to configure Telnet services that comes with Cygwin.  I always configure below steps whenever I face issue with Microsoft Telner service.

 

  • Stop the Microsoft Telnet service in your Server.
  • Install the below cygwin packages:

Net --> inetutils
Net --> rsync
Net --> whois

 

  • Open bash and run the below commands# Only enable Telnet part. Comment out all lines except "telnet" one.

vi /etc/inetd.conf
cygrunsrv -I inetd -d "CYGWIN inetd" -p /usr/sbin/inetd -a -d -e CYGWIN=ntsec
net start inetd
# If start fails, may need to give SYSTEM "Full Control" to /var/logs dir!

 

 Hope it helps.

 

Regards,

Akif

Valued Contributor
roxor
Posts: 131
Registered: ‎11-15-2010
Message 15 of 20 (2,040 Views)

Re: Issue with Telnet Check on the PPM Server - Windows 2008 R2

Hello Akif,

 

many many thanks! Your solution with cygwin telnet is working! Thank you very much for your hint, it was worth of gold.

 

I only want to add that I used also these packages to get it work - tcpd-wrapper, cygrunsrv which were missing in my Cygwin.

 

Now I can finally learn to deploy something and go live with it. Hope it will work:) but all environment checks are OK.

 

Kind regrads,

r.

Advisor
VinaykumarDH
Posts: 12
Registered: ‎01-30-2013
Message 16 of 20 (1,500 Views)

Re: Issue with Telnet Check on the PPM Server - Windows 2008 R2

Hi,

 

We are on version 9.14005 and tried all above options mentioned but still telent check fails for me.  I have stopped Microsoft Telnet Service and CYGWIN inetd is started without any errors. Is there anythind that could be missed.

 

An error occured while executing the Environment Check commands. This may be due to incorrect or unsupported Environment settings; please review the log and make necessary adjustments. (KNTA-11064)  Execution Log
 

KSC Connect

Source Command:Env Check: Shell connection to Env server

Protocol:        com.kintana.core.net.TelnetClient
Host:            SRVMPBABTPPPMAP
Username:        administrator
NT Domain:       SRVMPBABTPPPMAP
Stream Encoding: UTF-8
ERROR: Could not connect to [SRVMPBABTPPPMAP].
Connection refused: connect

 

Regards,

Vinay

Honored Contributor
Erik Cole
Posts: 866
Registered: ‎02-11-2008
Message 17 of 20 (1,486 Views)

Re: Issue with Telnet Check on the PPM Server - Windows 2008 R2

You are trying to telnet to your PPM app server? Can you open a telnet session outside of PPM?

Advisor
VinaykumarDH
Posts: 12
Registered: ‎01-30-2013
Message 18 of 20 (1,440 Views)

Re: Issue with Telnet Check on the PPM Server - Windows 2008 R2

Yes I am trying to telnet to PPM app server , I can open a telnet session outside this is through cygwin prompt output below

 

$ telnet

telnet> open -a SRVMPBABTPPPMAP 23

Trying 134.251.89.138...

Connected to SRVMPBABTPPPMAP.

Escape character is '^]'.

Connection closed by foreign host.

Honored Contributor
AlexSavencu
Posts: 595
Registered: ‎04-30-2010
Message 19 of 20 (1,371 Views)

Re: Issue with Telnet Check on the PPM Server - Windows 2008 R2

Hi,

I got this error when my command prompt window was bigger than the telnet server settings. I changed the settings in the registry and then the problems were gone.


Cheers
Alex

--remember to kudos people who helped solve your problem
Advisor
VinaykumarDH
Posts: 12
Registered: ‎01-30-2013
Message 20 of 20 (1,292 Views)

Re: Issue with Telnet Check on the PPM Server - Windows 2008 R2

Hi Alex,

 

Is it possible to share the registry settings I had tried the registry settings as attached in the document above in Forum

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.