User locked, no lock date

Anyone seen anything like this before?
User is locked, but lock date is null
SQL> select username, account_status, lock_date
  2  from dba_users
  3  where account_status like 'LOCK%';
USERNAME             ACCOUNT_ST LOCK_DATE
<snip other users>
MYAPPUSER            LOCKED
15 rows selected.Account has locked multiple times today. Notice status is simply LOCKED, not LOCKED(TIMED) as it would be if wrong password entered too many times.

P. Forstmann wrote:
Maybe you have "Bug 9693615 LOCK_DATE is null in DBA_USERS after account gets locked automatically" for 10.2.0.5/11.2.0.1 ?
Pierre,
Interesting note on that bug. I took the work-around of changing the reuse_time to a value other than unlimited. Now the account is showing as LOCKED(TIMED) when it gets locked. We clearly have a problem in the app and I am working with the developers (they live on the other side of the country and work for a different organization) to resolve. My concern for this thread was simply the issue of an account LOCKED with no LOCKE_DATE. Never saw anything like that before.
Thanks again for the lead. I posted to here just as I was heading out to lunch, planning on checking MetaLink when I got back. You saved me some search time weeding through a bunch of false hits.

Similar Messages

  • Method of fetching Account status and user locked date in Portal.

    Hi,
    Can anyone suggest me the method name  in UME API in Sap Ep for fetching User Account Status and Last User Locked Date. Or suggest a related code for it.
    user database is LDAP.
    Thanks

    Hi Abhai,
    The class (actually Interface) you're looking for is IUserAccount. You can get this from the IUser by using the method getUserAccounts().
    The IUserAccount provides all sort of methods like lockDate(), isLocked(), getLockReason().
    See more in https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/library/ep/_d-f/ep%206.0%20sp2%20usermanagement%20public%20api
    Best regards,
    Amit

  • If user locked (backend) then from portal i m not able to send data

    If user locked (backend) then from portal i m not able to send data
    both user are same in front end and backend.
    But once user is unlocked i am able to send data from portal to backend...
    Regards
    Ruturaj

    Hi
    Since you are in CUA landscape(as u said portal and r3 user are same) unless and utill you unlock it data will not be process.
    [Help|What's the right user to access;
    BR
    Satish Kumar

  • LOCKS checking user locked and SQL that he is executing

    Hello all,
    I have this script that inserts into a table the user causing the lock and the users waiting for the lock to be released.
    What I would like to add into this the script is the SQL string that the user causing the lock and the users waiting for the the lock to be released are executing.
    Can you help me on this?
    Script that I have now:
    insert into dba.sessions_bloq
    select sysdate "Data", w.sid "SID E", s1.username "User E", s1.osuser "OS User E", s1.machine "Maquina E", s1.program "Programa E", s1.logon_time "Logon E",
    s.ksusenum "SID B", s2.username "User B", s2.osuser "OS User B", s2.machine "Maquina B", s2.program "Programa B", s2.logon_time "Logon B"
    ,decode(r.ksqrsidt,
    ''MR'', ''Media Recovery'',
    ''RT'', ''Redo Thread'',
    ''UN'', ''User Name'',
    ''TX'', ''Transaction'',
    ''TM'', ''DML'',
    ''UL'', ''PL/SQL User Lock'',
    ''DX'', ''Distributed Xaction'',
    ''CF'', ''Control File'',
    ''IS'', ''Instance State'',
    ''FS'', ''File Set'',
    ''IR'', ''Instance Recovery'',
    ''ST'', ''Disk Space Transaction'',
    ''TS'', ''Temp Segment'',
    ''IV'', ''Library Cache Invalidation'',
    ''LS'', ''Log Start or Switch'',
    ''RW'', ''Row Wait'',
    ''SQ'', ''Sequence Number'',
    ''TE'', ''Extend Table'',
    ''TT'', ''Temp Table'',
    r.ksqrsidt) "Tipo Lock"
    from gv$session_wait w, x$ksqrs r, gv$_lock l, x$ksuse s, gv$session s1, gv$session s2
    where w.wait_Time = 0
    and w.event = ''enqueue''
    and r.ksqrsid1 = w.p2
    and r.ksqrsid2 = w.p3
    and r.ksqrsidt = chr(bitand(p1,-16777216)/16777215)||
    chr(bitand(p1,16711680)/65535)
    and l.block = 1
    and l.saddr = s.addr
    and l.raddr = r.addr
    and s.inst_id = userenv(''Instance'')
    and w.sid = s1.sid
    and w.inst_id = s1.inst_id
    and s.ksusenum = s2.sid
    and s.inst_id = s2.inst_id;
    Thanks in advance

    You can link to:
    gv$sql
    gv$sqltext_with_newlines
    but, if doing this in a trigger, also look at these:
    http://www.psoug.org/reference/system_events.html

  • STS u0096 Status buttons and locked data after approving

    Hello!
    I have some difficulties to customize STS and to lock data with the “Approve” status:
    With a bottom-up organization, a low level (User A) sends for approval to his superior (User B), then the superior approves. Then the data are normally locked for User A.
    But User A has always the possibility to click on the button “Open planning” and key-in/save data on the input form. And I don’t understand what is wrong.
    I hope my explanation is clear and sufficient.
    Thank you in advance for your help.
    Cécile

    Thank you for your answer.
    According the OSS note, my user has only the authorization R_STS_PT and it’s a bottom-up session. But I must use Header selections for the planning session? I have done some tests with this option and it wasn’t conclusive. At this moment I have no restriction/value in the option Define Header Chars for planning session.
    And I don’t understand the sdn topic link. There is no relation with my problem?

  • STS not locking data and layout

    Hi, we are trying to use STS for approval.  We have it configured and it seems to work fine but it does not lock the data when it is "approved".  I check the tables UPS_LOCKS and UPS_HASH and the seem in sync, after the approval there is an entry in UPS_LOCKS.  I tried a data slice and it locks fine.  For the hierarchy, I am using a reference infoobject called ZPLNT_CO in which the actual hieraercy is build on 0COMP_CODE, could this be the problem?, although it did import properly into STS . 
    Does the authorization objects need to have an activity other than 16?
    Any other suggestions?  Thanks in advance, Scott

    We have not found that STS is very satisfactory for locking submitted data on status change. It depends somewhat on your organisation and how your planners can work in the organisation: for example take a look at previous thread
    [STS and locking|https://forums.sdn.sap.com/click.jspa?searchID=9479206&messageID=4221273].
    So STS appears to lock data in all units for which a user plans, and other users may not be affected by the lock. So it appears to work best if there is a one-to-one relation between users and units which they plan.
    I could be wrong, but that has been my impression.
    (We are using SAP GUI entry of data).
    Regards
    Stephen

  • Java.sql.SQLException: ORA-01157: cannot identify/lock data file 7 - see DB

    I am deploying my application components on Oracle RAC database, when i install my app component i will run a script which creates a user and tablespace on bot rac-nodes(node1 and node2)
    as database is clustered, the user are created on 2 nodes and tablespace is stored in a shared location for two rac nodes
    i am able to successfully run my script on rac-node1 and and installed my component and when i started installing the app component on node2 getting error
    java.sql.SQLException: ORA-01157: cannot identify/lock data file 7 - see DBWR trace file
    ORA-01110: data file 7: '/db/db/db/ora10g/10.2.0/admin/dbadmin_01.dbf'
    ORA-06512: at "ADMIN.XL_SP_DBCHECK", line 48
    ORA-06512: at line 1
    "dbadmin_01.dbf is the custom tablespace which created by me"
    i a mgetting error while installing the app component on rac-node2

    You should not create database files outside of the ASM.
    I'm not sure you can move the datafile, I would export the data from the tablespace (if there is data you need there), delete the tablespace and recreate it in the ASM, then import the data back.
    If you want to move the datafile, you can try using RMAN (from node1).
    First connect to the database with sqlplus and execute:
    alter tablespace <tbs_name> offline;Then start RMAN: rman target /
    BACKUP AS COPY DATAFILE '<file>' FORMAT '+<ASM_DG>';Then in sqlplus, execute:
    alter tablespace <tbs_name> online;I'm not sure it will work, and I hope I got the commands right because I can't check it right now.
    Good luck
    Liron Amitzi
    Senior DBA consultant
    [www.dbsnaps.com]
    [www.orbiumsoftware.com]

  • ORA-01157: cannot identify/lock data file error in standby database.

    Hi,
    i have a primary database and standby database (11.2.0.1.0) running in ASM with different diskgroup names. I applied an incremental backup on standby database to resolve archive log gap and generated a controlfile for standby in primary database and restored the controlfile in standby database.But when i started the MRP process its not starting and thows error in alert log ORA-01157: cannot identify/lock data file. When i queried the standby database file it shows the location on primary database datafiles names not the standby database.
    PRIMARY DATABASE
    SQL> select name from v$datafile;
    NAME
    +DATA/oradb/datafile/system.256.788911005
    +DATA/oradb/datafile/sysaux.257.788911005
    +DATA/oradb/datafile/undotbs1.258.788911005
    +DATA/oradb/datafile/users.259.788911005
    STANDBY DATABASE
    SQL> select name from v$datafile;
    NAME
    +STDBY/oradb/datafile/system.256.788911005
    +STDBY/oradb/datafile/sysaux.257.788911005
    +STDBY/oradb/datafile/undotbs1.258.788911005
    +STDBY/oradb/datafile/users.259.788911005
    The Actual physical location of standby database files in ASM in standby server is shown below
    ASMCMD> pwd
    +STDBY/11gdb/DATAFILE
    ASMCMD>
    ASMCMD> ls
    SYSAUX.259.805921967
    SYSTEM.258.805921881
    UNDOTBS1.260.805922023
    USERS.261.805922029
    ASMCMD>
    ASMCMD> pwd
    +STDBY/11gdb/DATAFILE
    i even tried to rename the datafiles in standby database but it throws error
    ERROR at line 1:
    ORA-01511: error in renaming log/data files
    ORA-01275: Operation RENAME is not allowed if standby file management is
    automatic.
    Regards,
    007

    Hi saurabh,
    I tried to rename the datafiles in standby database after restoring it throws the below error
    ERROR at line 1:
    ORA-01511: error in renaming log/data files
    ORA-01275: Operation RENAME is not allowed if standby file management is
    automatic.
    Also in my pfile i have mentioned the below parameters
    *.db_create_file_dest='+STDBY'
    *.db_domain=''
    *.db_file_name_convert='+DATA','+STDBY'
    *.db_name='ORADB'
    *.db_unique_name='11GDB'
    Regards,
    007

  • How to change user lock time

    Hi all:
        We are running ESS/MSS.
        When user use tasks like maintenance personal data, family data. the infotype data is locked, then user exit the ESS abnormally. Then the infotype data is locked.
        My question is how long this infotype data will be released and can we change the time of this lock data ?

    Hi
    You can run the date command
    /usr/bin/date mmddHHMMyy
    example
    date 0906154506 (sep 06 15:45 year 06)
    Rgds
    HGN

  • User Lock issue when processing IDOCS

    Hi Folks,
    We are pushing the data into SAP using IDOCS.During this process some IDOCS are getting failed due to User Lock on shipment header.Anyone here can share their experience in dealing with User Lock issues.
    Thanks,
    Kiran.

    Kiran,
    Only one can edit the document, it's standard fucntion. I think No note can resolve this. I can suggest you to run a back ground job very frequently ,which picks these status 51 IDOCs and reprocess. Report is :RBDMANi2
    We can use Message class & error message number on selection screen, so that we can make sure that only those idocs which were failed due to Lock problem are taken by the job.
    Reddy

  • Unable to view locked data in Data Forms

    Hi,
    Does anyone know why we are not able to view locked data (it just shows empty orange cells) in Data Entry Forms? We added a column to the Data Form with the prior quarter information. This is just for information purposes and not for entering data, so the users see in one single form what they entered in the prior quarter. Unfortunately the cells do not show any data when the prior quarter is locked.
    Any idea?
    Thanks a lot!

    Unlock Data and run updated Business Rules and lock again...

  • How can I konw , Which computer name or IP Address make SAP User lock

    Dear all,
    I have one issues about SAP user lock,
    Now I don't know which computer name or IP Address make user lock.
    How can I check it or Can you tell me about the table that keep information about the ip address or computer name?
    I can see the computer name when I use t-code al08 or sm04.
    But I don't know the table that keep data from this t-code.
    Pls suggest me for this issue.
    Regards,
    Pannee

    In SM21
    If you double click on the message "User XXXXX locked due to incorrect logon"
    You'll see under details the name of the terminal
    Terminal............ XXXXXXXXXXX
    for IP address just ping the terminal.
    Regards
    Juan

  • Locking Data in Consolidation Grid

    Hello all -
    I'm wondering if there is a way to lock/unlock the data on the standard consolidation grid (the one under Process Management). I don't see anything, but everything else can be done there - process management, translations, etc. It seems odd that the users will need another grid solely to lock data with. Am I missing something?
    Thanks,
    ~Sarah

    I'm sorry Sarah, I overlooked that in your initial comment. The Process Control module was designed really to facilitate consolidation and process management. It makes sense to me that entity Lock/Unlock should be added to this. I will present this to product management for a future release idea. Based on some future intended changes, it seems likely we can add this to the product, but for now you will have to switch to the normal web grids in order to lock data.
    --Chris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Attribute Change run failed due to the User Lock

    Hi Friends,
    attribute change run has failed due to the user lock.
    can any one tell me how to process and what is the main cause behind on this.
    thanks in advance

    if master data is loading at same time while the attr/hier change run is occuring,it cause the change run to fail.
    Usually u get error message like..user ALEREMOTE has locked the MD tables..
    Wait for some time and then try attr change run manually by going to rsa1->tools->apply hier/attr change..
    if it still shows locked..try to see in rsmo if a MD load has got stuck..
    else..see in sm12 to find lock is on which tables..
    last resort..delete lock forcefully from sm12..
    first option is wait for some time and give a try again..
    cheers,
    Vishvesh

  • User locks planning application

    Dear all,
    sometimes I experience the issue that an user enters data in a BI Planning application for his company and exits the application by closing the browser, but the locking (TA rsplan) remains. If the same user wants to enter data later on he has no entry ready cells.
    How can this happen. What is the correct way to unlock the BI Planning after exit the application.
    Any ideas would be great.
    Best regards,
    Stefan from Munich/Germany

    Hi Stefanos,
    This happens when planning application is not closed properly (closing the browser, lost connection)
    The proper way of exiting the application is with predefined logout , exit  buttons.
    The locks in the system can be removed in transaction SM12
    Hope it helps,
    Marek

Maybe you are looking for

  • How to change delivery date (LFDAT) in  me57 item data

    hi , While  Creating purchase order  (me57)  . on the basis  of info rec   . i want to change  delivery date  by passing  info rec to table eine and get field aplfz  . then adding  aplfz to sysdate    and pass it to  Delivery date   . i have done thi

  • 2 comp's, two ver winxp, 3 downloads, same error - Desktop fails to launch.

    Symptoms: Desktop manager fails to launch. Installs fine - but afterwards, launching the application results in: rimbblaunchagent.exe loading into the process field of the Task Manager....and that's it.  No windows.  No apps...no error msg...no nothi

  • Previous or Next Page script...

    I have a webpage where I'm trying to incorporate a button that allows users to click on it and be taken back to previous viewed pages. It's uses the browser's history. I've seen how people add this script with a hyperlink but I dont know how to add i

  • What off-site, online backup service works best with Aperature?

    I would feel more comfortable with off-site backup for my 19,000 photos in iPhoto.  I am thinking of moving to Aperature.  I would like a service that would restore iPhoto or Aperature easily if my MBP hard drive should fail or corrupt my pictures. 

  • Trying to set up a yahoo account in leopard, need help.

    i am trying to set up a yahoo account but it wont let me. what are the incoming and outgoing servers for yahoo mail? what settings should i apply? does anybody know how to set up a yahoo account in mail? it says things like "trying to log into pop.ma