Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - cwl

#1
General Support / NetXMS v5.2.7 hangs soon after start
November 16, 2025, 10:04:52 PM
Hi, everyone!

NetXMS becomes unresponsive via web-interface and Client both after about couple of hours after being started - without any specific reasons or any interaction with it.

OS: Microsoft Windows Server 2025 Version 24H2 (OS Build 26100.4946)

No events in Windows Event Log about that found.

NetXMS log:
2025.11.16 18:14:21.830 *I* [logger            ] Log file opened (rotation policy 2, max size 16777216)
2025.11.16 18:14:21.830 *I* [startup            ] Starting NetXMS server version 5.2.7 build tag 5.2-483-g0fe7ba4e30
2025.11.16 18:14:21.830 *I* [startup            ] System time zone is RTZ+03RTZDT
2025.11.16 18:14:21.830 *I* [logger            ] Debug level set to 0
2025.11.16 18:14:21.830 *I* [config            ] Main configuration file: C:\NetXMS\etc\netxmsd.conf
2025.11.16 18:14:21.830 *I* [config            ] Configuration tree:
2025.11.16 18:14:21.830 *I* [config            ] config
2025.11.16 18:14:21.830 *I* [config            ]  +- server
2025.11.16 18:14:21.830 *I* [config            ]      +- DBDriver
2025.11.16 18:14:21.831 *I* [config            ]      |    value: sqlite.ddr
2025.11.16 18:14:21.831 *I* [config            ]      +- DBName
2025.11.16 18:14:21.831 *I* [config            ]      |    value: C:\NetXMS\database\netxms.db
2025.11.16 18:14:21.831 *I* [config            ]      +- LogFile
2025.11.16 18:14:21.831 *I* [config            ]          value: C:\NetXMS\log\netxmsd.log
2025.11.16 18:14:21.835 *I* [startup            ] System hardware ID 17F0E422E9CDBD3F36E0B15735E86B5B448A3BE0
2025.11.16 18:14:21.839 *I* [db.drv            ] Database driver "sqlite.ddr" loaded and initialized successfully
2025.11.16 18:14:21.842 *I* [comm.listener      ] SocketListener/LocalAdmin: listening on 127.0.0.1:21784
2025.11.16 18:14:21.842 *I* [comm.listener      ] SocketListener/LocalAdmin: listening on [127.0.0.1]:21784
2025.11.16 18:14:21.858 *I* [startup            ] Server ID 348CF52680000029
2025.11.16 18:14:21.867 *I* [db.writer          ] DBWriter/Housekeeper interlock is OFF
2025.11.16 18:14:21.869 *I* [startup            ] Data directory "C:\NetXMS\var\crl" successfully created
2025.11.16 18:14:21.869 *I* [startup            ] Data directory "C:\NetXMS\var\mibs" successfully created
2025.11.16 18:14:21.873 *I* [crypto            ] Crypto library initialized (OpenSSL 3.0.17 1 Jul 2025)
2025.11.16 18:14:21.873 *I* [crypto.cert        ] Server certificate not set
2025.11.16 18:14:21.873 *I* [crypto.cert        ] Internal CA certificate not set
2025.11.16 18:14:27.038 *I* [macdb              ] OUI-24 database loaded (32548 entries)
2025.11.16 18:14:27.063 *I* [macdb              ] OUI-28 database loaded (4403 entries)
2025.11.16 18:14:27.091 *I* [macdb              ] OUI-36 database loaded (5046 entries)
2025.11.16 18:14:27.093 *I* [backup            ] Network device backup interface is not available
2025.11.16 18:14:27.093 *I* [2fa                ] 0 two-factor authentication methods loaded, 0 successfully initialized
2025.11.16 18:14:27.114 *I* [ndd                ] Network device driver AT loaded successfully
... (lots of records "Network device driver *** loaded successfully") ...
2025.11.16 18:14:27.149 *I* [ndd                ] Network device driver WESTERSTRAND loaded successfully
2025.11.16 18:14:27.151 *E* [obj.init          ] NetObj::loadCommonProperties() failed for Zone object Default [4]
2025.11.16 18:14:30.349 *I* [event.proc        ] Parallel event processing disabled
2025.11.16 18:14:30.349 *I* [snmp.agent        ] Build-in SNMP agent is disabled
2025.11.16 18:14:30.351 *I* [snmp.trap          ] Local SNMP engine ID set to 8000DF4B0520100804020100
2025.11.16 18:14:30.351 *I* [snmp.trap          ] Listening for SNMP traps on UDP socket 0.0.0.0:162
2025.11.16 18:14:30.351 *I* [snmp.trap          ] Listening for SNMP traps on UDP socket :::162
2025.11.16 18:14:30.351 *I* [snmp.trap          ] SNMP trap receiver started on port 162
2025.11.16 18:14:30.354 *I* [beacon            ] Beacon poller will not start because beacon host list is empty
2025.11.16 18:14:30.355 *I* [ldap              ] LDAP synchronization thread will not start because LDAP synchronization is disabled
2025.11.16 18:14:30.365 *E* [agent.tunnel      ] Tunnel listener cannot start because server certificate is not loaded
2025.11.16 18:14:30.365 *I* [comm.listener      ] SocketListener/Clients: listening on 0.0.0.0:4701
2025.11.16 18:14:30.366 *I* [comm.listener      ] SocketListener/Clients: listening on [0.0.0.0]:4701
2025.11.16 18:14:30.366 *I* [comm.listener      ] SocketListener/MobileDevices: listening on 0.0.0.0:4747
2025.11.16 18:14:30.366 *I* [comm.listener      ] SocketListener/MobileDevices: listening on [0.0.0.0]:4747
2025.11.16 18:14:30.368 *I* [licensing          ] Number of managed nodes restricted to 250
2025.11.16 18:14:30.368 *I* [startup            ] Server initialization completed in 8539 milliseconds
2025.11.16 18:14:30.368 *I* [startup            ] NetXMS Server started
2025.11.16 20:08:07.734 *E* [watchdog          ] Thread "Syncer Thread" does not respond to watchdog thread
2025.11.16 20:11:47.775 *E* [watchdog          ] Thread "Recurrent scheduler" does not respond to watchdog thread

I know that's not much information.
Is there anything else I could provide to help fixing/resolving the issue?

#2
Hi everyone!

I'm trying to install NetXMS Server on freshly installed Windows Server 2025 as Administrator like following:
  • Path: default (C:\NetXMS) (1)
  • Selected Components: default
  • Select Additional Tasks: default (Initialize database etc - all checked)
  • Initialize Database:
    • Database type: SQLite
    • Path to database file: C:\NetXMS\database\netxms.db
    • Create database and database user before initialization: checked
    • DBA login name: admin
    • DBA password: netxms


In the end of installation console window appears:
NetXMS Database Manager Version 5.2.7 Build 5.2-483-g0fe7ba4e30

Creating database and user...
Database creation is not implemented for selected database typeUnable to create database or user

***** PRESS ANY KEY TO CONTINUE *****

which according to Process Explorer is a result of command run by installer:
"C:\NetXMS\bin\nxdbmgr.exe" -c "C:\NetXMS\etc\netxmsd.conf" init -P -F sqlite -C "admin/netxms"

File "C:\NetXMS\etc\netxmsd.conf" contains following: (2)
DBDriver=sqlite.ddr
DBName=C:\NetXMS\database\netxms.db
LogFile=C:\NetXMS\log\netxmsd.log


Service "NetXMS Core" is not running and restarting it manually results in just it getting stopped.


File "C:\NetXMS\log\netxmsd.log" contains:
2025.11.13 07:29:28.774 *I* [logger            ] Log file opened (rotation policy 2, max size 16777216)
2025.11.13 07:29:28.774 *I* [startup            ] Starting NetXMS server version 5.2.7 build tag 5.2-483-g0fe7ba4e30
2025.11.13 07:29:28.774 *I* [startup            ] System time zone is RTZ+03RTZDT
2025.11.13 07:29:28.774 *I* [logger            ] Debug level set to 0
2025.11.13 07:29:28.774 *I* [config            ] Main configuration file: C:\NetXMS\etc\netxmsd.conf
2025.11.13 07:29:28.774 *I* [config            ] Configuration tree:
2025.11.13 07:29:28.774 *I* [config            ] config
2025.11.13 07:29:28.774 *I* [config            ]  +- server
2025.11.13 07:29:28.774 *I* [config            ]      +- DBDriver
2025.11.13 07:29:28.778 *I* [config            ]      |    value: sqlite.ddr
2025.11.13 07:29:28.778 *I* [config            ]      +- DBName
2025.11.13 07:29:28.778 *I* [config            ]      |    value: C:\NetXMS\database\netxms.db
2025.11.13 07:29:28.778 *I* [config            ]      +- LogFile
2025.11.13 07:29:28.778 *I* [config            ]          value: C:\NetXMS\log\netxmsd.log
2025.11.13 07:29:28.782 *I* [startup            ] System hardware ID 4BC690221DCA064F134C1B617A5D939F646BBA48
2025.11.13 07:29:28.790 *I* [db.drv            ] Database driver "sqlite.ddr" loaded and initialized successfully
2025.11.13 07:29:28.792 *I* [comm.listener      ] SocketListener/LocalAdmin: listening on 127.0.0.1:21784
2025.11.13 07:29:28.792 *I* [comm.listener      ] SocketListener/LocalAdmin: listening on [127.0.0.1]:21784
2025.11.13 07:29:28.796 *E* [db.drv            ] SQL query failed (Query = "SELECT var_value FROM metadata WHERE var_name='SchemaVersion'"): no such table: metadata
2025.11.13 07:29:28.796 *E* [db.drv            ] SQL query failed (Query = "SELECT var_value FROM config WHERE var_name='DBFormatVersion'"): no such table: config
2025.11.13 07:29:28.796 *E* [db                ] Unable to get database schema version


I tried to add following lines to nextxmsd.conf:
DBServer=localhost
DBLogin=admin
DBPassword=netxms
It did not help any bit.

General question: what is wrong and how can I fix it?

Extra questions:
  • Would it be correct to install to "C:\Program Files\NetXMS" ?
  • Should nextxmsd.conf contain DBServer, DBLogin and DBPassword parameters? - They are not added automatically