ORA-01041

I get the following error when my application accesses the database. ORA-01041
ORA-01041 internal error. HOSTDEF extension does not exist
Cause: The pointer to the HOSTDEF extension in HOSTDEF is null
How do i rectify this error. Any help would be appreciated. Thanks in advance.
Vidya

Hi,
did you got answer for your question? I am facing same for Oracle 8.1.5.0. Pls let me know if you have answer for it.
Thanx
Naren Vora
I get the following error when my application accesses the database. ORA-01041
ORA-01041 internal error. HOSTDEF extension does not exist
Cause: The pointer to the HOSTDEF extension in HOSTDEF is null
How do i rectify this error. Any help would be appreciated. Thanks in advance.
Vidya

Similar Messages

  • ORA-01041 Error while query in PL/SQl Developer

    Hi All,
    I am trying to execute a simple select statement in PL/SQL developer. After the query gets executed i am getting a error
    ORA-01041 internal error. hostdef extension doesn`t exist.
    But when i perform the same query in sqlplus, i do not receive this kinda error.
    Does any 1 have a idea on this error?
    Regards,
    Ritesh Khuller

    PL/SQL Developer is a third-party tool and not from oracle.
    maybe you have better chances in the rdbms-forum where they know more about hostdef's
    PL/SQL
    General Database Discussions

  • ERROR: ORA-01041: internal error. hostdef extension does not exist

    Hi, I got the following error message when I tried to insert a row in table TBL_ORDER.
    ERROR:
    ORA-01041: internal error. hostdef extension does not exist
    INSERT into TBL_ORDER
    ERROR at line 1:
    ORA-03113: end-of-file on communication channel
    We have Oracle version 8.1.5.o.2 and Linux version 6.1.
    Following are the tables, triggers, loadjava definition and source programs:
    TBL_ORDER
    1 ORDER_MEMBER_FIRM_ID VARCHAR2(4)
    2 ORDER_CLIENT_ID VARCHAR2(4)
    3 ORDER_BRANCH VARCHAR2(3)
    4 ORDER_SEQUENCE VARCHAR2(4)
    5 ORDER_EXCHANGE_ID VARCHAR2(3)
    6 ORDER_EXCHANGE_SEQUENCE VARCHAR2(7)
    7 ORDER_CREATE_DATE DATE
    8 ORDER_TYPE VARCHAR2(2)
    9 ORDER_STATUS VARCHAR2(1)
    10 ORDER_SYMBOL VARCHAR2(5)
    11 ORDER_SUFFIX VARCHAR2(14)
    12 ORDER_SIDE VARCHAR2(5)
    13 ORDER_PRICE VARCHAR2(20)
    14 ORDER_STOP_PRICE VARCHAR2(20)
    15 ORDER_PRICE_QUAL VARCHAR2(10)
    16 ORDER_QUANTITY VARCHAR2(6)
    17 ORDER_TIF VARCHAR2(4)
    18 ORDER_AON VARCHAR2(4)
    19 ORDER_DNR VARCHAR2(4)
    20 ORDER_CASH_NEXT_DAY VARCHAR2(4)
    21 ORDER_SELLER VARCHAR2(4)
    22 ORDER_ACCOUNT_TYPE VARCHAR2(4)
    23 ORDER_OS_TS VARCHAR2(4)
    24 ORDER_BOOTH_ID VARCHAR2(4)
    TBL_CMSOUT
    1 CMSOUT_MEMBER_FIRM_ID VARCHAR2(4)
    2 CMSOUT_CLIENT_ID VARCHAR2(4)
    3 CMSOUT_DATA VARCHAR2(120)
    trg_order.sql
    create or replace procedure OrderToCmsoutProc(cms_member_firm_id VARCHAR2,
    cms_client_id VARCHAR2,
    cms_branch VARCHAR2,
    cms_sequence VARCHAR2,
    cms_side VARCHAR2,
    cms_quantity VARCHAR2,
    cms_symbol VARCHAR2,
    cms_price VARCHAR2,
    cms_tif VARCHAR2,
    cms_type VARCHAR2)
    AUTHID CURRENT_USER
    as language java
    name 'OrderToCmsout.test(java.lang.String,
    java.lang.String,
    java.lang.String,
    java.lang.String,
    java.lang.String,
    java.lang.String,
    java.lang.String,
    java.lang.String,
    java.lang.String,
    java.lang.String)';
    show errors;
    create or replace trigger trg_order
    after insert on TBL_ORDER
    for each row
    CALL OrderToCmsoutProc (:new.order_member_firm_id,
    :new.order_client_id,
    :new.order_branch,
    :new.order_sequence,
    :new.order_side,
    :new.order_quantity,
    :new.order_symbol,
    :new.order_price,
    :new.order_tif,
    :new.order_type)
    commit;
    show errors;
    exit;
    trg_cmsout.sql
    create or replace procedure PackCmsoutSidProc(pck_member_firm_id VARCHAR2,
    pck_client_id VARCHAR2,
    pck_data VARCHAR2)
    AUTHID CURRENT_USER
    as language java
    name 'PackCmsoutSid.test(java.lang.String,
    java.lang.String,
    java.lang.String)';
    show errors;
    create or replace trigger trg_cmsout
    after insert on TBL_CMSOUT
    for each row
    CALL PackCmsoutSidProc (:new.cmsout_member_firm_id,
    :new.cmsout_client_id,
    :new.cmsout_data)
    commit;
    show errors;
    exit;
    loadORDERjava
    loadjava -r -f -o -user userid/pswd OrderToCmsout.java
    loadCMSOUTjava
    loadjava -r -f -o -user userid/pswd PackCmsoutSid.java
    OrderToCmsout.java
    import java.sql.*;
    import java.lang.*;
    import java.io.*;
    import oracle.jdbc.driver.*;
    public class OrderToCmsout {
    public static void main(String args[]) {
    try {
    test (args[0],args[1],args[2],args[3],args[4],
    args[5],args[6],args[7],args[8],args[9]);
    catch (Exception e) {
    System.err.println(e);
    } //catch
    } // end main
    public static void test ( String parm_member_firm_id,
    String parm_client_id,
    String parm_branch,
    String parm_sequence,
    String parm_side,
    String parm_quantity,
    String parm_symbol,
    String parm_price,
    String parm_tif,
    String parm_type)
    throws SQLException
    Connection conn = new OracleDriver().defaultConnection();
    PreparedStatement stmt2;
    try {
    stmt2= conn.prepareStatement
    ("INSERT INTO TBL_CMSOUT VALUES (?, ?, ?)");
    String datastring = parm_member_firm_id + "\\~" +
    parm_branch + " " +
    parm_sequence + "\\~" + "\\~" +
    parm_side + "\\~" +
    parm_quantity + " " +
    parm_symbol + " " +
    parm_price + "\\~" +
    parm_tif + " " +
    parm_type + "\\~";
    stmt2.setString(1, parm_member_firm_id);
    stmt2.setString(2, parm_client_id);
    stmt2.setString(3, datastring);
    stmt2.executeUpdate();
    stmt2.close();
    return;
    } //try
    catch (Exception e) {
    System.err.println(e);
    } //catch
    PackCmsoutSid.java
    import java.sql.*;
    import java.lang.*;
    import java.io.*;
    import oracle.jdbc.driver.*;
    public class PackCmsoutSid {
    public static void main(String args[]) {
    try { test(args[0],args[1],args[2]);
    catch (Exception e) {
    System.err.println(e);
    } //catch
    } // end main
    public static void test( String parm_member_firm_id,
    String parm_client_id,
    String parm_data)
    throws SQLException
    try {
    Connection conn = new OracleDriver().defaultConnection();
    PreparedStatement stmt1 = conn.prepareStatement
    ("SELECT sid_session_id " +
    "FROM tbl_sid " +
    "WHERE sid_member_firm_id = ? and " +
    "sid_client_id = ?");
    stmt1.setString(1, parm_member_firm_id);
    stmt1.setString(2, parm_client_id);
    ResultSet rs1 = stmt1.executeQuery();
    while (rs1.next ()) {
    String session_id_found = rs1.getString
    ("sid_session_id");
    CallableStatement pack_pipe = conn.prepareCall
    ("{call DBMS_PIPE.PACK_MESSAGE(?)}");
    pack_pipe.setString(1, parm_data);
    pack_pipe.execute();
    CallableStatement send_pipe = conn.prepareCall
    ("{? = call DBMS_PIPE.SEND_MESSAGE(?)}");
    send_pipe.registerOutParameter
    (1, java.sql.Types.INTEGER);
    send_pipe.setString (2, session_id_found);
    send_pipe.execute();
    } //while
    stmt1.close();
    conn.close();
    } //try
    catch (Exception e) {
    System.err.println(e);
    } //catch
    } //test
    } //PackCmsoutSid
    Thanks in advance for your help
    Vinicio

    you should post this question on the Application Server forum.
    --Olaf                                                                                                                                                                                       

  • Export failed, ORA-03113 and ORA-01041

    Hello,
    I'm trying to do a full export of my DB,I have installed Oracle 9i dataserver(configured in shared mode) on Windows 2k, and the following error appears me:
    . exportando acciones y objetos de procedimiento pre-esquema
    EXP-00008: se ha encontrado un error 3113 de ORACLE
    ORA-03113: fin de archivo en el canal de comunicación
    EXP-00008: se ha encontrado un error 1041 de ORACLE
    ORA-01041: error interno. No existe la extensión hostdef
    EXP-00000: La exportación no ha terminado correctamente
    I don't understand it, because I have 2 other DB instances created in the same data server and their exportation have finished correctly.
    Any idea?¿
    Thanks a lot,
    Mabel

    Hi,
    Here is the error description for error 1041:01041, 00000, "internal error. hostdef extension doesn't exist"
    // *Cause: Pointer to hstdef extension in hstdef is null.
    // *Action: Report as a bugAction is to report as a bug. you should open an iTar on Metalink.
    Regards,
    Yoann.

  • ORA-03113 and ORA-01041 errors

    One of our customer is getting intermittent errors in the XA log.
    ORACLE XA: Version 8.0.5.0.0. RM name = 'Oracle_XA'.
    095809.6179..0:
    ORA-03113: end-of-file on communication channel
    095820.6179..0:
    ORA-01041: internal error. hostdef extension doesn't exist
    What could possible be wrong ?
    null

    Rajesh Mahajan (guest) wrote:
    : One of our customer is getting intermittent errors in the XA
    log.
    : ORACLE XA: Version 8.0.5.0.0. RM name = 'Oracle_XA'.
    : 095809.6179..0:
    : ORA-03113: end-of-file on communication channel
    : 095820.6179..0:
    : ORA-01041: internal error. hostdef extension doesn't exist
    : What could possible be wrong ?
    Hi Rajesh , in my opinion you lost the communication with your
    server . The server could be shutdown an restart again while
    your aplication is running or waiting for any execution. With
    Oracle Forms this happen an the forms loose the conection with
    the server , but seems that this aplication was already running.
    You only get close the forms , in NT , with the Task Manager
    and End the Task . In the Sql Plus ocuurs the same but you can
    close the section or make another conection with your database.
    I hope help you ,
    Regards
    Lourival
    null

  • ORA-01041: internal error. hostdef extension doesn't exist

    hi all,
    i am presently working on logical standby database
    but i am facing a problem from primary database
    " select * from V$ARCHIVE_DEST"
    LOG_ARCHIVE_DEST_1 valid
    LOG_ARCHIVE_DEST_2 ERROR ORA-01041: internal error. hostdef extension doesn't exist
    at present database not synchronizing
    please help
    in alert.log file at primary
    ARC9: Attempting destination LOG_ARCHIVE_DEST_2 network reconnect (1041)
    ARC9: Destination LOG_ARCHIVE_DEST_2 network reconnect abandoned
    PING[ARC9]: Error 1041 when pinging standby 'standby server'.
    Standby database is in running mode & well connected with network
    Vaibhav
    Edited by: Vaibhav Dixit on Oct 20, 2011 4:43 PM
    Edited by: Vaibhav Dixit on Oct 20, 2011 4:43 PM

    okkk
    thanks for reply
    i m also getting some problem in standby database in just 2-3 days
    error is ->
    ORA-03135: connection lost contact
    LOG_ARCHIVE_DEST_2 ERROR ORA-01041: internal error. hostdef extension doesn't exist
    then
    i have passed some command on primary db & now it's working but i don't know it's good for db or not
    ALTER SYSTEM SET log_archive_dest_state_2=’DEFER’ SCOPE=BOTH;
    ALTER SYSTEM SET log_archive_dest_state_2=’ENABLE’ SCOPE=BOTH;
    please give a idea to resolve this problem
    regards
    Vaibhav

  • ORA-01041: internal error. hostdef doesn't exist

    Linux Advanced Server + Oracle 9.2.0.1.0
    Trying to sqlplus
    conn / as sysdba
    Error
    ORA-01041: internal error. hostdef doesn't exist
    What does it mean ? what I should do to be able to connect to the database.
    TNSNAMES.ora seems fine
    Linstener is up and running
    Any ideas? Thanks

    you might be installing the Softawre across the network and
    after some time your connection get disconnected.
    or you checkout the resouresc if you are doing in the server
    putting cd on the server.

  • ORA-01041 hostdef extension doesnt exist during Oracle 9.0.1.1.1 install

    Installing Oracle 9.0.1.1.1 with all default values on Windows 2000 Server SP2 gets the following errors during "Creating and Starting Oracle instance" in the Database Configuration Assistant:
    ORA-01041 internal error: hostdef extension doesn't exist
    ORA-24324 service handle not initialized
    These errors are displayed numerous times. When the Assistant finally exits, the install finishes and reports everything was successfully installed. I cannot, however, connect with SQL plus as I get "ORA-03113 end of file on cummunication channel" errors.
    I suppose the original problem reported "hostdef extension doesn't exist" is the main issue here. How do I rectify this situation?
    Thanks for your help,
    Joe

    Hmm. I resolved the problem nonetheless. (I don't know how to "fix" a package spec.)
    What I did: in a previous reply to someone else's question I found the solution. Don't ask me why it works nor why it is this way, because I don't know, but at least it now works.
    ANSWER: Remove the Windows 2000 server from the Windows domain.
    That's it. (Even logging in locally does not solve the problem if the server is still in the domain.) Then I reran the Database Configuration Assistant (which lo and behold ran successfully), and was able to connect from the server to itself via SQLPlus as well as from other clients with no more "ORA-03113 end of file on communication channel" errors.
    I know this is not elegant, but I don't have the time to make Oracle work the way it is supposed to. I just need a DB installed so I can do my real work. Hopefully in a soon to be released version this will be corrected so a server on the Windows domain can install and run Oracle.
    Joe
    I had exactly the same problem today morning with a 8.1.7 DB. The cause was that a function was defined twice in a package spec...
    Installing Oracle 9.0.1.1.1 with all default values on Windows 2000 Server SP2 gets the following errors during "Creating and Starting Oracle instance" in the Database Configuration Assistant:
    ORA-01041 internal error: hostdef extension doesn't exist
    ORA-24324 service handle not initialized
    These errors are displayed numerous times. When the Assistant finally exits, the install finishes and reports everything was successfully installed. I cannot, however, connect with SQL plus as I get "ORA-03113 end of file on cummunication channel" errors.
    I suppose the original problem reported "hostdef extension doesn't exist" is the main issue here. How do I rectify this situation?
    Thanks for your help,
    Joe

  • ORA-01041 error when duplicating database to new host

    I'm using RHEL 5 with Oracle 11g and I'm testing data guard.
    I am trying to setup data guard by following this link:
    http://www.databasejournal.com/features/oracle/article.php/3816751/Oracle-11g-Data-Guard-Building-a-Physical-Standby-Database.htm
    I use the following command:
    [oracle@linux-test ~]$ rman target sys/oracle auxiliary sys/oracle@stdby
    Recovery Manager: Release 11.1.0.6.0 - Production on Tue Oct 6 11:54:47 2009
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    connected to target database: ORCL (DBID=1227314034)
    connected to auxiliary database: STDBY (not mounted)
    RMAN> RUN {
    ALLOCATE CHANNEL d1 TYPE DISK;
    ALLOCATE CHANNEL d2 TYPE DISK;
    ALLOCATE AUXILIARY CHANNEL cnv1 TYPE DISK;
    ALLOCATE AUXILIARY CHANNEL cnv2 TYPE DISK;
    DUPLICATE TARGET DATABASE
    FOR STANDBY
    FROM ACTIVE DATABASE
    DORECOVER
    SPFILE
    SET db_unique_name='stdby'
    SET control_files='/home/u01/app/oracle/oradata/orcl/control01.ctl'
    SET log_file_name_convert='/home/u01/app/oracle/oradata/orcl/','/home/u01/app/oracle/oradata/stdby/'
    SET log_archive_dest_1='location=/home/u01/app/oracle/flash_recovery_area/STDBY/ valid_for=(ALL_LOGFILES,ALL_ROLES) db_unique_name=stdby'
    SET log_archive_dest_2='service=orcl ASYNC valid_for=(ONLINE_LOGFILE,PRIMARY_ROLE) db_unique_name=orcl'
    SET fal_client='stdby'
    SET fal_server='orcl'
    SET standby_file_management='AUTO'
    SET log_archive_config='dg_config=(orcl,stdby)'
    NOFILENAMECHECK;
    When it's starting datafile copy, I get this error:
    channel d1: starting datafile copy
    input datafile file number=00001 name=/home/u01/app/oracle/oradata/orcl/system01.dbf
    channel d2: starting datafile copy
    input datafile file number=00002 name=/home/u01/app/oracle/oradata/orcl/sysaux01.dbf
    RMAN-03009: failure of backup command on d1 channel at 10/06/2009 11:56:41
    ORA-19558: error de-allocating device
    ORA-19557: device error, device type: DISK, device name:
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-03113: end-of-file on communication channel
    channel d1 disabled, job failed on it will be run on another channel
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 10/06/2009 11:56:54
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on d2 channel at 10/06/2009 11:56:54
    ORA-19558: error de-allocating device
    ORA-19557: device error, device type: DISK, device name:
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-03113: end-of-file on communication channel
    I have googled it but I still have no solution yet.
    Any idea please?
    Sarith

    Use a 'Try and Error' strategy, remove the manual channel allocations from the script, these are not mandatory. Let RMAN automatically allocate channels.
    Werner

  • ORA-01041 HOSTDEF ERROR

    Dear Friends,
    In my workspace we have a application which is running on Forms 6 & backend oracle database is 9.2.0.1.0. My database was running fine till yesterday but then all of a sudden i have started getting this error of ORA-01041 HOST DEF. All clients get this error after 4-5 mins of starting their session. If connected on SQL, I get the error of ORA-03113 EOF Comm. Error after 4-5 mins of connection. I have checked the alert log file and user dump files but I have not seen any anomaly in these. The database is running perfectly well, the export/import runs fine. If I login as sysdba on the server, then I do not face any problem. I'm facing the problem only at the clients.
    Any clues?

    Additionally:
    1). upgrade your 9.2 from the base release to the latest patchset.
    2). confirm the compatibility of 9.2 with Forms 6?
    3). contact Oracle support.
    01041, 00000, "internal error. hostdef extension doesn't exist"
    // *Cause: Pointer to hstdef extension in hstdef is null.
    // *Action: Report as a bug

  • Oracle error ORA-01041 -

    Hi all,
    I am not well versed in oracle, facing problem in starting oracle instance in restricted mode. I have used the following command to start database instance in restricted mode *"startup restrict"*, but getting the following errors.
    C:\>sqlplus /nolog+
    SQLPlus: Release 11.2.0.1.0 Production on Tue Mar 20 18:49:05 2012*+
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.+
    SQL> connect system/firewall@smpstore as sysdba+
    ERROR:+
    ORA-12154: TNS:could not resolve the connect identifier specified+
    SQL> connect system/firewall@smpsstore as sysdba+
    Connected.+
    SQL> shutdown immediate+
    Database closed.+
    Database dismounted.+
    ORACLE instance shut down.+
    SQL> startup restrict+
    ORA-12514: TNS:listener does not currently know of service requested in connect+
    descriptor+
    SQL> startup restrict+
    ORA-24324: service handle not initialized+
    ORA-01041: internal error. hostdef extension doesn't exist+
    SQL>+
    Please help me out in solving this problem.
    Thanks
    kasi
    Edited by: Kasi Viswanath Modali on Mar 20, 2012 6:34 AM

    >
    SQL> connect system/firewall@smpstore as sysdba+
    ERROR:+
    ORA-12154: TNS:could not resolve the connect identifier specified+Here smpstore
    SQL> connect system/firewall@smpsstore as sysdba+But here - smp<font color=red>s</font>store
    Check your ORACLE_SID

  • ORA-01041: internal error. hostdef

    Hi
    I install oracle 9i
    I selected the options to install
    the Enterprise version with a General Purpose started database.
    The installation went through smoothly until it reached the final step of using
    the Oracle Database Configuration Assistant. The following are the 4 steps for
    this phase :
    1. Copying database files
    2. Initializing database
    3. Creating and Staring Oracle instance
    4. Completing Database Creation
    The installation completed the first 2 steps successfully. During the 3rd step, it
    gives the error message :
    ORA-01041: internal error. hostdef extension doesn't exist
    Any ideas on what could be causing this ?
    what should i do to resolve this error?
    Thanks

    From Oracle documentation
    "ORA-01041 internal error. hostdef extension doesn't exist
    Cause: Pointer to HSTDEF extension in HSTDEF is null.
    Action: Contact Oracle Support Services."

  • ORA-01041: internal error. hostdef extension doesn't

    Hi,
    I am getting the followin error message when i am trying to run a sql script.
    select
    ERROR at line 1:
    ORA-01041: internal error. hostdef extension doesn't exist
    Pls let me know the remedy
    Thanks

    Hi !
    I try to create database by Database Configuration Assistant in "windows 2000 advance server, ORACLE9i". Process in 12% that error appear.
    when i Ignore this error the ORA-240324: Service handle not initialized appearance
    Please Help me to fix that error !

  • ORA-01041: internal error. hostdef extension doesn't exist  in forms 10g

    While Compiling the forms 10g I'm getting this error, pls help me on this problem.

    Check this link... ORA-01041: internal error. Hostdef extension doesn't exist
    hope this helps

  • Can not bring the db up ORA-24324 ORA-01041

    Hi,
    I have shutdown immediate 9.2.0.3.0 database using oracle enterprise manager; and after the shutdown was running i was not able to use it any more, so when i used sqlplus it is giving me the below erorrs when i try to startup / shutdown again:
    SQL> startup
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    SQL> shutdown
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    what shall we do?
    Thanks in advance

    Your sqlplus path is not set properly. Include ORACLE_HOME/bin in your environment PATH variable and try.

Maybe you are looking for