Connect to the database using the BEAK

Hello

I get the following error message when you use the function OCILogon() calls
i.e.
= OCILogon stat (p_env, p_err, & p_svcCtx, (const OraText *) username, (ub4) 3,)
(Const OraText *) password, (ub4) 3,.
(const OraText *) ('smad', (ub4) 4);

ORA-0002: Message not found 2; product = RDBMS. facility = ORA

I use the Oracle 11 GR 1 material on SLES 10 SP2 on the 64-bit computer.

I connect to a database and a default host. Do I need to use OCIServerAttach()? Help, please

THX

Message not found error is usually incorrect Oracle home settings. Have you checked this already?

Tags: Database

Similar Questions

  • Is it possible that muse adobe to have a Back-End that connects to a database using MySQL, SQL, Access etc...

    Is it possible that muse adobe to have a Back-End that connects to a database using MySQL, SQL, Access etc...

    Nothing to do with the Muse at all. You have things backwards. If you use a dynamic interface, you work in the API hooks and predefined functions and that he don't just slap on an arbitrary HTML façade. It is simply not how it works.

    Mylenium

  • Impossible to connect to my database using net service name

    Hello all;

    I'm trying to connect my database using net service_name, but I get the error message.
    I have an entry in tnsnames.ora and listener.ora.
    Please, help me to crack this error.



    SQL > select name from v$ database;

    NAME

    ORCLTEST


    SQL > grant connect, resource to u1 identified by u1;
    Grant succeeded.

    SQL > grant sysdba to u1;
    Grant succeeded.

    SQL > show the passage of parameter;

    VALUE OF TYPE NAME
    Remote_login_passwordfile string EXCLUSIVE

    SQL > shutdown immediate;
    The database is closed.
    The database is dismounted.
    ORACLE instance stops.


    The DBS directory:

    [oracle@linuxserver dbs] $ orapwd file = orapworcltest password = entries asdf1234 = 3


    export ORACLE_SID = orcltest
    [oracle@linuxserver ~] $ sqlplus/nolog

    SQL * more: Release 10.2.0.1.0 - Production on Sat Mar 9 19:24:22 2013

    Copyright (c) 1982, 2005, Oracle. All rights reserved.

    ERROR when you try to connect

    SQL > conn u1/u1@ORCLMYTEST
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux error: 2: no such file or directory


    SQL > conn u1/asdf1234@ORCLMYTEST
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux error: 2: no such file or directory


    Thanks in advance...

    969352 wrote:

    But you should go and get some classes on Oracle OR understand the Oracle documentation otherwise, you won't learn anything ever.

    -Yes. I learn and I work very hard. Few things is not documented ex (even this thread).

    In any case thanks...

    IMO, it's a security risk to allow the connection AS SYSDBA through the network & I never turn on any DB.

  • Is there a simple example, I can see how to connect to a database using actionscript and Flash 8? (not with components)

    I've looked everywhere for a simple example "hello world", on how to connect to a database, pass a parameter and returns a dataset object. I'd like one that uses no components. (Actionscript only). Who uses ColdFusion 7.x and Flash 8. Can someone point me to one?

    Thanks Craig, I noticed the example, but it was meant for Flash MX, and Flash 8 documentation, the NetServices is now obsolete. Anyway, I posted my question on another site and some provided me with a simple example. Here is the url if anyone is interested... sample

  • How can I connect to my database externally from another pc on the network?

    Hi all

    I just install 12 c on my Oracle Linux box and I am able to connect locally to the database, as intended. Now, what would be the first step to connect to my external database from another computer on the network. By example, if the database server is 10.0.0.150 and I want to connect to 10.0.0.151 how can I make this happen? If necessary here are a few references:

    -bash-4, $ 2 cat listener.ora

    listener.ora # Network Configuration file: /ora01/app/oracle/product/12.1.0/db_1/network/admin/listener.ora

    # Generated by Oracle configuration tools.

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = oranode1.dba.com) (PORT = 1521))

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    )

    )

    -bash-4, $ 2 cat tnsnames.ora

    tnsnames.ora # Network Configuration file: /ora01/app/oracle/product/12.1.0/db_1/network/admin/tnsnames.ora

    # Generated by Oracle configuration tools.

    ANTHONYDB =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = oranode1.dba.com) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = anthonydb)

    )

    )

    -bash-4, $ 2 cat/etc/hosts

    127.0.0.1 oranode1 oranode1.dba.com localhost4 localhost4.localdomain4

    : 1 localhost localhost.localdomain localhost6 localhost6.localdomain6

    10.0.0.150 oranode1.dba.com oranode1

    Let me know if you need any information. Currently, I am not able to connect to my database using the IP and port (10.0.0.150, 1521) of my 10.0.0.151 pc. Thank you all for your help in advance.

    Hello EdStevens,

    I tried to use the SID with SID = anthonydb and I got the same error message. I believe that we must resolve before listener troubleshoot us this error...  If we look at the file of the listener:

    [oracle@oranode1 admin] $ cat listener.ora

    listener.ora # Network Configuration file: /ora01/app/oracle/product/12.1.0/db_1/network/admin/listener.ora

    # Generated by Oracle configuration tools.

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = oranode1.dba.com) (PORT = 1521))

    )

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.0.0.150)(PORT = 1521))

    )

    )

    ADR_BASE_LISTENER = / ora01/app/oracle

    I have two entries, and I think that I should remove the last entry:

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.0.0.150)(PORT = 1521))

    )

    I created a backup of the file listener and I'm going to give it a shot.

  • unble to connect to the database target by rman

    Hello

    Oracle Version: 10.2.0.1
    Operating system: Windows Xp

    I earlier to create a database and attempts to connect to this database using rman to a different database, but it throws errors. Please help me
    C:\Documents and Settings\poornaprasads>rman catalog rman/rman target sys@PRODDB
    
    Recovery Manager: Release 10.2.0.1.0 - Production on Fri Oct 30 15:35:23 2009
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    target database Password:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04005: error from target database:
    ORA-03135: connection lost contact
    
    C:\Documents and Settings\poornaprasads>tnsping PRODDB
    
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 30-OCT-2009 15:35:33
    
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    
    Used parameter files:
    E:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
    
    
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS= (PROTOCOL=TCP) (HOST=192.168.2.85) (PORT=1521)) (CONNECT_DATA= (SERVER=dedicated) (SERVICE_NAME=PRODDB) (UR=A)))
    OK (10 msec)
    Published by: SIDDABATHUNI on October 30, 2009 03:11

    Hello

    Hust try this

    c:\>set oracle_sid = proddb
    c:\>RMAN
    RMAN > Connect sys@proddb nocatalog
    password:

    It needs to connect...

    OrElse, the problem is with your Oracle S? F you have installed recently... Try another copy... This copy may miss the package RMAN... Check the Setup log. If all packages are installed or not.

    Kind regards
    Deepak

  • Unable to connect local database using net service name

    Hello all;


    FYI: This question has been posted in high availability. Now, it has been deleted from there.


    I'm trying to connect my local database using authentication remote.

    but make a mistake. Client & server are on the same server.


    SQL > conn u1/u1@primdb

    ERROR: ORA-12545: Connect failed because target host or object does not exist


    SQL > conn / as sysdba

    Connected.


    SQL > show parameter db_name;

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    db_name chain primary


    SQL > show parameter service_name.

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    service name string mydb


    SQL > show parameter db_domain;

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    db_domain string primary.com


    SQL > show parameter global_name;

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    global_names boolean FALSE


    SQL > select * from global_name;

    GLOBAL_NAME

    --------------------------------------------------------------------------------

    PRIMARY

    [oracle@localhost admin] $ lsnrctl start

    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on January 18, 2014 16:32:08

    Copyright (c) 1991, 2005, Oracle.  All rights reserved.

    From /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr: Please wait...

    TNSLSNR for Linux: Version 10.2.0.1.0 - Production

    System settings file is /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora

    Log messages written to /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log

    Error listening on: (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=oel5.linuxserver) (PORT = 1521)))

    TNS-12545: Connect failed because target host or object does not exist

    AMT-12560: TNS:protocol adapter error

    TNS-00515: Connect failed because target host or object does not exist

    Listening port could start. See the above error messages...


    -----------------------------------------------------------------------------------


    My listener.ora file content:

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (SID_NAME = primary)

    (ORACLE_HOME = u01/app/oracle/product/10.2.0/db_1)

    (GLOBAL_DBNAME = mydb.primary.com)

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = oel5.linuxserver) (PORT = 1521))

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC0))

    -----------------------------------------------------------------

    My tnsnames.ora content

    primdb =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP)(HOST= oel5.linuxserver) (PORT = 1521))

    )

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = mydb)

    )

    )

    --------------------------------

    $ tnsping primdb


    AMT Ping utility for Linux: Version 10.2.0.1.0 - Production on January 18, 2014 16:40:55

    Copyright (c) 1997, 2005, Oracle.  All rights reserved.

    Use settings files:

    TNSNAMES adapter used to resolve the alias

    Try to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = oel5.linuxserver)(PORT=1521))) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = mydb)))

    TNS-12545: Connect failed because target host or object does not exist

    Thanks in advance...


    SERVICE_NAME =? in tnsnames.ora file should MATCH what is reported by the listener EXACTLY (like one from below)

    > Service 'mydb.primary.com' has 1 instance (s).

    Instance of 'primary', State LOAN, has 1 operation for this service...

    Managers:

    "DEDICATED" set up: 0 denied: 0 status: ready

    LOCAL SERVER

    > Service 'primary.primary.com' has 1 instance (s).

    Instance of 'primary', State LOAN, has 1 operation for this service...

    Managers:

    "DEDICATED" set up: 0 denied: 0 status: ready

    LOCAL SERVER

    > Service 'primary_XPT.primary.com' has 1 instance (s).

  • The network card does not connect to the remote server

    My desktop computer has been recently updated to Windows 7 64 bit so I had to reinstall everything. Part of my job includes pulling data from two separate databases on a remote Oracle server. Previously with Windows 32 - bit Oracle SQL Developer worked after that I installed the Oracle Client and configured using Net Manager AMT settings. However now in SQL Developer, I get the following error message when you try to connect to databases using the same exact AMT settings.

    Error: "status: failed Test failed: the network adapter could not establish the connection.

    Versions:
    Windows 7 64 bit
    Oracle SQL Developer 3.2.2 (64-bit)
    Update to Java SE DK 6 43 (64-bit)
    Customer of Oracle 11 g R2 (64-bit)

    I've set up two databases under Naming Service in Oracle Net Manager. I used screenshots of my previous Net Manager settings to create the connections if everything is correct. Also, the two couplings to test successfully in the Net Manager. Contains the tnsnames.ora file

    PROD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = thor)(PORT = 1526))
    )
    (CONNECT_DATA =
    (SERVICE_NAME = PROD)
    )
    )

    DWHOUSE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = thor)(PORT = 1526))
    )
    (CONNECT_DATA =
    (SERVICE_NAME = DWHOUSE)
    )
    )


    In SQL Developer, I adapted the new connection settings exactly as before with a different screenshot of my connections to the previous developer. For example, I selected 'TNS' of the connection Type and selected "DWHOUSE" for network Alias. I even tried to put the chain of connection such as the login, but everything I've tried has made the mistake of connection.

    I followed some of the suggestions in other threads, but everything seemed to work, as I was able to connect to two databases using SQL more. Also, 'tnsping prod' both 'tnsping dwhouse' resulted in an OK. Same ODBC using the Oracle driver works to connect to these databases.

    I thought installing the JDK, Oracle Client, and SQL Developer as well as my screenshots would be an easy process and without hassle to connect to these databases. I'm doing something wrong? What else can I try?

    Of course, the point marking in your recent post concerns the former developer SQL install connection very well during execution by the G-drive.

    Although I'm not sure of the exact rules, I noticed that when the Oracle client resides on drive C, but the SQL Developer install is elsewhere, captures some files in its installation rather than from the Oracle SQL Developer client directory. An example is the ojdbc6.jar file. So you could also try installing SQL Developer 3.2 on another drive (internal or external non-disque C) and see if it works.

    -Gary

  • Connect to the Oracle database fails when you use Microsoft ODBC or OLE DB Driver

    There was a problem when you apply the KB3126587 hotfix where connections to an Oracle database using the Microsoft ODBC driver fails if run from automated processes. Running the same process manually would succeed. The update issued KB3147071 solved the problem successfully.

    Yesterday, several patched have been applied and the problem came back. The patches are: KB2862152, KB2868626, KB3163244, KB3168965, KB3170455, KB3163251.

    I saw yet no acknowledgement or difficulty of Microsoft. I prefer not to uninstall security patches, but it is a problem of production.

    Any ideas what specific patch maybe breaking it again?

    Thank you

    Josh

    Server: Windows 2008 R2

    Hello

    Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

    See you soon.

  • RCU error: unable to connect to the database using the contact information provided

    Hello

    I am not able to connect to the database using the remote control 11.1.1.10.1 to create patterns. I ran the UCR even a week ago and I managed to connect. My database and listener are up and running and the host and the credentials are correct. I don't know where is the problem. Any help will be appreciated. Attaching the screenshot for reference.

    rcu.PNG

    Concerning

    Oumaima

    Hi Handal

    Thanks for the reply. Looks like someone had blocked the firewall settings, so I was unable to connect to the database using the port.

    Thank you

    Oumaima

  • Connection to the database to Oracle using Oracle Apex 5.0.1

    Hi all

    Is it possible to connect to the Oracle (Oracle SQL Developer 4.1.1) database using Oracle Apex 5.0.1 instead of using the object browser. As he was more workspace after you have downloaded the data we have on CSV Excel.

    For example: regardless of the tables I've created in the Application Builder is created in the object browser. We have limited the workspace of 500 MB. This is the reason why we cannot use this method to load the data and retrieve it. (Note: can I ask 2 GB of space to work on the approval of the Director, who is still not sufficient)

    Is it possible that I will create an apex.oracle.com application by using the application builder and I will create in the database tables. When I load the file in application, data will be stored in the database Oracle instead of the object browser.

    Well let me know is possible, if yes, how can I proceed.

    If this isn't the case, please let me know how I can get more workspace.

    According to my understanding, other possibilities are: 1) taking backup of old files and free up space, 2) create another workspace and get extra work space.

    Thanks for your help!

    Kind regards

    Vinod

    Hello

    When you load data using APEX SQL Workshop utilities for example, the data is stored in your database tables.

    Object browser is just seen tool your schema as the table objects and the data in the tables, just as SQL Developer.

    If you have no good reason to keep these files that you downloaded in the workspace, delete those. Data is stored in database tables.

    Kind regards

    Jari

  • Not able to connect to the database using SQLPLUS.

    Hello

    in the connection to the oracle in linux machine using sqlplus utility database I got following error.

    does anyone have an idea about this error?

    [oracle@LOM-NEYTR-RHEL-NEW1 dbhome_1] $ sqlplus

    SQL * more: Production of release 11.2.0.1.0 game may 15 10:22:50 2014

    Copyright (c) 1982, 2009, Oracle.  All rights reserved.

    Enter the user name:

    Enter the password:

    ERROR:

    ORA-00604: an error has occurred at the SQL level 1 recursive

    ORA-01653: unable to extend the table SYS. AUD$ 8 in the SYSTEM tablespace

    ORA-02002: error writing to the audit trail

    ORA-00604: an error has occurred at the SQL level 1 recursive

    ORA-01653: unable to extend the table SYS. AUD$ 8 in the SYSTEM tablespace

    7144389e-3944-4D5C-830e-46539d2d9971 wrote:

    I found the temporary solution. You can go through the following link where I got the idea.

    Oracle: 11g automatically audit | Buffer-Blog

    So has what "temporary" solution applied?

    And especially, what is the permanent solution will you.

    The most common solution, which goes back at least to when I started with v7.3, is to move the aud$ table out of the SYSTEM tables.  And with 11g, there is even a new package for the management of the audit trail, including a method for moving the table.  See DBMS_AUDIT_MGMT

  • Connect to the database with SQL * more: is TNSNAMES. ORA used?

    Hello

    We have a local database called DEV01 and a copy of this database in a data center. To be able to connect to both databases, the TNSNAMES file. ORA

    on the local database server (not the one in the data center) has the following entries:

    / * Entry for the local database * /.

    DEV01_local, DEV01_local. WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = server01) (PORT = 1521))
    )
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SID = DEV01)
    )
    )

    / * Entry for the database in the data center * /.

    DEV01, DEV01. WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = server02) (PORT = 1521))
    )
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SID = DEV01)
    )
    )

    When I connect to the local database server, I set the Oracle environment as follows:

    export ORACLE_SID = DEV01

    export PATH=/opt/oracle/app/oracle/product/9.2.0/bin:$PATH

    export ORACLE_HOME=/opt/oracle/app/oracle/product/9.2.0

    Now I start SQL * more as follows:

    Oracle # > sqlplus user/user

    SQL > select instance_name, host_name from v$ instance;

    INSTANCE_NAME HOST_NAME

    ---------------- ----------------------------------------------------------------

    SERVER01 DEV01

    As the SID is on two databases of the same (DEV01) I really don't understand how Oracle decides which of the SQL databases * more connects to.

    Is it the entry in the TNSNAMES file. ORA?

    But when I start SQL * more as follows:

    Oracle # > sqlplus user/user@DEV01_local

    SQL > select instance_name, host_name from v$ instance;

    INSTANCE_NAME HOST_NAME

    ---------------- ----------------------------------------------------------------

    SERVER01 DEV01

    or

    Oracle # > sqlplus user/user@DEV01

    SQL > select instance_name, host_name from v$ instance;

    INSTANCE_NAME HOST_NAME

    ---------------- ----------------------------------------------------------------

    DEV01 server02

    everything is as expected.

    Does anyone know who is the chosen database when just to connect with 'sqlplus user/user' (without the @DEV01 or @DEV01_local)?

    Any help will be appreciated!

    Rgds

    Jan

    When you connect to the local database that is connected to the server01, you need only specify the sid in the environment, in this case, Oracle tnsnames file to connect, actually uses, it uses any of the listener.  It uses what is called a connection needed.  It is purely a side connection server, and as long as the sid is located in the environment resolves to a database running on that server, you will be get connected.

    When you connect using the @connect_descriptor, like you second case, then Oracle will use the configured naming, including tnsnames, methods to solve the 'real' database  In this case, the auditor is required to create the connection to the database.

    John

  • Connection to the remote database using Oracle 11 g Builder

    Hi all

    This could me stupid question, but I have installed Oracle Forms and reports 11g on Win 7 machine. I copied the file "tnsnames.ora' on the record ' ORACLE_HOME/Network/Admin". We use Oracle EBS R12 and I want to create a new report using 11 g.

    Using the report wizard after providing a simple query, we need to connect to the database. And even after the entry of TNS, I am getting error connecting to the database, following
    "REP-0501: the specified database can be connected.
    "ORA-12154: TNS: could not resolve the connect identifier specified.

    I am able to connect to the same database using the Report Builder (10.1.2.0). Is there another place where I need to set the TNS entry? How can I solve this error? Please guide...

    Kind regards
    Priyanka

    Hello

    In forms and reports 11g, default defined in tnsnames.ora is: ORACLE_INSTANCE\config.
    Please note that the ORACLE_INSTANCE is not the same as ORACLE_HOME.
    Example:
    ORACLE_HOME = D:\Oracle\Middleware\as_1
    ORACLE_INSTANCE = D:\Oracle\Middleware\instances\asinst_1

    If you set the admin TNS_ADMIN variable in the registry, you can point to a new location for tnsnames.ora

    Kind regards
    Alex

    If someone useful or appropriate please mark accordingly.

  • not able to connect to the database using the oracle instant client

    Hello

    I am not able to connect to the database using the instant oracle from my local PC client. They use to connect to the database files and sqlnet.ora files LDAP.ora. If I want to test the connection, I found this executable tns wasn't there, so not able to tnsping. So I'm not able to solve this problem.

    Please let me know if a solution for everything

    Client Oracle: oracle 10.2bFAT client 32-bit

    Platform: windows 7 64-bit

    Thank you
    Veera

    There is little that tnsping can do sqlplus can't.

    Instead of
    tnsping mydb.myorg.com
    Try
    sqlplus-s-L /@mydb.myorg.com
    or
    sqlplus-s-L user/[email protected]

    If you get
    ORA-12154: TNS: could not resolve the connect identifier specified
    you know that the customer could not resolve 'mydb.myorg.com '.

    If you get
    ORA-12541: TNS:no listener
    then "mydb.myorg.com" could be resolved, but there is no listener it running.

    If you get
    ORA-12514: TNS:listener is not currently of service requested in connect descriptor
    then "mydb.myorg.com" could be solved, the listener is in place, and the database is out of service.

    If you get
    ORA-01017: name of user and password invalid. connection refused
    you know that 'mydb.myorg.com' has been successfully resolved, and the database is running.

    If you want more details, such as how and what "mydb.myorg.com" is resolved, turn the tracking by adding the following to "sqlnet.ora:
    TRACE_LEVEL_CLIENT = ADMIN
    TRACE_DIRECTORY_CLIENT = C:\TEMP (a writable directory)

    Then you will find lines like this in the trace file:

    -THE INFORMATION SOURCE PARAMETER FOLLOWS-
    Attempt to load system pfile source C:\oracle\network\admin\sqlnet.ora
    Source of the setting successfully loaded

    Attempt to load the local pfile source C:\Dokumente und Einstellungen\lanadvall\sqlnet.ora
    The parameter source has not been loaded.

    This shows you which configuration files are read, followed by the settings real read.

    nnfgrne: will read if path adapters
    nnfgrne: switching adapter LDAP

    He's now looking for LDAP name resolution.

    nnfloidinfocache: Info: insert the value DIRECTORY_SERVSSL = oid.host.myorg.com:389 at index 0 in NLPA_CACHE

    These are LDAP servers, he is trying.

    nnflilc: conn sync opening of oid.host.myorg.com:389

    nnflfdn: turning simplified mydb.myorg.com name to a unique name.
    nnflfdn: using the administrative context: dc = prod
    nnflfdn: the domain name resulting is cn = mydb, cn = OracleContext, dc is myorg, dc = com

    nnflrne1: runs the directory for dn: cn = mydb, cn = OracleContext, dc is myorg, dc = com
    nnflqbf: search: Base: cn = mydb, cn = OracleContext, dc is myorg, dc = com, range: 0, filter: (objectclass = *)

    nnfgrne: query fails, the leap to the next map

    Did not work. Try the other adapters:

    nnfgrne: switching adapter EZCONNECT

    snlinGetAddrInfo: name resolution failed for test64.test

    No luck.

    If the resolution is approved, it will look like this:

    nnfloidinfocache: Info: insert the value DIRECTORY_SERVERS = oid.host.myorg.com:389 at index 0 in NLPA_CACHE

    nnflilc: conn sync opening of oid.host.myorg.com:389

    nnflfdn: turning simplified mydb.myorg.com name to a unique name.
    nnflfdn: using the administrative context: dc = prod
    nnflfdn: the domain name resulting is cn = mydb, cn = OracleContext, dc is myorg, dc = com

    nnflrne1: runs the directory for dn: cn = mydb, cn = OracleContext, dc is myorg, dc = com
    nnflqbf: search: Base: cn = mydb, cn = OracleContext, dc is myorg, dc = com, range: 0, filter: (objectclass = *)

    niotns: the call to address: (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=dbserver.host.myorg.com) (PORT = 1521)) (CONNECT_DATA = (SID = DBNAME) (CID = (PROGRAM = C:\Oracle\ora1020\bin\sqlplus.exe)(HOST=pc247596)(USER=lanadvall)))

    Yours,
    Laurenz Albe

Maybe you are looking for