- 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 04:07 AM
Hello Sato,
Do you have a connection to the mid server configured in your servicenow instance?
can you show that?
Thanks!
Best Regards,
Filipe Cruz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2022 04:26 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2022 05:18 AM
Hi Sato,
That's why I requested a screenshot of the mid server configuration.
If your mid server is down, it is normal that your flow is returning that error.
You need to check what is happening and make that mid server active again.
Hope this helps!
Please, don't forget to mark my answer as correct if it solves your issue or mark it as helpful if it is relevant for you!
Best Regards,
Filipe Cruz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2022 05:39 AM
Hi,
Goal: I want to pass an SSH command to MID Server to force MID Server to restart when MID Server goes down.
You are misunderstanding.
It is meaningless unless the MID Server is down. Look at the goal.
Best Regards,