Only get this msg: "Your account may be disabled or blocked

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
rootmantis1
Posts: 1
Joined: 09 Mar 2014, 13:48

Only get this msg: "Your account may be disabled or blocked

Post by rootmantis1 »

Greetings.

Senior level DBA, Systems Engineer, and Software Engineer with 20+ years experience here...
I only get this msg: "Your account may be disabled or blocked or the username/password you entered is incorrect." when trying to use Mantis.

Here's what I did:

My LAMP stack has been installed for a while:
[root@redmine-host html]# uname -a
Linux redmine-host 2.6.32-279.5.2.el6.x86_64 #1 SMP Tue Aug 14 11:36:39 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
[root@redmine-host html]#

1) I installed this mantis application correctly onto my LAMP stack.
I downloaded and installed mantisBT.
Ran the install script:

http://<IP>/mantisbt/admin/install.php
I only get this msg: "Your account may be disabled or blocked or the username/password you entered is incorrect."

My regular root PW did not work!
I also tried:
MySQL: "root" / ""
Mantis: "administrator" / "root"

2) I decided to reset my passwords:

mysql> SELECT User, Host, Password FROM mysql.user;
+------+--------------+-------------------------------------------+
| User | Host | Password |
+------+--------------+-------------------------------------------+
| root | localhost | *160C8C95C8ADEE322972C0A155245CA|
| root | redmine-host | *160C8C95C8ADEE322972C0A155245CA2 |http://www.ninds.nih.gov/disorders/gbs/detail_gbs.htm
| root | 127.0.0.1 | *160C8C95C8ADEE322972C0A155245CA2|
| | localhost | |
| | redmine-host | |
+------+--------------+-------------------------------------------+
5 rows in set (0.00 sec)
mysql>
mysql> SET PASSWORD FOR 'root'@'localhost' =PASSWORD('<I entered a new PW here>');
Query OK, 0 rows affected (0.01 sec)
mysql> SET PASSWORD FOR 'root'@'redmine-host' =PASSWORD('<I entered a new PW here>');
Query OK, 0 rows affected (0.00 sec)
mysql> SET PASSWORD FOR 'root'@'redmine-host' =PASSWORD('<I entered a new PW here>');
Query OK, 0 rows affected (0.00 sec)
mysql>
mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)
mysql> exit
Verified these worked.
3) Restarted mysql/apache:
root@redmine-host html]# service mysqld restart
Stopping mysqld: [ OK ]
Starting mysqld: [ OK ]
[root@redmine-host html]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]

4) I even tried looked into the mantis install script to try and decipher how this is working:
/<DocumentRoot>/mantisbt/admin/install.php

Checked the logs: No errors.
Cleared cache / cookies. restarted browser.
5) Went back in: http://<ip>/mantisbt/admin/install.php

I still get this when just trying to log in or sign up for a new account, or forgot PW:

"Your account may be disabled or blocked or the username/password you entered is incorrect."

Thanks for any information!!! Very frustrated....
Post Reply