<?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 core service on windows won't start]]></title><description><![CDATA[<p dir="auto">after first installation of netxms on windows xp the first start is good but when the computer is rebooted the netxms core service won't start.</p>
<p dir="auto">any one help</p>
<p dir="auto">marcel</p>
]]></description><link>https://forum.netxms.org/topic/11/netxms-core-service-on-windows-won-t-start</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 10:19:38 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/11.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 24 Aug 2006 11:16:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to netxms core service on windows won't start on Thu, 28 Apr 2011 07:43:43 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">Run command</p>
<pre><code>nxdbmgr.exe upgrade
</code></pre>
<p dir="auto">It will upgrade your database schema.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/5428</link><guid isPermaLink="true">https://forum.netxms.org/post/5428</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 28 Apr 2011 07:43:43 GMT</pubDate></item><item><title><![CDATA[Reply to netxms core service on windows won't start on Thu, 28 Apr 2011 06:51:29 GMT]]></title><description><![CDATA[<p dir="auto">hi,<br />
  my netxms core server also can't start. system event log " your database server has format version 104,but the server is comiled for version 105".I'm use sql2000.</p>
]]></description><link>https://forum.netxms.org/post/5427</link><guid isPermaLink="true">https://forum.netxms.org/post/5427</guid><dc:creator><![CDATA[peter_qin]]></dc:creator><pubDate>Thu, 28 Apr 2011 06:51:29 GMT</pubDate></item><item><title><![CDATA[Reply to netxms core service on windows won't start on Thu, 01 Feb 2007 17:00:46 GMT]]></title><description><![CDATA[<p dir="auto">Hello,<br />
I was a couple of days off, but now I'm back and I tried a few other things.<br />
I've created an empty database, which has been initialised by netxms, but it couldn't connect. Now that I had a config table I changed the entry DBFormatVersion from 0 to 54 (because of an entry in the eventlog, saying "Your database has format version 0, but server is compiled for version 54."). After that netxms could connect and worked pretty well, but everytime I tried to look into the database Enterprise Manager crashed.<br />
Eventually I could not get a connection again.</p>
<p dir="auto">I also installed a new instance of MS Desktop Engine 2000 and netxms on a different machine ad it worked without problems.</p>
<p dir="auto">Now that I got it, here's the entry of the config table, maybe that will give you some further hints.</p>
<p dir="auto">"ActiveDiscoveryInterval","7200",1,1<br />
"ActiveNetworkDiscovery","0",1,1<br />
"AgentUpgradeWaitTime","600",1,0<br />
"AllowedCiphers","15",1,1<br />
"CapabilityExpirationTime","604800",1,0<br />
"ClientListenerPort","4701",1,1<br />
"ConditionPollingInterval","60",1,1<br />
"ConfigurationPollingInterval","3600",1,1<br />
"DataDirectory","C:#5CNetXMS#5Cvar",1,1<br />
"DBFormatVersion","54",0,1<br />
"DBLockInfo","PG_SCHOLZST Windows 2000 Service Pack 4 Build 2195",0,0<br />
"DBLockPID","1056",0,0<br />
"DBLockStatus","192.168.216.1",0,1<br />
"DBSyntax","MSSQL",0,1<br />
"DefaultCommunityString","public",1,0<br />
"DefaultEncryptionPolicy","1",1,1<br />
"DeleteEmptySubnets","0",1,1<br />
"DisableVacuum","0",1,0<br />
"DiscoveryFilter","none",1,0<br />
"DiscoveryFilterFlags","0",1,0<br />
"DiscoveryPollingInterval","14400",1,1<br />
"EnableAdminInterface","1",1,1<br />
"EnableMultipleDBConnections","1",1,1<br />
"EnableSNMPTraps","1",1,1<br />
"EnableSyslogDaemon","0",1,1<br />
"EnableZoning","0",1,1<br />
"EventLogRetentionTime","5184000",1,0<br />
"FixedStatusValue","0",1,1<br />
"HouseKeepingInterval","3600",1,1<br />
"IcmpPingSize","46",1,1<br />
"IDataIndexCreationCommand_0","CREATE INDEX idx_idata_%d_item_id ON idata_%d(item_id)",0,1<br />
"IDataIndexCreationCommand_1","CREATE CLUSTERED INDEX idx_idata_%d_id_timestamp ON idata_%d(item_id,idata_timestamp)",0,1<br />
"IDataTableCreationCommand","CREATE TABLE idata_%d (item_id integer not null,idata_timestamp integer not null,idata_value varchar(255) not null)",0,1<br />
"KeepAliveInterval","60",1,1<br />
"LockTimeout","60000",1,1<br />
"LogAllSNMPTraps","1",1,1<br />
"MailEncoding","iso-8859-1",1,0<br />
"NumberOfConditionPollers","10",1,1<br />
"NumberOfConfigurationPollers","4",1,1<br />
"NumberOfDatabaseWriters","1",1,1<br />
"NumberOfDataCollectors","25",1,1<br />
"NumberOfDiscoveryPollers","1",1,1<br />
"NumberOfEventProcessors","1",1,1<br />
"NumberOfRoutingTablePollers","5",1,1<br />
"NumberOfStatusPollers","10",1,1<br />
"NumberOfUpgradeThreads","10",1,0<br />
"RADIUSNumRetries","5",1,0<br />
"RADIUSPort","1645",1,0<br />
"RADIUSSecret","netxms",1,0<br />
"RADIUSServer","localhost",1,0<br />
"RADIUSTimeout","3",1,0<br />
"ResolveNodeNames","1",1,0<br />
"RoutingTableUpdateInterval","300",1,1<br />
"RunNetworkDiscovery","0",1,1<br />
"ServerID","EA13000043CFB045",0,1<br />
"SMSDriver","generic.sms",1,1<br />
"SMSDrvConfig","COM1:",1,1<br />
"SMTPFromAddr","#00",1,0<br />
"SMTPServer","#00",1,0<br />
"StatusCalculationAlgorithm","1",1,1<br />
"StatusPollingInterval","60",1,1<br />
"StatusPropagationAlgorithm","1",1,1<br />
"StatusShift","0",1,1<br />
"StatusSingleThreshold","75",1,1<br />
"StatusThresholds","503C2814",1,1<br />
"StatusTranslation","01020304",1,1<br />
"SyncInterval","60",1,1<br />
"SyslogListenPort","514",1,1<br />
"SyslogRetentionTime","5184000",1,0</p>
<p dir="auto">Thank you advance.</p>
<p dir="auto">Best regards<br />
Jens</p>
]]></description><link>https://forum.netxms.org/post/100</link><guid isPermaLink="true">https://forum.netxms.org/post/100</guid><dc:creator><![CDATA[ErichSpitzweg]]></dc:creator><pubDate>Thu, 01 Feb 2007 17:00:46 GMT</pubDate></item><item><title><![CDATA[Reply to netxms core service on windows won't start on Fri, 12 Jan 2007 15:56:12 GMT]]></title><description><![CDATA[<p dir="auto">Very strange... Another option left - setup connetion to MS SQL via ODBC. To do this, follow these steps:</p>
<ol>
<li>Create appropriate data source via Administartive Tools -&gt; Data Sources (ODBC). You must create System DSN. Call this DSN NETXMS.</li>
<li>Change netxmsd.conf file:</li>
</ol>
<p dir="auto">DBDriver = odbc.ddr<br />
DBServer = NETXMS</p>
<p dir="auto">Note that DBServer now is the name of ODBC DSN.</p>
<p dir="auto">After that, try to run nxdbmgr init again.</p>
<p dir="auto">Also, what database rights assigned to the database user you are using?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/73</link><guid isPermaLink="true">https://forum.netxms.org/post/73</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Fri, 12 Jan 2007 15:56:12 GMT</pubDate></item><item><title><![CDATA[Reply to netxms core service on windows won't start on Fri, 12 Jan 2007 15:38:55 GMT]]></title><description><![CDATA[<p dir="auto">Hello!<br />
I'm sorry I have to inform you that it didn't work, too. I tried both ways. When I run nxdbmgr init the console tells me: Database initialized successfully. But there are no tables created.<br />
I checked if the netxms core service was running and it wasn't. When I start it manually it starts and is terminated immediately.<br />
I also tried to run the programm with a mysql database and it worked. Maybe that will help you.</p>
<p dir="auto">Best regards,<br />
Jens</p>
]]></description><link>https://forum.netxms.org/post/72</link><guid isPermaLink="true">https://forum.netxms.org/post/72</guid><dc:creator><![CDATA[ErichSpitzweg]]></dc:creator><pubDate>Fri, 12 Jan 2007 15:38:55 GMT</pubDate></item><item><title><![CDATA[Reply to netxms core service on windows won't start on Fri, 12 Jan 2007 14:57:01 GMT]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I think that problem is that you use an account with Windows authentication. Now you have two ways - create an account with SQL authentication (it's an easier way), or configure NetXMS for Windows authentication.</p>
<p dir="auto">If you decide way 1:</p>
<ol>
<li>Create new standard SQL account, let's say netxms_user, set it's authentication mode to SQL authentication, and set it's password (for example, NetXMSPass).</li>
<li>Modify your netxmsd.conf accordingly:</li>
</ol>
<p dir="auto">DBLogin = netxms_user<br />
DBPassword = NetXMSPass</p>
<ol start="3">
<li>Run nxdbmgr init again, and ensure that tables was created (you should have ~50 tables).</li>
</ol>
<p dir="auto">NetXMS server should start.</p>
<p dir="auto">If you decide way 2:</p>
<ol>
<li>Change netxmsd.conf:</li>
</ol>
<p dir="auto">DBLogin = *</p>
<ol start="2">
<li>Change settings for "NetXMS Core" service - by default, it is running as "Local System" account, you should change it to your domain account which have access to SQL database (in service properties on "Log On" tab).</li>
<li>Run nxdbmgr init again, and ensure that tables was created (you should have ~50 tables). Please note that because of Windows authentication, account you will be logged in at the time you will run nxdbmgr should also have access to SQL database.</li>
</ol>
<p dir="auto">Hope this helps!</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/70</link><guid isPermaLink="true">https://forum.netxms.org/post/70</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Fri, 12 Jan 2007 14:57:01 GMT</pubDate></item><item><title><![CDATA[Reply to netxms core service on windows won't start on Fri, 12 Jan 2007 14:36:25 GMT]]></title><description><![CDATA[<p dir="auto">Hello,<br />
thanks for your quick answer.<br />
I am using MSSQL Version 8.00.760 (SP3). Unfortunately I cannot send the content of the config-table, because the attempt to generate a new database fails. (Error Message: Query Failed: CREATE_TABLE:...) As workaround, I mannually created a new database. Netxms told me that the database has been initialised, but it didn't create any tables.<br />
I checked if SQL Server has TCP/IP enabled and I use an account with Windows authentication.</p>
<p dir="auto">Here's the content of the log file:</p>
<p dir="auto">[12-Jan-2007 15:23:17] Log file opened<br />
[12-Jan-2007 15:23:17] Database driver "mssql.ddr" loaded and initialized successfully<br />
[12-Jan-2007 15:23:17] DEBUG: Successfully connected to database netxms_1@VM-BIB-SQL<br />
[12-Jan-2007 15:23:17] SQL query failed (Query = "SELECT var_value FROM config WHERE var_name='DBFormatVersion'")<br />
[12-Jan-2007 15:23:17] Your database has format version 0, but server is compiled for version 54</p>
<p dir="auto">I hope that this will give some more hints.</p>
<p dir="auto">Best regards<br />
Jens</p>
]]></description><link>https://forum.netxms.org/post/69</link><guid isPermaLink="true">https://forum.netxms.org/post/69</guid><dc:creator><![CDATA[ErichSpitzweg]]></dc:creator><pubDate>Fri, 12 Jan 2007 14:36:25 GMT</pubDate></item><item><title><![CDATA[Reply to netxms core service on windows won't start on Fri, 12 Jan 2007 13:55:31 GMT]]></title><description><![CDATA[<p dir="auto">Hello!</p>
<p dir="auto">Some additional questions:</p>
<ol>
<li>What version of MSSQL server you are using?</li>
<li>Cold you please connect to database with Enterprise Manager and send me list of tables presented in database netxms_db and content of "config" table?</li>
<li>Could you please change LogFile entry in netxmsd.conf to some file, run NetXMS server in debug mode:</li>
</ol>
<p dir="auto">netxmsd --debug-all --dump-sql standalone</p>
<p dir="auto">and send me the log file?</p>
<p dir="auto">Possible problems I can imagine now:</p>
<ol>
<li>mssql.ddr expect that login given in DBLogin is an SQL "Standard" user with SQL authentication, not a Windows account. Maybe you create an account with Windows authentication?</li>
<li>mssql.ddr doesn't work correctly for some unknown reasons. I hope that debug log will give me more hints.</li>
<li>mssql.ddr can only work via TCP/IP. Ensure that TCP/IP is enabled in SQL server.</li>
</ol>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/68</link><guid isPermaLink="true">https://forum.netxms.org/post/68</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Fri, 12 Jan 2007 13:55:31 GMT</pubDate></item><item><title><![CDATA[Reply to netxms core service on windows won't start on Fri, 12 Jan 2007 13:33:48 GMT]]></title><description><![CDATA[<p dir="auto">Hello Victor,<br />
I tried nxdbmgr init. Console told me that the database was initialised properly, but it didn't work anyway.<br />
Also we tried it on a different machine and on some virtual machines and we always got the same error. It seemed as if a connection to the database could not be established, but with Microsoft Enterprise Manager and other programms, we could connect to the database.<br />
Sometimes it looked as if the connection was established, because I got an error message saying: Query failed: Create_Table ...</p>
<p dir="auto">I also send you my server's configuration file netxmsd.conf.<br />
Here is its content:</p>
<p dir="auto">LogFile = {syslog}<br />
DBDriver = mssql.ddr<br />
DBServer = localhost<br />
DBName = netxms_db<br />
DBLogin = netxms<br />
LogFailedSQLQueries = yes</p>
<p dir="auto">Like I already said, we tried it on different computers and we always got the same errors. What are we doing wrong? Perhaps a configuration mistake. Maybe you have a step by step Manual to set up the connection to MSSQL-Server.</p>
<p dir="auto">Best regards,<br />
Jens</p>
]]></description><link>https://forum.netxms.org/post/67</link><guid isPermaLink="true">https://forum.netxms.org/post/67</guid><dc:creator><![CDATA[ErichSpitzweg]]></dc:creator><pubDate>Fri, 12 Jan 2007 13:33:48 GMT</pubDate></item><item><title><![CDATA[Reply to netxms core service on windows won't start on Thu, 11 Jan 2007 19:10:43 GMT]]></title><description><![CDATA[<p dir="auto">Hello!</p>
<p dir="auto">Looks like your database was not properly initialized. Try to run</p>
<p dir="auto">nxdbmgr init ..\lib\sql\dbinit_mssql.sql</p>
<p dir="auto">(assuming you are in NetXMS bin directory). Also, can you send your server's configuration file (netxmsd.conf)?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/64</link><guid isPermaLink="true">https://forum.netxms.org/post/64</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 11 Jan 2007 19:10:43 GMT</pubDate></item><item><title><![CDATA[Reply to netxms core service on windows won't start on Thu, 11 Jan 2007 15:28:33 GMT]]></title><description><![CDATA[<p dir="auto">I have a simillar problem. I am running Netxms on a Windows Server 2003 System with MSSQL-Server. After installation Netxms tells me that it cannot connect to the database.<br />
I saw, that the Netxms Core-Service didn't start. If I try to start it manually, it is been started and immediatly stopped again. When I run "nxdbmgr check" I get:<br />
"Configuration file OK<br />
 Unable to determine database syntax"<br />
In the Windows eventlog there is an error saying: "Your database has format version 0, but server is compiled for version 54"<br />
What can I do to make it work.<br />
I just want SNMP-Traps to be written to a MSSQL-Database.</p>
<p dir="auto">Please help me, because I don't know what to try anymore.</p>
<p dir="auto">Thank You in advance</p>
<p dir="auto">Jens</p>
]]></description><link>https://forum.netxms.org/post/63</link><guid isPermaLink="true">https://forum.netxms.org/post/63</guid><dc:creator><![CDATA[ErichSpitzweg]]></dc:creator><pubDate>Thu, 11 Jan 2007 15:28:33 GMT</pubDate></item><item><title><![CDATA[Reply to netxms core service on windows won't start on Mon, 28 Aug 2006 18:10:33 GMT]]></title><description><![CDATA[<p dir="auto">Also, I suggest you to upgrade to 0.2.13, where shutdown/startup procedures was improved.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/18</link><guid isPermaLink="true">https://forum.netxms.org/post/18</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 28 Aug 2006 18:10:33 GMT</pubDate></item><item><title><![CDATA[Reply to netxms core service on windows won't start on Mon, 28 Aug 2006 18:02:32 GMT]]></title><description><![CDATA[<p dir="auto">Is there any messages in log file or system event log? Also, try to run</p>
<p dir="auto">nxdbmgr check</p>
<p dir="auto">to check database consistency.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/16</link><guid isPermaLink="true">https://forum.netxms.org/post/16</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 28 Aug 2006 18:02:32 GMT</pubDate></item></channel></rss>