Problem with SPACE_RECLAIMABLE in Oracle Flashback

Hi All,
I have oracle 11.2.0.3 version running. I have some queries.
Recently I am learning about flashback technology.
What my issue is that the SPACE_RECLAIMABLE column always shows 0 although there is enough space in the flashback area.
Snapshot is as below.
SQL> select * from v$recovery_file_dest;
NAME SPACE_LIMIT SPACE_USED SPACE_RECLAIMABLE NUMBER_OF_FILES
C:\app\mudassar\fast_recovery_area 4353687552 104857600 0 2
I am not able to understand why? Where is the issue?
As per my understanding this should show the space that is free..
Please guide me on same.

822922 wrote:
Hi All,
I have oracle 11.2.0.3 version running. I have some queries.
Recently I am learning about flashback technology.
What my issue is that the SPACE_RECLAIMABLE column always shows 0 although there is enough space in the flashback area.
Snapshot is as below.
SQL> select * from v$recovery_file_dest;
NAME SPACE_LIMIT SPACE_USED SPACE_RECLAIMABLE NUMBER_OF_FILES
C:\app\mudassar\fast_recovery_area 4353687552 104857600 0 2
I am not able to understand why? Where is the issue?
As per my understanding this should show the space that is free..
Please guide me on same.http://docs.oracle.com/cd/E11882_01/server.112/e25513/dynviews_2125.htm#REFRN30304
{code}
SPACE_RECLAIMABLE      NUMBER      Total amount of disk space (in bytes) that can be created by deleting obsolete, redundant, and other low priority files from the fast recovery area
{code}
and probably
http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmmaint.htm#BRADV89614
It does not show the space that is free, it shows the space that COULD BE freed if you removed files (see the list of possible files above) from the FRA.
Cheers,

Similar Messages

  • Problem with implicitly created Oracle pipes

    Hi, I am having a problem with implicitly created Oracle pipes. I am not sure if this is the correct forum for this topic, but I could not see one which suited better..
    I am using Oracle pipes as a commiunication mechanism between processes (some are written in PL/SQL and other in PRO*C).
    The general problem I have is that if a timeout occurs during the communication process, I end up with 1 or perhaps 2 implicitly created pipes.
    The biggest problem for me is that I am unable to determine if a create is implicitly created (via dbms_pipe.send_message or receive_message). This causes problems, since these implicitly created pipes are left behind and not deleted. I'll show you the basic flow of the processes and you shall see my problem.
    server: create request pipe "req_pipe"
    server: listen for request on requests pipe.
    client: create two pipes for comms with server.
    client: send request and the names of the newly created pipes to the server.
    server: read request and pipename from request pipe (from this point all comms between the client and server are now done over the 2 pipes the client created).
    server: send ack message to client to ensure they are still there (since requests can be queued in the request pipe and clients could have timed out before the request is received)
    client: send "i'm still here" ack back to the server.
    server: process request and send result back to client.
    client: send ack back to server to let server know we have received the response.
    server: send ack back to client to show that work is now committed.
    OK thats the general event flow. I use the rule, that pipes created by a process are removed by a process. So the client always removes the pipes it created in all situations. But since this can happen at any point we can get in the situation:
    client: timeout occurs, delete pipes.
    server: send message to client (creates an implicit pipe) and therefor works (no errors raised)
    server: do a read for response from previous message. (implicitly creates pipe) (will fail).
    Now we have two implicitly created pipes! These pipes will exist until the database instance is shutdown, and in a poorly performing environment, we could get thousands of these pipes lying around... not a good situation.
    How can I either stop pipes being implicilty created, or how do I detect if a pipe was implicitly created.
    I have tried a couple of things, like using v$db_pipes to check if a pipe exists before doing send/reveive calls but this is FAR to slow to do a select on that view.
    We have also looked at keeping a record of pipes created by the client then have some process (perhaps the server) clean up these pipes after some time frame. This is a workable solution but is not favourable since it adds extra overhead having to check these pipes often, and created an extra level of complexity which is not required..
    Any suggestions will be greatly appreciated.
    Feel free to email me with any suggestions on my email provided below, or just post a reply to this formum..
    Many thanks,
    Karl Bridger
    [email protected]

    I solved the problem by changing the SOAP massage format from Document/Wrapped to Document/Literal

  • Problems with Download of Oracle IFS /IFS Devkit for NT

    I am having problems with download of Oracle IFS and Oracle IFS Devkit for NT.
    When I ran the ifsdevkit.bat file the last four files did not get copied over. Subsequently when I ran the upload_ifsdevkit batch file as indicated in document I got error message saying
    'System cannot find the path specified'.
    When I opened the batch file it is looking for BIN directory under the C:\OraHome1\ifs directory but none exists. I wonder if this is the cause of problem. This would mean that the ifs1081.zip file has a bug in that it did not create the BIN directory and files under C:\OraHome1\ifs
    Would appreciate if somebody can help. Thanks
    null

    Is C:\OraHome1 your ORACLE_HOME directory? (Usually, it's C:\Oracle\Ora81)
    Also, have you installed iFS (successfully) in that ORACLE_HOME? If so, you are guaranteed to have an %ORACLE_HOME%\ifs\bin directory.
    Finally, did you enter the correct directory as the parameter to the DEVKIT script?

  • Problem with RollBack in  Oracle Batching

    Hi all,
    This is Adhil. I am facing a problem with Oracle Batching in java.
    I am using java 1.5 and Oracle 10 g.
    I have a below standalone code to test the Oracle Batching (Assume that i have the 2 tables with zero records ).
    with the batch size set as 10, I am trying add 2 records in each table.
    Now I rise divideByZero error exception manually and trying to rollback the connection in catch statement . But couldn't rollback the connection. I see the 2 records added in both of my tables.
    The same code when i set the batchsize 2 and trying to insert 10 records ,I could rollback and no rows get inserted.
    Since I am going to get the no of insert from user in runtime , my rollback may fail in any combinations as in my first case(with batch size 10 and if the no of insert is 2).
    import java.io.*;
    import java.util.*;
    import java.sql.*;
    import oracle.jdbc.*;
    public class BatchTest{
         public static void main(String args[]) throws Exception{
              Connection conn = null;
              conn = new BatchTest().createConnection();
              new BatchTest().insertdata(conn);
         public Connection createConnection() throws Exception{
                   Properties props =new Properties();
                   props.load(ClassLoader.getSystemResourceAsStream("connection.properties"));
                   String connectionString = (String)props.get("connection");
                   String username = (String)props.get("username");
                   String password = (String)props.get("password");
                   Class.forName("oracle.jdbc.driver.OracleDriver");
                   Connection connection = DriverManager.getConnection(connectionString, username, password);
                   return connection;
         public void insertdata(Connection dbConnection){
              PreparedStatement psCnt =null;
              PreparedStatement psImp =null;
              try{
              dbConnection.setAutoCommit(false);
              psCnt = dbConnection.prepareStatement("insert into CHKCNT values (?,?)");
              psImp = dbConnection.prepareStatement("insert into CHKIMP values (?,?)");
              ((OraclePreparedStatement)psCnt).setExecuteBatch (10);
              ((OraclePreparedStatement)psImp).setExecuteBatch (10);
              int x=0;
              for(int i=1;i<=2;i++){
                        psCnt.setInt(1,i);
                        psCnt.setString(2,"Jack");
                        psImp.setInt(1,i);
                        psImp.setString(2,"John");
                        psImp.executeUpdate();
                        psCnt.executeUpdate();
              if(true) x=10/0;
              dbConnection.commit();
              }catch(Exception e){
                   try{
                   dbConnection.rollback();
                   dbConnection.close();
                   }catch(Exception ex){
                   e.printStackTrace();
              }finally{
                   try{
                        psCnt.close();
                   }catch(Exception ee){
                   ee.printStackTrace();
    Can anyone suggest me a way to make my rollback work.
    Thanks in advance.
    -adhil.J

    Hi all,
    This is Adhil. I am facing a problem with Oracle Batching in java.
    I am using java 1.5 and Oracle 10 g.
    I have a below standalone code to test the Oracle Batching (Assume that i have the 2 tables with zero records ).
    with the batch size set as 10, I am trying add 2 records in each table.
    Now I rise divideByZero error exception manually and trying to rollback the connection in catch statement . But couldn't rollback the connection. I see the 2 records added in both of my tables.
    The same code when i set the batchsize 2 and trying to insert 10 records ,I could rollback and no rows get inserted.
    Since I am going to get the no of insert from user in runtime , my rollback may fail in any combinations as in my first case(with batch size 10 and if the no of insert is 2).
    import java.io.*;
    import java.util.*;
    import java.sql.*;
    import oracle.jdbc.*;
    public class BatchTest{
         public static void main(String args[]) throws Exception{
              Connection conn = null;
              conn = new BatchTest().createConnection();
              new BatchTest().insertdata(conn);
         public Connection createConnection() throws Exception{
                   Properties props =new Properties();
                   props.load(ClassLoader.getSystemResourceAsStream("connection.properties"));
                   String connectionString = (String)props.get("connection");
                   String username = (String)props.get("username");
                   String password = (String)props.get("password");
                   Class.forName("oracle.jdbc.driver.OracleDriver");
                   Connection connection = DriverManager.getConnection(connectionString, username, password);
                   return connection;
         public void insertdata(Connection dbConnection){
              PreparedStatement psCnt =null;
              PreparedStatement psImp =null;
              try{
              dbConnection.setAutoCommit(false);
              psCnt = dbConnection.prepareStatement("insert into CHKCNT values (?,?)");
              psImp = dbConnection.prepareStatement("insert into CHKIMP values (?,?)");
              ((OraclePreparedStatement)psCnt).setExecuteBatch (10);
              ((OraclePreparedStatement)psImp).setExecuteBatch (10);
              int x=0;
              for(int i=1;i<=2;i++){
                        psCnt.setInt(1,i);
                        psCnt.setString(2,"Jack");
                        psImp.setInt(1,i);
                        psImp.setString(2,"John");
                        psImp.executeUpdate();
                        psCnt.executeUpdate();
              if(true) x=10/0;
              dbConnection.commit();
              }catch(Exception e){
                   try{
                   dbConnection.rollback();
                   dbConnection.close();
                   }catch(Exception ex){
                   e.printStackTrace();
              }finally{
                   try{
                        psCnt.close();
                   }catch(Exception ee){
                   ee.printStackTrace();
    Can anyone suggest me a way to make my rollback work.
    Thanks in advance.
    -adhil.J

  • Problem with query for Oracle

    Hello Experts,
    I'm tryng to develop my first application for EP (v7 SP12) with NWDS (without NWDI).
    This application has to read and write data in the EP DB (oracle v10).
    I'm using:
    <u>a Dictionary Project</u> (define the DB Tables)
    <u>a Java Project</u> (define class as DAO, DBManager etc)
    <u>a Library Project</u>
    <u>an EJB Project</u>
    <u>an EAR Project</u>
    With these projects I can deploy a <u>webService</u> in my EP server.
    BUT I have some problem with a query that I'm tryng to sent to my DB through a DAO Class called by my WebService.
    The query is simple and correct but it does not work...
    This is the error message returned (the query id in bold)
    (column names: GIORNO, NOMEDITTA, NOMEAREA, NOMESETTORE)
    <i>HTTP/1.1 500 Internal Server Error
    Connection: close
    Server: SAP J2EE Engine/7.00
    Content-Type: text/xml; charset=UTF-8
    Date: Fri, 21 Sep 2007 14:29:57 GMT
    Set-Cookie: <value is hidden>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>java.sql.SQLException: com.sap.sql.log.OpenSQLException: The SQL statement <b>"SELECT NOMESETTORE, MIN(? - "GIORNO") AS GIORNI FROM SRS_DATEINFORTUNI WHERE NOMEDITTA = ? AND NOMEAREA= ? GROUP BY NOMESETTORE ORDER BY NOMESETTORE"</b> <u>contains the syntax error[s]: - 1:25 - the arithmetic expression >>? - "GIORNO"<< contains a host variable (parameter marker)</u></faultstring><detail><ns1:getGiorniSettori_com.akhela.giorniSenzaInfortuni.ejb.exception.GiorniSenzaInfortuniException xmlns:ns1='urn:GiorniSenzaInfortuniWSWsd/GiorniSenzaInfortuniWSVi'></ns1:getGiorniSettori_com.akhela.giorniSenzaInfortuni.ejb.exception.GiorniSenzaInfortuniException></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope></i>
    The variable '?' is the today date, the difference <b>"(?-GIORNO)"</b> is an int..
    Moreover in my DAO class the query is <b>"SELECT NOMESETTORE, MIN(? - GIORNO) AS GIORNI FROM SRS_DATEINFORTUNI WHERE NOMEDITTA = ? AND NOMEAREA= ? GROUP BY NOMESETTORE ORDER BY NOMESETTORE</b>", instead in the error message is reported <b>MIN(? - "GIORNO")</b>...
    We have tryed also with alternative query, for example we used <b>"MIN(SYSDATA - GIORNO)"</b> but <b>SYSDATA</b> was interpreted as column name and  not found....
    Any help???
    Best Regards

    Hi, I found something about the Host Variable (http://help.sap.com/saphelp_nw70/helpdata/en/ed/dbf8b7823b084f80a6eb7ad43bdbb9/content.htm), there explain that if you want to use an host variable you have to put ':' as prefix..
    My problem is that <u>I need to extract the minimum of the subtraction between two dates:</u>
    Query <b>MIN(? - GIORNO)</b> --> <i>Error: the arithmetic expression >>? - "GIORNO"<< contains a host variable (parameter marker)</i>
    So I tried to use the ':' as indicated in the manual..
    <b>MIN:(? - GIORNO)</b> --> - <i>SQL syntax error: the token ":" was not expected here
                   - expecting LPAREN, found ':'</i>
    <b>MIN(:(? - GIORNO))</b> --> <i>- 1:25 - Open SQL syntax error: :PARAMETER not allowed
                   - 1:26 - SQL syntax error: the token "(" was not expected here
                   - 1:26 - expecting ID, found '('</i>
    Then I tried to avoid the MIN() function and I tried to do just the subtraction:
    <b>? - GIORNO</b> --><i> - 1:21 - the arithmetic expression >>? - "GIORNO"<< contains a host variable (parameter marker)</i>
    <b>:(? - GIORNO)</b> --> <i>- 1:21 - Open SQL syntax error: :PARAMETER not allowed
                - 1:22 - SQL syntax error: the token "(" was not expected here
                - 1:22 - expecting ID, found '('</i>
    <b>'2007-09-24' - GIORNO</b> --> <i>- 1:34 - SQL syntax error: first argument of operator "-" must be a number, date/time or interval
                     - 1:43 - SQL syntax error: arguments of operator "-" do not have correct types
                     - 1:43 - SQL syntax error: derived columns in SELECT list with AS must be values</i>
    <b>GIORNO - GIORNO</b> --> <i>- 1:21 - the group by list and the select list are inconsistent: the column >>"GIORNO"<< is neither grouped nor aggregated
                  - 1:30 - the group by list and the select list are inconsistent: the column >>"GIORNO"<< is neither grouped nor aggregated</i>
    Why these parts of query are not accepted???
    I don't understand why... I hope you can help me.
    Best Regards
    Alessandro

  • Problem with XMLDOM package (Oracle 10.2.0.1.0)

    Hi,
    I am using the dbms_xmldom package to generate xml files (specific structure).
    Below is the code but It produces nothing (dbms_output does not return) :
    DECLARE
    doc xmldom.DOMDocument;
    main_node xmldom.DOMNode;
    root_node xmldom.DOMNode;
    root_elmt xmldom.DOMElement;
    transmissionHeaderNode xmldom.DOMNode;
    transmissionHeaderElement xmldom.DOMElement;
    item_node xmldom.DOMNode;
    item_elmt xmldom.DOMElement;
    item_text xmldom.DOMText;
    buffer_problem CLOB;
    BEGIN
    doc := xmldom.newDOMDocument;
    main_node := xmldom.makeNode(doc);
    xmldom.setversion(doc,'1.0');
    root_elmt := xmldom.createElement(doc, 'InvoiceTransmission');
    root_node := xmldom.appendChild( main_node, xmldom.makeNode(root_elmt));
    transmissionHeaderElement := xmldom.createElement(doc, 'TransmissionHeader');
    transmissionHeaderNode := xmldom.appendChild(root_node, xmldom.makeNode(transmissionHeaderElement));
    item_elmt := xmldom.createElement(doc, 'TransmissionDateTime');
    item_node := xmldom.appendChild(transmissionHeaderNode, xmldom.makeNode(item_elmt));
    item_text := xmldom.createTextNode(doc, TO_CHAR(SYSDATE,'DD-MM-YYYY'));
    item_node := xmldom.appendChild(item_node, xmldom.makeNode(item_text));
    item_elmt := xmldom.createElement(doc, 'IssuingOrganiszationID');
    item_node := xmldom.appendChild(transmissionHeaderNode, xmldom.makeNode(item_elmt));
    item_text := xmldom.createTextNode(doc,'0258');
    item_node := xmldom.appendChild(item_node, xmldom.makeNode(item_text));
    item_elmt := xmldom.createElement(doc, 'Version');
    item_node := xmldom.appendChild(transmissionHeaderNode, xmldom.makeNode(item_elmt));
    item_text := xmldom.createTextNode(doc, 'IATA:ISXMLInvoiceV3.0');
    item_node := xmldom.appendChild(item_node, xmldom.makeNode(item_text));
    xmldom.writetobuffer(doc, buffer_problem);
    dbms_output.put_line(buffer_problem);
    xmldom.freeDocument(doc);
    END;
    That's strange because when remove a code part like :
    item_elmt := xmldom.createElement(doc, 'Version');
    item_node := xmldom.appendChild(transmissionHeaderNode, xmldom.makeNode(item_elmt));
    item_text := xmldom.createTextNode(doc, 'IATA:ISXMLInvoiceV3.0');
    item_node := xmldom.appendChild(item_node, xmldom.makeNode(item_text));
    I can get the ouput xml :
    <?xml version="1.0"?>
    <InvoiceTransmission>
    <TransmissionHeader>
    <TransmissionDateTime>26-10-2010</TransmissionDateTime>
    <IssuingOrganiszationID>0258</IssuingOrganiszationID>
    </TransmissionHeader>
    </InvoiceTransmission>
    I don't if it's a problem with xmldom or with dbms_output package...
    Please someone can help me ?

    Works fine for me
    Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
    SQL> set serveroutput on;
    SQL>
    SQL> DECLARE
      2     doc xmldom.DOMDocument;
      3     main_node xmldom.DOMNode;
      4     root_node xmldom.DOMNode;
      5     root_elmt xmldom.DOMElement;
      6 
      7     transmissionHeaderNode xmldom.DOMNode;
      8     transmissionHeaderElement xmldom.DOMElement;
      9     item_node xmldom.DOMNode;
    10     item_elmt xmldom.DOMElement;
    11     item_text xmldom.DOMText;
    12 
    13     buffer_problem CLOB;
    14 
    15  BEGIN
    16 
    17     doc := xmldom.newDOMDocument;
    18     main_node := xmldom.makeNode(doc);
    19     xmldom.setversion(doc,'1.0');
    20     root_elmt := xmldom.createElement(doc, 'InvoiceTransmission');
    21     root_node := xmldom.appendChild( main_node, xmldom.makeNode(root_elmt));
    22 
    23     transmissionHeaderElement := xmldom.createElement(doc, 'TransmissionHeader');
    24     transmissionHeaderNode := xmldom.appendChild(root_node, xmldom.makeNode(transmissionHeaderElement));
    25 
    26     item_elmt := xmldom.createElement(doc, 'TransmissionDateTime');
    27     item_node := xmldom.appendChild(transmissionHeaderNode, xmldom.makeNode(item_elmt));
    28     item_text := xmldom.createTextNode(doc, TO_CHAR(SYSDATE,'DD-MM-YYYY'));
    29     item_node := xmldom.appendChild(item_node, xmldom.makeNode(item_text));
    30 
    31     item_elmt := xmldom.createElement(doc, 'IssuingOrganiszationID');
    32     item_node := xmldom.appendChild(transmissionHeaderNode, xmldom.makeNode(item_elmt));
    33     item_text := xmldom.createTextNode(doc,'0258');
    34     item_node := xmldom.appendChild(item_node, xmldom.makeNode(item_text));
    35 
    36     item_elmt := xmldom.createElement(doc, 'Version');
    37     item_node := xmldom.appendChild(transmissionHeaderNode, xmldom.makeNode(item_elmt));
    38     item_text := xmldom.createTextNode(doc, 'IATA:ISXMLInvoiceV3.0');
    39     item_node := xmldom.appendChild(item_node, xmldom.makeNode(item_text));
    40 
    41     --buffer_problem := 'a';  -- added to initialize clob
    42     xmldom.writetobuffer(doc, buffer_problem);  -- change to writetoclob
    43     dbms_output.put_line(buffer_problem);
    44     xmldom.freeDocument(doc);
    45 
    46  END;
    47  /
    <?xml version="1.0"?>
    <InvoiceTransmission>
      <TransmissionHeader>
        <TransmissionDateTime>26-10-2010</TransmissionDateTime>
        <IssuingOrganiszationID>0258</IssuingOrganiszationID>
        <Version>IATA:ISXMLInvoiceV3.0</Version>
      </TransmissionHeader>
    </InvoiceTransmission>Suggestions:
    - Use dbms_xmldom instead of just xmldom. Oracle changed the name in the 9i days and xmldom is a synonym to dbms_xmldom.
    - Use .writeToClob intead of .writeToBuffer
    - I would suggest trying to upgrade to .4 as you pick up a lot of improvements and bug fixes. Whether what you are encountering is a bug I cannot say but would seem so.
    - See the FAQ under your sign-in name to learn how to use the tag to format the code like I did above.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Problem with WMS themes & Oracle MapViewer Version 11.1.1.2

    Hello, in my application I load the background raster from a external server using wms. With differents version of mapviewer 11 with a weblogic server (e.g: release 1, release 11.1.1.4) all it's allrigth, but when I change the mapviewer to release 11.1.1.2 I can't see the raster and I get the next error:
    21-sep-2011 11:33:10 oracle.sdovis.theme.WMSMapThemeDefinition setSrs
    INFO: Theme SRID set to 23030 for EPSG 82337
    21-sep-2011 11:33:10 oracle.sdovis.theme.WMSMapThemeProducer prepareData
    SEVERE: MAPVIEWER-01048: Cannot load WMS map image.
    21-sep-2011 11:33:10 oracle.sdovis.theme.DynGeomThemeProducer prepareData
    I can understand why..., I don't know what's is the problem because differents versions of mapviewer work without problem on the same weblogic server (Weblogic 11 patchset R2).
    Anyone know if mapviewer 11.1.1.2 has a problem with WMS?
    Thanks for your answer!!

    although with Oracle Fusion Middleware MapViewer Version 11g ps3 (11.1.1.4) and 11g ps4 (11.1.1.5.1) everything work ok in my WebLogic Server: 10.3.3.0, with Mapviewer Version 11.1.1.2 I get the next error:
    29-sep-2011 13:25:53 oracle.sdovis.theme.WMSMapThemeDefinition setSrs
    INFO: Theme SRID set to 23030 for EPSG 82337
    sun.awt.image.ImageFormatException: Not a JPEG file: starts with 0xff 0xd9
         at sun.awt.image.JPEGImageDecoder.readImage(Native Method)
         at sun.awt.image.JPEGImageDecoder.produceImage(JPEGImageDecoder.java:119)
         at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:246)
         at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172)
         at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
    29-sep-2011 13:25:53 oracle.sdovis.theme.WMSMapThemeProducer prepareData
    SEVERE: MAPVIEWER-01048: Cannot load WMS map image.
    I've seen that the wms external service works ok and returns an url with the correct image, but something wrong happens inside of mapviewer that don't allow generate the image....

  • Problems with Enterprise Manager Oracle 10gR2

    Hi,
    The installation of 10gR2 on Windows 2000 seems to work.
    I only have a problem with web enterprise manager.
    I can connect to the database correctly and I can manage the database (creating tables, users and so on).
    The only problem is in the first page (home) of the database, accessing with the web enterprise manager.
    In fact I get this "error: java.lang.Exception: IOException in sending Request :: Connection refused", but I however access the db.
    I verified the DBSNMP user and it's active.
    Did someone get the same error?
    Excuse if I'm repeating a previous post, but I received answers about linux environment only (I have Windows 2000 server, instead).
    thanks a lot,
    Francesco

    We have in fact seen the same error. In our case, it appeared after the network guys moved the Oracle server from one domain to another. (This is not an action that I highly recommend, by the way.)
    I used emca to delete the Enterprise Manager agent and recreate it. For a single instance server not in a cluster or on a grid, the commands look like this:
    emca -deconfig dbcontrol db
    emca -config dbcontrol db
    That worked just fine. However, we started getting an "account locked" error when the Enterprise Manager started. And the result is the same as you described. The account is not locked by any means. If you ignore what you see on the screen about an error, you can go on and administer the database just fine. It's just when you get back to the home screen, it tells you that your account is locked and you are not in touch with the instance.
    I can make the error go away for awhile by stopping and starting the agent with
    emctl stop dbconsole
    emctl start dbconsole
    But the error comes back in a little while.
    We don't consider it a show stopper, since the database performs normally. It's just one of those things you wish it would not do.

  • Problem with javascript/PHP/ oracle 10g smart quotes

    I have a problem with my php form that passes the text field to a javascript object. When I copy text from MS Word that includes smart quotes, the form inputs that into the database as ? (upside down) marks. The charset of the DB is WE8MSWIN1252. How do I store these smart quotes as regular quotes? And also if I can do any conversions on the front end (js or php). I tried doing some conversion but to no avail. Any help would be appreciated thank you. “double”

    Decide if you want your HTML pages in Windows code page 1252 or Unicode UTF-8. Then, make sure the pages are properly tagged as either "text/html;charset=windows-1252" or "text/html;charset=utf-8". Use HTTP header Content-type or the corresponding <META HTTP-EQUIV=...> tag. Then, set NLS_LANG environment variable for your PHP engine to either AMERICAN_AMERICA.WE8MSWIN1252 or to AMERICAN_AMERICA.AL32UTF8, depending on which encoding you selected for your HTML.
    -- Sergiusz

  • Problem with Unicode and Oracle NCLOB fields

    When I try to INSERT a new (N)CLOB into an Oracle database, all is fine until I use a non-ASCII character, such as an accented roman letter, like the "�" (that's '\u00E9') in "caf�" or the Euro Currency symbol "?" (that's '\u20AC' as a Java character literal, just in case the display is corrupted here too). This doesn't happen with "setString", but does happen when streaming characters to the CLOB; however, as Oracle or the driver refuse strings larger than 4000 characters, and as I need to support all the above symbols (and many more), I'm stuck.
    Here's the background to the problem (I've tried to be detailed, after a lot of looking around on the web, I've seen lots of people with similar problems, but no solutions: I've seen and been able to stream ASCII clobs, or add small NCHAR strings, but not stream NCLOBs...).
    I'm using Oracle 9.2.0.1.0 with the "thin" JDBC driver, on a Windows box (XP Pro). My database instance is set up with AL32UTF8 as the database encoding, and UTF8 as the national character set.. I've created a simple user/schema, called LOBTEST, in which I created two tables (see below).
    The basic problems are :
    - with Oracle and JDBC, you can't set the value of a CLOB or NCLOB with PreparedStatement's setString or setCharacterStream methods (as it throws an exception when you send more than 4000 characters)
    - with Oracle, you can only have one LONG VARCHAR-type field per table (according to their documentation) and you MUST read all columns in a set order (amongst other limitations).
    - with a SQL INSERT command, there's no way to set the value of a parameter that's a CLOB (implementations of the CLOB interface can only be obtained by performing a SELECT.... but obviously, when I'm inserting, the record doesn't exist yet...). Workarounds include (possibly) JDBC 4 (doesn't exist yet...) or doing the following Oracle-specific stuff :
    INSERT INTO MyTable (theID,theCLOB) VALUES (1, empty_clob());
    SELECT * FROM MyTable WHERE theId = 1;
    ...and getting the empty CLOB back (via a ResultSet), and populating it. I have a very large application, that's deployed for many of our customers using SapDB and MySQL without a hitch, with "one-step" INSERTS; I can't feasibly change the application into "three-step INSERT-SELECT-UPDATE" just for Oracle, and I shouldn't need to!!!
    The final workaround is to use Oracle-specific classes, described in:
    http://download-east.oracle.com/otn_hosted_doc/jdeveloper/904preview/jdbc-javadoc/index.html
    ...such as CLOB (see my example). This works fine until I add some non-ASCII characters, at which point, irrespective of whether the CLOB data is 2 characters or 2 million characters, it throws the same exception:
    java.io.IOException: Il n'y a plus de donn?es ? lire dans le socket
         at oracle.jdbc.dbaccess.DBError.SQLToIOException(DBError.java:716)
         at oracle.jdbc.driver.OracleClobWriter.flushBuffer(OracleClobWriter.java:270)
         at oracle.jdbc.driver.OracleClobWriter.flush(OracleClobWriter.java:204)
         at scratchpad.InsertOracleClobExample.main(InsertOracleClobExample.java:61)...where the error message in English is "No more data to read from socket". I need the Oracle-specific "setFormOfUse" method to force it to correctly use the encoding of the NCLOB field, without it, even plain ASCII data is rejected with an exception indicating that the character set is inappropriate. With a plain CLOB, I don't need it, but the plain CLOB refuses my non-ASCII data anyway.
    So, many many thanks in advance for any advice. The remainder of my post includes my code example and a simple SQL script to create the table(s). You can mess around with the source code to test various combinations.
    Thanks,
    Chris B.
    CREATE TABLE NCLOBTEST (
         ID         INTEGER NOT NULL,
         SOMESTRING NCLOB,
         PRIMARY KEY (ID)
    CREATE TABLE CLOBTEST (
         ID         INTEGER NOT NULL,
         SOMESTRING CLOB,
         PRIMARY KEY (ID)
    package scratchpad;
    import java.io.Writer;
    import java.sql.Connection;
    import java.sql.Driver;
    import java.sql.PreparedStatement;
    import java.sql.SQLException;
    import java.util.Properties;
    import oracle.jdbc.driver.OracleDriver;
    import oracle.jdbc.driver.OraclePreparedStatement;
    import oracle.sql.CLOB;
    public class InsertOracleClobExample
         public static void main(String[] args)
              Properties jdbcProperties = new Properties();
              jdbcProperties.setProperty( "user", "LOBTEST" );
              jdbcProperties.setProperty( "password", "LOBTEST" );
    //          jdbcProperties.setProperty("oracle.jdbc.defaultNChar","true");
              Driver jdbcDriver = new OracleDriver();
              PreparedStatement pstmt = null;
              Connection connection = null;
              String tableName = "NCLOBTEST";
              CLOB clob = null;
              try
                   connection = jdbcDriver.connect("jdbc:oracle:thin:@terre:1521:orcl", jdbcProperties);
                   pstmt = connection.prepareStatement("DELETE FROM NCLOBTEST");
                   pstmt.executeUpdate();
                   pstmt.close();
                   pstmt = connection.prepareStatement(
                        "INSERT INTO "+tableName+" (ID,SOMESTRING) VALUES (?,?);"
                   clob = CLOB.createTemporary(pstmt.getConnection(), true, CLOB.DURATION_SESSION);
                   clob.open(CLOB.MODE_READWRITE);
                   Writer clobWriter = clob.getCharacterOutputStream();
                   clobWriter.write("Caf? 4,90? TTC");
                   clobWriter.flush();
                   clobWriter.close();
                   clob.close();
                   OraclePreparedStatement opstmt = (OraclePreparedStatement)pstmt;
                   opstmt.setInt(1,1);
                   opstmt.setFormOfUse(2, OraclePreparedStatement.FORM_NCHAR);
                   opstmt.setCLOB(2, clob);
                   System.err.println("Rows affected: "+opstmt.executeUpdate());
              catch (Exception sqlex)
                   sqlex.printStackTrace();
                   try     {
                        clob.freeTemporary();
                   } catch (SQLException e) {
                        System.err.println("Cannot free temporary CLOB: "+e.getMessage());
              try { pstmt.close(); } catch(SQLException sqlex) {}
              try { connection.close(); } catch(SQLException sqlex) {}
    }

    The solution to this is to use a third-party driver. Oranxo works really well.
    - Chris

  • "Problem with links in Oracle 10g Express Edition Application Interface"

    Hi.
    Under Object_Interface>Browse>Procedure the "edit" and "compile" links are not working.Also I am unable to see my code when I click on one of the procedures. Kindly help me out.
    Thanks & Regards
    Sri

    My laptop didn't start this morning. Can you help me out?
    (Go to the Express Edition forum at Oracle Database Express Edition (XE) and give them some hints about what the problem is. )
    At the very least you will need to tell people: operating system, browser, whether you have Firewall turned on, whether you are using anti0virus, whether yo have upgraded the Application Express interface.
    You can volunteer that information, or you can wait until people ask for it, but you will need to provide that information. And if you force people to ask - it's quite likely they will get bored with your problem.

  • Problem with DataLoader and Oracle 8.1.6

    I am currently running WebLogic Commerce Server under the following
    configuration.
    1. Solaris 8
    2. WebLogic Server 5.1
    3. WebLogic Commerce Server 2.0.1
    4. Oracle 8.1.6
    5. JDK 1.2.2
    I have followed the instructions completely as it relates to running
    with Oracle. Everything works fine up to the point in which I run the
    DataLoader.sh script.
    The DataLoader.sh script almost completes. However, after some time is
    spend loading items, I see the following WebLogic dumb, and the
    DataLoader.sh scripts quits.
    Some other points. I am using the Oracle thin driver (Classes111.zip).
    The size and date of the classes111.zip are as follows.
    Date: 12/14/1999
    Size: 1.4Meg
    Any ideas as to what the problem is.
    Tue Aug 15 18:27:07 EDT 2000:<I> <ListenThread> Adding address:
    localhost/127.0.0.1 to licensed client list
    Tue Aug 15 18:27:08 EDT 2000:<I> <ServletContext-General> classes: init
    Tue Aug 15 18:27:15 EDT 2000:<I> <ListenThread> Adding address:
    webdev1.grhq.gfs.com/1.1.8.146 to licensed client list
    Tue Aug 15 18:27:15 EDT 2000:<D> <JVMSocketHTTPServer> opened sockID:
    '0'
    Tue Aug 15 18:29:30 EDT 2000:<I> <CliCon-#|server|0.966378014892>
    Removing ClientContext - id: '#|server|0.966378014892', bound: 'false',
    dead: 'false' because of soft disconnect timeout
    Tue Aug 15 18:29:30 EDT 2000:<D> <JVMSocketHTTPServer> Closing JVM
    socket: 'weblogic.socket.JVMSocketHTTPServer@5b43a9 - id: '0', closed:
    'true', lastRecv: '966378570911''
    java.lang.Throwable: Stack trace
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at
    weblogic.socket.JVMSocketHTTPServer.close(JVMSocketHTTPServer.java:433)
    at weblogic.socket.JVMAbbrevSocket.close(JVMAbbrevSocket.java:383)
    at weblogic.rjvm.ConnectionManager.shutdown(Compiled Code)
    at weblogic.rjvm.ConnectionManagerServer.shutdown(Compiled Code)
    at weblogic.rjvm.RJVMImpl.peerGone(Compiled Code)
    at weblogic.rjvm.RJVMImpl.gotExceptionReceiving(RJVMImpl.java:523)
    at
    weblogic.rjvm.ConnectionManager.gotExceptionReceiving(ConnectionManager.java:720)
    at
    weblogic.socket.JVMAbbrevSocket.gotExceptionReceiving(JVMAbbrevSocket.java:397)
    at weblogic.socket.JVMSocketT3.endOfStream(JVMSocketT3.java:549)
    at weblogic.socket.JavaSocketMuxer.processSockets(Compiled Code)
    at
    weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.run(Compiled Code)
    Tue Aug 15 18:29:31 EDT 2000:<D> <HTTPTunneling> Sending DEAD response
    on socket: 'weblogic.socket.MuxableSocketHTTP@db93a - idle timeout:
    '60', socket timeout: '100''
    java.lang.Throwable: Stack trace
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at
    weblogic.socket.TunnelServlet.sendDeadResponse(TunnelServlet.java:60)
    at
    weblogic.socket.JVMSocketHTTPServer.close(JVMSocketHTTPServer.java:438)
    at weblogic.socket.JVMAbbrevSocket.close(JVMAbbrevSocket.java:383)
    at weblogic.rjvm.ConnectionManager.shutdown(Compiled Code)
    at weblogic.rjvm.ConnectionManagerServer.shutdown(Compiled Code)
    at weblogic.rjvm.RJVMImpl.peerGone(Compiled Code)
    at weblogic.rjvm.RJVMImpl.gotExceptionReceiving(RJVMImpl.java:523)
    at
    weblogic.rjvm.ConnectionManager.gotExceptionReceiving(ConnectionManager.java:720)
    at
    weblogic.socket.JVMAbbrevSocket.gotExceptionReceiving(JVMAbbrevSocket.java:397)
    at weblogic.socket.JVMSocketT3.endOfStream(JVMSocketT3.java:549)
    at weblogic.socket.JavaSocketMuxer.processSockets(Compiled Code)
    at
    weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
    at weblogic.kernel.ExecuteThread.run(Compiled Code)

    Javier, these are database parameters picked p from the init.ora of that database. To check the values of these parameters, logon to the database via SVRMGRL as the DBA and then execute the command :
    SVRMGR>SHOW PARAM
    This lists all the database paramaters. Also check if the Oracle MTS Service is actually running.

  • Problems with deploy in Oracle AS 10g

    Hi people,
    We developed a system that we need to install on my client’s Oracle Application Server 10g, but I haven't the OAS here in my company and I can't test it on my client. In my application, I access the data source by two ways: one way by the Hibernate, editing the application’s "hibernate.cfg.xml" file and the other way access by JDBC directly.
    In hibernate.cfg.xml, I edit the property of "hibernate.connection.datasource" by this way (my application name's is "GCS"):
    <property name="hibernate.connection.datasource">java/gcs</property>
    By JDBC, I get the connection by this way:
    protected Connection getConnection() throws DAOException {
    Context initContext;
    try {
    initContext = new InitialContext();
    DataSource ds = (DataSource)initContext.lookup
    ("java/gcs");
    return ds.getConnection();
    } catch (Throwable e) {
    throw new DAOException(e);
    In Oracle AS, I created a data source with the name and the JNDI location "java/gcs" and in the "Data Source Class" field I wrote "com.evermind.sql.DriverManagerDataSource".
    With this configuration the OAS did the deploy successfully. So I started the application and the system started to process the mapping of the Hibernate classes' (I could see this by the log).
    The problem is when I access the system deployed, appeared a window in my browser like those directory permission window that ask by username and password. This is very strange. Apparently, I have no access to the directory of my application... I try to put the username and password of the Windows, of the database user, of the OAS administrator... but nothing happens.
    Somebody knows what is this window? Why it appears? Where I configure this in the OAS?
    Thank's
    Rodison Ferreira
    [email protected]
    skype: rodison
    msn: [email protected]

    Hi,
    Here's the Oracle Forms 10g Deployment Guide
    http://download-east.oracle.com/docs/cd/B14099_11/web.1012/b14032/toc.htm
    HTH,
    Jim

  • Problems with the forums -- Oracle personnel please escalate

    I'm sure many have posted this somewhere, but in case they haven't -- the forums aren't rendering code snippets, which looks like xml, properly. In some cases, its eliminating them altogether, in others, it cuts out big chunks, in others it replaces some xml markup with smilies. The result is that its rendering tons of posts and information in them as totally useless.
    If I had to guess, this is because the forums aren't rendering using rawText or something like this, but at the very least, until the problem can be totally fixed, turn off smilies. Smilies are nice, but next to code which document answers, they are unimportant.
    Thanks,
    B

    Shay,
    "We did report it to the people in charge, and they asked that feedback will be posted on the feedback forum."
    I understand your personal plight, and I thank you for passing on the information as you were told. But what I'm talking about is kind of big-picture stuff, pertaining to Oracle as a whole. It encompasses not only the issue of the new forums, but support of any product, be it on forums or metalink, documentation, examples, etc. The frustration coming out that I see seems to have a central theme: Oracle having a "fend for yourself" mentality to their customers.
    Someone posts on the forums, can't get an answer, so they are told "these are for user communication". Then they are told "go post a tar". Then they post a tar and are sent a document they've already read. Then others have said that tars won't address how-tos. Then the JDev forums have problems, and users give feedback, and the response is "go post this somewhere else.".
    This looks like continually passing the buck, propagating an internal bureaucracy to for users to have to understand how to navigate, and forcing upon your users the responsibility for facilitating communication within Oracle. I think Oracle really needs to work on putting themselves in the shoes of their customers, and change the self-centric attitude. I highly doubt that Oracle treats their customers with respect to accounts receivable with the same apparent lethargy they treat customers with respect to support.
    B

  • Problem with installation of Oracle Grid Infrastructure failed on Oracle Linux 6.4 x86_64

    Hello!
    I try install Oracle Grid Infrastructure 11.2.0.1. OS - OEL 6.4 x86_64
    But running script  "/u01/app/oracle/product/11.2.0/grid/root.sh" failed:
    [root@localhost grid]# /u01/app/oracle/product/11.2.0/grid/root.sh
    Running Oracle 11g root.sh script...
    The following environment variables are set as:
        ORACLE_OWNER= grid
        ORACLE_HOME=  /u01/app/oracle/product/11.2.0/grid
    Enter the full pathname of the local bin directory: [/usr/local/bin]:
       Copying dbhome to /usr/local/bin ...
       Copying oraenv to /usr/local/bin ...
       Copying coraenv to /usr/local/bin ...
    Creating /etc/oratab file...
    Entries will be added to the /etc/oratab file as needed by
    Database Configuration Assistant when a database is created
    Finished running generic part of root.sh script.
    Now product-specific root actions will be performed.
    2013-07-03 01:27:08: Checking for super user privileges
    2013-07-03 01:27:08: User has super user privileges
    2013-07-03 01:27:08: Parsing the host name
    Using configuration parameter file: /u01/app/oracle/product/11.2.0/grid/crs/install/crsconfig_params
    Creating trace directory
    LOCAL ADD MODE
    Creating OCR keys for user 'grid', privgrp 'oinstall'..
    Operation successful.
    CRS-4664: Node localhost successfully pinned.
    Adding daemon to inittab
    CRS-4124: Oracle High Availability Services startup failed.
    CRS-4000: Command Start failed, or completed with errors.
    ohasd failed to start: Inappropriate ioctl for device
    ohasd failed to start: Inappropriate ioctl for device at /u01/app/oracle/product/11.2.0/grid/crs/install/roothas.pl line 296.
    /u01/app/oracle/product/11.2.0/grid/cfgtoollogs/crsconfig/roothas.log:
    2013-07-03 01:27:08: The configuration parameter file /u01/app/oracle/product/11.2.0/grid/crs/install/crsconfig_params is valid
    2013-07-03 01:27:08: Checking for super user privileges
    2013-07-03 01:27:08: User has super user privileges
    2013-07-03 01:27:08: ### Printing the configuration values from files:
    2013-07-03 01:27:08:    /u01/app/oracle/product/11.2.0/grid/crs/install/crsconfig_params
    2013-07-03 01:27:08:    /u01/app/oracle/product/11.2.0/grid/crs/install/s_crsconfig_defs
    2013-07-03 01:27:08: ASM_DISCOVERY_STRING=
    2013-07-03 01:27:08: ASM_DISKS=ORCL:ASMDATA01,ORCL:ASMDATA02,ORCL:ASMDATA03,ORCL:ASMDATA04
    2013-07-03 01:27:08: ASM_DISK_GROUP=DATA
    2013-07-03 01:27:08: ASM_REDUNDANCY=NORMAL
    2013-07-03 01:27:08: ASM_SPFILE=
    2013-07-03 01:27:08: ASM_UPGRADE=false
    2013-07-03 01:27:08: CLSCFG_MISSCOUNT=
    2013-07-03 01:27:08: CLUSTER_GUID=
    2013-07-03 01:27:08: CLUSTER_NAME=
    2013-07-03 01:27:08: CRS_NODEVIPS=
    2013-07-03 01:27:08: CRS_STORAGE_OPTION=0
    2013-07-03 01:27:08: CSS_LEASEDURATION=400
    2013-07-03 01:27:08: DIRPREFIX=
    2013-07-03 01:27:08: DISABLE_OPROCD=0
    2013-07-03 01:27:08: EMBASEJAR_NAME=oemlt.jar
    2013-07-03 01:27:08: EWTJAR_NAME=ewt3.jar
    2013-07-03 01:27:08: EXTERNAL_ORACLE_BIN=/opt/oracle/bin
    2013-07-03 01:27:08: GNS_ADDR_LIST=
    2013-07-03 01:27:08: GNS_ALLOW_NET_LIST=
    2013-07-03 01:27:08: GNS_CONF=false
    2013-07-03 01:27:08: GNS_DENY_ITF_LIST=
    2013-07-03 01:27:08: GNS_DENY_NET_LIST=
    2013-07-03 01:27:08: GNS_DOMAIN_LIST=
    2013-07-03 01:27:08: GPNPCONFIGDIR=/u01/app/oracle/product/11.2.0/grid
    2013-07-03 01:27:08: GPNPGCONFIGDIR=/u01/app/oracle/product/11.2.0/grid
    2013-07-03 01:27:08: GPNP_PA=
    2013-07-03 01:27:08: HELPJAR_NAME=help4.jar
    2013-07-03 01:27:08: HOST_NAME_LIST=
    2013-07-03 01:27:08: ID=/etc/init.d
    2013-07-03 01:27:08: INIT=/sbin/init
    2013-07-03 01:27:08: IT=/etc/inittab
    2013-07-03 01:27:08: JEWTJAR_NAME=jewt4.jar
    2013-07-03 01:27:08: JLIBDIR=/u01/app/oracle/product/11.2.0/grid/jlib
    2013-07-03 01:27:08: JREDIR=/u01/app/oracle/product/11.2.0/grid/jdk/jre/
    2013-07-03 01:27:08: LANGUAGE_ID=AMERICAN_AMERICA.AL32UTF8
    2013-07-03 01:27:08: MSGFILE=/var/adm/messages
    2013-07-03 01:27:08: NETCFGJAR_NAME=netcfg.jar
    2013-07-03 01:27:08: NETWORKS=
    2013-07-03 01:27:08: NEW_HOST_NAME_LIST=
    2013-07-03 01:27:08: NEW_NODEVIPS=
    2013-07-03 01:27:08: NEW_NODE_NAME_LIST=
    2013-07-03 01:27:08: NEW_PRIVATE_NAME_LIST=
    2013-07-03 01:27:08: NODELIST=
    2013-07-03 01:27:08: NODE_NAME_LIST=
    2013-07-03 01:27:08: OCFS_CONFIG=
    2013-07-03 01:27:08: OCRCONFIG=/etc/oracle/ocr.loc
    2013-07-03 01:27:08: OCRCONFIGDIR=/etc/oracle
    2013-07-03 01:27:08: OCRID=
    2013-07-03 01:27:08: OCRLOC=ocr.loc
    2013-07-03 01:27:08: OCR_LOCATIONS=
    2013-07-03 01:27:08: OLASTGASPDIR=/etc/oracle/lastgasp
    2013-07-03 01:27:08: OLRCONFIG=/etc/oracle/olr.loc
    2013-07-03 01:27:08: OLRCONFIGDIR=/etc/oracle
    2013-07-03 01:27:08: OLRLOC=olr.loc
    2013-07-03 01:27:08: OPROCDCHECKDIR=/etc/oracle/oprocd/check
    2013-07-03 01:27:08: OPROCDDIR=/etc/oracle/oprocd
    2013-07-03 01:27:08: OPROCDFATALDIR=/etc/oracle/oprocd/fatal
    2013-07-03 01:27:08: OPROCDSTOPDIR=/etc/oracle/oprocd/stop
    2013-07-03 01:27:08: ORACLE_BASE=/u01/app/oracle
    2013-07-03 01:27:08: ORACLE_HOME=/u01/app/oracle/product/11.2.0/grid
    2013-07-03 01:27:08: ORACLE_OWNER=grid
    2013-07-03 01:27:08: ORA_ASM_GROUP=asmadmin
    2013-07-03 01:27:08: ORA_DBA_GROUP=oinstall
    2013-07-03 01:27:08: PRIVATE_NAME_LIST=
    2013-07-03 01:27:08: RCALLDIR=/etc/rc.d/rc0.d /etc/rc.d/rc1.d /etc/rc.d/rc2.d /etc/rc.d/rc3.d /etc/rc.d/rc4.d /etc/rc.d/rc5.d /etc/rc.d/rc6.d
    2013-07-03 01:27:08: RCKDIR=/etc/rc.d/rc0.d /etc/rc.d/rc1.d /etc/rc.d/rc2.d /etc/rc.d/rc4.d /etc/rc.d/rc6.d
    2013-07-03 01:27:08: RCSDIR=/etc/rc.d/rc3.d /etc/rc.d/rc5.d
    2013-07-03 01:27:08: RC_KILL=K19
    2013-07-03 01:27:08: RC_KILL_OLD=K96
    2013-07-03 01:27:08: RC_START=S96
    2013-07-03 01:27:08: SCAN_NAME=
    2013-07-03 01:27:08: SCAN_PORT=0
    2013-07-03 01:27:08: SCRBASE=/etc/oracle/scls_scr
    2013-07-03 01:27:08: SHAREJAR_NAME=share.jar
    2013-07-03 01:27:08: SILENT=false
    2013-07-03 01:27:08: SO_EXT=so
    2013-07-03 01:27:08: SRVCFGLOC=srvConfig.loc
    2013-07-03 01:27:08: SRVCONFIG=/var/opt/oracle/srvConfig.loc
    2013-07-03 01:27:08: SRVCONFIGDIR=/var/opt/oracle
    2013-07-03 01:27:08: VNDR_CLUSTER=false
    2013-07-03 01:27:08: VOTING_DISKS=
    2013-07-03 01:27:08: ### Printing other configuration values ###
    2013-07-03 01:27:08: CLSCFG_EXTRA_PARMS=
    2013-07-03 01:27:08: CRSDelete=0
    2013-07-03 01:27:08: HAPatch=0
    2013-07-03 01:27:08: HAS_GROUP=oinstall
    2013-07-03 01:27:08: HAS_USER=grid
    2013-07-03 01:27:08: HOST=localhost
    2013-07-03 01:27:08: IS_SIHA=1
    2013-07-03 01:27:08: OLR_DIRECTORY=/u01/app/oracle/product/11.2.0/grid/cdata/localhost
    2013-07-03 01:27:08: OLR_LOCATION=/u01/app/oracle/product/11.2.0/grid/cdata/localhost/localhost.olr
    2013-07-03 01:27:08: ORA_CRS_HOME=/u01/app/oracle/product/11.2.0/grid
    2013-07-03 01:27:08: SUPERUSER=root
    2013-07-03 01:27:08: UPGRADE=
    2013-07-03 01:27:08: crscfg_trace=1
    2013-07-03 01:27:08: crscfg_trace_file=/u01/app/oracle/product/11.2.0/grid/cfgtoollogs/crsconfig/roothas.log
    2013-07-03 01:27:08: hahome=
    2013-07-03 01:27:08: hosts=
    2013-07-03 01:27:08: osdfile=/u01/app/oracle/product/11.2.0/grid/crs/install/s_crsconfig_defs
    2013-07-03 01:27:08: parameters_valid=1
    2013-07-03 01:27:08: paramfile=/u01/app/oracle/product/11.2.0/grid/crs/install/crsconfig_params
    2013-07-03 01:27:08: platform_family=unix
    2013-07-03 01:27:08: srvctl_trc_suff=0
    2013-07-03 01:27:08: user_is_superuser=1
    2013-07-03 01:27:08: ### Printing of configuration values complete ###
    2013-07-03 01:27:08: Oracle CRS stack is not configured yet
    2013-07-03 01:27:08: CRS is not yet configured. Hence, will proceed to configure CRS
    2013-07-03 01:27:10: OLR location = /u01/app/oracle/product/11.2.0/grid/cdata/localhost/localhost.olr
    2013-07-03 01:27:10: Oracle CRS Home = /u01/app/oracle/product/11.2.0/grid
    2013-07-03 01:27:10: Validating /etc/oracle/olr.loc file for OLR location /u01/app/oracle/product/11.2.0/grid/cdata/localhost/localhost.olr
    2013-07-03 01:27:10: /etc/oracle/olr.loc already exists. Backing up /etc/oracle/olr.loc to /etc/oracle/olr.loc.orig
    2013-07-03 01:27:10: Opening file OCRCONFIG
    2013-07-03 01:27:10: Opening file OCRCONFIG
    2013-07-03 01:27:10: create Local Only OCR...
    2013-07-03 01:27:10: create Local Only OCR on Linux...
    2013-07-03 01:27:10: OCR locations = /u01/app/oracle/product/11.2.0/grid/cdata/localhost/local.ocr
    2013-07-03 01:27:10: Validating OCR locations in /etc/oracle/ocr.loc
    2013-07-03 01:27:10: Checking for existence of /etc/oracle/ocr.loc
    2013-07-03 01:27:10: Backing up /etc/oracle/ocr.loc to /etc/oracle/ocr.loc.orig
    2013-07-03 01:27:10: Setting ocr location /u01/app/oracle/product/11.2.0/grid/cdata/localhost/local.ocr
    2013-07-03 01:27:10: Creating or upgrading Oracle Local Registry (OLR)
    2013-07-03 01:27:10: Running as user grid: /u01/app/oracle/product/11.2.0/grid/bin/ocrconfig -local -upgrade
    2013-07-03 01:27:10:   Invoking "/u01/app/oracle/product/11.2.0/grid/bin/ocrconfig -local -upgrade" as user "grid"
    2013-07-03 01:27:11: OLR successfully created or upgraded
    2013-07-03 01:27:11: /u01/app/oracle/product/11.2.0/grid/bin/clscfg -localadd
    2013-07-03 01:27:11: Running as user grid: /u01/app/oracle/product/11.2.0/grid/bin/clscfg -localadd
    2013-07-03 01:27:11:   Invoking "/u01/app/oracle/product/11.2.0/grid/bin/clscfg -localadd" as user "grid"
    2013-07-03 01:27:11: Keys created in the OLR successfully
    2013-07-03 01:27:12: Creating local-only OCR (/u01/app/oracle/product/11.2.0/grid/bin/crsctl pin css -n localhost) ... succeeded
    2013-07-03 01:27:12: Registering ohasd
    2013-07-03 01:27:12: init file = /u01/app/oracle/product/11.2.0/grid/crs/init/init.ohasd
    2013-07-03 01:27:12: Copying file /u01/app/oracle/product/11.2.0/grid/crs/init/init.ohasd to /etc/init.d directory
    2013-07-03 01:27:12: Setting init.ohasd permission in /etc/init.d directory
    2013-07-03 01:27:12: init file = /u01/app/oracle/product/11.2.0/grid/crs/init/ohasd
    2013-07-03 01:27:12: Copying file /u01/app/oracle/product/11.2.0/grid/crs/init/ohasd to /etc/init.d directory
    2013-07-03 01:27:12: Setting ohasd permission in /etc/init.d directory
    2013-07-03 01:27:12: Removing "/etc/rc.d/rc3.d/S96ohasd"
    2013-07-03 01:27:12: Removing file /etc/rc.d/rc3.d/S96ohasd
    2013-07-03 01:27:12: Failure with return code 1 from command rm /etc/rc.d/rc3.d/S96ohasd
    2013-07-03 01:27:12: Failed to remove file:
    2013-07-03 01:27:12: Creating a link "/etc/rc.d/rc3.d/S96ohasd" pointing to /etc/init.d/ohasd
    2013-07-03 01:27:12: Removing "/etc/rc.d/rc5.d/S96ohasd"
    2013-07-03 01:27:12: Removing file /etc/rc.d/rc5.d/S96ohasd
    2013-07-03 01:27:12: Failure with return code 1 from command rm /etc/rc.d/rc5.d/S96ohasd
    2013-07-03 01:27:12: Failed to remove file:
    2013-07-03 01:27:12: Creating a link "/etc/rc.d/rc5.d/S96ohasd" pointing to /etc/init.d/ohasd
    2013-07-03 01:27:12: Removing "/etc/rc.d/rc0.d/K19ohasd"
    2013-07-03 01:27:12: Removing file /etc/rc.d/rc0.d/K19ohasd
    2013-07-03 01:27:12: Failure with return code 1 from command rm /etc/rc.d/rc0.d/K19ohasd
    2013-07-03 01:27:12: Failed to remove file:
    2013-07-03 01:27:12: Creating a link "/etc/rc.d/rc0.d/K19ohasd" pointing to /etc/init.d/ohasd
    2013-07-03 01:27:12: Removing "/etc/rc.d/rc1.d/K19ohasd"
    2013-07-03 01:27:12: Removing file /etc/rc.d/rc1.d/K19ohasd
    2013-07-03 01:27:12: Failure with return code 1 from command rm /etc/rc.d/rc1.d/K19ohasd
    2013-07-03 01:27:12: Failed to remove file:
    2013-07-03 01:27:12: Creating a link "/etc/rc.d/rc1.d/K19ohasd" pointing to /etc/init.d/ohasd
    2013-07-03 01:27:12: Removing "/etc/rc.d/rc2.d/K19ohasd"
    2013-07-03 01:27:12: Removing file /etc/rc.d/rc2.d/K19ohasd
    2013-07-03 01:27:12: Failure with return code 1 from command rm /etc/rc.d/rc2.d/K19ohasd
    2013-07-03 01:27:12: Failed to remove file:
    2013-07-03 01:27:12: Creating a link "/etc/rc.d/rc2.d/K19ohasd" pointing to /etc/init.d/ohasd
    2013-07-03 01:27:12: Removing "/etc/rc.d/rc4.d/K19ohasd"
    2013-07-03 01:27:12: Removing file /etc/rc.d/rc4.d/K19ohasd
    2013-07-03 01:27:12: Failure with return code 1 from command rm /etc/rc.d/rc4.d/K19ohasd
    2013-07-03 01:27:12: Failed to remove file:
    2013-07-03 01:27:12: Creating a link "/etc/rc.d/rc4.d/K19ohasd" pointing to /etc/init.d/ohasd
    2013-07-03 01:27:12: Removing "/etc/rc.d/rc6.d/K19ohasd"
    2013-07-03 01:27:12: Removing file /etc/rc.d/rc6.d/K19ohasd
    2013-07-03 01:27:12: Failure with return code 1 from command rm /etc/rc.d/rc6.d/K19ohasd
    2013-07-03 01:27:12: Failed to remove file:
    2013-07-03 01:27:12: Creating a link "/etc/rc.d/rc6.d/K19ohasd" pointing to /etc/init.d/ohasd
    2013-07-03 01:27:12: The file ohasd has been successfully linked to the RC directories
    2013-07-03 01:27:12: Starting ohasd
    2013-07-03 01:27:12: itab entries=
    2013-07-03 01:27:18: Created backup /etc/inittab.no_crs
    2013-07-03 01:27:18: Appending to /etc/inittab.tmp:
    2013-07-03 01:27:18: h1:35:respawn:/etc/init.d/init.ohasd run >/dev/null 2>&1 </dev/null
    2013-07-03 01:27:18: Done updating /etc/inittab.tmp
    2013-07-03 01:27:18: Saved /etc/inittab.crs
    2013-07-03 01:27:18: Installed new /etc/inittab
    2013-07-03 01:29:18: ohasd failed to start: Inappropriate ioctl for device
    2013-07-03 01:29:18: ###### Begin DIE Stack Trace ######
    2013-07-03 01:29:18:     Package         File                 Line Calling 
    2013-07-03 01:29:18:     --------------- -------------------- ---- ----------
    2013-07-03 01:29:18:  1: main            roothas.pl            166 crsconfig_lib::dietrap
    2013-07-03 01:29:18:  2: main            roothas.pl            296 main::__ANON__
    2013-07-03 01:29:18: ####### End DIE Stack Trace #######
    selinux and firewall is disabled.

    Hi,
    Refer the below metalink note :- OHASD Failed to Start: Inappropriate ioctl for device [ID 1069182.1]
    Thanks

Maybe you are looking for

  • GR/IR Posting at the time of Service Procurement

    Dear SAP Friends, I am working on the issue of Shipment & Shipment Costing. In that scenario their is process of Service Procurement for Fright Charges paid to Transport Vendor. Now in that case while making the Shipment Document system automatically

  • Adobe PDF 9.0 Virtual Printer: file goes missing

    Hi there When attempting to print from Filemaker Pro using the Acrobat 9.0 Printer, I am prompted for the location for the saved file, and the job then goes on to print. The logs indicate that the job completes successfully but the file is nowhere to

  • Fuzzy cover art scroll bar

    Just recently got my Black Macbook Core 2 Duo with 2 Gig Ram and a 160 Gig HD. After I installed my music library into iTunes, the left-right scroll bar in cover art display has become quite fuzzy. A quit and restart solves it temporarily, but it als

  • Survey results not updated to Application

    Hi Experts, I have created a Survey and Questionnaire in SAP-BIW using "SURVEY COCKPIT" (TCODE : SURVEY). I have than assigned one Target Group to that survey which is having 3 recepients (e-mail ID's). When I send the Survey to them the mail is deli

  • Migration of Account Receivable Transactions

    Dear All, I am new in Account Receivable, i just want to know the API or interface table for invoice migration from legacy system to oracle. If possible to give script or API it will benefit for me to complete my task. Regards