<?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[Server problems]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I'm experiencing problems with two netxms servers.</p>
<p dir="auto">Problem 1.</p>
<p dir="auto">NetXMS running on VMware Windows server 2012.</p>
<p dir="auto">Starting server takes about an 20-30min, first time it occured is when I raised the datacollector amount by 5! I lowered back to default amount but nothing, then I thought maybe it's because of SNMP tables or logwatch scripts which I added, but when removing all of that, anyway the same problem.<br />
I just get - <strong>Error 1053: The service did not respond to the start or control request in a timely fashion.</strong><br />
and after a long time it starts. Nothing in logs but something i got in crashdump:</p>
<blockquote>
<p dir="auto">NETXMSD CRASH DUMP<br />
????????????</p>
<p dir="auto">EXCEPTION: C0000005 (Access violation) at 0000000000000000</p>
<p dir="auto">NetXMS Version: 1.2.9<br />
OS Version: Windows NT 6.2 Build 9200<br />
Processor architecture: AMD64 (Intel EM64T)</p>
<p dir="auto">Call stack:<br />
  [libnxdb:00000000005F4A3C]: class String __cdecl DBPrepareString(struct db_handle_t * __ptr64,wchar_t const * __ptr64,int)<br />
  [nxcore:0000000180011E8C]: void __cdecl WriteAuditLog(wchar_t const * __ptr64,int,unsigned int,wchar_t const * __ptr64,unsigned int,wchar_t const * __ptr64,...)<br />
  [nxcore:000000018008D9BD]: private: void __cdecl ClientSession::readThread(void) __ptr64<br />
  [nxcore:000000018008C5F2]: private: static unsigned int __cdecl ClientSession::readThreadStarter(void * __ptr64)<br />
  [libnetxms:000000000020452F]: unsigned int __cdecl SEHThreadStarter(void * __ptr64)<br />
  [MSVCR80:000000005D0937D7]: _endthreadex<br />
  [MSVCR80:000000005D093894]: _endthreadex<br />
  [KERNEL32:000007FA941A1832]: BaseThreadInitThunk<br />
  [ntdll:000007FA9662D609]: RtlUserThreadStart</p>
</blockquote>
<p dir="auto">Problem 2.</p>
<p dir="auto">NetXMS running on Ubuntu server 12.04 x64.</p>
<p dir="auto">I'm getting segmentation fault, strace:</p>
<blockquote>
<p dir="auto">Program received signal SIGSEGV, Segmentation fault.<br />
[Switching to Thread 0xb48f5b40 (LWP 19381)]<br />
0xb7d1cf66 in ?? () from /lib/i386-linux-gnu/libc.so.6<br />
(gdb) bt<br />
#0  0xb7d1cf66 in ?? () from /lib/i386-linux-gnu/libc.so.6<br />
#1  0xb7effca0 in DCTable::processNewValue (this=0x80b4b70,<br />
    nTimeStamp=1383298291, value=0xb59199c0) at dctable.cpp:389<br />
#2  0xb7f0292c in DataCollectionTarget::processNewDCValue (this=0x80cd218, dco=<br />
    0x80b4b70, currTime=1383298291, value=0xb59199c0) at dctarget.cpp:366<br />
#3  0xb7eefbb7 in DataCollector (pArg=0x0) at datacoll.cpp:254<br />
#4  0xb7e48d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0<br />
#5  0xb7d87bae in clone () from /lib/i386-linux-gnu/libc.so.6</p>
</blockquote>
<p dir="auto">And in management console more than often i get <strong>Software caused connection abort: socket write error</strong> and then i must restart console to be able to do something again.</p>
<p dir="auto">And, once I exported a template from server, and know, when I want to import it back, I get timed out, and  timed out on everything. Here is trace:</p>
<blockquote>
<p dir="auto">======= Backtrace: =========<br />
/lib/i386-linux-gnu/libc.so.6(+0x75ee2)[0xb742dee2]<br />
/usr/local/lib/libnxcore.so.1(_Z14ValidateConfigP6ConfigjPci+0x628)[0xb76306b8]<br />
/usr/local/lib/libnxcore.so.1(_ZN13ClientSession19importConfigurationEP11CSCPMessage+0x24e)[0xb76879ce]<br />
/usr/local/lib/libnxcore.so.1(_ZN13ClientSession16processingThreadEv+0xd59)[0xb7692fb9]<br />
/usr/local/lib/libnxcore.so.1(_ZN13ClientSession23processingThreadStarterEPv+0x1b)[0xb769387b]<br />
/lib/i386-linux-gnu/libpthread.so.0(+0x6d4c)[0xb7568d4c]<br />
/lib/i386-linux-gnu/libc.so.6(clone+0x5e)[0xb74a7bae]</p>
<p dir="auto">Program received signal SIGABRT, Aborted.<br />
[Switching to Thread 0xadc89b40 (LWP 23803)]<br />
0xb7fdd424 in __kernel_vsyscall ()<br />
(gdb) bt<br />
#0  0xb7fdd424 in __kernel_vsyscall ()<br />
#1  0xb7cc61df in raise () from /lib/i386-linux-gnu/libc.so.6<br />
#2  0xb7cc9825 in abort () from /lib/i386-linux-gnu/libc.so.6<br />
#3  0xb7d0339a in ?? () from /lib/i386-linux-gnu/libc.so.6<br />
#4  0xb7d0dee2 in ?? () from /lib/i386-linux-gnu/libc.so.6<br />
#5  0xb7f106b8 in ~ConfigEntryList (this=&lt;optimized out&gt;,<br />
    __in_chrg=&lt;optimized out&gt;) at ../../../include/nxconfig.h:111<br />
#6  ValidateTemplate (errorTextLen=1024, errorText=0xadc8897c "@",<br />
    root=&lt;optimized out&gt;, config=0xb560a428) at import.cpp:119<br />
#7  ValidateConfig (config=0xb560a428, flags=0, errorText=0xadc8897c "@",<br />
    errorTextLen=1024) at import.cpp:209<br />
#8  0xb7f679ce in ClientSession::importConfiguration (this=0xb6206f28,<br />
    pRequest=0xb530aff0) at session.cpp:8918<br />
#9  0xb7f72fb9 in ClientSession::processingThread (this=0xb6206f28)<br />
    at session.cpp:1133<br />
#10 0xb7f7387b in ClientSession::processingThreadStarter (pArg=0xb6206f28)<br />
    at session.cpp:203<br />
#11 0xb7e48d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0<br />
#12 0xb7d87bae in clone () from /lib/i386-linux-gnu/libc.so.6</p>
</blockquote>
<p dir="auto"> </p>
<p dir="auto">Here is the template:</p>
<blockquote>
<p dir="auto">&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br />
&lt;configuration&gt;<br />
    &lt;formatVersion&gt;3&lt;/formatVersion&gt;<br />
    &lt;description&gt;Ethernet Statistics&lt;/description&gt;<br />
    &lt;events&gt;<br />
    &lt;/events&gt;<br />
    &lt;templates&gt;<br />
        &lt;template id="1824"&gt;<br />
            &lt;name&gt;Ethernet Statistics&lt;/name&gt;<br />
            &lt;flags&gt;0&lt;/flags&gt;<br />
            &lt;dataCollection&gt;<br />
                &lt;dctable id="213"&gt;<br />
                    &lt;name&gt;.1.3.6.1.2.1.16.1.1.1.1&lt;/name&gt;<br />
                    &lt;description&gt;Ethernet Statistics&lt;/description&gt;<br />
                    &lt;origin&gt;2&lt;/origin&gt;<br />
                    &lt;interval&gt;60&lt;/interval&gt;<br />
                    &lt;retention&gt;30&lt;/retention&gt;<br />
                    &lt;systemTag&gt;&lt;/systemTag&gt;<br />
                    &lt;advancedSchedule&gt;0&lt;/advancedSchedule&gt;<br />
                    &lt;rawValueInOctetString&gt;0&lt;/rawValueInOctetString&gt;<br />
                    &lt;snmpPort&gt;0&lt;/snmpPort&gt;<br />
                    &lt;transformation&gt;&lt;/transformation&gt;<br />
                    &lt;columns&gt;<br />
                        &lt;column id="1"&gt;<br />
                            &lt;name&gt;Index&lt;/name&gt;<br />
                            &lt;displayName&gt;Index&lt;/displayName&gt;<br />
                            &lt;snmpOid&gt;.1.3.6.1.2.1.16.1.1.1.1&lt;/snmpOid&gt;<br />
                            &lt;flags&gt;256&lt;/flags&gt;<br />
                        &lt;/column&gt;<br />
                        &lt;column id="2"&gt;<br />
                            &lt;name&gt;Broadcast Packets&lt;/name&gt;<br />
                            &lt;displayName&gt;Broadcast Packets&lt;/displayName&gt;<br />
                            &lt;snmpOid&gt;.1.3.6.1.2.1.16.1.1.1.6&lt;/snmpOid&gt;<br />
                            &lt;flags&gt;33&lt;/flags&gt;<br />
                        &lt;/column&gt;<br />
                        &lt;column id="3"&gt;<br />
                            &lt;name&gt;Multicast Packets&lt;/name&gt;<br />
                            &lt;displayName&gt;Multicast Packets&lt;/displayName&gt;<br />
                            &lt;snmpOid&gt;.1.3.6.1.2.1.16.1.1.1.7&lt;/snmpOid&gt;<br />
                            &lt;flags&gt;1&lt;/flags&gt;<br />
                        &lt;/column&gt;<br />
                        &lt;column id="4"&gt;<br />
                            &lt;name&gt;Packets&lt;/name&gt;<br />
                            &lt;displayName&gt;Packets&lt;/displayName&gt;<br />
                            &lt;snmpOid&gt;.1.3.6.1.2.1.16.1.1.1.5&lt;/snmpOid&gt;<br />
                            &lt;flags&gt;1&lt;/flags&gt;<br />
                        &lt;/column&gt;<br />
                        &lt;column id="5"&gt;<br />
                            &lt;name&gt;Collisions&lt;/name&gt;<br />
                            &lt;displayName&gt;Collisions&lt;/displayName&gt;<br />
                            &lt;snmpOid&gt;.1.3.6.1.2.1.16.1.1.1.13&lt;/snmpOid&gt;<br />
                            &lt;flags&gt;0&lt;/flags&gt;<br />
                        &lt;/column&gt;<br />
                        &lt;column id="6"&gt;<br />
                            &lt;name&gt;CRC Align Errors&lt;/name&gt;<br />
                            &lt;displayName&gt;CRC Align Errors&lt;/displayName&gt;<br />
                            &lt;snmpOid&gt;.1.3.6.1.2.1.16.1.1.1.8&lt;/snmpOid&gt;<br />
                            &lt;flags&gt;0&lt;/flags&gt;<br />
                        &lt;/column&gt;<br />
                        &lt;column id="7"&gt;<br />
                            &lt;name&gt;Drop Events&lt;/name&gt;<br />
                            &lt;displayName&gt;Drop Events&lt;/displayName&gt;<br />
                            &lt;snmpOid&gt;.1.3.6.1.2.1.16.1.1.1.3&lt;/snmpOid&gt;<br />
                            &lt;flags&gt;0&lt;/flags&gt;<br />
                        &lt;/column&gt;<br />
                    &lt;/columns&gt;<br />
                    &lt;thresholds&gt;<br />
                    &lt;/thresholds&gt;<br />
                    &lt;perfTabSettings&gt;&lt;/perfTabSettings&gt;<br />
                &lt;/dctable&gt;<br />
            &lt;/dataCollection&gt;<br />
        &lt;/template&gt;<br />
    &lt;/templates&gt;<br />
    &lt;traps&gt;<br />
    &lt;/traps&gt;<br />
&lt;/configuration&gt;</p>
</blockquote>
<p dir="auto"> <br />
Is the template wrong, or is there something else?</p>
<p dir="auto">Thanks in advance,<br />
Nikk</p>
]]></description><link>https://forum.netxms.org/topic/2698/server-problems</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 13:26:34 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/2698.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 01 Nov 2013 10:17:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Server problems on Mon, 16 Dec 2013 11:00:25 GMT]]></title><description><![CDATA[<p dir="auto">Hi ericq,</p>
<p dir="auto">In my case, agent is starting fine, but core is the guilty one.<br />
And core is starting this:<br />
C:\NetXMS\bin\netxmsd.exe" --config "C:\NetXMS\etc\netxmsd.conf" -d</p>
<p dir="auto">Thank you anyway <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto">Nikk</p>
]]></description><link>https://forum.netxms.org/post/12181</link><guid isPermaLink="true">https://forum.netxms.org/post/12181</guid><dc:creator><![CDATA[Nikk]]></dc:creator><pubDate>Mon, 16 Dec 2013 11:00:25 GMT</pubDate></item><item><title><![CDATA[Reply to Server problems on Mon, 16 Dec 2013 09:58:33 GMT]]></title><description><![CDATA[<p dir="auto">I solved problem #1 by cahnging the startup path of the service.<br />
The service NetXMSAgentdW32 will start the follow.<br />
"C:\NetXMS\bin\nxagentd.exe" -d -c "C:\NetXMS\etc\nxagentd.conf" -n "NetXMSAgentdW32" -e "NetXMS Win32 Agent" -D -1 -M "192.168.0.41"<br />
The Debug level is set to -D -1. this has to be -D 1.<br />
Edit the service to start this<br />
"C:\NetXMS\bin\nxagentd.exe" -d -c "C:\NetXMS\etc\nxagentd.conf" -n "NetXMSAgentdW32" -e "NetXMS Win32 Agent" -D 1 -M "192.168.0.41"</p>
<p dir="auto">Run regedt32.exe then navigate to the key for the service found in;<br />
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services<br />
and edit the Reg_Expand_Sz string named 'ImagePath'</p>
]]></description><link>https://forum.netxms.org/post/12178</link><guid isPermaLink="true">https://forum.netxms.org/post/12178</guid><dc:creator><![CDATA[ericq]]></dc:creator><pubDate>Mon, 16 Dec 2013 09:58:33 GMT</pubDate></item><item><title><![CDATA[Reply to Server problems on Thu, 21 Nov 2013 11:18:59 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Any changes regarding to problem #1? It is annoying, that each time, when I want to restart server, I have to wait 20-30 min :/.</p>
<p dir="auto">Thanks in advance,<br />
Nikk</p>
]]></description><link>https://forum.netxms.org/post/11905</link><guid isPermaLink="true">https://forum.netxms.org/post/11905</guid><dc:creator><![CDATA[Nikk]]></dc:creator><pubDate>Thu, 21 Nov 2013 11:18:59 GMT</pubDate></item><item><title><![CDATA[Reply to Server problems on Mon, 04 Nov 2013 11:56:30 GMT]]></title><description><![CDATA[<p dir="auto">Thank you  <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto">Nikk</p>
]]></description><link>https://forum.netxms.org/post/11695</link><guid isPermaLink="true">https://forum.netxms.org/post/11695</guid><dc:creator><![CDATA[Nikk]]></dc:creator><pubDate>Mon, 04 Nov 2013 11:56:30 GMT</pubDate></item><item><title><![CDATA[Reply to Server problems on Mon, 04 Nov 2013 11:55:07 GMT]]></title><description><![CDATA[<p dir="auto">Template import fixed in current trunk and will be released in 1.2.10</p>
]]></description><link>https://forum.netxms.org/post/11693</link><guid isPermaLink="true">https://forum.netxms.org/post/11693</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Mon, 04 Nov 2013 11:55:07 GMT</pubDate></item><item><title><![CDATA[Reply to Server problems on Mon, 04 Nov 2013 10:28:03 GMT]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I tried this:</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/victor" aria-label="Profile: victor">@<bdi>victor</bdi></a> said in <a href="/post/11673">Server problems</a>:</p>
<blockquote>
<p dir="auto">Problem #2 seems to be the same as in <a href="https://www.netxms.org/forum/general-support/segfault-2648" rel="nofollow ugc">https://www.netxms.org/forum/general-support/segfault-2648</a>. You can try to apply suggested patch and recompile if you was building from sources.</p>
</blockquote>
<p dir="auto">and it worked, thanks <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto">Nikk</p>
]]></description><link>https://forum.netxms.org/post/11690</link><guid isPermaLink="true">https://forum.netxms.org/post/11690</guid><dc:creator><![CDATA[Nikk]]></dc:creator><pubDate>Mon, 04 Nov 2013 10:28:03 GMT</pubDate></item><item><title><![CDATA[Reply to Server problems on Fri, 01 Nov 2013 22:47:44 GMT]]></title><description><![CDATA[<p dir="auto">Okey, i'll try that patch, and will let you know about the progress!</p>
<p dir="auto">Nice to hear that, big thanks!</p>
<p dir="auto">Nikk</p>
]]></description><link>https://forum.netxms.org/post/11685</link><guid isPermaLink="true">https://forum.netxms.org/post/11685</guid><dc:creator><![CDATA[Nikk]]></dc:creator><pubDate>Fri, 01 Nov 2013 22:47:44 GMT</pubDate></item><item><title><![CDATA[Reply to Server problems on Fri, 01 Nov 2013 18:01:05 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">Problem #2 seems to be the same as in <a href="https://www.netxms.org/forum/general-support/segfault-2648" rel="nofollow ugc">https://www.netxms.org/forum/general-support/segfault-2648</a>. You can try to apply suggested patch and recompile if you was building from sources. I'll take a look at other two problems.</p>
<p dir="auto">I plan to release 1.2.10 somewhere next week, so hopefully all those crashes will be fixed.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/11673</link><guid isPermaLink="true">https://forum.netxms.org/post/11673</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Fri, 01 Nov 2013 18:01:05 GMT</pubDate></item></channel></rss>