Search found 13 matches

by v.yesakov
Mon May 15, 2017 3:04 pm
Forum: Configuration, Maintenance, Troubleshooting
Topic: SSH tests do not work on Ubuntu 16.04
Replies: 27
Views: 66752

v.yesakov wrote:Yes, I confirm: adding "sleep" at the end of script helps. Process survives after HM closes SSH session.
Anyway I think SSH must be fixed on HostMonitor site, because new SSH mode breaks backwards compatibility.

V.
by v.yesakov
Tue May 09, 2017 3:00 pm
Forum: Configuration, Maintenance, Troubleshooting
Topic: SSH tests do not work on Ubuntu 16.04
Replies: 27
Views: 66752

And remind you: it's working on Ubuntu 12.04 without any issues (without "SSHMode=1"). I assume there are a lot of changes between Ubuntu 12.04 and 16.04 Also I think you have different versions of ssh servers on these systems. Two debug logs from SSHD in my post above were taken from the...
by v.yesakov
Tue May 09, 2017 8:15 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: SSH tests do not work on Ubuntu 16.04
Replies: 27
Views: 66752

Maybe I should try SSHMode=1 on old servers to, to eliminate possible difference with "nohup" . I'll post results later today. SSHMode=1 does not work on "old" server. Process does not survive. I'll try with "setsid" too. "setsid" method works without "S...
by v.yesakov
Tue May 09, 2017 7:48 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: SSH tests do not work on Ubuntu 16.04
Replies: 27
Views: 66752

So you have around 2000 tests related to this script (single script on single server)? It's same script on multiple servers. around 1500 tests in total. Then we have to find out what is wrong with this command nohup /path/to/binary -parameters & may be this version of "nohup" does not...
by v.yesakov
Mon May 08, 2017 9:03 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: SSH tests do not work on Ubuntu 16.04
Replies: 27
Views: 66752

May be you can split it into 2 scripts? Make 2 tests, one will start "checking" script and wait for result, another dependent test will start 2nd script (start process). Regards Alex Assuming I split this single test into two, we have approximately 350 servers, each with 3 to 8 instances ...
by v.yesakov
Fri May 05, 2017 3:25 pm
Forum: Configuration, Maintenance, Troubleshooting
Topic: SSH tests do not work on Ubuntu 16.04
Replies: 27
Views: 66752

What script? If HostMonitor starts "nohup /path/to/binary -parameters" command then I do not understand where is the script. Regards Alex What's not working: Background processes do not survive. Basically HM logs into system, checks if certain process is running and if not starts new inst...
by v.yesakov
Fri May 05, 2017 2:11 pm
Forum: Configuration, Maintenance, Troubleshooting
Topic: SSH tests do not work on Ubuntu 16.04
Replies: 27
Views: 66752

KS-Soft wrote:try without ampersand, should work

Code: Select all

nohup /path/to/binary -parameters

Regards
Alex
This will not work. Removing ampersand would keep process running in foreground, this is not the very last command in our script, so this would effectively prevent script to complete the rest of checks.

V.
by v.yesakov
Thu May 04, 2017 4:07 pm
Forum: Configuration, Maintenance, Troubleshooting
Topic: SSH tests do not work on Ubuntu 16.04
Replies: 27
Views: 66752

New version available SSH test supports RSA keys (ssh-rsa). add SSHMode=1 line into [Misc] section Finally I've got my hands on new version and have done some tests. What's working: SSH tests now able to login and run commands on Ubuntu 16.04 just fine. What's not working: Background processes do n...
by v.yesakov
Thu Jun 30, 2016 11:57 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: SSH tests do not work on Ubuntu 16.04
Replies: 27
Views: 66752

No, it will not provide log that can help. Have you tried latest HostMonitor? (please install it on different system or backup your config files - new version may convert your HML and LST files) Regards Alex Version 10.20 worked with minimal SSHD configuration change. At first I've got error: "...
by v.yesakov
Thu Jun 30, 2016 10:41 am
Forum: Configuration, Maintenance, Troubleshooting
Topic: SSH tests do not work on Ubuntu 16.04
Replies: 27
Views: 66752

I think this is the problem Jun 29 14:27:38 mcloud-91-30 sshd[29398]: debug3: notify_hostkeys: sent 4 hostkeys Jun 29 14:27:38 mcloud-91-30 sshd[29398]: debug3: send packet: type 80 Jun 29 14:27:38 mcloud-91-30 sshd[29398]: debug1: Entering interactive session for SSH2. if you can disable this opti...
by v.yesakov
Wed Jun 29, 2016 4:41 pm
Forum: Configuration, Maintenance, Troubleshooting
Topic: SSH tests do not work on Ubuntu 16.04
Replies: 27
Views: 66752

I think this is the problem Jun 29 14:27:38 mcloud-91-30 sshd[29398]: debug3: notify_hostkeys: sent 4 hostkeys Jun 29 14:27:38 mcloud-91-30 sshd[29398]: debug3: send packet: type 80 Jun 29 14:27:38 mcloud-91-30 sshd[29398]: debug1: Entering interactive session for SSH2. if you can disable this opti...
by v.yesakov
Wed Jun 29, 2016 3:10 pm
Forum: Configuration, Maintenance, Troubleshooting
Topic: SSH tests do not work on Ubuntu 16.04
Replies: 27
Views: 66752

I think you need HostMonitor version 10.14 or higher. Please check your license before update using menu Help->Update check Regards Alex Is there "debug log" in host monitor ? Is there a way to troubleshoot what exact problem there is with connection to new SSHD ? PS: I did "update c...
by v.yesakov
Wed Jun 29, 2016 12:32 pm
Forum: Configuration, Maintenance, Troubleshooting
Topic: SSH tests do not work on Ubuntu 16.04
Replies: 27
Views: 66752

SSH tests do not work on Ubuntu 16.04

Hi, We use HM 9.84 now. Recently we started testing on Ubuntu 16.04 and it seems to be a problem with SSH tests. After we solved key exchange and incompatible cipher issues we've got weird error message on HM: "Protocol error. server refuses open channel" Please help us to resolve this iss...