Linux as Oracle client

I would like to use my Redhat Linux server as a client for the
Oracle DB installed on HP-UX.
Which package do I need ? I don't want to install a complete
Oracle DB on the Linux machine.
null

Miklos Nemeth (guest) wrote:
: Your assumption sounds quite correct, but it does not work in
: practice. First SQLPlus cannot be used with remote Oracle
: databases. Second orainst does install header files and
libraries
: for OCI programming only when RDBMS installation is requested.
: Even if you need the client components you must install RDBMS
: too.
If you want to work with remote databases you have to install
SQL*Net (or Net8) on both server and client computers. Make sure
you have TNS Listener running on your server (computer where
RDBMS is running), and add dbname (Oracle SID) to tnsnames.ora
file on each computer. For more info read Oracle Server Net8
Administrator's Guide, Release 8.0
(http://technet.oracle.com/doc/network.805/a58230/toc.htm) or
some other Oracle DBA book.
SQL*Plus, as any Oracle client, works with any "TNS visible"
Oracle database regardless of location. I am running several UNIX
boxes with several RDBMS on each of them, and my configuration
lets me use a single UNIX session to do all my work.
Oleg Dvornikov
Oracle DBA and Developer
null

Similar Messages

  • What do I need to install when I install oralce in linux and oracle client

    What do I need to install when I install oralce in linux and oracle client in windows?
    I want to connect oracle from windows to Linux, what do I need to install or setup? thanks.

    Are you trying to install the DB on Linux from your Windows Box? if so, you need to have an XWindows client on your client. You have to SSH or Telnet into the box, set your DISPLAY variable. In fact, it is all in your documentation for the DB install. We still don't understand what you are exactly asking.
    Do you have direct access to your Linux machine? If so, and it has a graphical GUI, then you can find install guides for most flavors of Linux at dizwell.com. His are most excellent and show examples, but do not go over the XWindows problem. You would have to resolve that first.
    A free XWindows environment for Windows is Cygwin.
    Once the DB is running on Linux then all you do is create a TNS entry on it on your client and it connects. It is the same as setting up a connection to connect to Oracle on a Windows box.

  • Throws Core Dump for OCISessionBegin() on Linux for Oracle Client v10.2.0.2

    hi,
    The OCI method, OCISessionBegin() is throwing an core dump on 10g client in Linux on C++, but the same code works fine for 8i and 9i client. Core dumps for 10g Client. 10g tnsnames.ora file is same as of 9i. I just debeggued with the core and says failing in OCISessionBegin() method. I would like to know is there any problem with Oracle Client v10.2.0.2? or how does i can solve the issue? appriciate a quick help in this regard.
    Thanks,
    Sreeni

    Have you looked in the Knowledge Base information at metalink? That would be the place to start.
    If that does not work then the next step would be to remove this thread and post in the OCI - OCCI forum where there are people that can actually help you.

  • Conncet oracle client on Windows XP/7 to oracle 10g RetHot Linux server

    I have installed oracle 10g on Rethot Linux and oracle client 10g installed on windows 7 .how to connect oracle server from oracle client in different OS. Please give me step .

    Please Help Me..
    I have installed Oracle 11g server Release 2 on Oracle Enterprise Linux Release 5 Update 5 using VMWare and oracle 11g client R2 installed in windows 7 (host).My question is how to connect Oracle Server from Oracle Client?

  • Using Notes and Oracle Client in the same application on Linux crashes

    This thread is copied from a thread of the same name under Database - General, since I cannot get any replies there.
    Could someone from Oracle PLEASE comment on this.
    Our application on Linux loads the Notes client libraries and then the Oracle client libraries. The application will crashes when connectimg to an Oracle server. This is because the T_* symbols in libnnz11.so get fixed up into libnotes.so rather than locally into libnnz11.so where the functions are defined.
    #10 0xb4779ea6 in T_malloc () from /opt/ibm/lotus/notes/libnotes.so
    #11 0xae7ca050 in CMP_reallocNoCopy ()
    from /opt/oracle/product/10.2/db_1/lib/libnnz11.so
    #12 0xae7ccf7b in CMP_OctetStringToCMPInt ()
    from /opt/oracle/product/10.2/db_1/lib/libnnz11.so
    #13 0xae7c91fd in A_X931RandomInit ()
    from /opt/oracle/product/10.2/db_1/lib/libnnz11.so
    #14 0xaec09e0d in ztcriv ()
    from /opt/oracle/product/10.2/db_1/lib/libclntsh.so.10.1
    #15 0xaec09cef in ztcrbp ()
    from /opt/oracle/product/10.2/db_1/lib/libclntsh.so.10.1
    #16 0xaec09ca4 in ztcr2seed ()
    from /opt/oracle/product/10.2/db_1/lib/libclntsh.so.10.1
    #17 0xaec09c54 in ztcrseed3 ()
    from /opt/oracle/product/10.2/db_1/lib/libclntsh.so.10.1
    #18 0xaeb40683 in ztcsh ()
    from /opt/oracle/product/10.2/db_1/lib/libclntsh.so.10.1
    #19 0xaea631c4 in kpusattr ()
    from /opt/oracle/product/10.2/db_1/lib/libclntsh.so.10.1
    #20 0xaea7847e in OCIAttrSet ()
    from /opt/oracle/product/10.2/db_1/lib/libclntsh.so.10.1
    #21 0xb081cb9f in COCIObject::Connect ()
    from /opt/criticalpath/common/bin/libor9i.so
    We have circumvented the problem for the time being by making sure that we load the Oracle libraries before Notes, but we cannot go with that as a long term solution.
    In my opinion the Oracle library is wrongly linked since all the T_* functions are defined in libnnz11.so. When we load Oracle first, the loader debug trace shows the correct fixups. When we load Notes first, the loader trace shows the incorrect fixups. We are using dlopen(libor9i.so, RTLD_LOCAL) for Oracle and dlopen(libnotes.so, RTLD_LOCAL) for Notes. libor9i.so has a dependency on libclntsh.so.10.1.
    An opinion would really be appreciated.
    Thanks,
    John Unsworth

    Thanks again.
    We don't have an Oracle support contract because we do not use Oracle ourselves. We supply an application that synchronises data between multiple data servers and server types, of which Oracle is one and Notes is another, as well as LDAP servers and many other types.
    Producing a full resolved binary is therefore not an option since the types of data server are configured when the apploication is installed, and then the client software for each server is loaded as required.
    The end user of the application supplies the client libraries and has a support contract for the servers, in particular Oracle and Notes in this case. So the other option is for the end user to raise a ticket using his support contract, but he is reluctant to do that since he considers that this is our problem as we supply the application that is having the problem. So we are in a dead water area. We do not want to take out a support contract just to get what is an Oracle product problem resolved. I imagine that this problem is something that has not been encountered before, because our use of the client library in conjunction with other client libraries is probably unusual.
    So that is why I am hoping, without any success so far, that someone from Oracle will pick this up.

  • Oracle Client(8.0.5) installation on Linux(6.0)

    Please Help,
    These are the steps followed in the Oracle
    client installation of the Linux
    version
    1. Loaded SQLNET, TCP/IP Adapter and sqlplus from the Oracle CD for Linux.
    2. While running SQLPLUS it gave the 'Missing Library file'
    3. Added LD_LIBRARY_PATH parameter to .profile, problem solved.
    4. While running SQLPLUS a new message 'Segmentation Fault - Core dumped'
    started coming.
    After analysing it was observed that none of the Linux memory parametre
    required for oracle had been tuned. these parameters are :-
    shmmax,shmseg, shmmin, shmmni, semmns, semmni
    We know the value of these parameters but the problem is that in linux we
    are not able to find the Kernel paramater file,
    as we do not know the Kernel parameter file name and the location in which
    it is situated.
    I have done the configuration of Oracle in Sun Solaris successfully and
    also modified the Kernel parameter. the following in the sample data
    extracted from the /etc/system file present in Sun Solaris.
    set shmsys:shminfo_shmmax=208388608
    set shmsys:shminfo_shmseg=15
    set shmsys:shminfo_shmmin=1
    set shmsys:shminfo_shmmni=150
    set semsys:seminfo_semmns=250
    set semsys:seminfo_semmni=100
    What I request is that kindly tell me how and where to update the same in
    the Linux for installing Oracle Client(8.0.5) on Linux(6.0).Regards And Thanks
    Sanjay Kr. Pandey

    You'll have to be prepared to wade through and understand the Linux way of recompiling your kernel. The files can be located using the "find" command. There is some great "HOW-TO"s in the Linux RedHat site.
    Tip: Be very careful how you answer the "make config" questions because it can mess up the resulting VMLINUZ object. Also, be sure to place secondary entry in your "lilo.conf" to allow you a graceful way of getting back to the old kernel should the new one fail.
    Good Luck!

  • How to install Oracle client on UBUNTU LInux

    Hi,
    I want to install oracle client on ubuntu linux. Which version of oracle client works on it and is there any other tool which i can install instead of oracle client?
    Regards,
    RJiv.

    RJiv wrote:
    Hi,
    I want to install oracle client on ubuntu linux. Which version of oracle client works on it All recent Oracle version support different Linux flavours
    The problem is Oracle usually don't provide direct Oracle Client download except for Windows. You need to download the Server installation file and install the client piece. The download files are rather large.
    and is there any other tool which i can install instead of oracle client?It depends on what you plan to do with Oracle client and why you need it.
    On alternative is instance client, it has direct download for all supported platform.
    http://www.oracle.com/technology/software/tech/oci/instantclient/index.html

  • Can we install oracle client 32 bit on Linux 64 bit

    Can we install the 32 bit applications like the oracle client on to a database server 64 bit and linux os 64 bit ?

    This question is two parts which I paraphrase as per my understanding; please correct me if I'm wrong:
    1) Can you install 32-bit applications (like the oracle client) on to a 64-bit Linux OS?
    Quick and correct answer is: Yes. Most distributions will include 32-bit libraries along with 64-bit libraries for just this purpose.
    2) Can a 32-bit Oracle Client "connect" to a 64-bit Oracle Database server?
    Yes.
    So ultimately, you could install 64-bit Oracle Database on a 64-bit Linux OS, and then continue by installing the 32-bit Oracle Client on the same host (although I see no real reason for this), and then finally use the 32-bit Oracle Client to connect to the 64-bit instance running on the same host.
    Hope this is helpful!
    Eric

  • Oracle client in linux problem with tnsnames.ora

    hi all
    i installed oracle-xe-cleint10.2 on linux machine i did not get any tnsnames.ora in my machine i am unable to connect to database. it shows tns connectiont identifier unfound. . is it come all with oracle client or some where else it .
    or further any proceeding i should follow steps. if found solution regard this pls forward solution to me
    Regard
    syam

    hi all
    i did not get any tnsnames.ora after installing oracle client in linux machine
    i installed oracle-xe-cleint10.2 on linux machine i did not get any tnsnames.ora in my machine i am unable to connect to database. it shows tns connectiont identifier unfound. . is it come all with oracle client or some where else it .
    or further any proceeding i should follow steps. if found solution regard this pls forward solution to me
    Regard
    syam
    Regards syam

  • Crash in 32 bit C++ application on Linux 5.4 with Oracle Client 11.2.0.2.

    Hi ,
    I am getting following crash in 32 bit C++ application built on Linux platform 5.4 with Oracle client version 11.2.0.2.
    Program terminated with signal 6, Aborted.
    [New process 22157]
    #0 0xffffe410 in __kernel_vsyscall ()
    (gdb) bt
    #0 0xffffe410 in __kernel_vsyscall ()
    #1 0xf7dc5c81 in raise () from /lib/libpthread.so.0
    #2 0xf73d4d43 in skgesigOSCrash () from /opt/oracle/11.2.0.2/lib/libclntsh.so.11.1
    #3 0xf7643d61 in kpeDbgSignalHandler () from /opt/oracle/11.2.0.2/lib/libclntsh.so.11.1
    #4 0xf73d5003 in skgesig_sigactionHandler () from /opt/oracle/11.2.0.2/lib/libclntsh.so.11.1
    #5 <signal handler called>
    #6 0xffffe410 in __kernel_vsyscall ()
    #7 0x00be7df0 in raise () from /lib/libc.so.6
    #8 0x00be9701 in abort () from /lib/libc.so.6
    #9 0x0804b716 in main (argc=2, argv=0xffabe244) at crewxa.cc:371From the stack trace, it seems that the crash is occurring at oracle client library libclntsh.so.11.1 . When looked at Metalink, there is a note Pro*c Application Cores On 11g Client [ID 1410089.1], which says that Pro *C application consistently produces core dumps with above stack trace in Oracle client 11.2.0.2 .
    Such traces are resulting from the function “sqlnst ()”. But in this case, the stack is called from the main function of our application.
    Please advice.

    Thanks again, Phil.
    It seems to be some specific situation, since I could get to install the same version (Client 11.2.0.1 32 bits) in a Windows Vista 64 bits.
    I still hope somebody has an answer.
    Best regards!

  • Following error occurs while oracle client 10g installation on Linux 5

    Following error occurs while oracle client 10g installation on Linux 5
    [oraclient@SVHJ0678 client]$ ./runInstaller
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
    Passed
    All installer requirements met.
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2010-04-14_02-30-53AM. Please wait ...[oraclient@SVHJ0678 client]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2010-04-14_02-30-53AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at sun.security.action.LoadLibraryAction.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
    at sun.awt.DebugHelper.<clinit>(Unknown Source)
    at java.awt.Component.<clinit>(Unknown Source)

    user8862191 wrote:
    Following error occurs while oracle client 10g installation on Linux 5
    What is Linux 5? Do you mean Oracle Enterprise Linux (OEL) 5 ???
    [oraclient@SVHJ0678 client]$ ./runInstaller
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
    Passed
    All installer requirements met.
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2010-04-14_02-30-53AM. Please wait ...[oraclient@SVHJ0678 client]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2010-04-14_02-30-53AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at sun.security.action.LoadLibraryAction.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
    at sun.awt.DebugHelper.<clinit>(Unknown Source)
    at java.awt.Component.<clinit>(Unknown Source)

  • Nslookup fails were as tnsping works - Oracle Client on Linux 4.0

    Hello Gurus,
    I am able to connect to Oracle DB on the Linux server and not from Oracle client on Linux box. I have installed Oracle Client windows version on my laptop and same release and version for Linux on Linux box.
    When I try to connect to the DB from Oracle Client installed on Linux box give me ORA-012545:Connect failed because target host or object does not exists.
    I have tried tnsping and the server name (hostname) ,IP and DB of the server it works.
    When I tried nslookup servername (hostname) , IP and DB it fails.
    Anyone over there please help me out. This is something silly happening works on Windows Oracle client and not on Linux Oracle Client. One thing to do add Linux Oracle Client has Virtual IP to it. ITs host file has an entry for local host as follows : 127.0.0.1 localhost.local.domain localhost.
    Also when I tried to create netservice names using netca it's just clean.
    Please help me.
    Thanks in advance
    Thanks
    Shiva

    Hello Matt,
    The reults
    [oracle@ccsdd-sdap3 admin]$ tnsping mdb
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 12-MAY-2008 10:20:16
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    /oracle/app/oracle/product/10.2/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 172.17.180.110)(PORT = 1521))) (CONNECT_DATA = (SID = mdb) (SERVER=DEDICATED)))
    OK (10 msec)
    ===========================================================
    [oracle@ccsdd-sdap3 admin]$ tnsping ccsdd-sddb3.techteam.com
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 12-MAY-2008 10:25:56
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    /oracle/app/oracle/product/10.2/network/admin/sqlnet.ora
    Used HOSTNAME adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=ccsdd-sddb3.techteam.com))(ADDRESS=(PROTOCOL=TCP)(HOST=172.17.180.110)(PORT=1521)))
    OK (10 msec)
    ===========================================================
    [oracle@ccsdd-sdap3 admin]$ tnsping 172.X.X.X
    TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 12-MAY-2008 10:21:49
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    /oracle/app/oracle/product/10.2/network/admin/sqlnet.ora
    Used HOSTNAME adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=172.17.180.110))(ADDRESS=(PROTOCOL=TCP)(HOST=172.17.180.110)(PORT=1521)))
    OK (10 msec)
    ==========================================================
    tnsnames.ora
    [oracle@ccsdd-sdap3 admin]$ more tnsnames.ora
    # tnsnames.ora Network Configuration File: /oracle/app/oracle/product/10.2/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    mdb =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.X.X.X)(PORT = 1521))
    (CONNECT_DATA =
    (SID = mdb)
    (SERVER=DEDICATED)
    ===========================================================
    sqlnet.ora
    [oracle@ccsdd-sdap3 admin]$ more sqlnet.ora
    # sqlnet.ora Network Configuration File: /oracle/app/oracle/product/10.2/network/admin/sqlnet.ora
    # Generated by Oracle configuration tools.
    NAMES.DIRECTORY_PATH= (TNSNAMES,ONAMES,HOSTNAME)
    ==========================================================
    Yes these are the reults and the files. I think this will help us to determine the problem.
    Thanks
    Shiva

  • Oracle Client 11gR2 uninstall procedure using OUI on LINUX

    Hi Guru's,
    OS:Linux
    Database Version : 11gR2
    Can anyone please let me know the step by step procedure to uninstall Oracle Client 11grR2 using OUI.
    Actually i have Oracle DB and Oracle Client installed on the same machine.
    Thanks in advance.

    vk82 wrote:
    Hi Guru's,
    OS:Linux
    Database Version : 11gR2
    Can anyone please let me know the step by step procedure to uninstall Oracle Client 11grR2 using OUI.
    Actually i have Oracle DB and Oracle Client installed on the same machine.
    Thanks in advance.
    click UNINSTALL button

  • 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

  • You have no Oracle clients installed: Windows XP client to Oracle Linux ser

    Hallo! I have Oracle 10g Db running on Redhat Enterprise Linux server.Moreover, I have a windows XP client having Toad 9.06 in the XP client. The client does not have any Oracle Db or Apps installed.
    I would like to connect to the Oracle Db sever via Toad. I have placed the server IP on the the IP text box. I placed port 22 (SSH port).I am not sure which port to place.
    Unfortunately, I get the error no Oracle clients installed.
    How do I resolve this?
    Thanks.

    You need to install oracle database 10g client on your PC using windows XP.
    http://www.oracle.com/technetwork/database/10201winsoft-095341.html
    Go to this link , download and install the client on Windows XP box. Then edit the tnsnames.ora file and add the TNS entry of your database which you want to connect.
    Regards
    Asif Kabir

Maybe you are looking for

  • WEBUTIL Usage

    Hi List, This is regarding usage of WEBUTIL in Froms9i . I want to use Host and Text IO Command using client_text_io and client_host . I have attached webutil.obl(Object library) and pll to my form as well.but when i am running it says that some Clas

  • Xcompmgr in LXDE[SOLVED]

    I want my screenlets in LXDE to be transparent, and I also want a compositor for AWN, but when I try to use xcompmgr I run into problems. When I run xcompmgr it makes all of my screenlets appear in windows instead of desktop widgets, and it doesn't m

  • How do i sync full resolution photos from computer to phone?

    anyone know how to sync full resolution photos from computer to phone using itunes?  itunes does not show the option to "include full resolution photos."  photos i'd like to sync include both photos taken with iphone and photos i've taken with anothe

  • Filtering e-mail on iPhone

    Is the a way, when iPhone downloads my e-mail from my office via POP, to filter out unwanted messages or not download certain messages? I'd rather not download e-mail from a tech listserv I'm on, which can mount up and I'd rather check when I get bac

  • Updating web service WSDL in Flash Builder 4

    I have a web service added to my FB4 project. It is all working nicely but I cannot work out how to refresh the web service wsdl. In flex builder 3 there was a "Manage web services" option that let you do it but there doesn't appear to be one in Flas