Failure to get the db line lock: ORA-01157

Hello

I have a client that uses that the customer is using Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production with the partitioning, Real Application Clusters, Automatic Storage Management. An application has been installed recently in which scripts created a .dbf file instead of save on the disk group. So if I run the query I see the following output below

SQL> select name from v$datafile;
NAME
--------------------------------------------------------------------------------
+RIAMSTG_DBF1/riamstg/datafile/oamstg_mds.259.821014833
+RIAMSTG_DBF1/riamstg/datafile/oamstg_ias_opss.256.821014833
+RIAMSTG_DBF1/riamstg/datafile/oamstg_oam.274.821014833
+RIAMSTG_DBF1/riamstg/datafile/oamstg_ias_iau.276.821014835
+RIAMSTG_DBF1/riamstg/datafile/bistg_mds.279.821875255
+RIAMSTG_DBF1/riamstg/datafile/bistg_biplatform.278.821875255
/db/oracle/112/db/dbhome_1/dbs/rbacx.dbf

Now, when we reboot the DB we see the error below.

ORA-01157: cannot identify/lock data file 18 - see DBWR trace file
ORA-01110: data file 18: '/db/oracle/112/db/dbhome_1/dbs/rbacx.dbf'
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory

In my view, that the error may be related to the .dbf file. How can I move this ASM format?

-Extreme

It should be ALTER TABLESPACE OFFLINE RBACX without the single quotation mark character.   (I had the character to reach the unknown tbsname).

Hemant K Collette

Tags: Database

Similar Questions

  • in windows 7 when you right click on how do you get the little line under the letter of the you can click on to make it open Windows 7

    in windows 7 when you right click on how do you get the little line under the letter of the you can click on to make it open Windows 7

    Example when you right click on a program, you can see Open if you click o the file opens, it was in XP, but not in 7

    That's what you want.

    1 - Open "Control Panel" and go to accessibility.

    2 - click make the keyboard easier to use.

    3. the title of 'Make it easier to use keyboard shortcuts' tick the box 'Underline access keys and keyboard shortcuts' and click 'Ok '.

    Oh sure, it could be useful.

  • How to get the responsible line line is SOA Composite for Workflow OIMR2

    Hello

    I have a requirement to get the 2nd line in SOA Composite. For example a user (Jon) creates an application available to users on the target system. First approver's manager Jon user line and first line manager this gathering for payload Task.payload.beneficiaryDetails.managerLogin. Now the problem is Second line manager which Jon line manager Manager.

    How can we get this second hierarchy in Composite SOA? Can someone help me? is there an API for it?


    Thank you

    Tamim Khan

    Hello

    I have this problem as below, without using the API. I do this ruin sql in the database of the IOM.

    1. Add the variable ManagerLogin2 in the RequestDetails.xsd file in source modefing.

    2. drag the expression to the node ManagerLogin2 in the entitlement operation.

    3 Add the following query using QUERY-DATABASE in the EXPRESSION.

    oraext:query - database (concat ("Select DISTINCT LINE_MANAGER2 from USR_LINE_MANAGER_VW where the USR_LOGIN =', concat ("'", bpws:getVariableData('inputVariable','payload','/ns3:process/ns4:BeneficiaryDetails/ns4:Login'),)"'"")), false (), false (),'jdbc:oracle:thin:DEV_OIM / @localhost Password: 1521:idmdevdb')

    4. to make the simple SQL I use a view of database USR_LINE_MANAGER_VW in the scheme of the IOM as below:

    CREATE OR REPLACE VIEW "DEV_OIM" OF THE FORCE. "" USR_LINE_MANAGER_VW ".

    ('USR_LOGIN', 'LINE_MANAGER1', 'USR_KEY', 'LINE_MANAGER2')

    AS

    SELECT U1. USR_KEY,

    U1. USR_LOGIN,

    V2M USR_LOGIN AS LINE_MANAGER1,

    U3. USR_LOGIN AS LINE_MANAGER2

    USR U1,

    USR U2,

    USR U3

    WHERE U1. USR_MANAGER_KEY = U2.usr_KEY

    AND U2. USR_MANAGER_KEY = U3.usr_KEY;

    5. Select insertMessingToData in the operation of the legal successor.

    6. Add the line below in ApprovalProcess.bpel

    xmlns:oraext =http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc

    7. now, we can use Task.payload.beneficiaryDetails.managerLogin2 approvalTaskRules.

  • Anyone had any chance to get the 'Chat line' to answer a question, not to mention that the declarant is unavailable...

    Anyone had any chance to get the 'Chat line' to answer a question, not to mention that the declarant that it is not available at this time?

    Nevermind, I got a refund.

  • How to get the selected line in af:inputComboBoxListOfValues

    Hello

    Am on jdev 11.1.1.2.1.

    Uses af:inputComboBoxListOfValues component, I've done the component based on the id of 'service' and the display value is "name of the Department.

    In the value change listener I want to get the id of the selected service, but now I get only the name of the service. (using valueChangeEvent.getNewValue m:System.NET.SocketAddress.ToString (()))

    So is it possible to get the whole line and get the "department id" using that?

    Help, please.


    Thank you
    Hari

    Sorry for the confusion, necessary to check it out:
    This code should work:

        public void nameValueCangeListener(ValueChangeEvent valueChangeEvent) {
            FacesContext contxt = FacesContext.getCurrentInstance();
            valueChangeEvent.getComponent().processUpdates(contxt); // after this the new row is selected!
            BindingContext lBindingContext = BindingContext.getCurrent();
            BindingContainer lBindingContainer = lBindingContext.getCurrentBindingsEntry();
            JUCtrlListBinding list = (JUCtrlListBinding) lBindingContainer.get("YOUR_LIST_BINDING_NAME");
            Row lFromList = (Row)list.getCurrentRow();
            Object lAttribute = lFromList.getAttribute("YOUR_ATTRIBUTE_YUO_WANT_TO_GET");
        }
    

    Timo

  • get the current line by a treetable

    Hello
    How to get the selected line in a treetable. (in support)

    Thanks in advance

    Hello

    call the getSelectedRowKeys. In a single-selection model, this returns a set with a single entry, which is a list of paintings representing the rowKey.

    RowKeySet selectedRows = treeTable.getSelectedRowKeys();
    //use EL to access binding (note that you can do this in Java as well)
    JUCtrlHierBinding treeTableBinding = (JUCtrlHierBinding) executeValueExpression("#{bindings.}");
    //get first entry of selected rows (single selection case)
    JUCtrlHierNodeBinding node =  treeTableBinding .findNodeByKeyPath((List)selectedRows .iterator().next());
    ... do the work with the node here ...
    
    private Object executeValueExpression(String valueExpression){
          FacesContext fctx = FacesContext.getCurrentInstance();
          ELContext elctx = fctx.getELContext();
          Application app = fctx.getApplication();
          ExpressionFactory exprFactory = app.getExpressionFactory();
          ValueExpression valueExpr = exprFactory.createValueExpression(
                                    elctx,
                                    valueExpression,
                                    Object.class);
           return valueExpr.getValue(elctx);
          }
    

    Frank

  • How do you get the tag line in last-one click on a tree control?

    The API for tree controls is infuriatingly obtuse.

    In response to an event initiated by the tree control, I need to query the currently selected item in the tree and get his tag, so I can handle the element and its children. How this is done? I found the method of 'Set the tag', but there is no Tag «get» In fact, the only way to get the tag of any element seems to be through the 'Point to the column line' method, which takes a pair of coordinates entry component! It's confusing!

    Oh hell. Value of tree is the tag of the element currently selected. It's so easy that I never thought to look there for it, given the complexity of almost all other actions in the API.

    * sigh *.

  • JavaScript help: get the current line inside tabular

    Hello world

    I hit a roadblock for a simple JS code: to get a current line for my tabular form. My environment is: Apex 4.2.6 on Oracle 11.2 with 3 Bootstrap for styling.

    The query in tabular form is as simple as this:

    Select

    "REF #"

    «INV #»

    "MANUFACTURER."

    "DISCOUNT."

    'PRICE ',.

    "UPC",

    "DESCRIPTION."

    quantity,

    "LINE NO.",.

    "" step by step

    of Order_items

    Now the emphasis here is "stepper", it is defined as "text save any State", in the expression of the HTML, I added this:

    < div class = "btn-group" >

    < button type = "button" class = "btn, btn - lg" onclick = "plusClicked ()" > + < / button >

    < button type = "button" class = "btn, btn - lg" onclick = "minusClicked (); ">-< / button >

    < / div > <!-/-> button

    The screen is as follows:

    Screen Shot 2015-02-06 at 9.44.49 AM.png

    In the header of the Page Javascript section:

    function plusClicked() {}

    var line, qty;

    Row = $(this). Closest ("TR");

    I tried row = $(this) .parent () .closest ("tr");

    same undefined result

    Qty = Row.Find ('input [Name = F09]'). Val();  F09 is the entry for the qty column name

    Alert ('most clicked qty =' + Qty);

    }

    The result is always: 'most clicked qty = undefined ".  Inspect the code says this:

    Screen Shot 2015-02-06 at 9.57.49 AM.png

    Any help and suggestions are greatly appreciated.

    The few I tested it seems solid to me.  I think you have to pass 'this' to plusClicked and minusClicked.

    onclick = "plusClicked (this)" "

    Then, the function can do:

    function plusClicked (btn) {}

    var line, qty;

    Row = $(BTN). Closest ("TR");

    Qty = Row.Find ('input [Name = F09]'). Val();  F09 is the entry for the qty column name

    Alert ('most clicked qty =' + Qty);

    }

    The other approach, I like it for it's with a DA.  I would like to add a class to the buttons instead of the onclick.

    DA would be during the click on jQuery selector .btnPlus

    and the JS to run would be:

    var $row = $(this.triggeringElement) .closest ("tr");

    var qty = $row.find('input[name=f09]').val ();

    Alert ('most clicked qty =' + Qty);

    I hope this helps.

    Thank you

    -Jorge

  • How to get the current line or the entire paragraph?

    Hello.

    I am facing the following problem:

    Suppose I have the following in FrameMaker:

    It is a sentence. And (end of single line)

    There also this sentence. (end of paragraph)

    It is a sentence. And (back)

    There also this sentence. (end of paragraph)

    It is a sentence. And (end of single line)

    There also this sentence. (return)

    But there is also this sentence (end of paragraph)

    It is a sentence. And (end of single line)

    There also this sentence. (return)

    There also this sentence. (return)

    But there is also this sentence (end of paragraph)

    What I want is this:

    Download the text of the entire paragraph where the insertion point of the cursor is.

    However, when exist from the ends of the hard line I want to change their behavior.

    This is the behavior to the foregoing:

    For the first example of the paragraph if the cursor is either first or second line I want to get the whole paragraph.

    Paragraph if the cursor is in the first line, I want only the first line. And if it's in the second row, I want only the second line.

    The third paragraph if the cursor in the first or second line, I want the first and second lines must be retrieved in plain text. Also, if the cursor is in the third line I want only to the third line.

    For the fourth paragraph, it functions as the third paragraph. If the cursor is in the third row I get only this one.

    Could you please provide of the FDK in C++ to start with code?

    It's a puzzle.

    As you are in the forum script, I am related to this here. You must understand the FDK C++ code yourself.

    There's not much to tease my brain with it. You get the point where the cursor is and pick up the pieces of text more line via the GetText() method, using a bit field which includes the FTI_String and the FTI_LineEnd. Each end of the line has a modifier that tells you if it's a hard or a return. You also get the offset in the paragraph of the current position of the cursor, and then create the necessary strings from the array of items of text returned by the GetText method.

    If you want the full execution of the code, ask someone to program it for you and be prepared to pay for the work.

    Good luck

  • Get the first line selected on the CommandButton Click

    Hi guys,.
    My version of jdev is 11.1.1.5.0. I have table on my Page of Adf.

    < af:table value = "#{bindings." MyvwVO1.collectionModel}.

    var = "row" rows = "#{bindings." MyvwVO1.rangeSize}.

    emptyText = "#{bindings." MyvwVO1.viewable? "{'No data to display.': 'Access Denied.'}".

    filterModel = "#{bindings." MyvwVO1.queryDescriptor}.

    queryListener = ' #{bindings. " MyvwVO1.processQuery}.

    filterVisible = "true" varStatus = 'vs' rowBandingInterval = '1 '.

    columnSelection = 'single '.

    Summary = "Table of suppliers.

    selectionListener = "#{bindings." MyvwVO1.collectionModel.makeCurrent}.

    rowSelection = "single" id = "t2".

    "partialTriggers =": soc1: ctb2: cb22.

    fetchSize = "#{bindings." MyvwVO1.rangeSize}.

    Binding = "#{MyBN.supplierTableBinding}" >

    < af:column id = "c14" frozen = "true" align = "center" >

    < af:commandButton action = "viewNext" text = "Next view" id = "cb1" >

    < af:setActionListener from = "#{bindings." CurrSupplierSiteId.inputValue}.

    to = "#{bindings." SupplierSiteID.inputValue} "/ >"

    < af:setActionListener from = "#{bindings." CurrSupplierSiteId.inputValue}.

    to = "#{MyBN.supplier_site_id}" / >

    < / af:commandButton >

    < / af:column >


    When I'm clicking viewNext button. When debugging, I get first line provider site Id instead of the current line selected.

    I also removed the selectedRowKeys of af: table. Now his show is not first line select default, but still get the Site Id of first line supplier back Bean.

    {} public void setSupplier_site_id (number supplier_site_id)

    This.supplier_site_id = supplier_site_id;

    }

    public {getSupplier_site_id() number

    Return supplier_site_id;

    }

    No idea what I'm doing wrong.


    Thank you

    Raul

    you pass line value.right... so from value as link will not be work.try send as #{row.abc.value} go on setactionListener and so on. You pass the rank value.

  • How to get the selected line of the selecetOneChoise

    Hello

    I use jdeveloper 11.1.2.3.0

    I have a simple vision with 'id' and 'name' attributes
    I dragged the view as selecetOneChoise and has chosen to show only the name.
    When the value of the selecetOneChoise is changed, I need to use the 'id' of the new value selected as a setting for another opinion.
    I tried to get it through the iterator, like this:
     
          public void onValueChangeListener(ValueChangeEvent valueChangeEvent) {
            DCIteratorBinding it = getBindings().findIteratorBinding("firstIterator");
            Row row = it.getCurrentRow();
            
            DCIteratorBinding it2 = getBindings().findIteratorBinding("secondIterator");
            ViewObject vo = it2.getViewObject();
            vo.setNamedWhereClauseParam("p_id", row.getAttribute("id").toString());
            vo.executeQuery();
           }
    but I get the old value instead of the new value.

    no idea why this is happening?
    or y at - it another way to get the 'id' of the selected value?
    It is urgent, thank you very much!

    Use this solution in your method first, and then write the code...

    code................

    for example :-{} public void onValueChangeListener (ValueChangeEvent valueChangeEvent)
    FacesContext will involve = FacesContext.getCurrentInstance ();
    valueChangeEvent.getComponent () .processUpdates (contxt);

    DCIteratorBinding it = getBindings () .findIteratorBinding ("firstIterator");
    Line = it.getCurrentRow ();

    It2 DCIteratorBinding is getBindings () .findIteratorBinding ("secondIterator");.
    ViewObject vo = it2.getViewObject ();
    vo.setNamedWhereClauseParam ("p_id", row.getAttribute("id").toString ());
    vo.executeQuery ();
    }

    Popz

    Published by: Popz on 2 April 2013 05:34

  • The implementation of the exclusive line locking in Oracle

    Hi all

    Since the beginning of learning Oracle, I've known that oracle has no row-level lock. Row level locking is achieved by ITL in the header of the block.
    In this context, I am curious how statement "lock table in exclusive mode of line" is implemented? Update for all ITLs lines all the blocks belonging to the table?

    Best regards
    Leon

    I'm not sure what you mean by Oracle has no blockage at the level of the lines. Line level Oracle most certainly is a lock. A single line in a table can be locked without blocking the other lines of the table, or even of other lines in the same block.

    You are right that this works through the ITL. When a DML is run, if a session doesn't has not already open transaction, Oracle will create one, by booking a slot/segment/wrap in the rollback segment header. Then, in the block where the line should be blocked, an ITL slot is reserved in the block header, that contains this transaction id, essentially pointing to this location of rollback segment. Now, to lock a specific line in the directory of the line, there is a byte of the lock. The locking byte is either 0, which means that the row is not locked, or she will 1.n value, where n is the number of ITL sites reserved in the block header. Thus, if the locking byte is not null, it points to slot ITL of the transaction that holds the lock. So, you can see that it is very easy for a transaction lock a single line in a block, or all lines in the block. Simply set the byte corresponding to the ITL (s) appropriate locking.

    This fact implies, it is that Oracle has no "centralized list of the locks on level line. Row-level locks are inherent in the structure of datablock, as stated above.

    Hope the helps to clarify your understanding.

    -Mark

  • Get the type line height / of a JTextArea in a GridBagLayout

    I have a JTextArea declared without default rows/columns, full text of unknown size (assigned during execution). This JTextArea line wrap set to true and wrap the Word style set to true. He is sitting in a JPanel GridBagLayout-ed, with
    weightx = 1, heavy = 0.7 gridx = 1, gridy = 2, gridwidth = 2, gridheight = 1, fill = BOTH, anchor = WEST
    The JPanel in question a height minimum, maximum and preffered all set at the same amount, because I displayed a bunch of these signs in a vertical scrolling region. The problem is, I don't know how many pixels to set for this height because I do not know how big the panel will be as long as GridBag aligning. I put in a ComponentListener to check resize them and I make one
    int desiredHeight = SOME_CONSTANT_FOR_ALL_THE_OTHER_STUFF_IN_THE_JPANEL + jTextAreaObject.getLineCount () * PIXELS_PER_ROW_OF_TEXT;
    then, set the dimensions of JPanel accordingly.

    Unfortunately, it seems that jTextAreaObject.getLineCount () always returns 1, even though I see that he got at least once rolled up (I see a couple of value of pixels on the top of each letter). I guess it's because I have no return carriage/flow line in my text. OK, so I tried jTextAreaObject.getRows () but that always returns 0. So what appeal will tell me how many lines is displayed onscreen, nevermind carriage returns and other? Thank you!

    The 'getWrappedLines' of text utilities method might work for you.

    Published by: camickr on September 28, 2010 17:58

    Anyone know how to get the link to work? I clicked on the button "click to insert a link.

    Published by: camickr on 29 Sep, 2010 01:14

    Thank you, Darryl, the link works now.

  • How to get the fixed lines per page? really Urgent!

    I am facing problem with the fixed lines per page. The footer (Subtotal) block moves upward, leaving space at the bottom when the number of items is lower.

    I have a two groups: one for the KIT and the KIT COMPONENTS. When I'm generation report for KIT only ITEMS I'm attaches footer using the

    < name of xsl: variable = "no_of_lines_per_page" select = "number (30)" / >
    <? for-each@section:Q1? >
    < xsl: variable xdofo:ctx = 'incontext' name = "inner_group" select=".//Q2"/ >
    <?-foreach: $inner_group? > <? If: (position () - 1) mod $no_of_lines_per_page = 0? >
    < name of xsl: variable = "first_rec" xdofo:ctx = 'incontext' select = 'position ()' / >

    but when I try to generate the report in combination with KIT COMPONENTS together, I am not able to set the number of lines per page. The footer is allocated to the next page. Now I Q2 and Q3 where Q2 makes Parent Kit and Q3 is child components Kit.

    How can I get it fixed lines per page for Q3 in regards to the Q2?

    I would appreciate if someone can answer me quickly.

    You have sent the updated RTF.

  • Get the "selected lines" value after sql custom query in the database adapter

    We execute a custom query in a database adapter. With other technologies (JDBC, etc.) the result of a query produces not only a game but the number of lines selected results. For example, the output of the script of Oracle SQL Developer will display something like:

    9999 selected lines

    at the end of the output of the script.

    I would like to obtain this value for a BPEL process. Of course, I could run a 2nd interview whose where clause is identical to the first, but select count (*) instead. However, it is not only ineffective but (in rare circumstances in an active database) could be the problem.

    It is not obvious to the novice BPEL how to get the selected value and the result set row in an Invoke. Is this possible?

    Maybe it's not the only solution - but this is how I did in the past.

    After step to invoke the adapter, use a step of the having-right/copy to fill a variable of integer type BPEL using the xpath count function...






    That should affect the number of records returned by the query.

    I hope this helps.

    Rod.

    Published by: Tunnels of Rod on December 15, 2009 13:16

Maybe you are looking for