<?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[nxdbmgr init: Segmentation fault]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I installed the latest version on a new server (CentOS Linux release 7.8.2003).<br />
No compilation or installation problems:</p>
<pre><code>/configure --with-server --with-mariadb --with-mariadb-compat-headers --with-agent
...
...
...
---------------------------------------------------------------------
                         Configure results
---------------------------------------------------------------------

Version                 : 3.4.178
Prefix                  : /usr/local
Platform                : Linux
Shared library suffix   : .so
Shared library version  : 34
IPv6 support            : YES
MQTT support            : YES
Build Server            : YES
Server libs             :
LDAP support            : NO
XMPP support            : YES
ZeroMQ support          : NO
Python support          : NO
Encryption enabled      : YES
SSH support enabled     : YES
Build DB-Drivers        : mariadb sqlite
Build Clients           : NO
Build Agent             : YES
Agent libs              :
Agent extra components  :
Subagents list          : linux ds18x20 netsvc ssh mqtt lorawan
Systemd support         : YES
SD-Bus support          : NO
Build Static Agent      : NO
UNICODE build           : YES
Use internal libexpat   : YES
Use internal libjansson : YES
Use internal sqlite     : YES
Use internal zlib       : NO
Force 32bit build       : NO
C compiler              : gcc
C++ compiler            : g++
C++ compiler info       : g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39)
CPPFLAGS                :  -D_THREAD_SAFE -D_GNU_SOURCE -O2 -Wformat -Wno-unused-result -Wno-format-truncation -Werror=return-type -fvisibility=hidden -I/usr/local/include -DUNICODE -DPREFIX=L\"${prefix}\" -DDATADIR=L\"${pkgdatadir}\" -DBINDIR=L\"${bindir}\" -DLIBDIR=L\"${libdir}\" -DPKGLIBDIR=L\"${pkglibdir}\" -DSTATEDIR=L\"${localstatedir}/lib/netxms\" -DSYSCONFDIR=L\"${sysconfdir}\" -DNDEBUG
CXXFLAGS                : -g -O2 -std=c++11 -fno-rtti -fno-exceptions -fvisibility-inlines-hidden
CFLAGS                  : -g -O2
LDFLAGS                 :   -L/usr/local/lib
LIBS                    : -lpcre32 -lpcre -lz -lresolv -ldl  -lpthread -lssl -lcrypto -lcurl
Executable LDFLAGS      :
Executable LIBS         :
MariaDB CPPFLAGS        : -I/usr/include/mysql
MariaDB LIBS            : -lmariadb
</code></pre>
<p dir="auto">No database creation problems either on MariaDB:<br />
rpm -qa | grep -i maria<br />
MariaDB-compat-10.4.13-1.el7.centos.x86_64<br />
MariaDB-server-10.4.13-1.el7.centos.x86_64<br />
MariaDB-client-10.4.13-1.el7.centos.x86_64<br />
MariaDB-devel-10.4.13-1.el7.centos.x86_64<br />
MariaDB-shared-10.4.13-1.el7.centos.x86_64<br />
MariaDB-common-10.4.13-1.el7.centos.x86_64</p>
<pre><code>$ mysql -u netxms -pPaSsWwDd
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 1056
</code></pre>
<p dir="auto"><strong>But I'm getting a segmentation error on initial configuration using nxdbmgr utility:</strong></p>
<pre><code>$ /usr/local/bin/nxdbmgr init
NetXMS Database Manager Version 3.4.178 Build 3.4-178-g757c658f4d (UNICODE)

Initializing database...
Erreur de segmentation
</code></pre>
<p dir="auto">Any ideas on how to fix this?</p>
<p dir="auto">Thanks<br />
BB</p>
]]></description><link>https://forum.netxms.org/topic/6593/nxdbmgr-init-segmentation-fault</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 16:55:49 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/6593.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 03 Jul 2020 13:30:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to nxdbmgr init: Segmentation fault on Fri, 10 Jul 2020 13:44:30 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">After uninstalling and reinstalling everything properly in /opt/netxms, I no longer have the error:</p>
<pre><code>$ /opt/netxms/bin/nxdbmgr init
NetXMS Database Manager Version 3.4.178 Build 3.4-178-g757c658f4d (UNICODE)

Initializing database...
Database initialized successfully
</code></pre>
<p dir="auto">I think there was a conflict with an older version or system library...</p>
<p dir="auto">Thank you for your help.<br />
BB</p>
]]></description><link>https://forum.netxms.org/post/28226</link><guid isPermaLink="true">https://forum.netxms.org/post/28226</guid><dc:creator><![CDATA[BigBlue]]></dc:creator><pubDate>Fri, 10 Jul 2020 13:44:30 GMT</pubDate></item><item><title><![CDATA[Reply to nxdbmgr init: Segmentation fault on Wed, 08 Jul 2020 15:48:12 GMT]]></title><description><![CDATA[<p dir="auto">Right, currently the installed files are in several other places.</p>
<p dir="auto">Please add --prefix=/opt/netxms to ./configure command, run ./configure ...., make and make install and send the contents of /opt/netxms folder</p>
<p dir="auto"><strong>UPD:</strong> or if you have not done the above yet, please just send the contents of the following folders from your system.<br />
/usr/local/bin<br />
/usr/local/lib</p>
]]></description><link>https://forum.netxms.org/post/28213</link><guid isPermaLink="true">https://forum.netxms.org/post/28213</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Wed, 08 Jul 2020 15:48:12 GMT</pubDate></item><item><title><![CDATA[Reply to nxdbmgr init: Segmentation fault on Wed, 08 Jul 2020 15:03:16 GMT]]></title><description><![CDATA[<p dir="auto">I don't understand exactly what files this is about...<br />
You have here the whole folder (compilation + make).</p>
<p dir="auto"></p><div class="card col-md-9 col-lg-6 position-relative link-preview p-0">



<a href="https://filesender.renater.fr/?s=download&amp;token=1a8b4ccc-ed8a-436b-936e-d77c8ea3f8dd" title="FileSender">
<img src="https://filesender.renater.fr/skin/images/logo.svg" class="card-img-top not-responsive" style="max-height:15rem" alt="Link Preview Image" />
</a>





















<div class="card-body">
<h5 class="card-title">
<a class="text-decoration-none" href="https://filesender.renater.fr/?s=download&amp;token=1a8b4ccc-ed8a-436b-936e-d77c8ea3f8dd">
FileSender
</a>
</h5>
<p class="card-text line-clamp-3"></p>
</div>
<a href="https://filesender.renater.fr/?s=download&amp;token=1a8b4ccc-ed8a-436b-936e-d77c8ea3f8dd" class="card-footer text-body-secondary small d-flex gap-2 align-items-center lh-2">



<img src="https://filesender.renater.fr/skin/favicon.png" alt="favicon" class="not-responsive overflow-hiddden" style="max-width:21px;max-height:21px" />



<p class="d-inline-block text-truncate mb-0"> <span class="text-secondary">(filesender.renater.fr)</span></p>
</a>
</div><p></p>
<p dir="auto">Is that okay?</p>
]]></description><link>https://forum.netxms.org/post/28212</link><guid isPermaLink="true">https://forum.netxms.org/post/28212</guid><dc:creator><![CDATA[BigBlue]]></dc:creator><pubDate>Wed, 08 Jul 2020 15:03:16 GMT</pubDate></item><item><title><![CDATA[Reply to nxdbmgr init: Segmentation fault on Wed, 08 Jul 2020 14:20:52 GMT]]></title><description><![CDATA[<p dir="auto">We also need exact binaries how they got compiled on your system. Please provide an archive of netxms/bin and netxms/lib folders.</p>
]]></description><link>https://forum.netxms.org/post/28208</link><guid isPermaLink="true">https://forum.netxms.org/post/28208</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Wed, 08 Jul 2020 14:20:52 GMT</pubDate></item><item><title><![CDATA[Reply to nxdbmgr init: Segmentation fault on Wed, 08 Jul 2020 11:54:43 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">The file is too large and cannot be attached.<br />
Attached is a download link:<br />
<a href="https://filesender.renater.fr/?s=download&amp;token=5d98ef83-96f0-4845-841d-754be24335f0" rel="nofollow ugc">https://filesender.renater.fr/?s=download&amp;token=5d98ef83-96f0-4845-841d-754be24335f0</a></p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.netxms.org/post/28206</link><guid isPermaLink="true">https://forum.netxms.org/post/28206</guid><dc:creator><![CDATA[BigBlue]]></dc:creator><pubDate>Wed, 08 Jul 2020 11:54:43 GMT</pubDate></item><item><title><![CDATA[Reply to nxdbmgr init: Segmentation fault on Mon, 06 Jul 2020 13:38:51 GMT]]></title><description><![CDATA[<p dir="auto">Please run</p>
<pre><code>ulimit -S -c unlimited
</code></pre>
<p dir="auto">this will enable core dump creation.<br />
Then run</p>
<pre><code>nxdbmgr init
</code></pre>
<p dir="auto">again. When it crashes, a file should appear in current folder named core.xxxx. Please attach this file here.</p>
]]></description><link>https://forum.netxms.org/post/28190</link><guid isPermaLink="true">https://forum.netxms.org/post/28190</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Mon, 06 Jul 2020 13:38:51 GMT</pubDate></item></channel></rss>