<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Script to unlock database and relaunch netXMS if it crashes?]]></title><description><![CDATA[<p dir="auto">I've had NetXMS core crash on me once so far and it won't restart because the database is locked, this requires running "C:\NetXMS\bin\nxdbmgr.exe check" but that requires manually answering yes and then later confirming to save changes</p>
<p dir="auto">Is there a parameter to automate this, so it automatically force unlocks the database and commits changes. That way I can write a simple .bat script to run and check if netXMS is not running and do the above<br />
Because we don't use netXMS constantly we can't really afford for it to crash and nobody is aware for several hours (or days if its a weekend) and we lose a huge amount of logging during that period. Hence the need for an automated script to get it up and running again as quickly as possible</p>
]]></description><link>https://forum.netxms.org/topic/4811/script-to-unlock-database-and-relaunch-netxms-if-it-crashes</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 11:50:54 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/4811.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 23 Nov 2016 05:30:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Script to unlock database and relaunch netXMS if it crashes? on Mon, 28 Nov 2016 08:20:58 GMT]]></title><description><![CDATA[<p dir="auto">i have a simple script to run nxdbmgr check and "nxdbmgr check -f" is doing the job. I am using ubuntu as a host.</p>
<p dir="auto">Best regards,<br />
Adrian</p>
]]></description><link>https://forum.netxms.org/post/21411</link><guid isPermaLink="true">https://forum.netxms.org/post/21411</guid><dc:creator><![CDATA[adimitrov]]></dc:creator><pubDate>Mon, 28 Nov 2016 08:20:58 GMT</pubDate></item><item><title><![CDATA[Reply to Script to unlock database and relaunch netXMS if it crashes? on Thu, 24 Nov 2016 16:58:29 GMT]]></title><description><![CDATA[<p dir="auto">Hi! Youcan use this :<br />
nxdbmgr unlock -f</p>
]]></description><link>https://forum.netxms.org/post/21407</link><guid isPermaLink="true">https://forum.netxms.org/post/21407</guid><dc:creator><![CDATA[mkemerci]]></dc:creator><pubDate>Thu, 24 Nov 2016 16:58:29 GMT</pubDate></item></channel></rss>