SAPR3 is keep on locking in Oracle

Hi SAP gurus,
we have just change our hostname. I already changed all necessary parameters. Now Im facing new problem.
SAPR3 user is keep on locking in ORACLE every time I started MMC "ORA-28000: the account is locked".
Please let me know what to do?
Thanks in advance

Hi,
Delete OPS$ user from oracle  level,
     >Sql :  drop user "OPS$hostname\SIDADM" cascade;
     >Sql :  drop user "OPS$hostname\SAPSERVICESID" cascade;
Then run oradbusr.sql from location where file available.
After that , change password for SAPSR3 user. your problem will get resolve.
Reply...
Regards
MLN

Similar Messages

  • About pessimistick lock in Oracle

    Hello,
    I have some questions about pessimistick lock in Oracle:
    I know if i do a SELECT..FOR UPDATE statement, those records are locked, and just me can opperate on them.. but me - WHO? How i'm identified in Oracle? If i do a SELECT..FOR UPDATE select in an A procedure, then i call the update procedure B, how can i know that both calls belongs to the same user? If someone tries to update the same records, how the server knows if that person is allowed to make those updates or not? because everyone uses the same connection string.. isn't it?
    Probably it works if i make a SELECT..FOR UPDATE and i make the effective update in that procedure, but this means that the Business Logic is in that procedure..
    Please correct me if i'm wrong somewhere and clarify me.
    Thanks!

    By default the other session has to wait (no error message):
    From SQL Reference SELECT section: http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/statements_10002.htm#SQLRF01702
    >
    NOWAIT | WAIT
    The NOWAIT and WAIT clauses let you tell the database how to proceed if the SELECT statement attempts to lock a row that is locked by another user.
    Specify NOWAIT to return control to you immediately if a lock exists.
    Specify WAIT to instruct the database to wait integer seconds for the row to become available and then return control to you.
    If you specify neither WAIT nor NOWAIT, then the database waits until the row is available and then returns the results of the SELECT statement.
    >
    Edited by: P. Forstmann on 7 janv. 2010 09:00
    Edited by: P. Forstmann on 7 janv. 2010 09:01

  • What is dead locks with oracle and wht is race condition wrt oracle

    what is dead locks with oracle and wht is race condition wrt oracle

    > And do you know what a race condition is all about?
    It is a term used to indicate several processes attempting to use the same resource that is not capable of servicing all these at the same time. This could be due to the resource not being thread safe or implemented as a serialised resource.
    It is often easy to look up definitions on Google. In the Google search field, type "define:race condition".
    The following [url http://www.google.co.za/search?hl=en&q=define%3Arace+condition&btnG=Google+Search&meta=]web definitions page is displayed.

  • PIDIRUSER & PIRWBUSER Keep Getting Locked

    After a recent XI system copy my PIDIRUSER and PIRWBUSER keep getting locked by the kernel.  I did not change the passwords from the system I copied yet this problem only occurs in the new copy.  In SM21 it shows that SAPJSF locks it with repeated invalid login/passwords.  It seems to occur every 20 minutes on the nose but I can't find any jobs that correspond to this timeframe. 
    I have been through the enchange profile a number of times and validated everywhere I can think of but I can't find anywhere in ABAP or JAVA where these users are embeded with the wrong password.  I have also restarted multiple times during the system copy process and once just to try to stop this occuring.  I've refreshed the caches, I've sync'ed with the SLD, I'm at a loss.
    Anyone have any ideas where to procede?
    Thanks
    Phil

    Thanks Moorthy,
    I have gone through and changed my passwords for these two users per note 721548.  Still the same issue is happening.  I am somewhat puzzled since I have no jobs running under either user (at least none that should cause 3 failed logins in 20 minutes).  Also, this is a relatively unused system with no developers logging on to use either the directory or the runtime workbench.  So I really have no clue what is causing these failures.  It is pretty clearly failing from Java trying to connect to ABAP but why?
    Thanks for your help, I'll keep this open in case anyone wants a good mystery.
    Phil

  • Java-administrator password keeps getting locked

    Hi,
    We have a portal 7.3 in which the Java-administrator password keeps getting locked. I can't see anything in the log traces in NWA. The only thing I've found is in security_audit logfile which doesn't really say much:
    #2.0 #2014 07 17 05:47:03:913#+0200#Info#/System/Security/Audit/PrincipalModification#
    #BC-JAS-SEC-UME#com.sap.security.core.sda#C000AC142D1F08D90000000000003284#52888950000000002#tc~bl~txmanager~plb#com.sap.security.core.util.SecurityAudit#Guest#0#JTA Transaction : 127261#040FAA9B0D6511E4C5A4000003270576#040faa9b0d6511e4c5a4000003270576#040faa9b0d6511e4c5a4000003270576#0#Thread[RMI/IIOP Worker [0],5,Dedicated_Application_Thread]#Plain##
    User account modified    | USERACCOUNT.MODIFY    | UACC.PRIVATE_DATASOURCE.un:Administrator    |     | SET_ATTRIBUTE: islocked=[true], SET_ATTRIBUTE: lockreason=[1]#
    Please advice,
    Thanks.

    Hi,
    there exists a trace location that should provide useful information for such cases. It is described in SAP note:
    1493272 - A user gets locked automatically
    My suggestion is add the location com.sap.security.core.userlocking as
    specified in the attachment to the note and once it is added, set that
    location to DEBUG and wait for the user to be locked again. Hopefully additional information concerning the origin of the bad credentials will be written to traces.
    Exactly how you capture the traces depends on the frequency in which
    the user becomes locked. For example if the user becomes locked every
    few minutes, after adding the location in the configtool and
    restarting the system, I suggest using the Security Troubleshooting
    Wizard to do so. Refer to note 1332726 - Troubleshooting Wizard and
    its attachments. Create a custom incident that is a copy of the
    Authentication incident and add this location
    com.sap.security.core.userlocking  to the newly created incident
    Set the wizard to use this new incident for trace collection and wait
    for the user to become locked. Then immediately stop the wizard's
    trace collection
    I
    f the locking occurs less frequently than every few minutes, it is
    preferable to use the NWA to adjust the severity of these locations
    and their sublocations to DEBUG and wait for the issue to reoccur
    com.sap.security.core.userlocking
    com.sap.engine.interfaces.security
    com.sap.engine.services.httpserver.HttpTraceRequest.traceRaw
    com.sap.engine.services.httpserver.HttpTraceResponse.traceHeaders
    com.sap.engine.services.security.authentication
    com.sap.security.core.logon
    com.sap.security.core.ticket
    com.sap.security.core.util
    com.sap.security.core.server.jaas
    See Log Configuration with SAP NetWeaver Administrator
    http://help.sap.com/saphelp_nw73/helpdata/en/47/af551efa711503e10000000a42189c/content.htm
    Don't forgot to change these back to default severity levels after the
    issue has captured in the traces
    Regards,
    David

  • How to identify the locks in oracle db objects? i dont have access to check

    How to identify the locks in oracle db objects? i dont have access to check the v$lock or v$ objects. i dont have dba access. what are the symptoms for table, row or objects lock? how v guess it would be lock?
    Thanks in advance friends..

    I believe you will have to call your DBA on the phone in that case.
    You can query something with a select ... for update nowait.
    If it raises an exception you can handle it within a when section.
    -- Running in one session
    SQL> create table t1 as select 1 col1 from dual;
    Table created
    SQL> select * from t1 for update nowait;
          COL1
             1
    SQL>
    -- now running in a different session
    SQL> select * from t1 for update nowait;
    select * from t1 for update nowait
    ORA-00054: resource busy and acquire with NOWAIT specified
    SQL> set serveroutput on
    SQL>
    SQL> DECLARE
      2    CURSOR cur1 IS
      3      SELECT col1 FROM t1 FOR UPDATE NOWAIT;
      4    v_col1 NUMBER;
      5    locking_error EXCEPTION;
      6    PRAGMA EXCEPTION_INIT(locking_error, -00054);
      7  BEGIN
      8    OPEN cur1;
      9  EXCEPTION
    10    WHEN locking_error THEN
    11      dbms_output.put_line('Busted locking my rows!');
    12  END;
    13  /
    Busted locking my rows!
    PL/SQL procedure successfully completed
    SQL> Now, surely you won't be able to tell anything else other than there was something locked there.
    But none of the details you would find in the views.

  • Locked the oracle User account

    How to know who(os Name/ User/ Locked Time) locked the oracle User account

    1) You didn't mention an Oracle version. If you're on 10.2, perhaps this discussion
    http://www.pythian.com/blogs/284/oracle-102-migrations-%E2%80%93-account-lockedtimed-and-failed_login_attempts
    would be interesting.
    2) DBA_USERS isn't going to tell you who caused the account to be locked. Just that it is locked and when it was locked.
    Justin

  • I use Apache in Oracle 9i DB. I keep php in C:\oracle\ora92\Apache\Apache\h

    I use Apache in Oracle 9i DB. I keep php in C:\oracle\ora92\Apache\Apache\htdocs. Why I can't run php. I must use driver, doesn't me?.
    Thank you!
    Sorry, I'm not well in English.

    Have you installed the php program into Oracle's Apache?
    There are some notes on this at:
    http://otn.oracle.com/products/ias/ohs/htdocs/php_instructions_for_ohs.htm
    What error are you getting?
    -- CJ

  • Is there any reason that my lock keeps unlocking in my network settings? Is there any way to keep it locked? It sure is inconvenient when I have to reboot to get back on the internet and re-lock that lock.

    Is there any reason that my lock keeps unlocking in my network settings? Is there any way to keep it locked? It sure is inconvenient when I have to reboot to get back on the internet and re-lock that lock.

    You could try changing the settings in System Preferences/Security & Privacy/General/Advanced/Require an Administator password to access locked preferences
    But this will affect all Preference settings.

  • The J2EE_ADMIN is keep getting locked

    Hello,
    The J2EE_ADMIN is keep getting locked for some reason.
    I unlock it and after a while it is locked again.
    No one is trying to login with it so it can't be locked due to multiple wrong logins.
    What can be the reason for that?

    Hi,
          Open Visual Administrator in  Cluster> Server>Services-->Security Provider
    Go to Runtime - tab and then User Management. Search for the user "J2EE_Admin" and double click on the user name to get the user management property sheet. There you can find "No password change required". If it is not checked, please check that one. Then that password wont expire for every deployment.
    Hope this helps.
    Regards,
    Pooja.

  • Why does my ipad4 keep on locking even after only a few seconds?

    Ipad 4 keeps on locking while using an app

    Is it one particular app or any random app? It really helps to be specific when you post your questions. The more information that you can supply, the better your chances are of getting meaningful suggestions.
    Try these basic troubleshooting steps first.
    Close all apps. In order to close apps, you have to drag the app up from the multitasking display. Double tap the home button and you will see apps lined up going left to right across the screen. Swipe to get to the app that you want to close and then swipe "up" on the app preview thumbnail to close it.
    Next, reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
    If those things made no difference, try this. Reset all settings. You will not lose any data, but most of the device settings will have to be entered in the settings app again. Settings>General>Reset>Reset all Settings.

  • PILDUSER Keeps On locking..

    PILDUSER keeps on locking,
    I've changed the password and updated in the
    http://<host>:<post>/exchangeProfile. no use its again locking.
    I've created a new UserID with the same roles as PILDUSER and
    updated the connection tab in " http://<host>:<post>/exchangeProfile "
    the new user id is also keep on locking.
    any help will be appreciated and awarded.
    Thanks
    sagar

    You have to ensure that the password of user PILDUSER is 8 characters or less in both ABAP (SU01) and the Exchange Profile (http://<hostname>:50000/exchangeProfile | Connection)

  • NWDI_ADM user keep getting lock

    Hi,
    We are having an issue with the NWDI, the user NWDI_ADM keeps getting lock and i am not sure what is locking the user.  I also receive this message when trying to access the activity in the CBS.
    #1.5 #001E0BEBCFF000760000005700001090000467BE96A6C2DD#1239968175774#com.sap.tc.cbs.server.rt.bs.BSAdmin##com.sap.tc.cbs.server.rt.bs.BSAdmin####n/a##8d5928812b4211decb67001e0bebcff0#Thread[CBS BSA Orc,10,SAPEngine_System_Thread[impl:5]_Group]##0#0#Error##Java###
    [EXCEPTION]
    #3#Unable to instantiate a Build Space administrator!
    Build Space "JDI1_TESTJS_D" [bsID: 42, version: 1] [in-queue: on, out-queue: "on (queueing)", processing: on]#Unable to access repository. Authentication failed.#com.sap.tc.cbs.api.CommunicationException: Unable to access repository. Authentication failed.
         at com.sap.tc.cbs.api.impl.BSFacade.getOwnerBuildspace(BSFacade.java:526)
         at com.sap.tc.cbs.server.rt.bs._BuildSpaceValidator.checkWorkspace(_BuildSpaceValidator.java:87)
         at com.sap.tc.cbs.server.rt.bs._BuildSpaceValidator.validateWSs(_BuildSpaceValidator.java:57)
         at com.sap.tc.cbs.server.rt.bs.BSAdmin.validate(BSAdmin.java:183)
         at com.sap.tc.cbs.server.rt.bs.BSAdmin.updateState(BSAdmin.java:251)
         at com.sap.tc.cbs.server.rt.bs.BSAdminOrc.determineChanges(BSAdminOrc.java:437)
         at com.sap.tc.cbs.server.rt.bs.BSAdminOrc.validateBuildSpaceData(BSAdminOrc.java:217)
         at com.sap.tc.cbs.server.rt.bs.BSAdminOrc.act(BSAdminOrc.java:339)
         at com.sap.tc.cbs.server.rt.impl.CourteousTimer.run(CourteousTimer.java:139)
         at java.lang.Thread.run(Thread.java:534)
    If you can help, that would be great.
    Thanks
    Jean Seguin

    Hi Jean,
    You can check NWDI_ADM user in your NWDI System & SLD System. To check where user is getting locked you can go to Visual Admin --> Server Node --> Security Provider --> User Management:
    Search for NWDI_ADM user and see when it was last locked. Perforn this on both NWDI & SLD system.
    To resolve this issue.
    1. Make sure you have same password defined in NWDI & SLD system OR
    2. Run configuration wizzard in NWDI System which will prompt you to enter password for NWDI_ADM user. TO do that please go to
    http://NWDIserver:<portnumber>:nwa --> Deploy and Change. From there run configuration wizard for CBS; CMS & DTR. and before doing this make sure you have correct password for NWDI_ADM user in SLD & NWDI System.
    What I generally do is keep same passowrd in NWDI & SLD system. Thats my way of doing thing and keeping less complications.
    Bhavin

  • APPS User keeps on locked

    Hi,
    My apps user account keeps on locked every 3 minutes even after unlocked the account in release 12. OS is IBM AIX6.1.
    Followed the DOC 275232.1. This issue occurs after changing the apps password. Awaiting for help..
    Thanks,

    vasanth wrote:
    Hi,
    My apps user account keeps on locked every 3 minutes even after unlocked the account in release 12. OS is IBM AIX6.1.
    Followed the DOC 275232.1. This issue occurs after changing the apps password. Awaiting for help..
    Thanks,Please see these docs.
    APPS User Account Is Locked While Applying a Patch. Patch Fails With "ORA-28000" [ID 420001.1]
    R12: Clone fails with error "ORA-28000 The account is locked" [ID 1114244.1]
    FNDCPASS Troubleshooting Guide For Login and Changing Applications Passwords [ID 1306938.1] -- 2. Log In Fails With: You Don't Have Permission To Access /pls/.../fnd_icx_launch.launch On This Server
    Thanks,
    Hussein

  • Using OleDbDataAdapter Update with InsertCommands and getting blocking locks on Oracle table

    The following code snippet shows the use of OleDbDataAdapter with InsertCommands.  This code is producing many inserts on the Oracle table and is now suffering from contention... all on the same table.  How does the OleDbDataAdapter produce
    inserts from a dataset... what characteristics do these inserts inherent in terms of batch behavior... or do they naturally contend for the same resource. 
    oc.Open();
    for (int i = 0; i < xImageId.Count; i++)
    // Create the oracle adapter using a SQL which will not return any actual rows just the structure
    OleDbDataAdapter da =
       new OleDbDataAdapter("SELECT BUSINESS_UNIT, INVOICE, ASSIGNMENT_ID, END_DT, RI_TIMECARD_ID, IMAGE_ID, FILENAME, BARCODE_LABEL_ID, " +
       "DIRECT_INVOICING, EXCLUDE_FLG, DTTM_CREATED, DTTM_MODIFIED, IMAGE_DATA, PROCESS_INSTANCE FROM sysadm.PS_RI_INV_PDF_MERG WHERE 1 = 2", oc);
    // Create a data set
    DataSet ds = new DataSet("documents");
    da.Fill(ds, "documents");
    // Loop through invoices and write to oracle
    string[] sInvoices = invoiceNumber.Split(',');
    foreach (string sInvoice in sInvoices)
        // Create a data set row
        DataRow dr = ds.Tables["documents"].NewRow();
        ... map the data
        // Populate the dataset
        ds.Tables["documents"].Rows.Add(dr);
    // Create the insert command
    string insertCommandText =
        "INSERT /*+ append */ INTO PS_table " +
        "(SEQ_NBR, BUSINESS_UNIT, INVOICE, ASSIGNMENT_ID, END_DT, RI_TIMECARD_ID, IMAGE_ID, FILENAME, BARCODE_LABEL_ID, DIRECT_INVOICING, " +
        "EXCLUDE_FLG, DTTM_CREATED, DTTM_MODIFIED, IMAGE_DATA, PROCESS_INSTANCE) " +
        "VALUES (INV.nextval, :BUSINESS_UNIT, :INVOICE, :ASSIGNMENT_ID, :END_DT, :RI_TIMECARD_ID, :IMAGE_ID, :FILENAME,  " +
        ":BARCODE_LABEL_ID, :DIRECT_INVOICING, :EXCLUDE_FLG, :DTTM_CREATED, :DTTM_MODIFIED, :IMAGE_DATA, :PROCESS_INSTANCE)";
    // Add the insert command to the data adapter
    da.InsertCommand = new OleDbCommand(insertCommandText);
    da.InsertCommand.Connection = oc;
    // Add the params to the insert
    da.InsertCommand.Parameters.Add(":BUSINESS_UNIT", OleDbType.VarChar, 5, "BUSINESS_UNIT");
    da.InsertCommand.Parameters.Add(":INVOICE", OleDbType.VarChar, 22, "INVOICE");
    da.InsertCommand.Parameters.Add(":ASSIGNMENT_ID", OleDbType.VarChar, 15, "ASSIGNMENT_ID");
    da.InsertCommand.Parameters.Add(":END_DT", OleDbType.Date, 0, "END_DT");
    da.InsertCommand.Parameters.Add(":RI_TIMECARD_ID", OleDbType.VarChar, 10, "RI_TIMECARD_ID");
    da.InsertCommand.Parameters.Add(":IMAGE_ID", OleDbType.VarChar, 8, "IMAGE_ID");
    da.InsertCommand.Parameters.Add(":FILENAME", OleDbType.VarChar, 80, "FILENAME");
    da.InsertCommand.Parameters.Add(":BARCODE_LABEL_ID", OleDbType.VarChar, 18, "BARCODE_LABEL_ID");
    da.InsertCommand.Parameters.Add(":DIRECT_INVOICING", OleDbType.VarChar, 1, "DIRECT_INVOICING");
    da.InsertCommand.Parameters.Add(":EXCLUDE_FLG", OleDbType.VarChar, 1, "EXCLUDE_FLG");
    da.InsertCommand.Parameters.Add(":DTTM_CREATED", OleDbType.Date, 0, "DTTM_CREATED");
    da.InsertCommand.Parameters.Add(":DTTM_MODIFIED", OleDbType.Date, 0, "DTTM_MODIFIED");
    da.InsertCommand.Parameters.Add(":IMAGE_DATA", OleDbType.Binary, System.Convert.ToInt32(filedata.Length), "IMAGE_DATA");
    da.InsertCommand.Parameters.Add(":PROCESS_INSTANCE", OleDbType.VarChar, 10, "PROCESS_INSTANCE");
    // Update the table
    da.Update(ds, "documents");

    Here is what Oracle is showing as blocking locks and the SQL that has been identified with each of the SIDS.  Not sure why there is contention.  There are no triggers or joined tables in this piece of code.
    Here is the SQL all of the SIDs below are running:
    INSERT INTO sysadm.PS_RI_INV_PDF_MERG (SEQ_NBR, BUSINESS_UNIT, INVOICE, ASSIGNMENT_ID, END_DT, RI_TIMECARD_ID, IMAGE_ID, FILENAME, BARCODE_LABEL_ID, DIRECT_INVOICING, EXCLUDE_FLG, DTTM_CREATED, DTTM_MODIFIED, IMAGE_DATA, PROCESS_INSTANCE) VALUES (SYSADM.INV_PDF_MERG.nextval,
    :BUSINESS_UNIT, :INVOICE, :ASSIGNMENT_ID, :END_DT, :RI_TIMECARD_ID, :IMAGE_ID, :FILENAME, :BARCODE_LABEL_ID, :DIRECT_INVOICING, :EXCLUDE_FLG, :DTTM_CREATED, :DTTM_MODIFIED, :IMAGE_DATA, :PROCESS_INSTANCE)
    SID 1452 (BTSUSER,BIZTPRDI,BTSNTSvc64.exe) in instance FSLX1 is blocking SID 1150 (BTSUSER,BIZTPRDI,BTSNTSvc64.exe) in instance FSLX1
    SID 1452 (BTSUSER,BIZTPRDI,BTSNTSvc64.exe) in instance FSLX1 is blocking SID 1452 (BTSUSER,BIZTPRDI,BTSNTSvc64.exe) in instance FSLX1
    SID 1452 (BTSUSER,BIZTPRDI,BTSNTSvc64.exe) in instance FSLX1 is blocking SID 1156 (BTSUSER,biztprdi,BTSNTSvc64.exe) in instance FSLX3
    SID 1452 (BTSUSER,BIZTPRDI,BTSNTSvc64.exe) in instance FSLX1 is blocking SID 6 (BTSUSER,BIZTPRDI,BTSNTSvc64.exe) in instance FSLX2
    SID 1452 (BTSUSER,BIZTPRDI,BTSNTSvc64.exe) in instance FSLX1 is blocking SID 1726 (BTSUSER,BIZTPRDI,BTSNTSvc64.exe) in instance FSLX2
    SID 1452 (BTSUSER,BIZTPRDI,BTSNTSvc64.exe) in instance FSLX1 is blocking SID 2016 (BTSUSER,biztprdi,BTSNTSvc64.exe) in instance FSLX2

Maybe you are looking for

  • Deleting DTP based on Open Hub and Remote Cube

    Hi All, i have created a DTP delta for my Open Hub to load a flat file from a remote cube. i have done some load test request but it doesn't work (no data in my file .csv), i have created another full DTP with others parameters and it works successfu

  • I'm having a problem with inserting a photo gallery created with Bridge

    I sure could use some help. Adobe Bridge - Why do I have a white bar on my page? I am using windows vista, Dreamweaver cs4 and Adobe bridge to insert a photo gallery. I am using an I-frame to embed a photo gallery that was created with Adobe Bridge C

  • Some sites are not reachable (for me) sometimes, then they are again

    I have a DSL connection at home and a Netgear WLAN router connected to it. Since I changed to Leopard some sites like google/Apple/yahoo and many others are not accessible on a random base. Sometimes I just have to change from Sarari to Firefox and e

  • Help!! Iphone 3 restore needed!! - keeping data

    HELP!!!!  my iphone 3 is displaying a msg saying "restore needed" i have no signal from a network (which i have already spoken to them about) and iphone tells me to plug into itunes. When i plug it in, my computer asks me to unlock my phone, i am una

  • Execute a clientListener of type selection without the selection (HELP)

    Hey everyboy, today i brought a difficult and challeging question for you. (I'm using JDeveloper 12.1.2.0.0 and the database given by oracle -> HR) Imagine the following scenario: - You have a adf read-only table with the department id and department