Oracle client 10.1.0.3.0 connection troubles

Hello,
I have succesfully installed an Oracle client on a linux machine, but I can not connect to a server. I keep getting the well-known ORA-12154 error (TNS could not resolve the connect identifier specified).
First i thought it would be a problem in my tnsnames.ora...so i used the netmgr tool to create the tnsnames.ora file. Testing the connections from within the netmgr works like a charm.
However invoking plsql from the console gives me the ORA-12154 error.
Any suggestions?
thx

Hmm,
I added ONAMES to the NAMES_DIRECTORY_PATH in sqlnet.ora and is works now :/
Don't know why...but it works.

Similar Messages

  • Oracle Client 11g R2 in Windows 7 connecting a RAC server

    I have the following setup in my laptop
    Windows 7
    Oracle Client 11g R2
    I'm trying to connect "SQL plus" to a load balanced server (RAC) configured as below
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE 10.2.0.4.0 Production
    TNS for HPUX: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    The problem is, the connection creation is not consistent. It is throwing the following error randomly.
    ORA-12545: Connect failed because target host or object does not exist
    I'm able connect to another server (not RAC) without any issues. Even TOAD is giving the same error. After few tries, it works.
    Anyone facing the same problem, got any solution???
    Thanks
    Edited by: user3918865 on Oct 7, 2010 4:14 AM

    Bruno Palma wrote:
    Hi all.
    I've done all the checklists suggested but I'm still getting the error. The problem is not with the network and the servers cos I'm working in a Company and when I had Windows XP SP 3 and Oracle Client 10gR2 all was working fine. I'm with Windows 7 Professional 64-bit now. I'm almost sure the problem is with Windows 7 x Oracle Client but it's hard to figure out what's going on. Does anyone have idea what could it be ??I would generate a client side sqlnet trace, then go on a fishing expedition. There's a lot of dense stuff in a full trace, but if you don't panic and just try to make sense of what you can, you'll probably flush it out.
    To enable the trace, go to your sqlnet.ora file and add these lines:
    TRACE_FILE_CLIENT=clientsqlnet.trc
    TRACE_DIRECTORY_CLIENT=C:\app\oracle\product\11.2.0\client_1\network\trace
    #TRACE_LEVEL_CLIENT=off
    #TRACE_LEVEL_CLIENT=user
    #TRACE_LEVEL_CLIENT=admin
    TRACE_LEVEL_CLIENT=support
    DIAG_ADR_ENABLED = off

  • Oracle client picking up wrong port while connecting to oracle server

    Hi,
    I have an oracle client installed in one of the system. As we know oracle client connects to the server on port 1521, but from my client system every time i try to connect it is taking random ports which are blocked on our firewall, hence not connecting to the server.
    Is there any method i can connect with port 1521 only. I have also put the entry in client tnsnames.ora
    Thanks in advance
    Regds
    Kiran

    M Kiran Kumar Reddy wrote:
    True, Tnsping is working but i am not able to connect to server
    my client system TNSNames.ora
    LIB =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.228)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    Client to server tns ping result
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.
    1.228)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)))
    OK (40 msec)
    Edited by: M Kiran Kumar Reddy on Jul 23, 2009 7:42 PMThat's because tnsping goes no further than the listener. There doesn't even have to be a database to get a successful tnsping. And since tnsping only needs to ping the listener (not the database) it only needs port 1521. It's when the listener tries to set up the actual database connection that he will (by default) pick an random port for that connection.

  • Oracle client connecting to sqlserver

    oracle client connecting to sqlserver in local machine. working fine.
    but I am connecting to remote sqlserver getting error
    obojects does not exist
    listenter not started.
    No firewall, port is open, entry in the sqlnet.ora, tnsnames.ora, listener.ora
    all correct.
    I have qusetion, connecting oracle client and sqlserver
    we need install any special odbc
    please let me know

    this question should be in HS forum
    and oracle client (eg sqlplus) can't directly connect to other ODBC databases., but oracle server can through heterogeneous connectivity (HS) and yes server will need ODBC driver to do that.
    http://www.oracle-doku.de/oracle_10g_documentation/server.101/b10764/toc.htm
    Eugene Roytman

  • Installing Latest Oracle Client & ODT for Windows 7 64-bit

    I have a Windows 7 64-bit. I would think that using 32-bit Java, 32-bit Oracle Client and 32-bit ODAC would work just fine on this operating system. However, I had no luck getting it to run. Here is what I did and a few reasons why I prefer to never work with Oracle products:
    Installed 32-bit JDK/JRE (1.6 Update 25)
    Installed 32-bit Oracle Client (11g R2) Home 1
    Tested connectivity from SQL Developer successfully
    Installed 32-bit ODT (11g R3) to Home 1 (installer noted upgrades and new installs)
    Failed connectivity from all things windows (ODBC, ADO, ADO.Net)
    Uninstalled 32-bit ODT
    Failed to uninstall 32-bit Oracle Client Home 1 (oraparam.ini file missing among other issues)
    Installed 32-bit Oracle Client (11g R2) Home 2
    Failed to uninstall 32-bit Oracle Client Home 1 (told to use deinstall tool)
    Failed to uninstall 32-bit Oracle Client Home 2 (told to use deinstall tool)
    Failed to run uninstall tool in Home 1 (told to download standalone deinstall tool)
    Uninstalled 32-bit Oracle Client Home 2 (completed successfuly with errors - seriously?)
    Uninstalled 32-bit Oracle Client Home 1 (completed successfully, but couldn't delete folder)
    Oracle.DataAccess and Oracle.Web are still installed in GAC. Uninstall attempts fail (access denied)
    Installed 32-bit Oracle Client (11g R2) Home 1
    Tested connectivity from SQL Developer successfully
    Tested connectivity from .Net 3.5 successfully (using 32-bit 2.0 dll)
    Tested connectivity from .Net 4.0 successfully (using 32-bit 2.0 dll)
    Does anyone have any suggestions on getting Oracle Data Tools for Windows to work before I try that again?

    I realize ODT uses ODP, but installing release 3 upgraded the .Net 2.0 ODP DLLs (which were installed from the Oracle Client 11g Release 2 install) and added the .Net 4.0 DLLs. After that install everything stopped working from Windows land and then it took the better part of two hours to get it back to what it looked like prior to the install. The other thing weird thing I noticed is that although Oracle.DataAccess is registered in the 2.0 GAC I cannot add a reference that way using VS2010. I have to manually add a reference to the file path. Although it still appears I do not have to have the assembly copied locally to run, so the GAC registration seems to be working in that regard.

  • Error while using oracle client

    I agree to all what you have written .But as you said we often have client server co-existing on the same hardware platform and also i have additionally installed an oracle client .I agree that the TCP connections is via Net8 (Sql*Net) /ODBC etc. But my question is i want to connect to both my XE server and my other database servers (Production) using a single client (since m having 2 clients , one that came along with the XE database and the other which i have explicitly installed) ,I get the following error
    SP2-0667: Message file sp1<lang>.msb not found
    SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory .Despite setting the path and ORACLE_HOME environment variables , the error persists.

    Windows host? Which version, xp? Which "2nd client" version, instant client?
    Double check the environment variables and %PATH%. Try changing directory to the particular client .../bin directory and run sqlplus from there, the client program you want may not be the client program you're getting.
    %ORACLE_HOME% also needs to be pre-pended to %PATH%, with that second client it might be helpful to set up a .bat file with proper settings. Saves having to retype stuff which will also be typo-prone, i.e. in ct2.bat:
    set ORACLE_HOME=C:\ora\<folder\path>
    set PATH=%ORACLE_HOME%;%PATH%

  • Is there any Oracle client for RedHat Linux

    Hi,
    I m searching for the Oracle9i client for RedHat linux. Is it available free. If yes please tell the site name.
    thanx
    -biyat

    Which oracle version u have for Solaris intel
    [email protected]
    Hi,
    We have an oracle server (8i) running on Windows NT. I need a oracle client on Solaris Intel 8 to connect to the Oracle server running on NT.
    Thanks
    --John

  • Connect to Oracle without Oracle Client in Windows?

    Hi All,
    Is there anyway to connect to Oracle DB without any installation of Oracle Product in Client?
    I am using MS ODBC Driver Oracle but It need the "Data Source Name"
    It seems that client machine do need to Setup the NET 8 Configure / Tnsname.ora
    I can try to set any thing in Oracle Server, But want to minimize the effort doing on the client (Because there are many!).
    I am using Visual Basic, WIN XP as client Platform. WIN 2K as Oracle DB Server.
    Can anybody give me a hand. Thank you very much!
    Eric Yuen

    You'll need to install Oracle Client in the client machine. ODBC (or other) connections need OCI and Oracle Net layers.
    The Oracle ODBC has a lot of dependencies, probably a thousand files. Unfortunately Client is pretty heavy... managewize also. So that's why you should develop "internet apps". :)

  • How to connect sql server using oracle Client

    Hi,
    I am working in oracle9i and windows os 32 bit.
    I need to connect SQL server 2000 from my oracle client..
    I heard about heterogeneous connectivity ...
    Please expalin me the steps what to add and how to connect the sql server...
    Regs....

    Are you trying to connect to SQL Server from your Oracle database (i.e. create a database link in Oracle to SQL Server)? Or are you trying to connect to SQL Server using your Oracle client software (i.e. SQL*Plus)?
    The former just requires Heterogeneous Services with Generic Connectivity. The latter is functionality that has been depricated and probably no longer works in your environment.
    Justin

  • Oracle 10g, oracle client(10.1.0.3) fails to connect server(10.1.0.4)

    Hi all,
    currently I am facing a situation where I cannot connect to oracle 10g server running on 10.1.0.4 version.
    I tried using sql plus and toad (with oracle client 10.1.0.3) but get error during login where I can get a connection.
    Error reported by sql plus : Error accessing PRODUCT_USER_PROFILE
    Warning: Product user profile information not loaded!
    You may need to run PUPBLD.SQL as SYSTEM
    SP2-0614: Server version too low for this feature
    Is there any chance that the server can restrict the versions of the clients connecting to it?. Is there any way to locate the current supported clients for the oracle server running. ( I have tested with 10.1.0.4 oracle client and it works fine )
    Please advise

    cant login into sql plus but can connect to the database

  • Error when trying to install oracle client (can't connect to X11 error)

    Hi guys,
    I need help to install Oracle Client 10g. I am quite a novice so I am totally hopeless when it comes to difficult or linux-kind-of-terms.
    I can't use GUI at all, so everything got to be done through putty.exe
    my local pc (where the putty is, IP 192.168.8.194) -> linux red hat 4 IP 192.168.8.31 (where the oracle client should be!)
    when I run the runIntaller I receieved error mentioning about DISPLAY variable haven't set yet.
    I did set it trhough putty as follow
    DISPLAY=192.168.8.194:0.0
    export DISPLAY
    no luck...I still hit an error that eventho this time the error is like below;
    =============================================================================
    Can't connect to X11 window server using '192.168.8.194:0.0' as the value of the DISPLAY variable.
    192.168.8.194:0.0
    192.168.8.194:0.0
    OUI-10025:Unable to start an interactive install session because of the following error:Can't connect to X11 window server using '192.168.8.194:0.0' as the value of the DISPLAY variable. The DISPLAY environment variable should be set to <hostname or IP address>:<screen>, where the <screen> is usually '0.0'.
    - Make sure that client users are authorized to connect to the X Server.
    OUI-10027:To enable client users to access the X Server, open an xterm, dtterm or xconsole as the user that started the session and type the following command:
    % xhost +
    To test that the DISPLAY environment variable is set correctly, run a X11 based program that comes with the native operating system such as 'xclock':
    % <full path to xclock... see below>
    If you are not able to run xclock successfully, please refer to your PC-X Server or OS vendor for further assistance.
    Typical path for 'xclock': '/usr/X11R6/bin/xclock'
    ==============================================================================
    When I run the xclock using GUI I can see it pop up on my screen, but when I run xclock trhough putty, I see that it just went blank...is that right because I am using putty or what?
    Can you guys please help? Everyone that had this problem like find the solution real easy...I just so frustrated because this setting is just not working, and I have no idea what to check. Do I need extra library or something to install this?
    Please remember that I can use GUI in my test server but I can't use any GUI at all when I am implementing this.
    Thanks thanks thanks.
    Daniel -

    Hi-
    You are right. putty is just a simple console without X11 in it. how come it didn't even cross my mind?
    Thanks for the reply. I solved it by using third party software called xdeep, from what I got from internet looks like this and the software you were talking about hold the same purpose. This xdeep is pretty easy to configure and in just few seconds I can launch the installer! Gee...!
    For those guys that having the same problem as me then find xdeep software from google and browse on the configure webpage. I found a step by step configuration setting from the internet too and it's real easy.
    Daniel -

  • Oracle Client 11g on Windows 2008 64 bit ASP Connection Problems

    Hi,
    I'm trying to set up my old ASP applications on a new web server. I've moved from a windows 2003 server to 2008 64 bit.
    I've installed the Oracle Client 11g 64 bit drives and if I create a new ODBC connection tat works fine. But IIS will not connect.
    Connection string i've been using is:
    Provider=OraOLEDB.Oracle.1; Password=******; User ID=*****; Data Source=*****
    All i get is no provider could be found.
    "3706 Provider cannot be found. It may not be properly installed."
    Can anyone help me out / point me in the right direction?
    Thanks
    Gareth Owen

    Hi,
    Thanks for the reply. The app pool is running in 64 bit. I've tried installing a 32 bit version of the oracle provider and shifting the app pool down to that and no joy either.
    Have tried changing the permissions on the Oracle folder which gives me no joy. It's as if IIS just has no access to the Oracle provider. But I just don't know how to get this working.
    Under windows 2003 things just worked when I installed the Oracle provider...
    Gareth

  • How to validate prerequisite for ODP and Oracle Client connection

    Hi.
    I have a very simple application on .Net that connect to Oracle using ODP (was compiled with Oracle.DataAccess dll 10.2).
    I want to check "connection prerequisite" (application will be able to connect to DB) before installing this aplication on other computers?
    How can I check that ODP.NET version 10.2 or higher is installed on target host (registry check is not enopugh)?
    I know that I can check ODP entries in registry - but this will not check Oracle Client and compatibility between client and ODP.
    Also, if ODP was installed by ODAC XCopy installation - registry may be not updated by new ODP entry.
    And - if I am installing on the computer, DB was installed on, Oracle Client can be not installed separately.
    And one more issue: When I tried to run "test connection" method from installation, that use referenced dll on machine, that has only ODAC (with ODP) 11, - "Oracle.DataAccess.Client.OracleException The provider is not compatible with the version of Oracle client at Oracle.DataAccess.Client.OracleInit.Initialize()
    at Oracle.DataAccess.Client.OracleConnection..cctor()" error message was thrown (policies for both ODAC 10.2 and 11 are exists in GAC (assembly), pointing to Oracle.DataAccess 11 from ODP 2x bin).
    So, How and which components can I check to ensure appropriate versions of ODP and Oracle Client were installed and application will be connected?
    Thank you in advance!

    Hi,
    You could check for the presense of Oracle.DataAccess.dll in the GAC. Bear in mind you'd also want to check the version and whether a policy files exists as well as a newer version + policy file will work too (but not without the policy file).
    That wouldn't confirm the install is valid and works though, and I don't know of a way you could easily check that, apart from perhaps simply trying to run a small exe that attempts a connection to the database.
    With respect to the type initializer exception, that occurs when ODP cant find the right oraops*.dll or oci.dll, usually due to the wrong one being found, but can also occur if one is not found at all. Quite often this is due to the application including ODP in its bin directory rather than letting ODP get picked up out of the gac. Prior to 10.2.0.2.20, ODP loads the dependencies based in PATH so multiple homes can cause it as well. 10.2.0.2.20 and higher ODP loads dll's based on DLLPATH registry entry.
    Hope it helps,
    Greg

  • Is Oracle Client software must in Sql Server 2005 Box to connect ORACLE

    We need to connect ORACLE from SqlServer 2005
    1. We would like to know is Oracle Client Software MUST needed to be installed in SqlServer 2005 to connect ORACLE.
    2. Do we have any other means?
    3. Will Oracle OLE DB Provider for Oracle help us in establishing Linked Server to ORACLE

    Probably late in the day for this but
    The workbench cannot handle SS2K5 directly at the moment. However as long as no new SS2K5 functionality has been used with a few tweaks this can be achieved.
    1. Firstly use the SS2K offline capture scripts to build the directories for the database(s) you want to capture.
    2 Secondly edit
    (a) SS2K_SYSLOGINS.dat and take out long SS2K5 user records
    (b) SS2K_SYSINDEXES.dat change FIRST ( forth column) to a value (say hex 1).
    (c) SS2K_SYSUSERS.dat change ROLES (sixth column) to a value (say hex 1).
    This should now load into the workbench. If it does not check the error.log file in <OMWB HOME>\log.

  • Trouble connecting to 64 bit oracle client from 32 bit environment

    Hi,
    I have an application which connects to Oracle and an external 3ed party application via a set of APIs. We are now facing the issue while migrating our server from 2003 to 2008.
    The 2003 server was configured for 32 bit and had 32 bit Oralce installed on it. It was able to connect to both Oracle and the 3ed party API in this configuration
    In our New 2008 server we have installed a 64 bit Oracle however the 3ed party API is using is 32 bit. Once we use the 64 bit app poll we were able to connect  to the Oracle, but the API connection fails. When we enable the 32 bit in APP Pool, wer cant connect to the Oracle client.
    Could you please suggest a possible soultion for this problem?
    PS:
    We have tried placing the 32 bit Oracle.Data.Client DLL in the Bin folder and refered it in our project ( to avoid refering the 64 bit DLL from GAC) but this method didint work out.
    We have alos tried placing Oracle Data Access Componets DLLs in Our bin as explianed in the following blog post
    http://researchaholic.com/2011/10/21/connect-from-net-to-oracle-without-installing-the-oracle-client/
    This also did not help us connect to the Oracle client.
    Right now we have configured our new 2008 server with 64 bit oralcle client and enabled 32 bit support from APP pool.
    Thanks

    You can't use 64 bit client on 32 bit machine.
    You can use 32 bit client on 64 bit machine via syswow64, but not the other way around.
    If you compile your app with AnyCPU compile target though, it will automatically run as 32 bit on 32 bit OS, and 64 bit on 64 bit OS.
    HTH
    Greg

Maybe you are looking for