- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2017 07:48 AM
We are unable to configure MID server for our SNOW instance Version:Helsinki .patch7 updated.we get the error as follows
Encountered error: [null] while starting up the service. Retry...
05/16/17 22:36:22 (688) StartupSequencer SEVERE *** ERROR *** Unable to load keystore: Unexpected IOException loading KeyStore, caused by: Keystore was tampered with, or password was incorrect
The user account has mid_server role.and password is getting "encrypted"when i start the service.But the MID server is still showing down.
Kindly do the helpful.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2017 08:45 AM
Hello Girish,
I think this might be helpful to you:
Keystore Corrupted
The MID Server has a keystore on the host machine of the MID Server. The keystore is a repository of security certificates and private keys that have been established as part of the trust management between the MID Server and either the instance itself or the host machines the MID Server is configured to communicate with during a discovery or integration task. When this keystore becomes corrupted, either the communication with the instance itself is compromised or part of the services supported by the MID Server are corrupted. The keystore is located under the /agent directory of the MID Server. When you validate the MID Server from the instance, you contribute to the keystore.When a MID Server has been reinstalled, or if a MID Server crashes unexpectedly, the keystore can become corrupted. Once it does, the MID Server will act unpredictably.You can see if the keystore is the source of MID Server issues by looking in the agent log and searching for the phrase SEVERE *** ERROR *** Unable to load keystore:. If the MID Server is attempting to start or restart, this will prevent the MID from starting successfully.SOLUTION: Recreate the keystore directory - There is no way to mend the keystore once corrupted. The only thing you can do is delete the keystore directory from the /agent directory of the affected MID Server.
- If the MID Server is running, go to the /agent directory and execute the stop script (.bat or .sh).
- Delete the keystore directory.
- Restart the MID Server using the start script (.bat or .sh).
- On the instance, open the MID Server > Servers list.
- Open the record for the restarted MID Server.
- Select the Validate UI. The MID Server will clear the cache, restart, and regenerate the keystore. The MID Server record will report that it is Validated.
You can also refer to ServiceNow KB: SOLUTION: Resolve MID Server user credential issues (KB0597570)
Thanks,
Dravvy
Please Hit like, Helpful or Correct depending on the impact of the response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2017 08:45 AM
Hello Girish,
I think this might be helpful to you:
Keystore Corrupted
The MID Server has a keystore on the host machine of the MID Server. The keystore is a repository of security certificates and private keys that have been established as part of the trust management between the MID Server and either the instance itself or the host machines the MID Server is configured to communicate with during a discovery or integration task. When this keystore becomes corrupted, either the communication with the instance itself is compromised or part of the services supported by the MID Server are corrupted. The keystore is located under the /agent directory of the MID Server. When you validate the MID Server from the instance, you contribute to the keystore.When a MID Server has been reinstalled, or if a MID Server crashes unexpectedly, the keystore can become corrupted. Once it does, the MID Server will act unpredictably.You can see if the keystore is the source of MID Server issues by looking in the agent log and searching for the phrase SEVERE *** ERROR *** Unable to load keystore:. If the MID Server is attempting to start or restart, this will prevent the MID from starting successfully.SOLUTION: Recreate the keystore directory - There is no way to mend the keystore once corrupted. The only thing you can do is delete the keystore directory from the /agent directory of the affected MID Server.
- If the MID Server is running, go to the /agent directory and execute the stop script (.bat or .sh).
- Delete the keystore directory.
- Restart the MID Server using the start script (.bat or .sh).
- On the instance, open the MID Server > Servers list.
- Open the record for the restarted MID Server.
- Select the Validate UI. The MID Server will clear the cache, restart, and regenerate the keystore. The MID Server record will report that it is Validated.
You can also refer to ServiceNow KB: SOLUTION: Resolve MID Server user credential issues (KB0597570)
Thanks,
Dravvy
Please Hit like, Helpful or Correct depending on the impact of the response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2017 08:34 AM
That worked.Thanks dravvy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2020 01:03 AM
Check out this video, it will clear all your doubts and help you to understand mid server in details. It will help you resolve below queries:
Link: https://youtu.be/RMXhYJxPMPU
- Mid Server Installation step by steps
- Mid Server Troubleshooting for all version.
- I am unable to install mid server.
- Unable to configure MID server.
- Service Mapping Mid Servers.
- How to log in to the Mid server using the Credential.
- MID Server for multiple sub production instances.
- Why do we use MID server? Purpose of using MID Server?
- How to define a specific mid server for the discoverIpAddress () function?
- Other issues.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2024 08:33 AM
Hello, @Runjay Patel ,
The linked video is no longer available.
How does one "define a specific mid server for the discoverIpAddress() function?"