ORA-28500 Oracle 11g Gateway problem

Hi,
I have installed Oracle database 11g and configured Oracle Gateway 11g on Linux operating system.
I have created a database link through which i access data from SQL Server. By this below command,
select * from tablename@sqlserver; Where sqlserver is the db link.
It fetches the data but after some time connection automatically breaks and displayed below error message.
ERROR:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
ORA-02063: preceding line from SQLSERVER
Below is the log file
SQLFetch: row: 100, column 3, bflsz: 41,  bflar: 23, (bfl: 23, mbl: 40)
SQLFetch: row: 100, column 4, bflsz: 16, bflar: -1
SQLFetch: row: 100, column 4, bflsz: 16,  bflar: SQL_NULL_DATA
SQLFetch: row: 100, column 5, bflsz: 16, bflar: 16
SQLFetch: row: 100, column 5, bflsz: 16,  bflar: 16, (bfl: 16, mbl: 16)
SQLFetch: row: 100, column 6, bflsz: 4, bflar: 2
SQLFetch: row: 100, column 6, bflsz: 4,  bflar: 2, (bfl: 2, mbl: 3)
SQLFetch: row: 100, column 7, bflsz: 2, bflar: 2
SQLFetch: row: 100, column 7, bflsz: 2,  bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 100, column 8, bflsz: 2, bflar: 2
SQLFetch: row: 100, column 8, bflsz: 2,  bflar: 2, (bfl: 2, mbl: 2)
SQLFetch: row: 100, column 9, bflsz: 4, bflar: 4
SQLFetch: row: 100, column 9, bflsz: 4,  bflar: 4, (bfl: 4, mbl: 4)
+100 rows fetched+
Exiting hgoftch, rc=0 at 2011/10/11-09:09:50
Entered hgoftch, cursor id 1 at 2011/10/11-09:09:50
hgoftch, line 130: Printing hoada @ 0x10b55db0
MAX:9, ACTUAL:9, BRC:100, WHT=5 (SELECT_LIST)
hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
DTY          NULL-OK  LEN  MAXBUFLEN   PR/SC  CST IND MOD NAME
+4 INTEGER N 4 4 0/ 0 0 0 0 IsrCode+
+4 INTEGER Y 4 4 0/ 0 0 0 0 ParIsrCode+
+12 VARCHAR Y 16 40 0/ 0 0 0 200 IsrName+
+91 DATE Y 0 16 0/ 0 0 -1 0 StartDate+
+91 DATE N 16 16 0/ 0 0 0 0 EndDate+
+12 VARCHAR Y 2 3 0/ 0 0 0 200 IsoCtry+
+5 SMALLINT Y 2 2 0/ 0 0 0 0 FyeMonth+
+5 SMALLINT Y 2 2 0/ 0 0 0 0 SIC+
+4 INTEGER Y 4 4 0/ 0 0 0 0 NAICS+
Entered hgopoer at 2011/10/11-09:09:56
hgopoer, line 233: got native error 104 and sqlstate 01000; message follows...
+[Oracle][ODBC SQL Server Driver][libssclient24]ConnectionRead (recv()). {01000,NativeErr = 104}[Oracle][ODBC SQL Server Driver][libssclient24]General network error. Check your network documentation. {08S01,NativeErr = 11}+
Exiting hgopoer, rc=0 at 2011/10/11-09:09:56
hgoftch, line 730: calling SQLFetch got sqlstate 01000
+0 rows fetched+
Exiting hgoftch, rc=28500 at 2011/10/11-09:09:56 with error ptr FILE:hgoftch.c LINE:730 FUNCTION:hgoftch() ID:Fetch resultset data
Waiting for urgent response.
Regards,
Rizi

# listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = hostname)(PORT = 1521))
ADR_BASE_LISTENER = /u01/app/oracle
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = dg4msql)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
(PROGRAM = dg4msql)
# sqlnet.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora
# Generated by Oracle configuration tools.
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
ADR_BASE = /u01/app/oracle
GATEWAY Parameters
# This is a customized agent init file that contains the HS parameters
# that are needed for the Database Gateway for Microsoft SQL Server
# HS init parameters
HS_FDS_CONNECT_INFO=[]:1433//qqq
# alternate connect format is hostname/serverinstance/databasename
HS_FDS_TRACE_LEVEL=DEBUG
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
# custom init parameters
HS_KEEP_REMOTE_COLUMN_SIZE=LOCAL
HS_NLS_LENGTH_SEMANTICS=CHAR
HS_LANGUAGE=AMERICAN_AMERICA.WE8MSWIN1252
HS_NLS_NCHAR=UCS2

Similar Messages

  • Oracle 11g Installation problems

    Hi there, Im a new Oracle's user, and I am trying to install Oracle 11g in my computer I have Windows Vista SP2 32bits, but I have a lot of problems.
    The program send me various messages of Warnings and Errors so I couldnt finished the complete instalation and configuration.
    Somebody can help me with some of this errors.
    This are the errors: (In Spanish)
    ORA-31011: Fallo en el analisis de XML
    ORA-19202: Se ha producido un error en el procesamiento
    ORA-06512: en "SYS.XMLTYPE", linea 272
    ORA-06512: en "XDB.XDB_CONFIGURATION", linea 69
    ORA-06512: en "XDB.DBMX_XDB", linea 209
    ORA-06512: en "XDB.XDB_CONFIGURATION", linea 92
    La configuración de Enterprise Manager ha fallado debido al
    siguiente error:
    Error al iniciar Database Control
    Consulte el archivo log en C:\oraclecfgtoollogsdbca\orc\emConfig.log para obtener mas información
    Posteriormente, puede reintentar la configuración de esta base de datos con
    Enterprise Manager ejecutando manualmente el archivo de comandos C:\oracle\product\11.1.0\db_1\bin\emca
    nstaller ha instalado productos en el grupo de componentes "Oracle Windows Interfaces".
    Para soportar un desarrollo perfecto en Microsoft Visual Studio con la base de datos Oracle,
    Oracle recomienda descargar e instalar la última versión de
    "Oracle Developer Tools for Visual Studio .NET" de Oracle Technology Network.
    I will aprecciatte your help.
    Thank you!

    user12191943 wrote:
    I have Windows Vista SP2 32bitsPlease specifiy WHICH edition of Vista. Oracle does have many problems with Vista Home.

  • ORACLE 11g + PHP5 problem: "fetch out of sequence" on remote database link

    Hi!
    I have a new server with oracle 11g (11.1.0.7) database and apache/php5 (actual build) on linux.
    connection type is dedicated.
    when doing a connection to a remote AS/400 database I always get this error:
    "Warning: oci_fetch_array() http://function.oci-fetch-array: ORA-01002: fetch out of sequence ORA-02063: preceding line from..."
    when doing the same simple "select * from database link" at my old server with oracle 9i and apache/php5 no problem occurrs.
    this happens at AS/400 database link only. normal oracle database links work fine.
    Anyone an idea how to solve this problem or where the problem is????
    further info:
    when doing " select * from [ database link ] where rownum < 11 " it works, but when doing the query with more than 10 results I get the error. Any idea?
    bye,
    Oliver
    Edited by: user501548 on 10.10.2008 02:20

    well a fetch out of sequence usually indicates that a cursor has been closed before the process has finished fetching or some such thing.
    I'm not aware of there being a specific problem with the situation you outline, but maybe if you could provide all the connection setup and how you are trying to connect that may give a better idea.
    Also, you may be better asking on the General Database Discussions forum as this isn't really a SQL or PL/SQL problem

  • ORACLE 11g + PHP5 problem: "fetch out of sequence" on i5/OS AS/400

    Hi!
    I have a big problem using a database connection to i5 AS/400 with PHP5 OCI8 interface by Oracle 11g:
    when doing a simple "select * from (as400_database_link)" I get this return: "fetch out of sequence... preceding line..."
    I never had this problem with 9i, old transparent gateway.
    BUT:
    when doing for example a "select * from (as400_database_link) where rownum < 1000000" it works fine without problems.
    Anyone an idea how to eliminate this stupid "where rownum < 100000" behaviour?
    I would have to add this in many select statements... ;(
    bye,
    Oliver

    Tach,
    how do you call oci_execute ?
    try oci_execute($query,OCI_DEFAULT);
    I had the same problem with adodb
    $q = " select * from elephant@africa";
    $db->GetAll($q);
    Failed with the same error.
    ADODB called oci_execute with OCI_COMMIT_ON_SUCCESS,which caused my error.
    $q = " select * from elephant@africa";
    $db->BeginTrans();
    $db->GetAll($q);
    $db->CommitTrans(); (or rollback);
    did the job,because BeginTrans changed oci_execute to run with OCI_DEFAULT.
    Hope this helps,
    gw
    Edited by: unficyp123 on Oct 20, 2008 2:51 PM

  • Installing Oracle 11g database problem (loopback adatper problem)

    Hi, I tried to install Oracle 11g and I got a warning mentioning that I need to install Loopback adapter first.
    I followed the Loopback adapter installation instruction from the oracle website, and in the last step I need to add a line to the hosts file. Which is where I got a problem...my laptop doesn't have a domain name, but it's a workgroup name instead.
    So can I put this:
    ip_address host_name
    instead of this:
    ip_address host_name.domain_name host_name
    And if we cannot do that, should I try this 2nd method below?:
    I also read one thread in the forum saying that we don't need to install Loopback adapter, but instead we have to edit the listener.ora and tnsnames.ora files and make the value for HOST 127.0.0.1.
    Message was edited by:
    user610037

    If I understand you correctly, I should add a line like this in the host file(a, b, c or d??):
    example: My computer host name is: "David"
    a) "10.10.10.10 David.testing.com"
    or
    b) "10.10.10.10 David.testing.com David"
    or
    c) "10.10.10.10 localhost.testing.com
    or
    d) "10.10.10.10 localhost.testing.com localhost"

  • ORACLE 11G INSTALLATION PROBLEM ON WIN7 32 bit

    okay i intalled the 11g edition but quite unsuccesfully . This is the view of start menu entry
    start->allprograms->oracle 11g express edition->empty
    Well, it shouldn't be like this !
    Can't figure out why ?
    Edited by: 908289 on Jan 16, 2012 3:52 AM
    Edited by: 908289 on Jan 16, 2012 7:59 AM

    i have the folder named oracleexe and app folder inside it . so this is what i should get as installed folders i guess !!Yes, that's what you can expect after a successful installation. Take a look in the direct ".\oracle\product\11.2.0\server" below the "app" directory. Do you see some url-link files there? (Despite several other subdirectories, of course...)
    Two of them should be the "Database_homepage" and "Get_Started". Try to call them.
    And Oracle XE service is started . Well, that's great. Sounds like all you lack is the links in you task menu.
    i couldn't quite get you here . which software/ programs are you referring to ? The start menu entry created is shown already as it is in the problem above and installation folders are there as i mentioned above . what else ,you refferring to ?I just wanted to check whether the installer has registered the database in the Windows list. This is part of a successful installation and would offer you the opporunity to uninstall (and perhaps reinstall) the whole package.
    Also , i am not sure which lOG file to check there because there are a lot of them !!As your database seems to be running as noted above, it doesn't seem to be necessary to go into these details.
    You should be able to access your database, either by using the links mentioned above, or, if these failed to be created, by calling the URLs by hand, e.g.
    http://127.0.0.1:8080/apex/f?p=4950 for "Get_Started" and
    http://127.0.0.1:8080/htmldb for the "Database_homepage".
    You should also be able to use the command line tool by calling sqlplus from a command window.
    If that doesn't satisfy you or you face any errors, you could try to reinstall.
    -Udo

  • Oracle 11g AQ : problem enqueue user-defined type with varchar2 attribute

    Hello.
    I have a problem enqueuing a user-defined type to the queue on Oracle 10g.
    I'm using jdbc driver (ojdbc5.jar, version 11.1.0.6.0) as they provide oracle.jdbc.aq package.
    The type is following:
    CREATE OR REPLACE TYPE FIXED_T5 AS OBJECT
    (id integer,
    label varchar2(100),
    code integer,
    today date
    )I have created a java class for this type with jpub utility supplied with oracle 11g client package:
    jpub -user=scott/tger -url=jdbc:oracle:thin:@host:sid-sql=FIXED_T5:ru.invito.FixedType -compile=falseIt generated FixedType.java and FixedTypeRef.java files. Don't understand why i need the latter (FixedTypeRef).
    Then in test app:
    package ru.invito;
    import java.io.IOException;
    import java.net.InetAddress;
    import java.net.UnknownHostException;
    import java.sql.SQLException;
    import java.sql.Timestamp;
    import java.util.Date;
    import java.util.Properties;
    import java.util.UUID;
    import junit.framework.TestCase;
    import oracle.jdbc.aq.AQAgent;
    import oracle.jdbc.aq.AQEnqueueOptions;
    import oracle.jdbc.aq.AQFactory;
    import oracle.jdbc.aq.AQMessage;
    import oracle.jdbc.aq.AQMessageProperties;
    import oracle.jdbc.aq.AQEnqueueOptions.DeliveryMode;
    import oracle.jdbc.aq.AQEnqueueOptions.VisibilityOption;
    import oracle.jdbc.driver.OracleConnection;
    import oracle.jdbc.driver.OracleDriver;
    import oracle.sql.Datum;
    import oracle.sql.STRUCT;
    import oracle.sql.StructDescriptor;
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    public class AqTest extends TestCase {
         protected Log logger = LogFactory.getLog(getClass());
         public void testEnqueue() throws Exception {
              OracleDriver dr = new OracleDriver();
              Properties prop = new Properties();
              prop.setProperty("user", Config.USERNAME);
              prop.setProperty("password", Config.PASSWORD);
              OracleConnection connection = (OracleConnection) dr.connect(Config.JDBC_URL, prop);
              assertNotNull(connection);
              connection.setAutoCommit(false);
              enqueueMessage(connection, "INVITO.FIXED_T5Q", null);
              connection.commit();
         private void enqueueMessage(OracleConnection conn, String queueName, AQAgent[] recipients) throws SQLException,
                   IOException {
              logger.debug("----------- Enqueue start ------------");
              AQMessageProperties props = makeProps(queueName);
              AQMessage mesg = AQFactory.createAQMessage(props);
              String msqText = String.format("Hello, %s!", queueName);
              FixedType data = createData(36, msqText);
              Datum d = data.toDatum(conn);
              STRUCT s = (STRUCT) d;
              debugStruct("s", s);
              String toIdStr = byteBufferToHexString(s.getDescriptor().getOracleTypeADT().getTOID(), 20);
              logger.debug("s.toIdStr: " + toIdStr);
              StructDescriptor sd = StructDescriptor.createDescriptor("INVITO.FIXED_T5", conn);
              logger.debug("sd.toXMLString(): " + sd.toXMLString());
              mesg.setPayload(s);
              AQEnqueueOptions opt = makeEnqueueOptions();
              logger.debug("sending............");
              // execute the actual enqueue operation:
              conn.enqueue(queueName, opt, mesg);
              debugMessageId(mesg);
              logger.debug("----------- Enqueue done ------------");
         private void debugMessageId(AQMessage mesg) throws SQLException {
              byte[] mesgId = mesg.getMessageId();
              if (mesgId == null) {
                   throw new IllegalStateException("message id is NULL");
              String mesgIdStr = byteBufferToHexString(mesgId, 20);
              logger.debug("Message ID from enqueue call: " + mesgIdStr);
          * @return
          * @throws SQLException
         private FixedType createData(int ID, String label) throws SQLException {
              FixedType data = new FixedType();
              data._struct.setNChar(1);// initializes the flag for 'label' field
              data.setId(ID);
              data.setLabel(label);
              data.setCode(1);
              Date today = new Date();
              data.setToday(new Timestamp(today.getTime()));
              return data;
          * @param string
          * @param s
          * @throws SQLException
         private void debugStruct(String string, STRUCT s) throws SQLException {
              logger.debug(s + ".debugString(): " + s.debugString());
              logger.debug(s + "s.dump(): " + s.dump());
          * @return
          * @throws SQLException
         private AQAgent makeAgent() throws SQLException {
              AQAgent ag = AQFactory.createAQAgent();
              ag.setName("AQ_TEST");
              String agentAddress = null;
              try {
                   agentAddress = InetAddress.getLocalHost().getHostAddress();
              catch (UnknownHostException e) {
                   logger.error("cannot resolve localhost ip address. will not set it as AQ Agent address");
                   agentAddress = "NA";
              ag.setAddress(agentAddress);
              return ag;
         private AQMessageProperties makeProps(String queueName) throws SQLException {
              final String EXCEPTION_Q_TEMPLATE = "AQ$_%sT_E";
              final int DEFAULT_DELAY = 0;
              final int DEFAULT_EXPIRATION = -1;
              final int DEFAULT_PRIORITY = 0;
              AQMessageProperties propeties = AQFactory.createAQMessageProperties();
              propeties.setCorrelation(UUID.randomUUID().toString());
              propeties.setDelay(DEFAULT_DELAY);
              propeties.setExceptionQueue(String.format(EXCEPTION_Q_TEMPLATE, queueName));
              propeties.setExpiration(DEFAULT_EXPIRATION);
              propeties.setPriority(DEFAULT_PRIORITY);
              // propeties.setRecipientList(null);//should not set
              propeties.setSender(makeAgent());
              return propeties;
          * @return
          * @throws SQLException
         private AQEnqueueOptions makeEnqueueOptions() throws SQLException {
              AQEnqueueOptions opt = new AQEnqueueOptions();
              opt.setRetrieveMessageId(true);
              // these are the default settings (if none specified)
              opt.setDeliveryMode(DeliveryMode.PERSISTENT);
              opt.setTransformation(null);
              opt.setVisibility(VisibilityOption.ON_COMMIT);
              return opt;
          * Form the AQ reference
          * @param buffer
          * @param maxNbOfBytes
          * @return
         private static final String byteBufferToHexString(byte[] buffer, int maxNbOfBytes) {
              if (buffer == null)
                   return null;
              int offset = 0;
              StringBuffer sb = new StringBuffer();
              while (offset < buffer.length && offset < maxNbOfBytes) {
                   String hexrep = Integer.toHexString((int) buffer[offset] & 0xFF);
                   if (hexrep.length() == 1)
                        hexrep = "0" + hexrep;
                   sb.append(hexrep);
                   offset++;
              String ret = sb.toString();
              return ret;
    }The output is following:
    [main] 2008-07-03 19:09:49,863 DEBUG [ru.invito.AqTest] - ----------- Enqueue start ------------
    [main] 2008-07-03 19:09:50,348 DEBUG [ru.invito.AqTest] - [email protected](): name = INVITO.FIXED_T5 length = 4 attribute[0] = 36 attribute[1] = Hell
    o, INVITO.FIXED_T5Q! attribute[2] = 1 attribute[3] = 2008-07-03 19:09:49.0
    [main] 2008-07-03 19:09:50,363 DEBUG [ru.invito.AqTest] - [email protected](): name = INVITO.FIXED_T5
    length = 4
    ID = 36
    LABEL = Hello, INVITO.FIXED_T5Q!
    CODE = 1
    TODAY = 2008-07-03 19:09:49.0
    [main] 2008-07-03 19:09:50,363 DEBUG [ru.invito.AqTest] - s.toIdStr: 507ccce5b6e9f572e040007f01007203
    [main] 2008-07-03 19:09:50,363 DEBUG [ru.invito.AqTest] - sd.toXMLString(): <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <StructDescriptor sqlName="INVITO.FIXED_T5" >
      <OracleTypeADT sqlName="INVITO.FIXED_T5"  typecode="0" tds_version="1"
               is_embedded="false" is_top_level="true" is_upt="false" finalType="true" subtype="false">
        <attributes>
          <attribute name="ID"  type="INTEGER" >
            <OracleType typecode="2" />
          </attribute>
          <attribute name="LABEL"  type="VARCHAR2" >
            <OracleType typecode="12" />
          </attribute>
          <attribute name="CODE"  type="INTEGER" >
            <OracleType typecode="2" />
          </attribute>
          <attribute name="TODAY"  type="DATE" >
            <OracleType typecode="0" />
          </attribute>
        </attributes>
      </OracleTypeADT>
    </StructDescriptor>
    [main] 2008-07-03 19:09:50,379 DEBUG [ru.invito.AqTest] - sending............
    [main] 2008-07-03 19:09:50,395 DEBUG [ru.invito.AqTest] - Message ID from enqueue call: 511ff143bd4fa536e040007f01003192
    [main] 2008-07-03 19:09:50,395 DEBUG [ru.invito.AqTest] - ----------- Enqueue done ------------But when dequeueing the 'label' attribute is lost:
    DECLARE
    dequeue_options     DBMS_AQ.dequeue_options_t;
    message_properties  DBMS_AQ.message_properties_t;
    message_handle      RAW(16);
    message             fixed_t5;
    BEGIN
      dequeue_options.navigation := DBMS_AQ.FIRST_MESSAGE;
      DBMS_AQ.DEQUEUE(
         queue_name          =>     'fixed_t5q',
         dequeue_options     =>     dequeue_options,
         message_properties  =>     message_properties,
         payload             =>     message,
         msgid               =>     message_handle);
      DBMS_OUTPUT.PUT_LINE('ID   : '||message.id);
      DBMS_OUTPUT.PUT_LINE('Label: '||message.label);
      DBMS_OUTPUT.PUT_LINE('Code : '||message.code);
      DBMS_OUTPUT.PUT_LINE('Today: '||message.today);
      COMMIT;
    END;
    ID   : 36
    Label:
    Code : 1
    Today: 03.07.08
    Could anyone tell me what is wrong with the setup/code?
    Why 'label' not saved in queue, though i saw it is not empty in STRUCT?

    Thank you for the reply!
    I have enqueued:
    [main] 2008-07-04 15:30:30,639 DEBUG [ru.invito.UserDefinedTypeAqTest$1] - [email protected](): name = INVITO.FIXED_T5
    length = 4
    ID = 41
    LABEL = Hello, INVITO.FIXED_T5Q!
    CODE = 1
    TODAY = 2008-07-04 15:30:30.0and in table (select * from FIXED_T5QT) the 'label' is blank:
    Q_NAME     FIXED_T5Q
    MSGID     51310809B5EA3728E040007F01000C79
    CORRID     b8f38fd3-4fa6-4e0f-85d1-2440d02d655e
    PRIORITY     0
    STATE     0
    DELAY     
    EXPIRATION     
    TIME_MANAGER_INFO     
    LOCAL_ORDER_NO     0
    CHAIN_NO     0
    CSCN     0
    DSCN     0
    ENQ_TIME     04.07.2008 15:28:44
    ENQ_UID     INVITO
    ENQ_TID                       4012
    DEQ_TIME     
    DEQ_UID     
    DEQ_TID     
    RETRY_COUNT     0
    EXCEPTION_QSCHEMA     AQ$_INVITO
    EXCEPTION_QUEUE     FIXED_T5QT_E
    STEP_NO     0
    RECIPIENT_KEY     0
    DEQUEUE_MSGID     
    SENDER_NAME     AQ_TEST
    SENDER_ADDRESS     10.1.1.137
    SENDER_PROTOCOL     
    USER_DATA.ID     41
    USER_DATA.LABEL     
    USER_DATA.CODE     1
    USER_DATA.TODAY     04.07.2008 15:30:30I must point to a strange thing: when the FixedType instance is created (via new operator) and then the setLabel("....") called as:
    FixedType data = new FixedType();
    // hack: proper initialization for 'label' field
    data._struct.setNChar(1);
    data.setId(ID);
    data.setLabel(label);
    data.setCode(1);
    Date today = new Date();
    data.setToday(new Timestamp(today.getTime()));
    Datum d = data.toDatum(connection);
    STRUCT s = (STRUCT) d;
    logger.debug(s + ".debugString(): " + s.debugString());
    logger.debug(s + ".dump(): " + s.dump());and if i comment line (data._struct.setNChar(1);) the debug messages for created STRUCT also shows empty value for label.
    But if i explicitly call data._struct.setNChar(1) then debug contains the label i defined in call to the setLabel method.

  • Oracle 11g R2, Problem Loading Spatial Data

    We have a geodatabase which has been implemented by oracle spatial. it has been working quite fine since 2 years ago. Recently the data center serving our geodatabase has been upgraded on both software and hardware specifications. The handler application now has difficulty retrieving spatial data. The problem is somehow strange; only some spatial objects are loaded and then application encounters exceptions.
    Previous working database engine was an Oracle 11g R1 and the new one is Oracle 11g R2. The application is a java application mostly written by swing. Here is the stack trace:
    java.sql.SQLRecoverableException: No more data to read from socket
         at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1200)
         at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1155)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:279)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:521)
         at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:202)
         at oracle.jdbc.driver.T4CCallableStatement.fetch(T4CCallableStatement.java:1079)
         at oracle.jdbc.driver.OracleResultSetImpl.close_or_fetch_from_next(OracleResultSetImpl.java:369)
         at oracle.jdbc.driver.OracleResultSetImpl.next(OracleResultSetImpl.java:273)
         at ir.mas.aamar.service.map.MapService.getModifiedMap(MapService.java:405)
         at ir.mas.aamar.map.MapPanel.redrawLayers(MapPanel.java:504)
         at ir.mas.aamar.map.LayersTree.onSnapshotDisplayCheckBoxItemChanged(LayersTree.java:420)
         at ir.mas.aamar.map.LayersTree.onMouseReleased(LayersTree.java:204)
         at ir.mas.aamar.map.LayersTree.access$0(LayersTree.java:188)
         at ir.mas.aamar.map.LayersTree$1.mouseReleased(LayersTree.java:170)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    java.sql.SQLRecoverableException: No more data to read from socket
         at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1200)
         at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1155)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:279)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:521)
         at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:194)
         at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:853)
         at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1145)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1267)
         at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1469)
         at oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:389)
         at ir.mas.aamar.service.map.MapService.executeJDBCQuery(MapService.java:78)
         at ir.mas.aamar.service.map.MapService.getSnapshotsForThisTermPlusHoze(MapService.java:1013)
         at ir.mas.aamar.dialog.edit.EditTools.refreshLayersCombo(EditTools.java:327)
         at ir.mas.aamar.dialog.edit.EditTools.refresh(EditTools.java:301)
         at ir.mas.aamar.dialog.edit.EditTools.<init>(EditTools.java:103)
         at ir.mas.aamar.dialog.edit.EditTools.editTools(EditTools.java:62)
         at ir.mas.aamar.map.MapPanel.paintComponent(MapPanel.java:7591)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JComponent.paintToOffscreen(Unknown Source)
         at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
         at javax.swing.RepaintManager.paint(Unknown Source)
         at javax.swing.JComponent._paintImmediately(Unknown Source)
         at javax.swing.JComponent.paintImmediately(Unknown Source)
         at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
         at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    java.sql.SQLRecoverableException: Closed Resultset: next
         at oracle.jdbc.driver.OracleResultSetImpl.next(OracleResultSetImpl.java:224)
         at ir.mas.aamar.service.map.MapService.getSnapshotsForThisTermPlusHoze(MapService.java:1014)
         at ir.mas.aamar.dialog.edit.EditTools.refreshLayersCombo(EditTools.java:327)
         at ir.mas.aamar.dialog.edit.EditTools.refresh(EditTools.java:301)
         at ir.mas.aamar.dialog.edit.EditTools.<init>(EditTools.java:103)
         at ir.mas.aamar.dialog.edit.EditTools.editTools(EditTools.java:62)
         at ir.mas.aamar.map.MapPanel.paintComponent(MapPanel.java:7591)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JComponent.paintToOffscreen(Unknown Source)
         at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
         at javax.swing.RepaintManager.paint(Unknown Source)
         at javax.swing.JComponent._paintImmediately(Unknown Source)
         at javax.swing.JComponent.paintImmediately(Unknown Source)
         at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
         at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
         at ir.mas.aamar.dialog.edit.EditTools.setTypeOfEditModel(EditTools.java:452)
         at ir.mas.aamar.dialog.edit.EditTools.<init>(EditTools.java:104)
         at ir.mas.aamar.dialog.edit.EditTools.editTools(EditTools.java:62)
         at ir.mas.aamar.map.MapPanel.paintComponent(MapPanel.java:7591)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JComponent.paintToOffscreen(Unknown Source)
         at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
         at javax.swing.RepaintManager.paint(Unknown Source)
         at javax.swing.JComponent._paintImmediately(Unknown Source)
         at javax.swing.JComponent.paintImmediately(Unknown Source)
         at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
         at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    I read in some forums that the problem could be caused by jdbc version incompatibility, so I just copied jdbc archives from the installed oracle 11g R2 jdbc folder but the problem persists. Last thing I should mention is that only spatial data is problemistic and non-spatial data is easily loaded.
    Please Help, Thanks.

    Hi storm,
    During the installation of oracle as you said if you have given the global password, basically this specific password will reflect to users such as
    -sys
    -system
    -dbsnmp
    -sysman
    As you are new to oracle the basics that you should know is that "SYS" user is the highly privileged user in Oracle and should be logged in as "sys as sysdba" with his respective password (i.e. the global password that you have entered during database installation) to obtain his privilege. Remember to manipulate your database with caution when you are logged in as the sys user. You can log into the database using the sys user in the following way:
    c\> sqlplus sys as sysdba
    password: ****** --It will ask you for the password and you will have to give the global password that was given during installation
    Hope this helps!!!
    Regards,

  • Oracle 11g install problem on rhel 4.4

    i was trying to install oracle 11g to rhel 4.4
    during the install process , there are two warning when runing environment check
    one is kernal parameter
    i set four kernal parameter like this:
    net.core.rmem_default = 262144
    net.core.rmem_max = 262144
    net.core.wmem_default = 262144
    net.core.wmem_max = 262144
    but oracle warning me they should be set as 419430
    the other is swap space :
    i set 2G,but oracle needs 4G.
    i neglect them and continue
    but when the install proceed 11percent , it stoped there and the i pose the install log is :
    INFO: Method 'dispose()' Not implemented in class 'CustomConfigurationOptions'
    INFO: config-context initialized
    INFO: *** Install Page***
    INFO: FastCopy : File Version is Compatible
    INFO: Install mode is fastcopy mode for component 'oracle.server' with Install type 'Custom'.
    INFO: Link phase has been specified as needed
    INFO: Setup phase has been specified as needed
    INFO: HomeSetup JRE files in Scratch :0
    INFO: Setting variable 'ROOTSH_LOCATION' to '/home/oracle/ora11/DB10g/root.sh'. Received the value from a code block.
    INFO: Setting variable 'ROOTSH_LOCATION' to '/home/oracle/ora11/DB10g/root.sh'. Received the value from a code block.
    INFO: Performing fastcopy operations based on the information in the file 'racfiles.jar'.
    INFO: Performing fastcopy operations based on the information in the file 'oracle.server_Custom_exp_1.xml'.
    INFO: Performing fastcopy operations based on the information in the file 'oracle.server_Custom_dirs.lst'.
    INFO: Performing fastcopy operations based on the information in the file 'oracle.server_Custom_filemap.jar'.
    INFO: Performing fastcopy operations based on the information in the file 'oracle.server_Custom_1.xml'.
    INFO: Performing fastcopy operations based on the information in the file 'setperms1.sh'.
    INFO: Number of threads for fast copy :1
    INFO: FastCopy : The component info is ignored :oracle.network.cman:11.1.0.6.0
    INFO: FastCopy : The component info is ignored :oracle.precomp.lang:11.1.0.6.0
    INFO: FastCopy : The component info is ignored :oracle.odbc:11.1.0.6.0
    INFO: FastCopy : The component info is ignored :oracle.rdbms.dv:11.1.0.6.0
    INFO: FastCopy : The component info is ignored :oracle.rdbms.lbac:11.1.0.6.0
    INFO: FastCopy : The component info is ignored :oracle.rdbms.dv.oc4j:11.1.0.6.0
    INFO: FastCopy : The component info is ignored :oracle.odbc.ic:11.1.0.6.0
    INFO: FastCopy : The component info is ignored :oracle.sysman.ccr:10.2.6.0.0
    i do not know how to make it work ,please help me
    thank you!

    This is the output from my current 11g installation on an OEL4:
    Checking operating system package requirements ...
    Checking for make-3.80; found make-1:3.80-6.EL4-i386. Passed
    Checking for binutils-2.15.92.0.2; found binutils-2.15.92.0.2-21-i386. Passed
    Checking for gcc-3.4.5; found gcc-3.4.6-3.1-i386. Passed
    Checking for libaio-0.3.105; found libaio-0.3.105-2-i386. Passed
    Checking for libaio-devel-0.3.105; found libaio-devel-0.3.105-2-i386. Passed
    Checking for libstdc++-3.4.5; found libstdc++-3.4.6-3.1-i386. Passed
    Checking for elfutils-libelf-devel-0.97; found elfutils-libelf-devel-0.97.1-3-i386. Passed
    Checking for sysstat-5.0.5; found sysstat-5.0.5-11.rhel4-i386. Passed
    Checking for libgcc-3.4.5; found libgcc-3.4.6-3.1-i386. Passed
    Checking for libstdc++-devel-3.4.5; found libstdc++-devel-3.4.6-3.1-i386. Passed
    Checking for unixODBC-2.2.11; found unixODBC-2.2.11-1.RHEL4.1-i386. Passed
    Checking for unixODBC-devel-2.2.11; found unixODBC-devel-2.2.11-1.RHEL4.1-i386.
    ~ Madrid

  • Startup- ORA 03113 Oracle 11g Win 2003

    Hi Guys,
    Please assist I get this error when trying to startup the database.
    Thank you.

    Fatal NI connect error 12170.
    VERSION INFORMATION:
         TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
         Oracle Bequeath NT Protocol Adapter for 64-bit Windows: Version 11.2.0.1.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 64-bit Windows: Version 11.2.0.1.0 - Production
    Time: 09-MAY-2013 09:51:17
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12535
    TNS-12535: TNS:operation timed out
    ns secondary err code: 12606
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=10.121.78.239)(PORT=4856))
    WARNING: inbound connection timed out (ORA-3136)
    Errors in file e:\orasoft\diag\rdbms\edms\edms\trace\edms_arc1_1760.trc:
    ORA-19809: limit exceeded for recovery files
    ORA-19804: cannot reclaim 38211072 bytes disk space from 161061273600 limit
    ARC1: Error 19809 Creating archive log file to 'E:\ORADATA\FLASH_RECOVERY_AREA\EDMS\ARCHIVELOG\2013_05_09\O1_MF_1_7986_%U_.ARC'
    Instance terminated by USER, pid = 5052
    Thu May 09 09:59:44 2013
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 3
    Using LOG_ARCHIVE_DEST_1 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =662
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options.
    Using parameter settings in server-side spfile E:\ORASOFT\PRODUCT\11.2.0\DBHOME_1\DATABASE\SPFILEEDMS.ORA
    System parameters with non-default values:
    processes = 4000
    sessions = 6024
    memory_target = 4G
    control_files = "E:\ORADATA\ORADATA\EDMS\CONTROL01.CTL"
    control_files = "E:\ORADATA\FLASH_RECOVERY_AREA\EDMS\CONTROL02.CTL"
    db_block_size = 8192
    db_writer_processes = 2
    compatible = "11.2.0.0.0"
    db_recovery_file_dest = "E:\oradata\flash_recovery_area"
    db_recovery_file_dest_size= 150G
    fast_start_mttr_target = 3
    db_flashback_retention_target= 24
    undo_tablespace = "UNDOTBS1"
    remote_login_passwordfile= "EXCLUSIVE"
    db_domain = ""
    dispatchers = "(PROTOCOL=TCP) (SERVICE=edmsXDB)"
    audit_file_dest = "E:\ORASOFT\ADMIN\EDMS\ADUMP"
    audit_trail = "DB"
    db_name = "edms"
    open_cursors = 300
    diagnostic_dest = "E:\ORASOFT"
    Thu May 09 09:59:44 2013
    PMON started with pid=2, OS id=3624
    Thu May 09 09:59:44 2013
    VKTM started with pid=3, OS id=2884 at elevated priority
    VKTM running at (10)millisec precision with DBRM quantum (100)ms
    Thu May 09 09:59:44 2013
    GEN0 started with pid=4, OS id=1548
    Thu May 09 09:59:44 2013
    DIAG started with pid=5, OS id=5020
    Thu May 09 09:59:44 2013
    DBRM started with pid=6, OS id=540
    Thu May 09 09:59:44 2013
    PSP0 started with pid=7, OS id=856
    Thu May 09 09:59:44 2013
    DIA0 started with pid=8, OS id=2460
    Thu May 09 09:59:44 2013
    MMAN started with pid=9, OS id=5096
    Thu May 09 09:59:44 2013
    DBW0 started with pid=10, OS id=460
    Thu May 09 09:59:44 2013
    DBW1 started with pid=11, OS id=3264
    Thu May 09 09:59:44 2013
    LGWR started with pid=12, OS id=4264
    Thu May 09 09:59:44 2013
    CKPT started with pid=13, OS id=2536
    Thu May 09 09:59:44 2013
    SMON started with pid=14, OS id=4128
    Thu May 09 09:59:44 2013
    RECO started with pid=15, OS id=2052
    Thu May 09 09:59:44 2013
    MMON started with pid=16, OS id=2992
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Thu May 09 09:59:44 2013
    MMNL started with pid=17, OS id=3788
    starting up 1 shared server(s) ...
    ORACLE_BASE from environment = E:\orasoft
    Thu May 09 09:59:44 2013
    ALTER DATABASE MOUNT
    Successful mount of redo thread 1, with mount id 3913617488
    Database mounted in Exclusive Mode
    Lost write protection disabled
    Completed: ALTER DATABASE MOUNT
    Thu May 09 09:59:48 2013
    ALTER DATABASE OPEN
    LGWR: STARTING ARCH PROCESSES
    Thu May 09 09:59:48 2013
    ARC0 started with pid=21, OS id=2040
    ARC0: Archival started
    LGWR: STARTING ARCH PROCESSES COMPLETE
    ARC0: STARTING ARCH PROCESSES
    FAST_START_MTTR_TARGET 3 is set too low, using minimum achievable MTTR 19 instead.
    Thu May 09 09:59:49 2013
    ARC1 started with pid=22, OS id=1284
    Thu May 09 09:59:49 2013
    ARC2 started with pid=23, OS id=912
    Thu May 09 09:59:49 2013
    ARC3 started with pid=24, OS id=4212
    ARC1: Archival started
    ARC1: Becoming the 'no FAL' ARCH
    ARC1: Becoming the 'no SRL' ARCH
    Errors in file e:\orasoft\diag\rdbms\edms\edms\trace\edms_ora_4328.trc:
    ORA-19815: WARNING: db_recovery_file_dest_size of 161061273600 bytes is 100.00% used, and has 0 remaining bytes available.
    You have following choices to free up space from recovery area:
    1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard,
    then consider changing RMAN ARCHIVELOG DELETION POLICY.
    2. Back up files to tertiary device such as tape using RMAN
    BACKUP RECOVERY AREA command.
    3. Add disk space and increase db_recovery_file_dest_size parameter to
    reflect the new space.
    4. Delete unnecessary files using RMAN DELETE command. If an operating
    system command was used to delete files, then use RMAN CROSSCHECK and
    DELETE EXPIRED commands.
    Errors in file e:\orasoft\diag\rdbms\edms\edms\trace\edms_ora_4328.trc:
    ORA-19809: limit exceeded for recovery files
    ORA-19804: cannot reclaim 44572672 bytes disk space from 161061273600 limit
    ARCH: Error 19809 Creating archive log file to 'E:\ORADATA\FLASH_RECOVERY_AREA\EDMS\ARCHIVELOG\2013_05_09\O1_MF_1_7985_%U_.ARC'
    Errors in file e:\orasoft\diag\rdbms\edms\edms\trace\edms_ora_4328.trc:
    ORA-16038: log 3 sequence# 7985 cannot be archived
    ORA-19809: limit exceeded for recovery files
    ORA-00312: online log 3 thread 1: 'E:\ORASOFT\ORADATA\EDMS\REDO03.LOG'
    USER (ospid: 4328): terminating the instance due to error 16038
    Errors in file e:\orasoft\diag\rdbms\edms\edms\trace\edms_arc1_1284.trc:
    ORA-19815: WARNING: db_recovery_file_dest_size of 161061273600 bytes is 100.00% used, and has 0 remaining bytes available.
    You have following choices to free up space from recovery area:
    1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard,
    then consider changing RMAN ARCHIVELOG DELETION POLICY.
    2. Back up files to tertiary device such as tape using RMAN
    BACKUP RECOVERY AREA command.
    3. Add disk space and increase db_recovery_file_dest_size parameter to
    reflect the new space.
    4. Delete unnecessary files using RMAN DELETE command. If an operating
    system command was used to delete files, then use RMAN CROSSCHECK and
    DELETE EXPIRED commands.
    Instance terminated by USER, pid = 4328

  • Oracle 11g download problem (Files is Broken)

    hi
    i am download 11g 2 zip files.
    but some files broken.
    please any one upload this .jar files
    1) database\stage\components\oracle.jdk\1.5.0.17.03\1\Datefiles\all.jar
    2) database\stage\Components\oracle.swd.oui.core\11.2.0.1.0\1\DataFiles\------------------------ folder is broken _(all jar files)_ total 10 jar files missing
    3) database\stage\Components\oracle.sysman.agent\---------------------------------------------------------folder is broken (all jar files) total 40 jar files and some folders are missing
    4) database\stage\Components\oracle.javavm.containers\11.2.0.1.0\1\DataFiles\--------------------folder is broken total 4 jar files missing
    5) database\stage\Components\oracle.owb.rsf\11.2.0.1.0\1\DataFiles\filegroup106.jar;------------jar file is broken
    pls help me, pls share this file
    this is my mail id [email protected]

    Welcome to the forums !
    Pl define "broken" and how you determined these files/folders to be "broken". Pl identify the site you downloaded these files from. If from an Oracle website, did you use the checksum feature to verify the download ? Pl post details of your OS version.
    An example of cksum for Win is here - http://www.oracle.com/technology/software/products/database/oracle11g/112010_win64soft.html
    HTH
    Srini

  • ORA-28500: connection from ORACLE to a non-Oracle system returned this message: ORA-02063: preceding line from OWB_75

    ORA-28500: connection from ORACLE to a non-Oracle system returned this message: ORA-02063: preceding line from OWB_75
    Scenario:
    I am having difficulty getting ODBC connection between Oracle OWB app with an 11gR2 DB (running on a VirtualBox Linux) and SQL Server 2008 running directly on the host. (Windows 8)
    I am trying to take a SQL Server 2008 feed into Oracle Ware house Builder, and think(!) I have read everything and configured it in accordance (but I presume not given 3 days of failed attempts to fix it). I have also read several blogs, hence there might be a few more settings in the configuration files than the formal documentation says, but these have come from blogs that have “Solved” problems for other similar situations.
    The environments:
    HOST:
    Name: RESOLVEIT-PC
    IP: 192.168.1.80
    Windows 8 (64bit) , with system DSN ODBC connection ACME_POS created with 32 bit ODBC set up (This setting still shows up fine in the 64 bit ODBC).
    GUEST VM:
    Name: OraDBSvr.com
    GUES fixed IP Address: 192.1.200
    Oracle VirtualBox (4.2.16)
    Oracle Redhat Linux 6 (x86)
    Oracle 11gR2 Enterprise Edition (11.2.0.1.0)
    ODBC: Freetds driver
    Configuration files:
    initacmepos.ora
    HS_FDS_CONNECT_INFO = 192.168.1.80/SQLEXPRESS/ACME_POS
    HS_FDS_TRACE_LEVEL = 0
    HS_FDS_SUPPORT_STATISTICS=FALSE
    HS_RPC_FETCH_REBLOCKING= OFF
    HS_FDS_FETCH_ROWS = 1
    HS_FDS_SHAREABLE_NAME = /usr/local/lib/libtdsodbc.so
    set ODBCINI=/opt/odbc/odbc.ini
    # set <envvar>=<value>
    odbc.ini
    [ACME_POS]
    Driver     = FreeTDS
    Description = ODBC Connection via FreeTDS
    Trace       = 1
    Servername  = 192.168.1.80
    Database    = dbo
    odbcinst.ini
    [PostgreSQL]
    Description                        = ODBC for PostgreSQL
    Driver                   = /usr/lib/psqlodbc.so
    Setup                    = /usr/lib/libodbcpsqlS.so
    Driver64                              = /usr/lib64/psqlodbc.so
    Setup64                              = /usr/lib64/libodbcpsqlS.so
    FileUsage                           = 1
    [MySQL]
    Description                        = ODBC for MySQL
    Driver                   = /usr/lib/libmyodbc5.so
    Setup                    = /usr/lib/libodbcmyS.so
    Driver64                              = /usr/lib64/libmyodbc5.so
    Setup64                              = /usr/lib64/libodbcmyS.so
    FileUsage                           = 1
    [FreeTDS]
    Discription             = TDS driver (Sybase / MS SQL)
    Driver                           = /usr/local/lib/libtdsodbc.so
    # Setup                         = /usr/local/lib/libtdsS.so
    FileUsage                           = 1
    CPTimeout               =
    CPReuse                 =
    [oracle@oraDBsvr etc]$
    freetds.conf
    #   $Id: freetds.conf,v 1.12 2007-12-25 06:02:36 jklowden Exp $
    # This file is installed by FreeTDS if no file by the same
    # name is found in the installation directory. 
    # For information about the layout of this file and its settings,
    # see the freetds.conf manpage "man freetds.conf". 
    # Global settings are overridden by those in a database
    # server specific section
    [global]
            # TDS protocol version
    ;              tds version = 4.2
                   # Whether to write a TDSDUMP file for diagnostic purposes
                   # (setting this to /tmp is insecure on a multi-user system)
    ;              dump file = /tmp/freetds.log
    ;              debug flags = 0xffff
                   # Command and connection timeouts
    ;              timeout = 10
    ;              connect timeout = 10
                   # If you get out-of-memory errors, it may mean that your client
                   # is trying to allocate a huge buffer for a TEXT field.
                   # Try setting 'text size' to a more reasonable limit
                   text size = 64512
    # A typical Sybase server
    [egServer50]
                   host = symachine.domain.com
                   port = 5000
                   tds version = 5.0
    # A typical Microsoft server
    [ACME_POS]
      host = 192.168.1.80
      port = 60801                                # also tried 1433
      instance = SQLEXPRESS
      tds version = 8.0
      client charset = UTF-8
    tsql -LH 192.168.1.80
         ServerName RESOLVEIT-PC
       InstanceName SQLEXPRESS
        IsClustered No
            Version 10.50.4000.0
                tcp 60801
                 np \\RESOLVEIT-PC\pipe\MSSQL$SQLEXPRESS\sql\query
                via RESOLVEIT-PC,0:1433
    Oracle listener:
    [oracle@oraDBsvr log]$ cat /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    # listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = acmepos)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
    (PROGRAM = dg4odbc)
    (HS = OK)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oraDBsvr)(PORT = 1521))
    ADR_BASE_LISTENER = /u01/app/oracle
    [oracle@oraDBsvr log]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 16-SEP-2013 13:57:41
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oraDBsvr)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                16-SEP-2013 13:50:34
    Uptime                    0 days 0 hr. 7 min. 7 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/oraDBsvr/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oraDBsvr)(PORT=1521)))
    Services Summary...
    Service "acmepos" has 1 instance(s).
    Instance "acmepos", status UNKNOWN, has 1 handler(s) for this service...
    Service "dw" has 1 instance(s).
    Instance "dw", status READY, has 1 handler(s) for this service...
    Service "dwXDB" has 1 instance(s).
    Instance "dw", status READY, has 1 handler(s) for this service...
    The command completed successfully
    Oracle tnsnames.ora
    [oracle@oraDBsvr admin]$ cat tnsnames.ora
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    dw =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = dw)
    acmepos  =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
    (CONNECT_DATA=(SID=acmepos)
    (HS=OK)
    Oracle sqlnet.ora
    [oracle@oraDBsvr admin]$ cat sqlnet.ora
    # sqlnet.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
    # Generated by Oracle configuration tools.
    NAMES.DIRECTORY_PATH= (EZCONNECT, TNSNAMES)
    ADR_BASE = /u01/app/oracle
    I can connect from the linux server to SQL Server, and query the database:
    [oracle@oraDBsvr etc]$ tsql -S acme_pos -U acme_dw_user -P acme1234
    locale is "en_US.utf8"
    locale charset is "UTF-8"
    using default charset "UTF-8"
    1> select last_name from dbo.employees;
    2> go
    last_name
    Davolio
    Fuller
    Leverling
    Peacock
    Buchanan
    Suyama
    King
    Callahan
    Dodsworth
    (9 rows affected)
    1>
    However, I can’t get a response through Oracle OWB , and I get:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message: ORA-02063: preceding line from OWB_75
    In the hs log file I get:
    [oracle@oraDBsvr log]$ cat acmepos_agt_3821.trc
    Oracle Corporation --- MONDAY    SEP 16 2013 13:51:22.170
    Heterogeneous Agent Release
    11.2.0.1.0
    HS Gateway:  NULL connection context at exit
    [oracle@oraDBsvr log]$
    I am really stuck now and going round in circles and can’t see the wood for trees! Can anyone please help?!!
    Many Thanks.
    Rafe.

    Let us rewrite your ODBC DSN a little bit... Your current odbc.ini looks like:
    [ACME_POS]
    Driver     = FreeTDS
    Description = ODBC Connection via FreeTDS
    Trace       = 1
    Servername  = 192.168.1.80
    Database    = dbo
    Let us change it a little bit so that we only need one config file - no odbcinst.ini nor freetds.conf file anymore:
    [ACME_POS]
    Driver =/usr/local/lib/libtdsodbc.so
    Server = 192.168.1.80
    Database
    = dbo     ####  I have some doubts that you have a SQL Server database called dbo - one database that always exists is master - so as a test use master here or get the real database name of the SQL Server database you want to connect
    Port = 60801 ## make sure it really is the correct port - best would be to check on the SQL server and then try telnet <ip> <port> if you can connect to the SQL server
    TDS_Version = 8.0
    QuotedId=YES
    Especially the last 2 parameters are mandatory. TDS_Version specifies the TDS Version you have to use to connect to the SQL Server and QuotedID is required for DG4ODBC as it surrounds objevt names by double quotes.
    What happens now when you try to connect with for example isql - the ODBC test utility shipped with the ODBC Driver manager?
    In addition, could you please do me another favour and check the word size of DG4ODBC and the ODBC Driver Manager as well as the ODBC Driver - just execute:
    file /u01/app/oracle/product/11.2.0/dbhome_1/bin/dg4odbc
    file /usr/local/lib/libtdsodbc.so
    file < the patch to your libodbc.so library>/libodbc.so
    and post the output.

  • Oracle 11g R2 to MS Access .mdb (Windows Server 2008 64-bit) problem

    I have a need to make connection from Oracle 11g R2 to MS Access database file (mdb). OS is MS Windows Server 2008 64-bit. My configuration is next:
    1. I made System DNS mikeacs (using c:\windows\sys_wow6\odbcad32.exe) to my access mdb file;
    2. I made initmikeacs.ora file in ora_home\hs\admin folder:
    # HS init parameters
    HS_FDS_CONNECT_INFO = mikeacs
    HS_FDS_TRACE_LEVEL = debug
    HS_FDS_SHAREABLE_NAME = c:\Windows
    3. Listener.ora file is:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\Oracle\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\Oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    (SID_DESC =
    (SID_NAME = mikeacs)
    (ORACLE_HOME = c:\oracle\product\11.2.0\dbhome_1)
    (PROGRAM = dg4odbc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = cspo02)(PORT = 1521))
    4. Tnsnames.ora is:
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    MIKEACS =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=cspo02)(PORT=1521))
    (CONNECT_DATA=(SID=mikeacs))
    (HS=OK)
    5. After this, I restarted Listener:
    lsnrctl stop;
    lsnrctl start;
    Given feedback:
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
    Start Date 20-RUJ-2010 14:47:21
    Uptime 0 days 0 hr. 0 min. 3 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\Oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
    Listener Log File c:\oracle\diag\tnslsnr\cspo02\listener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=cspo02)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "mikeacs" has 1 instance(s).
    Instance "mikeacs", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    6. I created db link: create public database link macs using 'MIKEACS' (connected as sysdba);
    7. tnsping mikeacs:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=cspo02)(PORT=1521)) (CONNECT_DATA=(SID=mikeacs)) (HS=OK))
    OK (0 msec)
    Then, when I try fire query (connected as sysdba): select * from mytable@macs;
    get result:
    ERROR at line 1:
    ORA-28513: internal error in geterogeneous remote agent
    ORA-02063: preceding line from MACS;
    Although, when I fire the same query, but connected as other user, get next result:
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Microsoft][ODBC Driver Manager] Data source name not found and no default
    driver specified {IM002}
    ORA-02063: preceding 2 lines from MACS
    Where is my problem? Please help. Thanks in advance!

    That's the problem. DG4ODBC on 64bit Windows is 64bit and thus it also requires a 64bit ODBC driver.
    If you don't find one - maybe you can install DG4ODBC 32bi on a 32bit platform (please do NOT install it on the 64bit Windows machine) and then use this 32biit DG4ODBC with the 32bit ODBC driver.
    Another option would be to purchase a commercial ODBC driver or a bridged ODBC driver.

  • Problems with Oracle 11g XE R2

    Hi guys,
    I've got a problem and try'n to solve it for abt a week now and tried many solutions.
    My enviroment:
    Windows 7 Professional SP 1 64-Bit
    AMD Phenom II x4 940 @3.0 GH
    4 GB RAM (In Usage while installing 40%)
    Windows-Firewall is activated (but oracle.exe and lstnr.exe are configured as exception)
    avast! Free Antivirus Version 2014.9.0.2018
    Installation (both times with same outcome):
    Installed O 11g XE 64-Bit in two different ways:
    User I was logged in with is in Admingroup
    Started installation via rightclick with administrationprivileges
    I activated the administrators account and logged in with adminprivileges.
    After that I've installed the 11g XE 64 bit
    between both steps I cleaned everything up and restarted my system, registry was empty too and folder was deleted manually
    at first I get this problem: Windows cannot find "http://127.0.0.1:%HTTPPORT%/apex/f?p=4950"
    -> Manually changing %HTTPORT% to 8080
    --> now I could doubleclick the shortcut, Firefox/IE/Chrome opens but 404 not Found-Error is returned
    - OracleServiceXE, XracleXETNListener both are running
    [code]
    C:\Windows\system32>lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.2.0.2.0 - Production on 04-NOV-2014 18:02
    :56
    Copyright (c) 1991, 2014, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       64-bit Windows Error: 2: No such file or directory
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=D³rsinKurt-PC)(PORT=1521
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 11.2.0.2.0 - Produ
    ction
    Start Date                04-NOV-2014 13:53:50
    Uptime                    0 days 4 hr. 9 min. 9 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Log File         C:\oraclexe\app\oracle\diag\tnslsnr\D³rsinKurt-PC\list
    ener\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=D³rsinKurt-PC)(PORT=1521)))
    The listener supports no services
    The command completed successfully
    [/code]
    so Listenerservice is up and running but I cant find the http 8080-Service with netstat -a
    so I started investigating a bit more:
    Registryfolder: HK_LOCAL_MACHINE\SOFTWARE\ORACLE is installed
    following subdirectories are installed: KEY_XE, ODP.NET, OracleMTSRecoveryService
    What I tried (both ways, starting with and without adminstrationprivileges):
    I created two new DWORD-Values in KEY_XE ORACLE_SID_AUTOSTART and -SHUTDOWN both with the value True and stopped and started the services, nothing changes.
    Inserted both users (Administrator and normal User) in ORA_DBA-Group, nothing changes, even tried to turn it off and on again
    wanted to connect to sqlplus via console:
    C:\Windows\system32>sqlplus system
    SQL*Plus: Release 11.2.0.2.0 Production on Di Nov 4 18:09:21 2014
    Copyright (c) 1982, 2014, Oracle.  All rights reserved.
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Process ID: 0
    Session ID: 0 Serial number: 0
    Enter user-name:
    when I start the sqlplus-prompt directly and write the command startup I get the following msg: ORA-01031: insufficient privileges
    I looked into the ORA_BASE-Folder and looked at the oradat folder, it contains a XE-Folder which is empty, the admin-folder contains: XE/ and adump, dpdump and pfile, all three are empty (what does this mean? No DB at all created?)
    I watched the ORA_HOME-Folder and found initXE.ora, oradba.exe, oradim and PWDXE.ora
    I looked into the oradim.txt-Log:
    Tue Nov 04 11:21:17 2014
    C:\oraclexe\app\oracle\product\11.2.0\server\bin\oradim.exe -shutdown -sid xe -usrpwd * -shutmode immediate -log oradim.log
    Tue Nov 04 11:21:55 2014
    ORA-01012: not logged on
    Tue Nov 04 11:23:01 2014
    C:\oraclexe\app\oracle\product\11.2.0\server\bin\oradim.exe -startup -sid xe -usrpwd *  -log oradim.log -nocheck 0
    Tue Nov 04 11:23:38 2014
    ORA-01078: failure in processing system parameters
    ORA-01565: error in identifying file 'C:\oraclexe\app\oracle\product\11.2.0\server\dbs/spfileXE.ora'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) Das System kann die angegebene Datei nicht finden.
    --> bingo, 1st Issue: there is no spfileXE.ora, how can I create this? plus in the dbs-folder there is only a init.ora and no initXE.ora?
    Looked into the log-Folder 5 files starting with clscX.txt (probably after every systemreboot? containing the following:
    Oracle Database 11g Clusterware Release 11.2.0.2.0 - Production Copyright 1996, 2010 Oracle. All rights reserved.
    2014-11-04 13:53:52.197: [ default][5576]ut_read_reg:2:ocr registry key SOFTWARE\Oracle\olr cannot be opened. error 2
    [    CLSE][5576]clse_get_crs_home: Error retrieving OLR configuration [0] [Error opening olr registry key. The system couldn't find the file.
    -> Systemlanguage is german, so I've translated the german parts, maybe there was smth lost in translation
    --> 2nd Issue: Is there any regkey missing?
    further I watched the folder ORACLE_HOME /server/config/home cloesly:
    cloneDBCreation:
    SQL> Create controlfile reuse set database "XE"
      2  MAXINSTANCES 8
      3  MAXLOGHISTORY 1
      4  MAXLOGFILES 16
      5  MAXLOGMEMBERS 3
      6  MAXDATAFILES 100
      7  Datafile
      8  'C:\oraclexe\app\oracle\oradata\XE\system.dbf',
      9  'C:\oraclexe\app\oracle\oradata\XE\undotbs1.dbf',
    10  'C:\oraclexe\app\oracle\oradata\XE\sysaux.dbf',
    11  'C:\oraclexe\app\oracle\oradata\XE\users.dbf'
    12  LOGFILE
    13  GROUP 1 SIZE 51200K,
    14  GROUP 2 SIZE 51200K,
    15  RESETLOGS;
    SP2-0640: Not connected
    SQL> exec dbms_backup_restore.zerodbid(0);
    SP2-0640: Not connected
    SP2-0641: "EXECUTE" requires connection to server
    SQL> shutdown immediate;
    ORA-01012: not logged on
    SQL> startup nomount pfile="C:\oraclexe\app\oracle\product\11.2.0\server\config\scripts\initXETemp.ora";
    ORA-01031: insufficient privileges
    CloneRmanRestore:
    SQL> startup nomount pfile="C:\oraclexe\app\oracle\product\11.2.0\server\config\scripts\init.ora";
    ORA-01031: insufficient privileges
    SQL> @C:\oraclexe\app\oracle\product\11.2.0\server\config\scripts\rmanRestoreDatafiles.sql;
    SQL> set echo off;
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    ERROR:
    ORA-01031: insufficient privileges
    SQL> spool C:\oraclexe\app\oracle\product\11.2.0\server\config\log\cloneDBCreation.log
    PostDBCreation:
    QL> connect "SYS"/"********" as SYSDBA
    ERROR:
    ORA-01031: insufficient privileges
    SQL> set echo on
    SQL> //create or replace directory DB_BACKUPS as 'C:\oraclexe\app\oracle\fast_recovery_area';
    SP2-0103: Nothing in SQL buffer to run.
    SQL> begin
      2      dbms_xdb.sethttpport('8080');
      3      dbms_xdb.setftpport('0');
      4  end;
      5  /
    SP2-0640: Not connected
    SQL> create spfile='C:\oraclexe\app\oracle\product\11.2.0\server\dbs/spfileXE.ora' FROM pfile='C:\oraclexe\app\oracle\product\11.2.0\server\config\scripts\init.ora';
    SP2-0640: Not connected
    SQL> shutdown immediate;
    ORA-01012: not logged on
    SQL> connect "SYS"/"&&sysPassword" as SYSDBA
    ERROR:
    ORA-01031: insufficient privileges
    SQL> @C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\dbmssml.sql;
    SP2-0310: unable to open file "C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\dbmssml.sql"
    SQL> @C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\dbmsclr.plb;
    SQL> DROP PUBLIC DATABASE LINK DBMS_CLRDBLINK;
    SP2-0640: Not connected
    SQL> CREATE PUBLIC DATABASE LINK DBMS_CLRDBLINK USING 'ORACLR_CONNECTION_DATA';
    SP2-0640: Not connected
    SQL> CREATE OR REPLACE LIBRARY ORACLECLR_LIB wrapped
      2  a000000
      3  1
      4  abcd
      5  abcd
      6  abcd
      7  abcd
      8  abcd
      9  abcd
    10  abcd
    11  abcd
    12  abcd
    13  abcd
    14  abcd
    15  abcd
    16  abcd
    17  abcd
    18  abcd
    19  16
    20  51 8d
    21  L/XXXXXXXXXX...
    22  XXXXXXX...
    23 
    24  /
    SP2-0640: Not connected
    SQL> DROP TYPE DBMS_CLRParamTable;
    SP2-0640: Not connected
    SQL> DROP TYPE DBMS_CLRType;
    SP2-0640: Not connected
    SQL> CREATE OR REPLACE TYPE DBMS_CLRType wrapped
    XE :
    Instance created.
    So hopefully thats enough Information
    thank you in advance
    Dürsin Kurt

    OK guys I've found it out:
    Problem was, the XE.bat-Script couldn't add me to the ORA_DBA-Group.
    Reason: my Computername and my username, both had a vowel mutation "ü".
    Reason it didn't work at my business-laptop too, both have my "Ü" in the username
    solved!

  • Not able to create a database link using the database gateway of oracle 11g

    HI,
    While trying to create a database link to SQL server from Oracle ,using the database gateway provided with 11g, i am getting the following error while making use of it in selecting columns from tables :
    Error starting at line 1 in command:
    select * from test1@dblink
    Error at Command Line:1 Column:20
    Error report:
    SQL Error: ORA-28513: internal error in heterogeneous remote agent
    ORA-02063: preceding line from DBLINK
    These are the steps i have followed for setting up:
    1.Ran the set up for the Database gateway.and mentioned the SQL server name and database .ALos set up a listener.
    2. Added the following in the Listener.ora of Oraclehome 11/NETWORK/ADMIN:
    LISTENER_SQL_FCD =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST =localhost) (PORT = 1541)
    SID_LIST_LISTENER_SQL_FCD =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME=dg4msql)
    (ORACLE_HOME= D:\app\20537\product\11.1.0\db_3)
    (PROGRAM=dg4msql)
    3.Added the following in tnsnames.ora inOracle home/NETWORK/ADMIN:
    dg4msql=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1541))
    (CONNECT_DATA=(SID=dg4msql))
    (HS=OK)
    4. Following is the entry in initdg4msql.ora in C:\product\11.1.0\tg_5\dg4msql\admin:
    HS_FDS_CONNECT_INFO=10.148.45.242:1433//SalesDemo
    HS_FDS_TRACE_LEVEL=DEBUG
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    5. Created the database link :
    create database link dblink
    connect to "sa" identified by "<pswd>"
    using 'dg4msql'
    On running :select * from test1@dblink i get the following error:
    Error starting at line 1 in command:
    select * from test1@dblink
    Error at Command Line:1 Column:20
    Error report:
    SQL Error: ORA-28513: internal error in heterogeneous remote agent
    ORA-02063: preceding line from DBLINK
    Is there any issue with the set or definition that I get the above error?

    What is the version of the Oracle database in which you have specified/and use the database link?
    If it is for example 10.2.0.3.0 you need to apply the mandatory patch for RDBMS bug 5965763 first before being able to use an 11g gateway. Have a look at MetaLink note 457808.1 for details about this patch.
    Regards,
    Ed

Maybe you are looking for