Difference between revisions of "UM::Troubleshooting"

From NetXMS Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{DISPLAYTITLE:Troubleshooting}}
Information moved to documentation:
= Enable Crash Dump Generation =


When running on Windows server is capable of creating crash dumps. To enable crash dump generation, add the following options to netxmsd.conf file:
https://www.netxms.org/documentation/adminguide/advanced.html#troubleshooting
 
<pre>
CreateCrashDumps = yes
DumpDirectory = path
</pre>
 
DumpDirectory must point to directory writable by server process. After each crash server will create two files: info and mdmp. INfo file contains basic information about crash, server version, and call stack of current thread. Mdmp file is a minidump which can be read and analyzed using debugger.
 
= Force Crash Dump Creation =
 
It is possible to force creation of crash dump. To do that you'll need access to server debug console. You can access it using '''nxadm''' tool or via Tools -> Server Console menu in management console. Once in server debug console, you can run command '''dump''' or '''raise access'''. First command works only on Windows and will produce process dump without stopping it. Second command will cause access violation exception which will lead to process crash and crash dump generation.

Revision as of 17:51, 24 November 2017