Node User Sessions tab error
-
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 500I wonder what can I look into to troubleshoot.
-
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?
-
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
-
it's fixed already: https://github.com/netxms/netxms/issues/3674
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login