MidServer does not start

ClaudioS
Tera Contributor

Hello,

after updating to SanDiego, several times, after the servers (Windows) restart, the midservers do not start correctly.
It happens in all instances (production and sub-production).
In particular in the file "event0.log.0" there are these errors:

07/07/22 16:16:58 (098) StartupSequencer DEBUG: Event: RGRPerfMetricEvent
07/07/22 16:16:58 (114) StartupSequencer DEBUG: Refreshing config for all plugins...
07/07/22 16:16:58 (114) StartupSequencer DEBUG: Updating all plugin parameters...
07/07/22 16:16:58 (114) StartupSequencer DEBUG: Activating CommandAuditPlugin...
07/07/22 16:16:58 (114) StartupSequencer SEVERE *** ERROR *** Failed to load remote properties: null
07/07/22 16:16:58 (114) StartupSequencer WARNING *** WARNING *** Encountered error: [Unable to load remote properties from the Config] while starting up the service. Retry...

After a few restarts (of the server or with stop.bat and start.bat) the midserver starts correctly.
We have been suggested to invalidate & revalidate the mid server but without success.

Has this happened to anyone else? How did you solve?
Support is currently unable to find the solution.

Thanks.

Regards,

Claudio

2 REPLIES 2

Aman Kumar S
Kilo Patron

Hey,

Refer to below article:

Mid services are not up automatically and instance is also down after reboot the server

 

Feel free to mark correct, If I answered your query.

Will be helpful for future visitors looking for similar questions 🙂

Best Regards
Aman Kumar

ClaudioS
Tera Contributor

Thanks, but this is not our problem.

Even if you start it manually (start.bat) in some cases the midserver does not start correctly.
I have noticed that when it does not boot correctly this error is present:

07/13/22 09:52:17 (480) StartupSequencer DEBUG: Activating CommandAuditPlugin...
07/13/22 09:52:17 (480) StartupSequencer SEVERE *** ERROR *** Failure initializing plugin: com.service_now.mid.auditlog.CommandAuditPlugin
java.lang.NullPointerException
    at com.service_now.mid.auditlog.CommandAuditPlugin.createMonitor(CommandAuditPlugin.java:201)
    at com.service_now.mid.auditlog.CommandAuditPlugin.activate(CommandAuditPlugin.java:91)
    at com.service_now.mid.auditlog.CommandAuditPlugin.init(CommandAuditPlugin.java:71)
    at com.service_now.mid.services.plugin.MIDPluginManager.lambda$initPlugins$1(MIDPluginManager.java:46)
    at java.base/java.util.concurrent.ConcurrentHashMap$ValuesView.forEach(ConcurrentHashMap.java:4772)
    at com.service_now.mid.services.plugin.MIDPluginManager.initPlugins(MIDPluginManager.java:44)
    at com.service_now.mid.services.StartupSequencer.initPlugins(StartupSequencer.java:177)
    at com.service_now.mid.services.StartupSequencer.testsSucceeded(StartupSequencer.java:157)
    at com.service_now.mid.services.StartupSequencer.startupSequencerRunnable(StartupSequencer.java:726)
    at java.base/java.lang.Thread.run(Thread.java:829)

Thanks.

Claudio