NetXMS Support Forum

English Support => General Support => Topic started by: radw on June 24, 2020, 06:21:45 AM

Title: NETXMS Password Recovery
Post by: radw on June 24, 2020, 06:21:45 AM
Hello NETXMS Team

1) I returned here since 2017 as I need netxms again for a new project. I restored my NETXMS-VM to check DCIs and other config, but I cannot login with admin user with management console or web gui trying multiple known passwords.

2) I want to know if there's a way for password recovery as I need to check my 2017's config so I avoid to start all over again with learn DCI's config and other things:

netxmsd -v
NetXMS Server Version 2.1-M3 Build 9008 (2.1-M3-1-gbc6f56c) (UNICODE)
NXCP: 4.48.1.8 (AES-256, Blowfish-256, 3DES, AES-128, Blowfish-128)
Built with: g++ (Debian 4.9.2-10) 4.9.2

Regards.
Title: Re: NETXMS Password Recovery
Post by: Borgso on June 24, 2020, 09:18:06 AM
You can find how to reset admin password here: https://www.netxms.org/documentation/adminguide/advanced.html#troubleshooting

QuoteNew in version 2.1-M0.

Use following command to reset password and unlock account:

nxdbmgr reset-system-account
Title: Re: NETXMS Password Recovery
Post by: radw on June 24, 2020, 06:35:02 PM
Quote from: Borgso on June 24, 2020, 09:18:06 AM
You can find how to reset admin password here: https://www.netxms.org/documentation/adminguide/advanced.html#troubleshooting

QuoteNew in version 2.1-M0.

Use following command to reset password and unlock account:

nxdbmgr reset-system-account

Hello, thanks for you help, however even after unlocking DB with nxdbmgr check (all ok) and then nxdbmgr reset-system-account (ok), when I tried to login on as admin with default password , web gui returns "connection error - access denied".

I also restarted netxmsd and tomcat7 services, but I got the same error.

Regards.
Title: Re: NETXMS Password Recovery
Post by: Alex Kirhenshtein on June 25, 2020, 12:24:06 AM
Are you trying to login as "admin" or "system"?

Whole procedure should be like this:
1) stop netxmsd
2) run "nxdbmgr reset-system-account" to unlock "system" account
3) start netxmsd
4) login as "system" / "netxms"
5) In user manager change password any admin user
6) login as admin user and disabled "system" user

Quote from: radw on June 24, 2020, 06:35:02 PM
Quote from: Borgso on June 24, 2020, 09:18:06 AM
You can find how to reset admin password here: https://www.netxms.org/documentation/adminguide/advanced.html#troubleshooting

QuoteNew in version 2.1-M0.

Use following command to reset password and unlock account:

nxdbmgr reset-system-account

Hello, thanks for you help, however even after unlocking DB with nxdbmgr check (all ok) and then nxdbmgr reset-system-account (ok), when I tried to login on as admin with default password , web gui returns "connection error - access denied".

I also restarted netxmsd and tomcat7 services, but I got the same error.

Regards.

Title: Re: NETXMS Password Recovery
Post by: radw on June 25, 2020, 06:03:57 PM
Quote from: Alex Kirhenshtein on June 25, 2020, 12:24:06 AM
Are you trying to login as "admin" or "system"?

Whole procedure should be like this:
1) stop netxmsd
2) run "nxdbmgr reset-system-account" to unlock "system" account
3) start netxmsd
4) login as "system" / "netxms"
5) In user manager change password any admin user
6) login as admin user and disabled "system" user


Hello Alex, glad to hear about you again. I followed your procedure and it worked, thank you. I didn't know there was a "system" user for netxms, as I tried to login with the default "admin" user given on installation guide.

Also I found on the old releases the nxmc-2.1-M3-win32-x86 that matches with my 2017's NetXMS-VM version, so I can resume again my netxms path.

Regards.