cancel
Showing results for 
Search instead for 
Did you mean: 
Create Post
Level 7

Linux Script Execution Error

Jump to solution

Hi,

We seem to be having an intermittent error when running a APM Linux script check.

The component occasionally goes down with the component status details as follows:

"Linux script execution error. Cannot connect to SSH service. Only one usage of each socket address (protocol/network address/port) is normally permitted 192.168.xxx.xxx:22"


Has anyone ever come across this error before?


Thanks,


M

Labels (1)
0 Kudos
1 Solution
Product Manager
Product Manager

I've seen this in environments where the user account being used to execute the script is limited to only one SSH connection to the host. To determine if this is the issue, open putty or your favorite SSH client and connect to the monitored host using the same credentials as the script monitor is assigned. While that session is still connected, open another session with the same server using the same credentials. Do you receive a similar error? Are you able to connect with the second session?

View solution in original post

0 Kudos
2 Replies
Product Manager
Product Manager

I've seen this in environments where the user account being used to execute the script is limited to only one SSH connection to the host. To determine if this is the issue, open putty or your favorite SSH client and connect to the monitored host using the same credentials as the script monitor is assigned. While that session is still connected, open another session with the same server using the same credentials. Do you receive a similar error? Are you able to connect with the second session?

View solution in original post

0 Kudos

Hi,

Thanks for the response. It was down to having to few SSH connections.  I spoke to one of our Linux guys who ended up extending the values in "Maxsessions" and MaxStartups.

Thanks for getting back to me though.

Matt

0 Kudos