Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 E-mail Us
 Oracle Articles
New Oracle Articles

 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog

 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Oracle Support

 SQL Tuning

 Oracle UNIX
 Oracle Linux
 Remote s
 Remote plans
 Application Server

 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S


 Consulting Staff
 Consulting Prices
 Help Wanted!


 Oracle Posters
 Oracle Books

 Oracle Scripts

Don Burleson Blog 








Oracle Database Tips by Donald BurlesonApril 5, 2016

Question:  In my database when login to OEM I found this error ORA-28000 account pass word expired.  So I saw by this query that the SYSMAN account is locked:

select username, account_status from dba_users;

That SYSMAN LOCKED(TIMED) account status and DBSNMP OPEN.

Answer:  If you are using Oracle with EM Console on Windows, your SYSMAN account will get locked periodically. This happens due to unordered start of DB Instance, DB Listener and Oracle Enterprise Manager OEM Console.

Locked(TIMED) means the account has been locked because a wrong password has been entered to many time. It the password would have expired, the status would be "EXPIRED(GRACE)".



This query will reveal if the SYSMAN use is locked:

   p.profile as "Profile",
   p.limit as "Limit"
   dba_profiles p,
   dba_users u



According to Change SYSMAN Password The solution fix for this error is to follow these steps:

1. Stop the OMS instances that are associated with the repository

a. opmnctl stopall
2. Change the sysman password in the database:

a. Logon to sqlplus as a dba user
b. Issue the command: alter user sysman identified by newpassword;
c. Exit SQL*Plus
3. On each management server host, cd to the OMS $ORACLE_HOME/sysman/config directory

a. backup the file
b. edit the file and modify the parameters;

NOTE: When you restart the OMS, the FALSE setting will change to TRUE and the password will become encrypted in the file
4. Still on Management Repository host, cd to the AGENT_HOME/bin and stop the agent:
./emctl stop agent

5. Next, cd to the AGENT_HOME/sysman/emd directory

a. Edit the targets.xml file and modify the oracle_emrep target definition with the following in bold:

b. Save the file. The TRUE value will change to FALSE and the newpassword will become encrypted when you restart the Agent.
6. Issue the command (from the Agent O_H/bin):

./emctl start agent
7. Restart each of the OMS's

emctl start oms
8.Start the OMS instances that are associated with the repository

opmnctl startall



On Windows, you need to make these changes:

- To confirm the account is locked:

      select account_status from dba_users where username='SYSMAN';

- Shutdown the OEM Console service.

- Unlock the SYSMAN account (if you don't know the password for SYSMAN,assign it yourself):

alter user SYSMAN [identified by PWD] account unlock;

- Start regedit to put correct order of Oracle services startup.

In regedit find

My Computer/HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/**
Create new Multi-string value named "DependOnService" and put name of your the depends on.

My Computer/HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/**
Create new Multi-string value named "DependOnService" and put name of your the EM Console serves.

- Reboot the server and OEM console.

Reference:  MOSC Doc ID: 259379.1

Oracle Training from Don Burleson 

The best on site "Oracle training classes" are just a phone call away! You can get personalized Oracle training by Donald Burleson, right at your shop!

Oracle training



Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


Copyright © 1996 -  2017

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.

Remote Emergency Support provided by Conversational



Oracle Training at Sea
oracle dba poster

Follow us on Twitter 
Oracle performance tuning software 
Oracle Linux poster