Hi there,
I'm running version 1.2.13 on a windows 2008 x64 R2 with a built in database type.
Bellow is a debug session result of the following command : netxmsd.exe -D4 >c:\netxmsd.log
Looking on the log file, there are several events like the one bellow.
[17-Jul-2014 17:50:21.513] SQL query failed (Query = "UPDATE raw_dci_values SET raw_value=?,transformed_value=?,last_poll_time=? WHERE item_id=?"): database is locked
[17-Jul-2014 17:50:21.559] SQL query failed (Query = "INSERT INTO dct_column_names (column_id,column_name) VALUES (?,?)"): database is locked
[17-Jul-2014 17:50:33.915] SQL query failed (Query = "INSERT INTO event_log (event_id,event_code,event_timestamp,event_source,event_severity,event_message,root_event_id,user_tag) VALUES (8896895,29,1405630197,728,0,'Node up',0,'')"): database is locked
I already tried to run a nxdbmgr -f unlock and that returns ok, but the problem persists.
After sometime running, I see that some threads hangs up ... and that's when the mess starts.
Running a nxadm -i and executing show watchdog I can see that both Syncer Thread and Pool Manager gets "Not Responding" after sometime.
[17-Jul-2014 17:54:04.016] Thread "Syncer Thread" does not respond to watchdog thread
I guess the problem is regarding unlock this database ...
I also noticed a weird behaviour on the netxmsd daemon startup :
[33mnetxmsd:[0m Using configuration file "C:\NetXMS\etc\netxmsd.conf"
[17-Jul-2014 17:49:43.823] Listening for client connections on TCP socket 0.0.0.0:4701
[17-Jul-2014 17:49:43.823] Listening for mobile device connections on TCP socket 0.0.0.0:4747
[17-Jul-2014 17:49:48.799] New DB connection opened: handle=0000000004330DC0
[17-Jul-2014 17:49:48.799] New DB connection opened: handle=0000000004330D60
[17-Jul-2014 17:49:48.799] New DB connection opened: handle=0000000002ACB2B0
[17-Jul-2014 17:49:48.799] New DB connection opened: handle=00000000047C5910
[17-Jul-2014 17:49:48.799] New DB connection opened: handle=00000000047C59D0
[17-Jul-2014 17:49:48.799] New DB connection opened: handle=00000000047C5A90
[17-Jul-2014 17:49:48.799] New DB connection opened: handle=00000000047C5B50
[17-Jul-2014 17:49:48.799] New DB connection opened: handle=00000000047C5C10
[17-Jul-2014 17:49:48.799] New DB connection opened: handle=00000000047C5D90
[17-Jul-2014 17:49:48.799] New DB connection opened: handle=00000000047C5E50
[17-Jul-2014 17:49:48.815] New DB connection opened: handle=00000000047C5EB0
[17-Jul-2014 17:49:48.831] New DB connection opened: handle=00000000047C5FD0
[17-Jul-2014 17:49:48.831] New DB connection opened: handle=0000000004CA1C20
[17-Jul-2014 17:49:48.831] New DB connection opened: handle=0000000004CA1DA0
[17-Jul-2014 17:49:48.831] New DB connection opened: handle=0000000004CA1C80
[17-Jul-2014 17:49:48.831] Database Connection Pool exhausted, fallback connection used
[17-Jul-2014 17:49:48.831] Database Connection Pool exhausted, fallback connection used
[17-Jul-2014 17:49:48.831] Database Connection Pool exhausted, fallback connection used
[17-Jul-2014 17:49:48.831] Database Connection Pool exhausted, fallback connection used
[17-Jul-2014 17:49:48.831] Database Connection Pool exhausted, fallback connection used
[17-Jul-2014 17:49:48.831] Database Connection Pool exhausted, fallback connection used
[17-Jul-2014 17:49:48.831] Database Connection Pool exhausted, fallback connection used
[17-Jul-2014 17:49:48.831] Database Connection Pool exhausted, fallback connection used
[17-Jul-2014 17:49:48.831] Database Connection Pool exhausted, fallback connection used
[17-Jul-2014 17:49:48.831] Database Connection Pool exhausted, fallback connection used
[17-Jul-2014 17:49:48.831] Database Connection Pool exhausted, fallback connection used
[17-Jul-2014 17:49:48.831] Database Connection Pool exhausted, fallback connection used
[17-Jul-2014 17:49:48.831] Database Connection Pool exhausted, fallback connection used
[17-Jul-2014 17:49:48.831] Database Connection Pool exhausted, fallback connection used
[17-Jul-2014 17:49:48.831] Database Connection Pool exhausted, fallback connection used
[17-Jul-2014 17:49:48.831] Database Connection Pool exhausted, fallback connection used
[17-Jul-2014 17:49:48.831] Database Connection Pool exhausted, fallback connection used
[17-Jul-2014 17:49:48.831] Database Connection Pool exhausted, fallback connection used
[17-Jul-2014 17:49:48.831] Database Connection Pool exhausted, fallback connection used
[17-Jul-2014 17:49:48.831] Database Connection Pool exhausted, fallback connection used
[17-Jul-2014 17:49:48.831] Database Connection Pool exhausted, fallback connection used
[17-Jul-2014 17:49:48.831] Database Connection Pool exhausted, fallback connection used
[17-Jul-2014 17:49:48.831] Database Connection Pool exhausted, fallback connection used
[17-Jul-2014 17:49:48.831] Database Connection Pool exhausted, fallback connection used
[17-Jul-2014 17:49:48.831] Database Connection Pool exhausted, fallback connection used
[17-Jul-2014 17:49:48.831] Database Connection Pool exhausted, fallback connection used
[17-Jul-2014 17:49:48.831] Database Connection Pool exhausted, fallback connection used
[17-Jul-2014 17:49:48.831] Database Connection Pool exhausted, fallback connection used
[17-Jul-2014 17:49:48.831] Database Connection Pool exhausted, fallback connection used
[17-Jul-2014 17:49:48.831] Database Connection Pool exhausted, fallback connection used
[17-Jul-2014 17:49:48.831] Database Connection Pool exhausted, fallback connection used
I need some help please ...