Oracle Enterprise Repository – Admin Account locked.

Oracle Enterprise Repository – Admin Account locked.

I came across this situation where my admin account for OER got locked, So I could not get on the management screen to rectify this and was pretty much stuck.

Solution:

Follow these Steps to unlock user Accounts(including admin account) in OER:

  1. Stop the OER server if running.
  2. Log onto your DB server and log into the OER schema and Execute the following command
  3. update ENTSECUSERS set ACTIVESTATUS=0 where USERNAME=’xxxxxxxx’; (admin in my case)
  4. Pick the value of ‘id’ from entsecusers table execute
  5. update CMEEUSERS set ACTIVESTATUS=0 where ENTSECUSERID=’id value’;
  6. Save your changes and
  7. Restart OER
  8. Log onto the OER console and use the same password you previously had, you should be set to go.

So the statements are

update ENTSECUSERS set ACTIVESTATUS=0 where USERNAME=’admin’;

select ID from ENTSECUSERS where username=’admin’;

update CMEEUSERS set ACTIVESTATUS=0 where ENTSECUSERID=’99’;

Leave a Reply

Your email address will not be published. Required fields are marked *