NetXMS Support Forum

English Support => General Support => Topic started by: BigBlue on June 03, 2022, 09:14:58 AM

Title: nxadm: Server error 2
Post by: BigBlue on June 03, 2022, 09:14:58 AM
Hi,

I can't change the debug level with nxadm:

# /opt/netxms/bin/nxadm -i

NetXMS Server Remote Console V4.1.333 Ready
Enter "help" for command list

netxmsd: debug 7
Server error 2
netxmsd: help
Server error 2
netxmsd:


BB
Title: Re: nxadm: Server error 2
Post by: Filipp Sudanov on June 03, 2022, 05:07:56 PM
Authentication was recently added to nxadm and is turned on by default. It can be turned off by server configuration variable Server.Security.RestrictLocalConsoleAccess.

Or
nxadm -u username -P password -i

We will try to make the error message more human-friendly.
Title: Re: nxadm: Server error 2
Post by: BigBlue on June 03, 2022, 05:47:04 PM
ok thanks !
I hadn't seen the change...

I had tried with login/passwd, but there must be an incompatible character in the password  :(

BB
Title: Re: nxadm: Server error 2
Post by: Victor Kirhenshtein on June 07, 2022, 09:54:31 AM
Make sure you put password in single quotes. Also, user should have appropriate access rights ("access server console" in global system access rights).

Best regards,
Victor