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

Similar Messages

  • 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

  • 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

  • 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

  • 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) { }

  • 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

  • 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

  • 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

  • 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-28011: the account will expire soon; change your password now

    ORA-28011: the account will expire soon; change your password now
    i am facing this error at the the time of form compilation as per forum solution i tried but same error lands.
    In my form Dblink is used when i comment that query in which the dblink is used the form run successfully.
    But i want dblink query also when i have been fired this query or includind dblink query and compiling the form the errors came
    What is the solution for that error[ORA-28011]?
    In my form, code is as follow-
    BEGIN
    update pf.pf_master_personal_dtl
    set emp_pan_no = (select pan_num
    from sapsr3.zhrupdate@vhp_link
    where pan_num is not null
    and to_number(emp_num) = pf_num)
    where emp_pan_no is null
    and pf_num in (select to_number(emp_num) from sapsr3.zhrupdate@vhp_link);
    COMMIT;
    END;
    Thanks & Regards,
    Sachin Wagh

    Hi i am using oracle 9i database for sapsr3 user
    SELECT RESOURCE_NAME,LIMIT
    FROM dba_profiles
    WHERE PROFILE='DEFAULT'
    AND RESOURCE_NAME='PASSWORD_LIFE_TIME';
    I cheked this query i got here output as - LIMIT = 180
    how i will change LIMIT to 'UNLIMITED' IN Oracle 9i database for user sapsr3
    Because when i executed below ALTER query for sapsr3 user for oracle 9i database
    ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;
    It's gives error as "ORA-01031: insufficient privileges"
    kindly suggest
    Regards,
    Sachin Wagh

  • Error: ORA-16525: the Data Guard broker is not yet available

    Hi ,
    After upgrading from 11201 to 11203 ON AIX GI/RDBMS on standby but have not upgraded the primary db yet.I had set dg_broker_start=false and disable configuration before i started the upgrade .
    once the GI for oracle restart was upgraded i upgraded the rdbms binaries and brought up the standby on mount ,while trying to enable configuration its throwing the below error.I had already started the broker process.
    SQL> show parameter dg_
    NAME TYPE VALUE
    dg_broker_config_file1 string /u01/app/omvmxp1/product/11.2.
    0/dbhome_2/dbs/dr1mvmxs2.dat
    dg_broker_config_file2 string /u01/app/omvmxp1/product/11.2.
    0/dbhome_2/dbs/dr2mvmxs2.dat
    dg_broker_start boolean TRUE
    DGMGRL> show configuration;
    Configuration - Matrxrep_brkr
    Protection Mode: MaxAvailability
    Databases:
    mvmxp2 - Primary database
    mvmxs2 - Physical standby database
    Error: ORA-16525: the Data Guard broker is not yet available
    Fast-Start Failover: DISABLED
    Configuration Status:
    ERROR
    from drcmvmxs2.log
    Starting Data Guard Broker bootstrap <<Broker Configuration File Locations:
    dg_broker_config_file1 = "/u01/app/omvmxp1/product/11.2.0/dbhome_2/dbs/dr1mvmxs2.dat"
    dg_broker_config_file2 = "/u01/app/omvmxp1/product/11.2.0/dbhome_2/dbs/dr2mvmxs2.dat"
    12/19/2012 16:05:33
    Data Guard Broker shutting down
    DMON Process Shutdown <<12/19/2012 16:10:20
    Starting Data Guard Broker bootstrap <<Broker Configuration File Locations:
    dg_broker_config_file1 = "/u01/app/omvmxp1/product/11.2.0/dbhome_2/dbs/dr1mvmxs2.dat"
    dg_broker_config_file2 = "/u01/app/omvmxp1/product/11.2.0/dbhome_2/dbs/dr2mvmxs2.dat"
    ~
    Regards
    Edited by: Monto on Dec 19, 2012 1:23 PM

    Hi,
    I removed the configuration and removed the broker files from RAC primary(mvmxp2) and single instance standby(mvmxs2) and re-created back.i tried it many times but getting error "ORA-16532" .I needed to have this standby backup before i start upgrading the primary.
    SQL> alter system set dg_broker_start=true scope=both;
    System altered.
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, Automatic Storage Management, OLAP, Data Mining
    and Real Application Testing options
    palmer60:/u01/app/omvmxp1/product/11.2.0/dbhome_2/dbs>dgmgrl
    DGMGRL for IBM/AIX RISC System/6000: Version 11.2.0.3.0 - 64bit Production
    Copyright (c) 2000, 2009, Oracle. All rights reserved.
    Welcome to DGMGRL, type "help" for information.
    DGMGRL> connect sys@mvmxp2
    Password:
    Connected.
    DGMGRL> CREATE CONFIGURATION 'Matrxrep'
    AS
    PRIMARY DATABASE IS 'mvmxp2'
    CONNECT IDENTIFIER IS 'mvmxp2';> > >
    Configuration "Matrxrep" created with primary database "mvmxp2"
    DGMGRL> ADD DATABASE 'mvmxs2'
    AS
    CONNECT IDENTIFIER IS 'mvmxs2'
    ;Database "mvmxs2" added
    DGMGRL> SHOW CONFIGURATION;
    Configuration - Matrxrep
    Protection Mode: MaxPerformance
    Databases:
    mvmxp2 - Primary database
    mvmxs2 - Physical standby database
    Fast-Start Failover: DISABLED
    Configuration Status:
    DISABLED
    DGMGRL> ENABLE CONFIGURATION;
    Enabled.
    DGMGRL> SHOW DATABASE MVMXS2;
    Database - mvmxs2
    Role: PHYSICAL STANDBY
    Intended State: APPLY-ON
    Transport Lag: (unknown)
    Apply Lag: (unknown)
    Real Time Query: OFF
    Instance(s):
    mvmxs2
    Database Status:
    DGM-17016: failed to retrieve status for database "mvmxs2"
    ORA-16532: Data Guard broker configuration does not exist
    ORA-16625: cannot reach database "mvmxs2"
    DGMGRL>
    tailed the drcmvmxs2.log during stop and start of the broker
    palmer60:/u01/app/omvmxp1/diag/rdbms/mvmxs2/mvmxs2/trace>tail -f drcmvmxs2.log
    12/19/2012 20:32:20
    drcx: cannot open configuration file "/u01/app/omvmxp1/product/11.2.0/dbhome_2/dbs/dr1mvmxs2.dat"
    ORA-27037: unable to obtain file status
    IBM AIX RISC System/6000 Error: 2: No such file or directory
    Additional information: 3
    12/19/2012 20:32:55
    drcx: cannot open configuration file "/u01/app/omvmxp1/product/11.2.0/dbhome_2/dbs/dr2mvmxs2.dat"
    ORA-27037: unable to obtain file status
    IBM AIX RISC System/6000 Error: 2: No such file or directory
    Additional information: 3
    12/19/2012 20:59:10
    Data Guard Broker shutting down
    DMON Process Shutdown <<12/19/2012 20:59:35
    Starting Data Guard Broker bootstrap <<Broker Configuration File Locations:
    dg_broker_config_file1 = "/u01/app/omvmxp1/product/11.2.0/dbhome_2/dbs/dr1mvmxs2.dat"
    dg_broker_config_file2 = "/u01/app/omvmxp1/product/11.2.0/dbhome_2/dbs/dr2mvmxs2.dat"
    Not sure how to fix this one.
    Regards

  • Error ORA-20001: The payment cannot be fully paid with the monetary units a

    Hi All,
    I have got the following error, when I am trying to run Pre-Payments. The error is coming for employees who are having Payment Method as "Cash".....
    Error ORA-20001: The payment cannot be fully paid with the monetary units available.
    ORA-06512: at "APPS.HR_UTILITY", line 937
    ORA-06512: at "APPS.HR_PRE_PAY", line 1454
    ORA-06512: at "APPS.HR_PRE_PAY", line 1944
    I am not sure why that error is coming.
    Can anyone tell me what needs to be done for rectifying that error.....
    Regards,
    Phani

    What is the application release?
    Please see these docs.
    ORA-20001: APP-06442 The Payment Cannot Be Fully Paid With The Monetary Units Available Processing PrePayments [ID 250010.1]
    ORA-20001: The Payment Cannot Be Fully Paid With The Monetary Units Available [ID 1226804.1]
    Pre-payments Error when Paying an Employee in Currency other that USD or CA : The Payment Cannot be Fully Paid with the Monetary Units [ID 249746.1]
    Thanks,
    Hussein

  • Error occurred  for the accounting cockpit

    Hi.
    When I tried to change the tab to "accounting" , there is error message display as the next.
    "Error occurred  in the accounting- see the accounting cockpit (cproject)"
    By the T-code "COCPCPR", I found the internal order with the error meeages.
    "No the settlement rule exists for object number OR0000600000"
    Would you please give me some input for how to fix or some guideline about the linkage between cproject and internal orders.
    Thank you a lot.
    Best regards,
    Edwin

    Hello Edwin,
    As per your error message, the Internal order has been created, however a settlement rule has not been assigned to the IO. I'd recommend you to check the settings of the model order (if you are using any). Also, take help from the CO consultant of your team to assign a settlement rule to this Internal Order.
    Let me know if this helps.
    Regards,
    Vivek

  • SQL Error: ORA-01873: the leading precision of the interval is too small

    Hi,
    My requirement is to get the current time stamp in Epoch time microsec format.
    I am trying to execute the following query
    select (CAST(((current_timestamp - TO_DATE('01/01/1970 00:00:00', 'MM-DD-YYYY HH24:MI:SS'))*24*60*60*1000000) AS varchar(32)) ) as "dt" from dual ;
    i am receiving the following error
    Error starting at line 1 in command:
    select (CAST(((current_timestamp - TO_DATE('01/01/1970 00:00:00', 'MM-DD-YYYY HH24:MI:SS'))*24*60*60*1000000) AS varchar(32)) ) as "dt" from dual
    Error report:
    SQL Error: ORA-01873: the leading precision of the interval is too small
    01873. 00000 - "the leading precision of the interval is too small"
    *Cause:    The leading precision of the interval is too small to store the
    specified interval.
    *Action:   Increase the leading precision of the interval or specify an
    interval with a smaller leading precision.
    but if i tried to do
    select (CAST(((sysdate - TO_DATE('01/01/1970 00:00:00', 'MM-DD-YYYY HH24:MI:SS'))*24*60*60*1000000) AS varchar(32)) ) as "dt" from dual ;
    is working fine but i am getting the wrong epochtime as sysdate does not have the timezone information.
    please help me how to make the first query work so that i can get the current_timestamp change it to gmt and convert it to Epoch time.
    please let me know if there is any other way to get the Epochtime.

    Depending if you want or not to include fraction of a second use:
    with t as (
               select  current_timestamp at time zone 'gmt' - to_timestamp_tz('01/01/1970 00:00:00 GMT','MM-DD-YYYY HH24:MI:SS TZR') interval_diff,
                       cast(current_timestamp at time zone 'gmt' as date) - to_date('01/01/1970 00:00:00', 'MM-DD-YYYY HH24:MI:SS') num_diff
                 from  dual
    select  cast(
                    extract(day from interval_diff) * 24 + extract(hour from interval_diff)
                   ) * 60 + extract(minute from interval_diff)
                  ) * 60 + extract(second from interval_diff)
                 ) * 1000000
                 AS varchar(32)
                ) as "ts",
            cast(num_diff * 24 * 60 * 60 * 1000000 AS varchar(32)) as "dt"
      from t
    ts                   dt
    1336237158093000     1336237158000000
    SQL>  SY.

Maybe you are looking for