Midserver stuck in Validating Stage

salu
Mega Guru

Hello All,

There is a auto upgrade happened in our instance and midserver show as below.

 

Discovery also not getting completing.Could you please help me on this

find_real_file.png

1 ACCEPTED SOLUTION

Harsh Vardhan
Giga Patron

go to your server where mid server has installed then you need to restart the mid server from there. and see if that is working or not. 

 

adding article here. 

 

https://hi.service-now.com/kb_view.do?sysparm_article=KB0727757

View solution in original post

8 REPLIES 8

Harsh Vardhan
Giga Patron

go to your server where mid server has installed then you need to restart the mid server from there. and see if that is working or not. 

 

adding article here. 

 

https://hi.service-now.com/kb_view.do?sysparm_article=KB0727757

Somehow fixed it 🙂

I have found that this error comes up because the Midserver application isn't good about releasing its lock on certain files that may need to be deleted and recreated as part of validation. For us, this issue has come up after manual validation and after cloning. I've tried logging into the midserver and deleting the file manually, but no joy; restarting the server does the trick.

For us, the root cause showed up in the midserver logs on the box (not wrapper.log, the main logs.) It's a good place to start when a midserver isn't behaving itself.

tim_broberg
ServiceNow Employee
ServiceNow Employee

If all else fails, delete keystore/agent_keystore.jks and restart.

When the keystore gets out of synch with your config.xml, the keystore has to be recreated to recover, and failure to validate is a symptom of that issue, IIRC.

I'm sure there must be other things that also have that symptom too, but it is something to try if you've tried everything else.
    - Tim.