<?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[Install Server 3.9.156 fails with DB Error]]></title><description><![CDATA[<p dir="auto">Hi @all,</p>
<p dir="auto">at install from the Server V3.9.156  (over V3.8, Win10, MySQL DB) i got the error:</p>
<pre><code>2021.07.28 10:45:23.820 *I* [logger             ] Log file opened (rotation policy 2, max size 16777216)
2021.07.28 10:45:23.838 *I* [db.drv             ] Database driver "pgsql.ddr" loaded and initialized successfully
2021.07.28 10:46:13.417 *E* [                   ] Unable to establish connection with database (could not connect to server: Connection refused (0x0000274D/10061)
	Is the server running on host "localhost" (::1) and accepting
	TCP/IP connections on port 5432?
could not connect to server: Connection refused (0x0000274D/10061)
	Is the server running on host "localhost" (127.0.0.1) and accepting
	TCP/IP connections on port 5432?)
</code></pre>
<p dir="auto">(please see screenshot from install at attachment)</p>
<p dir="auto">But we use MySQL as database.</p>
<p dir="auto">The netxmsd.conf was completly rewriten from installer with postgress config data.</p>
<p dir="auto">So i had to copy my old MySQL config into the netxmsd.conf file. After that i had to do a manual upgrade the database with "nxdbmgr upgrade".</p>
<p dir="auto">After that, i can start the NetXMS Core Service.</p>
<p dir="auto">Maybe a Dev should take a look into the setup process...</p>
<p dir="auto">Greetings<br />
Marco</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000005531-error_message_at_install.jpg" alt="error_message_at_install.jpg" class="img-markdown  img-fluid" width="984" height="226" /></p>
]]></description><link>https://forum.netxms.org/topic/7113/install-server-3.9.156-fails-with-db-error</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 15:40:25 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/7113.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 28 Jul 2021 09:23:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Install Server 3.9.156 fails with DB Error on Wed, 08 Sep 2021 00:44:07 GMT]]></title><description><![CDATA[<p dir="auto">Success! I followed your instructions and had no issues with the install this time - worked flawlessly.</p>
<p dir="auto">Thank you so much!!!</p>
]]></description><link>https://forum.netxms.org/post/30442</link><guid isPermaLink="true">https://forum.netxms.org/post/30442</guid><dc:creator><![CDATA[netsurfer]]></dc:creator><pubDate>Wed, 08 Sep 2021 00:44:07 GMT</pubDate></item><item><title><![CDATA[Reply to Install Server 3.9.156 fails with DB Error on Tue, 07 Sep 2021 23:59:28 GMT]]></title><description><![CDATA[<p dir="auto">Thank you very much! I will give that a go in the morning, and reply with my results.</p>
<p dir="auto">Cheers!</p>
]]></description><link>https://forum.netxms.org/post/30441</link><guid isPermaLink="true">https://forum.netxms.org/post/30441</guid><dc:creator><![CDATA[netsurfer]]></dc:creator><pubDate>Tue, 07 Sep 2021 23:59:28 GMT</pubDate></item><item><title><![CDATA[Reply to Install Server 3.9.156 fails with DB Error on Tue, 07 Sep 2021 21:35:40 GMT]]></title><description><![CDATA[<p dir="auto">Yes, Postgres should be installed prior to installing NetXMS. <a href="https://www.enterprisedb.com/downloads/postgres-postgresql-downloads" rel="nofollow ugc">https://www.enterprisedb.com/downloads/postgres-postgresql-downloads</a><br />
During installation of Posgres you will enter password for super user named "postgres". When installing NetXMS, use DBA login name "postgres" and the password that you entered.</p>
<p dir="auto">Login name, database name and password could be anything - the installed will create postgres uses with that login name and password and will create a database. These credential will be written to NetXMS server configuration file (netxmsd.conf), so when it starts, it will use this information to communication to the database.</p>
]]></description><link>https://forum.netxms.org/post/30438</link><guid isPermaLink="true">https://forum.netxms.org/post/30438</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Tue, 07 Sep 2021 21:35:40 GMT</pubDate></item><item><title><![CDATA[Reply to Install Server 3.9.156 fails with DB Error on Tue, 07 Sep 2021 15:55:48 GMT]]></title><description><![CDATA[<p dir="auto">I've attached a couple screenshots of the connection refused window (after the install) and one of the Initialize Database window with the database selection type of PostgreSQL (note was not sure if this database should have been setup prior to the install as I wasn't exactly sure what to fill in for the various fields for the Database Server/Name, Login Name/Password)</p>
<p dir="auto">thx</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000005544-netxms-Connection-refused-screen.jpg" alt="netxms-Connection-refused-screen.jpg" class="img-markdown  img-fluid" width="960" height="504" /></p>
<p dir="auto"><img src="/assets/uploads/files/smf/0000000005545-netxms-Initialize-Database-screen.jpg" alt="netxms-Initialize-Database-screen.jpg" class="img-markdown  img-fluid" width="598" height="464" /></p>
]]></description><link>https://forum.netxms.org/post/30434</link><guid isPermaLink="true">https://forum.netxms.org/post/30434</guid><dc:creator><![CDATA[netsurfer]]></dc:creator><pubDate>Tue, 07 Sep 2021 15:55:48 GMT</pubDate></item><item><title><![CDATA[Reply to Install Server 3.9.156 fails with DB Error on Tue, 07 Sep 2021 14:44:20 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for your response, sorry for the delay as it was a long holiday weekend here.</p>
<p dir="auto">This is a new install on Win 10.   During install I selected pgsql.   (I'm new to installing NetXMS and 'sql' databases)</p>
<p dir="auto">Here's a copy of the netxmsd.conf</p>
<p dir="auto">#<br />
# Configuration file generated on Tue Aug 31 15:50:03 2021<br />
#</p>
<p dir="auto">DBDriver=pgsql.ddr<br />
DBServer=localhost<br />
DBName=netxms_db<br />
DBLogin=sa<br />
LogFile=C:\NetXMS\log\netxmsd.log</p>
]]></description><link>https://forum.netxms.org/post/30432</link><guid isPermaLink="true">https://forum.netxms.org/post/30432</guid><dc:creator><![CDATA[netsurfer]]></dc:creator><pubDate>Tue, 07 Sep 2021 14:44:20 GMT</pubDate></item><item><title><![CDATA[Reply to Install Server 3.9.156 fails with DB Error on Fri, 03 Sep 2021 09:01:24 GMT]]></title><description><![CDATA[<p dir="auto">What database are you using? What's the contents of netxmsd.conf? Did you install or upgrade?</p>
]]></description><link>https://forum.netxms.org/post/30416</link><guid isPermaLink="true">https://forum.netxms.org/post/30416</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Fri, 03 Sep 2021 09:01:24 GMT</pubDate></item><item><title><![CDATA[Reply to Install Server 3.9.156 fails with DB Error on Thu, 02 Sep 2021 19:30:22 GMT]]></title><description><![CDATA[<p dir="auto">I am having the same issue in Windows with NetXMS version 3.9.178</p>
<p dir="auto">Any help would be appreciated.</p>
]]></description><link>https://forum.netxms.org/post/30415</link><guid isPermaLink="true">https://forum.netxms.org/post/30415</guid><dc:creator><![CDATA[netsurfer]]></dc:creator><pubDate>Thu, 02 Sep 2021 19:30:22 GMT</pubDate></item><item><title><![CDATA[Reply to Install Server 3.9.156 fails with DB Error on Thu, 05 Aug 2021 11:05:46 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">this should be fixed in installer version 3.9.178.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/30320</link><guid isPermaLink="true">https://forum.netxms.org/post/30320</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 05 Aug 2021 11:05:46 GMT</pubDate></item></channel></rss>