How can I unlock my admin account if it gets locked?
To unlock the admin user account, open the command line interface from the root user and enter:
su - onapp -c "cd /onapp/interface; RAILS_ENV=production rake onapp:unlockuser[admin]"
This can be changed to unlock other users as well.
It is preferable to unlock accounts via the e-mail which is sent out by the control panel server to the user's registered account. However, the workaround in this article will help in situations when that is not available.