Help required with Ora-28000 Error, Account is Locked

Hello all,
I have an user who is getting ORA - 28000, Account is Locked Error, while connecting to an instance, she has connected to this instance successfully several times earlier. Myself and several other users are able to connect to the same instance.
How to resolve this issue and help the user to get connected to that instance successfully, please advise me.
Thanks a lot for cooperation in advance.
Regards,
Suranjita

You can run the following in sql plus
alter user username account unlock;
to unclock the account
Regards

Similar Messages

  • ORA-28000: the account is locked Error

    Hello ---
    I'm trying to set up a data source to an 11g DB from WLS 11gR1. When I go to test it I get the following error even though the account is definitely not locked :
    weblogic.application.ModuleException:
    at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:290)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
    Truncated. see log file for complete stacktrace
    Caused By: weblogic.common.ResourceException: ORA-28000: the account is locked
    at weblogic.jdbc.common.internal.XAConnectionEnvFactory.makeConnection(XAConnectionEnvFactory.java:479)
    at weblogic.jdbc.common.internal.XAConnectionEnvFactory.createResource(XAConnectionEnvFactory.java:173)
    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1193)
    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1117)
    at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:244)
    Truncated. see log file for complete stacktrace
    Any ideas? Thanks!

    Hi. Please add your details to this program and run it in that environment.
    Thanks,
    Joe
    import java.sql.*;
    import java.util.*;
    import javax.sql.*;
    import java.lang.reflect.Method;
    public class thinXACon {
    public static void main (String argv[]) {
    String UserName = "myUser";
    String Password = "myPassword";
    String SID = "mySID";
    String ServerName = "myDBMSBox";
    String PortNumber = "1588";
    String URL = "jdbc:oracle:thin:@" + ServerName + ":" + PortNumber + ":" + SID;
    try {
    // load XA driver and get connection
    oracle.jdbc.xa.client.OracleXADataSource ods = new oracle.jdbc.xa.client.OracleXADataSource();
    initProp(ods, "User", UserName);
    initProp(ods, "Password", Password);
    initProp(ods, "SID", SID);
    initProp(ods, "PortNumber", PortNumber);
    initProp(ods, "ServerName", ServerName);
    initProp(ods, "URL", URL);
    XAConnection xaConn = ods.getXAConnection();
    } catch (Exception e) {
    e.printStackTrace ();
    private static void initProp(Object ds, String propName, Object value) {
    try {
    Method[] meths = ds.getClass().getMethods();
    Method meth = null;
    String setterName = "set" + propName;
    Class paramType = null;
    for (int i = 0; i < meths.length; i++) {
    if (meths.getName().equalsIgnoreCase(setterName) &&
    meths[i].getParameterTypes().length == 1) {
    meth = meths[i];
    paramType = (meths[i].getParameterTypes())[0];
    break;
    if (meth != null) {
    Object val = value;
    if (value instanceof String) {
    if (paramType == int.class) {
    val = Integer.valueOf((String)value);
    } else if (paramType == boolean.class) {
    val = Boolean.valueOf((String)value);
    meth.invoke(ds, new Object[]{val});
    } else {
    meth = ds.getClass().getMethod(
    "setProperty", new Class[]{String.class, Object.class});
    meth.invoke(ds, new Object[]{propName, value});
    } catch (Exception ignore) { }

  • ORA-28000: the account is locked error getting frequently

    Hi Team,
    We are getting ORA-28000: the account is locked while login.We unlocked the user and we tried to change the password as well but no luck.Can anyone please suggest on this..
    My db version is 10.2.0.3.0
    Thanks
    Edited by: Nabin on Nov 26, 2012 3:20 AM

    ORA-28000
    Error: ORA-28000: the account is locked
    Cause: The user has entered wrong password consequently for maximum number of times specified by the user's profile parameter FAILED_LOGIN_ATTEMPTS, or the database administrator has locked the account.
    Action: Wait for PASSWORD_LOCK_TIME or contact the database administrator
    To unlock an user manually:
    ALTER USER username ACCOUNT UNLOCK;
    to change his password:
    alter user username identified by new_password;
    Edited by: Fran on 26-nov-2012 3:22

  • SQL*Loader-128: unable to begin a session ORA-28000: the account is locked

    Hi everyone,
    I am migrating from a SQL Server 2000 DB to Oracle 10g. I followed the migration tutorial and got all the way till the data migration process. The DB data capture scripts capture the data from the SQL Server successfully but i encounter the following error while i run the oracle_ctl.bat file on the Oracle side:
    SQL*Loader: Release 10.2.0.1.0 - Production on Tue Jun 9 14:08:27 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL*Loader-128: unable to begin a session
    ORA-28000: the account is locked
    I checked the account and its unlocked and the user name/password combination is the correct one. All the log files have the same error messages. The user has all the required privileges.
    Any ideas why this might be happening ?
    Thanks,
    Amo.

    Hello,
    there may be several causes for this:
    1) account in grace period, it can login to sqlplus but could not logn with sqlldr
    2) kind of user being specified (sys as sysdba for example)
    Could you please paste first lines of modified batch file and
    output from select user and status in dba_users ?
    Try anyway to run the unlock command
    ALTER USER username ACCOUNT UNLOCK;
    Thanks
    Regards,
    Marcello
    Edited by: MGILIBER on Jun 12, 2009 3:02 AM

  • ORA-28000: the account is locked  Connection : false

    Now if I chnage my java code a little bit I am getting this error.
    ORA-28000: the account is locked
    Connection : false
    Connection is not established.
    Please can someone explain what is wrong here?

    ORA-28000
    Error: ORA-28000: the account is locked
    Cause: The user has entered wrong password consequently for maximum number of times specified by the user's profile parameter FAILED_LOGIN_ATTEMPTS, or the database administrator has locked the account.
    Action: Wait for PASSWORD_LOCK_TIME or contact the database administrator
    To unlock an user manually:
    ALTER USER username ACCOUNT UNLOCK;
    to change his password:
    alter user username identified by new_password;
    Edited by: Fran on 26-nov-2012 3:22

  • OEM 10G and ORA-28000: the account is locked

    windows xp 2; 10G base
    Get ORA-28000: the account is locked when starting database from the browser?
    TIA

    first open the account and change password
    in sql plus conn / as sysdba
    SQL> alter user scott indentified by tiger account unlock;
    then try to login

  • Problem with ora-28000 error

    Hi all,
    I got a problem with ORA-28000 in my form. In my app, it allows user to try maximum 3 time to logon, if the user fails, his/her user will be locked. The problem is, when Oracle locked that user, in on-error trigger I cannot catch that error and show the error message.
    Anybody, please give me a hand.
    Thank alot

    I put code (in the on-error trigger) here. please have look, thanks again.
    IN_ERR_CODE NUMBER := ERROR_CODE;
    BEGIN
         IF(IN_ERR_CODE = 28001) THEN
         ELSIF (IN_ERR_CODE = 28002) THEN
         ELSIF (IN_ERR_CODE = 28011) THEN
         ELSIF (IN_ERR_CODE = 28000) THEN
              MESSAGE(ERROR_TEXT);
              --LEAVE_FORM;
              --clear_form(no_validate);
              --RAISE FORM_TRIGGER_FAILURE;
              --EXIT_FORM(NO_VALIDATE);
         END IF;
    END;

  • ERROR - ORA-28000: the account is locked

    I've successfully installed Oracle 10g standard edition in my PC...And when i tried to log in into isql plus environment with user name scott and password tiger it flashes ORA-2800 error and shows that the account is locked...pls tell me what to do to unlock that account and so that i can work in ISqlplus environment....

    Hello,
    there is a space after /
    sqlplus / as sysdba will work since 9i before you it should sqlplus "/ as sysdba"
    look on the spaces.
    I will also suggest to alter user <username> identified by <password> account unlock;
    The reason is why ? Id like default passwords on systems.
    regards
    Peter

  • Hi, every body, I got ORA-28000 error account locked.

    Hi, team and fellow(s);
    I got an error that my account is locked, i try my best but do not understand what to do to upon my account to connect database I mean to Oracle SQL Developer.
    Would some body help me please.
    I.A.Bangash
    ([email protected])

    I got an error that my account is locked, i try my best but do not understand what to do to upon my account to connect database I mean to Oracle SQL Developer.
    Sql Developer doesn't 'lock' accounts, the database does.
    Connect as a user with DBA privileges and issue an ALTER statement to unlock the account. For example for HR use:
    alter user hr account unlock;

  • Thread: ERROR - ORA-28000: the account is locked

    i installed oracle 10g. but it shows this error

    suresh.m2015 wrote:
    i installed oracle 10g. 10g?
    Really?
    Why?
    Why not 11g (which you were trying to install in your previous thread: Re: Error in instaling oracle 11g in win7
    And where did you get a copy of 10g, seeing as it is not publicly available.
    but it shows this error

  • Could not create pool connection.  ORA-28000: the account is locked

    hi
    here what i did
    i was running my ADF page on 11g weblog normally and i tried to deploy it, and this error occured when deploying it
    and also now i cannot run my page from JDeveloper and the same error occure too
    please so so so urgent
    thanks

    This can happen on the first launch of the application on a reel weblogic server.
    This code will solve your problem. As SYSDBA :
    ALTER USER yourUserName ACCOUNT UNLOCK;
    regards
    Luc-

  • ORA-28000: The account is locked

    hi, all I've tried to connect to db as sys more then 10 times and now I am banned^).
    But I tried this to know how much time it will take:
    SELECT * FROM DBA_PROFILES
    WHERE profile = 'DEFAULT' AND resource_name = 'PASSWORD_LOCK_TIME'
    UNLIMITED
    What should I do? Now I am working as SYS with sysdba privileges.

    Hi,
    Use
    SQL> alter user "USER" account unlock.
    Regards
    Jafar

  • ORA-28000 The account is locked periodically

    Hello,
    First all i would like to say that i'm really new in the oracle world..
    In our infraestructure(OHS/OAS/ODB) we have periodically lock of the account used to integrate the most important datas in the databases, after put a trigger in the database we can only get source ip and process user who locked, is posible to obtain more information about the lock like process name pid, etc..?
    Where can i get detailed information about pool connections from the OAS servers?
    After analyse our last lock, i see that first logon deny come from an OAS server and nexts from the database with local user oracle.. any idea?
    thanks in advance

    Hi;
    As Werner mention best approach is enable aduting
    User login audit
    Number to user login during a period
    Regard
    Helios

  • Creating database problem with ORA-01519: error while processing file '' ne

    Dear all,
    I am having rough time with creating database manually. can anyone help me with the following errors.
    ALERT LOGFILE:-
    Sun May 31 12:00:39 2009
    Errors in file d:\oracle\product\10.1.0\admin\oracle5\udump\oracle5_ora_3444.trc:
    ORA-01501: CREATE DATABASE failed
    ORA-01519: error while processing file '%ORACLE_HOME%\RDBMS\ADMIN\SQL.BSQ' near line 5744
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01119: error in creating database file 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\undotbs1.dbf'
    ORA-27040: file create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    Error 1519 happened during db open, shutting down database
    USER: terminating instance due to error 1519
    Sun May 31 12:00:39 2009
    Errors in file d:\oracle\product\10.1.0\admin\oracle5\bdump\oracle5_reco_3416.trc:
    ORA-01519: error while processing file '' near line
    CREATE DATABASE SCRIPT:-
    create database ORACLE5
    user sys identified by bala
    user system identified by bala
    logfile
    group 1 ('D:\oracle\product\10.1.0\oradata\ORACLE5\logfile\redo01.log') SIZE 50M,
    group 2 ('D:\oracle\product\10.1.0\oradata\ORACLE5\logfile\redo02.log') SIZE 50M,
    group 3 ('D:\oracle\product\10.1.0\oradata\ORACLE5\logfile\redo03.log') SIZE 50M
    maxlogfiles 5
    maxlogmembers 5
    maxloghistory 1
    maxdatafiles 50
    maxinstances 1
    datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5\datafile\system01.dbf' size 200m autoextend on maxsize unlimited extent management local
    undo tablespace UNDOTBS1 datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\undotbs1.dbf' size 10m autoextend on maxsize unlimited
    sysaux datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5\datafile\sysaux01.dbf' size 100m autoextend on maxsize unlimited
    default temporary tablespace temp tempfile 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\temp01.dbf' size 10m autoextend on maxsize unlimited
    character set US7ASCII
    NATIONAL CHARACTER SET AL16UTF16
    INIT.ORA FILE:-
    # Copyright (c) 1991, 2001, 2002 by Oracle Corporation
    # Archive
    log_archive_format=ARC%S_%R.%T
    # Cache and I/O
    db_block_size=8192
    db_cache_size=25165824
    db_file_multiblock_read_count=16
    # Cursors and Library Cache
    open_cursors=300
    # Database Identification
    db_domain=""
    db_name=oracle5
    # Diagnostics and Statistics
    background_dump_dest=D:\oracle\product\10.1.0\admin\oracle5\bdump
    core_dump_dest=D:\oracle\product\10.1.0\admin\oracle5\cdump
    user_dump_dest=D:\oracle\product\10.1.0\admin\oracle5\udump
    # File Configuration
    #db_create_file_dest=D:\oracle\product\10.1.0\oradata
    db_recovery_file_dest=D:\oracle\product\10.1.0\flash_recovery_area
    db_recovery_file_dest_size=2147483648
    # Job Queues
    job_queue_processes=10
    # Miscellaneous
    compatible=10.1.0.2.0
    # Pools
    java_pool_size=50331648
    large_pool_size=8388608
    shared_pool_size=83886080
    # Processes and Sessions
    processes=150
    # Security and Auditing
    remote_login_passwordfile=EXCLUSIVE
    # Shared Server
    dispatchers="(PROTOCOL=TCP) (SERVICE=oracle5XDB)"
    # Sort, Hash Joins, Bitmap Indexes
    pga_aggregate_target=25165824
    sort_area_size=65536
    # System Managed Undo and Rollback Segments
    undo_management=AUTO
    undo_tablespace=UNDOTBS1
    control_files=("D:\ORACLE\PRODUCT\10.1.0\ORADATA\ORACLE5\CONTROLFILE\control01.CTL", "D:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ORACLE5\CONTROLFILE\control02.CTL")

    Hi,
    undo tablespace UNDOTBS1 datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\undotbs1.dbf' size 10m autoextend on maxsize unlimited
    After ORACLE5 there is a space character. Typo? Create proper directory or delete this character.
    Bartek

  • Help required with Photoshop Elements 4.0 this has been installed on my new Toshiba laptop with windows 8.1 for some 18 months and operating well. Now it will not open, message pops up saying "attempt to access invalid address" then "application not respo

    Help required with Photoshop Elements 4.0 this has been installed on my new Toshiba laptop with windows 8.1 for some 18 months and operating well. Now it will not open, message pops up saying “attempt to access invalid address” then “application not responding” Suggestions how to access would be much appreciated. Tks. Stuart

    What is the size of your hard disk?  PSE 4 is a very old program and I suspect it is not able to access the entire hard disk on your machine.  Just a thought here.

Maybe you are looking for