<?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[NetXMS 1.2.17 crashed and doesn't start anymore]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I just had/have a strange issue where the backend crashed and isn't able to start anymore.</p>
<p dir="auto">That's what happened:</p>
<ul>
<li>I created a new script in the script library</li>
<li>When I was finished I closed the script and was asked to save it</li>
<li>I clicked yes and got an error - Something like "Broken pipe"</li>
<li>Then the backend crashed and wasn't reachable anymore</li>
</ul>
<p dir="auto">And now I can't even start it.<br />
The last entry in the log file is this:<br />
...<br />
[05-Jan-2015 22:42:18.366] [DEBUG] Script Filter::SNMP added to library<br />
[05-Jan-2015 22:42:18.366] [DEBUG] Script Filter::Agent added to library<br />
[05-Jan-2015 22:42:18.366] [DEBUG] Script Filter::AgentOrSNMP added to library<br />
[05-Jan-2015 22:42:18.366] [DEBUG] Script DCI::SampleTransform added to library<br />
[05-Jan-2015 22:42:18.366] [DEBUG] Script Hook::ConfigurationPoll added to library</p>
<p dir="auto">After the last loaded script there should be the newly created one. I assume it can't be loaded and crashes the server.<br />
I already did a DB check, but no problem was found.</p>
<p dir="auto">What can I do to fix that?<br />
Any chance to remove it from the database?</p>
<p dir="auto">Thanks, VMGuy</p>
]]></description><link>https://forum.netxms.org/topic/3530/netxms-1.2.17-crashed-and-doesn-t-start-anymore</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 16:13:23 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/3530.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 06 Jan 2015 01:19:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to NetXMS 1.2.17 crashed and doesn't start anymore on Tue, 06 Jan 2015 23:11:29 GMT]]></title><description><![CDATA[<p dir="auto">It's still on my screen as result of the select statement before I deleted it.<br />
It was a copy of a script I found in this forum and I started playing around with it.</p>
<p dir="auto">|     10001 | Acronis_Backup_Trap     |<br />
sub main() {<br />
    switch($event-&gt;parameters[1]) {<br />
      case "Unkown":<br />
        evt = "ACRONIS_BACKUP_UNKOWN";<br />
        break;<br />
      case "Information"<br />
        evt = "ACRONIS_BACKUP_INFO";<br />
        break;<br />
      case "Warning"<br />
        evt = "ACRONIS_BACKUP_WARNING";<br />
        break;<br />
      case "Error"<br />
        evt = "ACRONIS_BACKUP_ERROR";<br />
        break;<br />
      default:<br />
        evt = "ACRONIS_BACKUP_INFO";<br />
        break;<br />
    }<br />
    PostEvent($node, evt, null, $event-&gt;parameters[1]);  // pass message as first parameter to generated event<br />
  } else {<br />
    PostEvent($node, "ACRONIS_BACKUP_CLOSE");<br />
  }<br />
}</p>
]]></description><link>https://forum.netxms.org/post/15630</link><guid isPermaLink="true">https://forum.netxms.org/post/15630</guid><dc:creator><![CDATA[VMGuy]]></dc:creator><pubDate>Tue, 06 Jan 2015 23:11:29 GMT</pubDate></item><item><title><![CDATA[Reply to NetXMS 1.2.17 crashed and doesn't start anymore on Tue, 06 Jan 2015 22:25:27 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">do you still have/remember source code of problematic script?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/15626</link><guid isPermaLink="true">https://forum.netxms.org/post/15626</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 06 Jan 2015 22:25:27 GMT</pubDate></item><item><title><![CDATA[Reply to NetXMS 1.2.17 crashed and doesn't start anymore on Tue, 06 Jan 2015 12:17:32 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the table name.<br />
I removed this script from the table and now the server starts.</p>
<p dir="auto">Thanks for that.</p>
<p dir="auto">No the script wasn't used yet.<br />
It should be a script for handling SNMP traps.</p>
]]></description><link>https://forum.netxms.org/post/15621</link><guid isPermaLink="true">https://forum.netxms.org/post/15621</guid><dc:creator><![CDATA[VMGuy]]></dc:creator><pubDate>Tue, 06 Jan 2015 12:17:32 GMT</pubDate></item><item><title><![CDATA[Reply to NetXMS 1.2.17 crashed and doesn't start anymore on Tue, 06 Jan 2015 08:44:32 GMT]]></title><description><![CDATA[<p dir="auto">In the database, go to the "script_library" table and change the script to "return true;".<br />
Server should start now.</p>
<p dir="auto">Was the script used in any Script DCIs or anywhere else?</p>
]]></description><link>https://forum.netxms.org/post/15620</link><guid isPermaLink="true">https://forum.netxms.org/post/15620</guid><dc:creator><![CDATA[tomaskir]]></dc:creator><pubDate>Tue, 06 Jan 2015 08:44:32 GMT</pubDate></item></channel></rss>