I recently had to switch my master to a slave so I could fix a database, I tried switching it back to a master and seemed like everything went well. I tried to log in and was unsuccessful. I did reset the mysql root password fine, and tried to reset the master password for admin. I got the following error:
[root@g33kcentral script]# sh /script/resetpassword master -password-
Notice : The resource you have requested doesn't exist. The server returned the error message: <br> only_admin_can_modify_general nname <br>