<?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[Segmentation fault at starting nxagentd]]></title><description><![CDATA[<p dir="auto">Hi all,<br />
after running agent (/opt/netxms/bin/nxagentd) i got "Program received signal SIGSEGV, Segmentation fault."</p>
<p dir="auto">This is full error msg (D9):</p>
<blockquote>
<p dir="auto">:02:34.998] [INFO ] Additional configs was loaded from /etc/nxagentd.conf.d<br />
:02:34.998] [INFO ] Debug level set to 9<br />
:02:34.998] [DEBUG] Data directory: /opt/netxms/var/lib/netxms<br />
:02:34.999] [DEBUG] Subagent API initialized<br />
:02:35.000] [DEBUG] Validating ciphers<br />
:02:35.000] [DEBUG]    AES-256 enabled<br />
:02:35.000] [DEBUG]    Blowfish-256 enabled<br />
:02:35.000] [DEBUG]    IDEA enabled<br />
:02:35.000] [DEBUG]    3DES enabled<br />
:02:35.000] [DEBUG]    AES-128 enabled<br />
:02:35.000] [DEBUG]    Blowfish-128 enabled<br />
:02:35.000] [DEBUG] Crypto library initialized<br />
:02:35.004] [DEBUG] SQLite version 3.8.2<br />
:02:35.004] [INFO ] DB Library: Database driver "sqlite.ddr" loaded and initialized successfully<br />
:02:35.004] [DEBUG] DBConnect: server=(null) db=/opt/netxms/var/lib/netxms/nxagentd.db login=(null) schema=(null)<br />
:02:35.005] [DEBUG] New DB connection opened: handle=0x6b5170<br />
:02:35.006] [DEBUG] Successful sync query: "SELECT value FROM metadata WHERE attribute='SchemaVersion'" [1 ms]<br />
:02:35.010] [DEBUG] Successful sync query: "VACUUM" [4 ms]<br />
:02:35.010] [DEBUG] Local database opened successfully<br />
:02:35.010] [DEBUG] Maximum number of sessions set to 1024<br />
Segmentation fault (core dumped)</p>
</blockquote>
<p dir="auto">also this is gdb stack trace:</p>
<blockquote>
<p dir="auto">]<br />
#0  0x00002aaaad90fa19 in CpuUsageCollector () at cpu.cpp:145<br />
#1  0x00002aaaad90ff53 in StartCpuUsageCollector () at cpu.cpp:227<br />
#2  0x00002aaaad912629 in SubAgentInit (config=0x2aaaadd53010) at linux.cpp:101<br />
#3  0x000000000041d194 in InitSubAgent (hModule=0x6ec790, pszModuleName=0x7fffffff11b0 L"linux.nsm", SubAgentRegister=&lt;optimized out&gt;, pszEntryPoint=&lt;optimized out&gt;)<br />
    at subagent.cpp:61<br />
#4  0x000000000041d54b in LoadSubAgent (szModuleName=0x7fffffff11b0 L"linux.nsm") at subagent.cpp:219<br />
#5  0x0000000000416061 in LoadPlatformSubagent () at nxagentd.cpp:645<br />
#6  Initialize () at nxagentd.cpp:812<br />
#7  0x0000000000416ca8 in main (argc=&lt;optimized out&gt;, argv=0x7fffffffe5d8) at nxagentd.cpp:1742</p>
</blockquote>
]]></description><link>https://forum.netxms.org/topic/5071/segmentation-fault-at-starting-nxagentd</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 08:33:40 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/5071.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 21 May 2017 12:33:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Segmentation fault at starting nxagentd on Wed, 24 May 2017 12:21:44 GMT]]></title><description><![CDATA[<p dir="auto">Looks like the linux subagent can only monitor a maximum of 64 cores. I have added it as a bug in the bugtracker <a href="https://track.radensolutions.com/issue/NX-1257" rel="nofollow ugc">https://track.radensolutions.com/issue/NX-1257</a></p>
<p dir="auto">Regards,<br />
Eriks</p>
]]></description><link>https://forum.netxms.org/post/22412</link><guid isPermaLink="true">https://forum.netxms.org/post/22412</guid><dc:creator><![CDATA[Sviests]]></dc:creator><pubDate>Wed, 24 May 2017 12:21:44 GMT</pubDate></item><item><title><![CDATA[Reply to Segmentation fault at starting nxagentd on Wed, 24 May 2017 11:06:28 GMT]]></title><description><![CDATA[<p dir="auto">any idea?</p>
]]></description><link>https://forum.netxms.org/post/22411</link><guid isPermaLink="true">https://forum.netxms.org/post/22411</guid><dc:creator><![CDATA[r00t]]></dc:creator><pubDate>Wed, 24 May 2017 11:06:28 GMT</pubDate></item><item><title><![CDATA[Reply to Segmentation fault at starting nxagentd on Mon, 22 May 2017 05:43:46 GMT]]></title><description><![CDATA[<p dir="auto">Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-32-generic x86_64)<br />
which env you want? all env variable?</p>
<p dir="auto">also i'm suspicious of hardware spec, bcoz this configuration is working fine on my other servers and i have problem only in this server!<br />
This server has 192 cpu core!<br />
if you look at stack trace log i have error on CpuUsageCollector ()!</p>
]]></description><link>https://forum.netxms.org/post/22389</link><guid isPermaLink="true">https://forum.netxms.org/post/22389</guid><dc:creator><![CDATA[r00t]]></dc:creator><pubDate>Mon, 22 May 2017 05:43:46 GMT</pubDate></item><item><title><![CDATA[Reply to Segmentation fault at starting nxagentd on Sun, 21 May 2017 19:58:20 GMT]]></title><description><![CDATA[<p dir="auto">Hello,<br />
It will be not bad if You will provide some details about your environment (OS etc.).</p>
]]></description><link>https://forum.netxms.org/post/22388</link><guid isPermaLink="true">https://forum.netxms.org/post/22388</guid><dc:creator><![CDATA[VSS]]></dc:creator><pubDate>Sun, 21 May 2017 19:58:20 GMT</pubDate></item><item><title><![CDATA[Reply to Segmentation fault at starting nxagentd on Sun, 21 May 2017 12:35:01 GMT]]></title><description><![CDATA[<p dir="auto">Version info:<br />
NetXMS Core Agent Version 2.0.8 Build 8078 (2.0.8-RELEASE) (UNICODE)</p>
]]></description><link>https://forum.netxms.org/post/22387</link><guid isPermaLink="true">https://forum.netxms.org/post/22387</guid><dc:creator><![CDATA[r00t]]></dc:creator><pubDate>Sun, 21 May 2017 12:35:01 GMT</pubDate></item></channel></rss>