NetXMS Core crashing every couple of days

Started by cmorg, August 15, 2017, 11:28:23 AM

Previous topic - Next topic

cmorg

Every couple of days, the NetXMS Core service will crash and create a dump file.
I have set the service to restart on crash so the downtime is minimal but one interesting thing that happens when it comes back up is that the "Windows" template under Templates -> Operating Systems automatically applies to all nodes that are running the windows agent.

I have disabled the auto-apply feature and removed the template from all nodes and that returns everything to normal, but next time the server crashes / restarts then that template will re-enable the auto-apply rule and apply itself to all applicable nodes again.  ???

Has anyone else got a similar problem, or know how to stop it re-enabling the auto-apply rule?

I have attached the info file from the latest crash dump if anyone is interested.
NetXMS 2.1-RELEASE on Windows Server 2012 R2.

StanHubble

Most likely the template is being reloaded from xml file when the server is restarted.  It may have an autobind like
return $node->isAgent && $node->platformName like "windows-*";

You can disable the reloading of configs and templates in the server configuration:
  Key, current value, default value, need server restart?
"ImportConfigurationOnStartup","0","1","Yes"

Now you just have to figure out why it is crashing.......

cmorg

Hi Stan,

Thanks for pointing me in the right direction. I didn't know it imported anything from local files  :(

As for the crashing, i'm not sure. I get the occasional error in the event log where NetXMS is trying to process a certain DCI or script but none of those would have changed since 2.8. I will live with it for the moment to see if anyone else flags up a similar issue / bug.