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

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s