Quantcast
Channel: Ignite Realtime: Message List
Viewing all articles
Browse latest Browse all 11413

Re: BUG REPORT- Ability to login as Admin gone

$
0
0

I also figured out how to fix this issue if you encounter it when using MySQL as your database in CentOS:

 

1.Stop openfire:

 

service openfire start

 

2.Login to MySQL as root:

 

mysql -u root -p

 

3.Select your openfire database (assuming you called it openfire)

 

USE openfire;

 

4.Show table containing fields:

 

SELECT * FROM ofProperty;

 

5.  Do one of the following:

 

A. Delete the table (only admin will be able to login once you're done):

DELETE from ofProperty where name='admin.authorizedJIDs';

 

B.  Modify the table (all admins will be retained.  change SERVERNAME to reflect

correct names and new Server Name):

 

UPDATE ofProperty

SET

propValue='admin@SERVERNAME,otheradmin@SERVERNAME'

WHERE name='admin.authorizedJIDs';

 

6.  Exit MySQL:

 

exit

 

7.  Restart openfire

 

service openfire start

 

Now, you'll be able to login again as admin to the web UI.


Viewing all articles
Browse latest Browse all 11413

Trending Articles