NetXMS Support Forum

English Support => General Support => Topic started by: Smurfy on March 19, 2017, 04:26:46 PM

Title: Bug in NetXMS2.0.8
Post by: Smurfy on March 19, 2017, 04:26:46 PM
Hi all,

Do you all encounter NetXMS Management Console (Web) is unable to login when you perform the following:
01) Login to the SSH via root of the NetXMS (I'm using Centos 7);
02) Login to the Web Management console via http://ip:8080/nxmc-2.0.8/nxmc
03) In the SSH and perform a reboot of the system;
04) Your Web Management will be logged out;
05) Once the server is up, you cannot even login to the Web Management Console even if your password is correct.

I simulate this multiple times and have the same results.

To reset the password, just login to the SSH via root and issue the command:
01) MySQL -u root -p
  * You will be prompt to login;
02) use <database>
  * in this case I name it as netxmsDB so I type in as "use netxmsDB"
03) update users set password='' where id=0;
  * you should get the below successful message.

Query OK, 1 row affected (0.00 sec)
Rows matched: 1  Changed: 1  Warnings: 0

04) Restart the netxmsd service and there you go with default password "netxms"

This is weird...
Title: Re: Bug in NetXMS2.0.8
Post by: Victor Kirhenshtein on April 02, 2017, 10:14:59 PM
Sounds really weird, I'll try to reproduce it.

Best regards,
Victor