NetXMS Support Forum

English Support => General Support => Topic started by: justneedair on February 27, 2026, 11:11:55 AM

Title: Node User Sessions tab error
Post by: justneedair on February 27, 2026, 11:11:55 AM
Hell0!

Trying to build NetXMS for testing, currently everything works and is pulled but one thing - User Sessions tab, it gives an error "Cannot get list of active user sessionss: Operation cannot be completed due to agent error".

Server is built using a default docker file, agent is installed on 2 linux machines, one with static agent, another one was built from source.

The only error I found was in debug:

2026.02.27 11:33:32.780 *D* [comm.cs.1          ] Received message CMD_GET_TABLE (32)2026.02.27 11:33:32.780 *D* [comm.cs.1          ] Requesting table "System.ActiveUserSessions"
2026.02.27 11:33:32.781 *D* [comm.cs.1          ] GetTableValue(): result is 500 (INTERNAL_ERROR)
2026.02.27 11:33:32.781 *D* [comm.cs.1          ] Sending message CMD_REQUEST_COMPLETED (ID 32; size 32; uncompressed)
2026.02.27 11:33:32.781 *D* [comm.cs.1          ] Outgoing message dump:
  ** 000000 | 00 1D 50 00 00 00 00 20 00 00 00 20 00 00 00 01 | ..P.... ... ....
  ** 000010 | 00 00 00 1C 00 00 00 00 00 00 01 F4 00 00 00 00 | ................
  ** code=0x001D (CMD_REQUEST_COMPLETED) version=5 flags=0x0000 id=32 size=32 numFields=1
  ** 000000: [    28] INT32       500

I wonder what can I look into to troubleshoot.
Title: Re: Node User Sessions tab error
Post by: Filipp Sudanov on March 09, 2026, 04:16:12 PM
Hi,

On Linux agent is reading /var/run/utmp file to get current session table. Could be some access right issue, depending on the user under which you run the agent. What flavor of Linux is that?
Title: Re: Node User Sessions tab error
Post by: sqk on September 23, 2026, 01:11:41 PM
It seems that in some versions of Linux (Debian 13 tested by me, but others too...) /var/run/utmp is no longer available.

Some further context I found: https://lists.debian.org/debian-devel/2025/04/msg00014.html (https://lists.debian.org/debian-devel/2025/04/msg00014.html)
Title: Re: Node User Sessions tab error
Post by: Alex Kirhenshtein on September 23, 2026, 01:33:07 PM
it's fixed already: https://github.com/netxms/netxms/issues/3674
Title: Re: Node User Sessions tab error
Post by: sqk on September 23, 2026, 03:10:08 PM
Great! Thanks Alex.