Re: SiteScope 11.10 Remote HPUX SSH Connection failures (2775 Views)
Reply
Regular Advisor
ROCKETBOY_1
Posts: 145
Registered: ‎03-23-2010
Message 1 of 10 (2,795 Views)
Accepted Solution

SiteScope 11.10 Remote HPUX SSH Connection failures

I keep getting this error in SiteScope 11.10 when trying to perform a Test from Remote Unix Servers area in SiteScope:

remote command error out reading (-996)

I have tried many different options based on the Knowledge Base.

Any information greatly appreciated.
Points given.

Thanks.
Please use plain text.
HP Expert
Dmitry Shevchenko
Posts: 4,662
Registered: ‎01-30-2008
Message 2 of 10 (2,795 Views)

Re: SiteScope 11.10 Remote HPUX SSH Connection failures

Select "Trace" checkbox in the problematic UNIX server definition, run the test again and check relevant error messages in RunMonitor.log. It may give you a hint on what's going wrong with connection to the server.
Please use plain text.
Frequent Visitor
uob22
Posts: 3
Registered: ‎08-09-2011
Message 3 of 10 (2,775 Views)

Re: SiteScope 11.10 Remote HPUX SSH Connection failures

We are experiencing connection issues to CentOS/VM clients from our Sitescope host server. We are receiving error "remote command error timed out reading (-996)" on our Sitescope console and the connection is dropped.

 

The client receives a connection request and allows the connection yet the Sitescope host only has a waiting hour glass. After about a minute or so the client receives a  disconnect. We have verified that the host in fact does get logged on to the client with the ID and that the host gets disconnected after some time. We are unclear as to what Sitescope is requesting and or what it is doing during the wait period.

 

Any help to resolve connectivity issues from Sitescope host to CentOS/VM is greatly appreciated.

 

Thanks,

Please use plain text.
Esteemed Contributor
Sergey  Popov
Posts: 295
Registered: ‎03-10-2010
Message 4 of 10 (2,757 Views)

Re: SiteScope 11.10 Remote HPUX SSH Connection failures

Hi.

 

Are you running SiteScope on Windows?

Does your issue have any resemblance to http://h30499.www3.hp.com/t5/ITRC-Business-Availability/SSH-problem-connecting-to-Linux-server-v11/t... ?

 

Thank you.

Sergey.

_______________
This thread is now 20% cooler
Please use plain text.
Frequent Visitor
uob22
Posts: 3
Registered: ‎08-09-2011
Message 5 of 10 (2,754 Views)

Re: SiteScope 11.10 Remote HPUX SSH Connection failures

Yes I am running Sitescope on Windows and yes it seems to be related to the link you provided. I looked in the logs and found "Reading from server timed out. Connection timed out".

 

But the user gets logged on to the client. The clients are Linux and I have verified the "messages" logs.

 

Thanks.

Please use plain text.
Super Advisor
Wes Kaufmann
Posts: 235
Registered: ‎05-25-2000
Message 6 of 10 (2,675 Views)

Re: SiteScope 11.10 Remote HPUX SSH Connection failures

Try using plink instead of internal java libraries

 

For the remote server Check under the advanced settings and ssh connection Method.

Please use plain text.
Advisor
eitanr
Posts: 17
Registered: ‎01-15-2012
Message 7 of 10 (2,436 Views)

Re: SiteScope 11.10 Remote HPUX SSH Connection failures

[ Edited ]

Do the connection credentials you inserted in SiteScope belong to a user that is defined on the VM as a ksh shell user? In that case the shell might take longer to respond to SiteScope's connection than the designated connection timeout.

 

Please try to check 'Wait for SSH connection prompt' checkbox and enlarge the 'SSH prompt timeout' as required (both parameters are in Preferences > Infrastructure > General).

 

Remember to restart SiteScope after updating values in the Infrastructure Preferences.

Please use plain text.
Esteemed Contributor
Sergey  Popov
Posts: 295
Registered: ‎03-10-2010
Message 8 of 10 (2,405 Views)

Re: SiteScope 11.10 Remote HPUX SSH Connection failures

Personally, not as a SiteScope engineer but as a SiteScope user, I'd discourage using ksh as shell for SiteScope at all.

 

Running SiteScope user with bash is much less troublesome.

 

Thank you.

Sergey.

_______________
This thread is now 20% cooler
Please use plain text.
Super Advisor
AlexeyGlukhov
Posts: 180
Registered: ‎01-11-2010
Message 9 of 10 (2,195 Views)

Re: SiteScope 11.10 Remote HPUX SSH Connection failures

Sergey's method has helped ! Excellent !

Best regards,
Alexey
Please use plain text.
Occasional Visitor
asnk
Posts: 1
Registered: ‎11-07-2012
Message 10 of 10 (1,638 Views)

Re: SiteScope 11.10 Remote HPUX SSH Connection failures

This is great. Eitanr's advice has helped in fixing this issue

 

Thanks,

Nandha

Please use plain text.
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