- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2022 02:33 AM
Host OS: Linux (Cent OS)
Goal: I want to pass an SSH command to MID Server to force MID Server to restart when MID Server goes down.
I want to communicate with MID Server in order to achieve my goal, but when I try to communicate with MID Server with Flow Action, I see the following error content.
When the status of MID Server is Up :
What is this error?
Also, if I can resolve this error, my command should work fine.
Please help me,
thank you.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2022 06:27 AM
Hi Sato,
There might be a misunderstanding here.
What you want is to do a remote connection to a server where the mid server instance is running.
You want to execute that shell script in that server if the mid server instance/service is down.
Is that what you want?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2022 06:03 AM
Hello Sato!
If the mid server is down, how do you expect that your request is reaching the mid server? That will never work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2022 06:18 AM
Hi,
Why is that?
Is it because if the MID Server itself goes down, it cannot be accessed?
Is there a document that explicitly states that it cannot be done?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2022 06:27 AM
Hi Sato,
There might be a misunderstanding here.
What you want is to do a remote connection to a server where the mid server instance is running.
You want to execute that shell script in that server if the mid server instance/service is down.
Is that what you want?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2022 06:32 AM
Hi Sato,
I noticed you are doing the connection with a user called mid_admin2.
Is that a local user in the machine/server hosting the mid server instance?
From what I can see in your screenshots, the connection was not successful:
If the connection is refused, that might be due to wrong credentials or wrong permissions on the server.
Can you validate that the user account you are using has permission to do a remote connection or to execute a ssh command remotely?
Best Regards,
Filipe Cruz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2022 06:48 AM
Hi,
>>>From what I can see in your screenshots, the connection was not successful:
The user created by No, Connection & Credential Aliases is linked with the specified Mid server.
>>>If the connection is refused, that might be due to wrong credentials or wrong permissions on the server.
I would like to confirm the confirmation destination and permissions of the Server credentials.
Where can I confirm them? Maybe my confirmation location is wrong.
>>>Can you validate that the user account you are using has permission to do a remote connection or to execute a ssh command remotely?
I'm not very familiar with MID Server so I don't know ...
Is it possible to tell me the specific procedure?
Best Regards