How to connect oracle on linux

O/S= Windows XP SP2
ORACLE Client- 10.2.0.1
Oracle : 10.2.0.1... linux RHEL4
Sir,
I am having a machine with RHEL4 installed on VMWare. I want to connect ORACLE installed in linux on windows. I have installed Oracle Client on Windows. Now Pl. guide how can I be able to connect oracle through Oracle Client. I want to use ORACLE for some development on ASP.Net.
Following is the Tnsname.ora file of Linux installation
# tnsnames.ora Network Configuration File: /u01/app/oracle/product/10.2.0/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = orcl)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
Kindly Guide me the Steps how can I connect ORACLE.
Thanks

Sir,
here I am pasting output of all commands.
[oracle@localhost ~]$ env|sort
CLASSPATH=/u01/app/oracle/product/10.2.0/db_1/JRE:/u01/app/oracle/product/10.2.0/db_1/jlib:/u01/app/oracle/product/10.2.0/db_1/rdbms/jlib
COLORTERM=gnome-terminal
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-onw8BmaUC9
DESKTOP_SESSION=default
DISPLAY=:0.0
G_BROKEN_FILENAMES=1
GDMSESSION=default
GNOME_DESKTOP_SESSION_ID=Default
GNOME_KEYRING_SOCKET=/tmp/keyring-7u3EBx/socket
GTK_RC_FILES=/etc/gtk/gtkrc:/home/oracle/.gtkrc-1.2-gnome2
HISTSIZE=1000
HOME=/home/oracle
HOSTNAME=localhost.localdomain
INPUTRC=/etc/inputrc
KDEDIR=/usr
LANG=en_US.UTF-8
LD_LIBRARY_PATH=/u01/app/oracle/product/10.2.0/db_1/lib:/lib:/usr/lib
LESSOPEN=|/usr/bin/lesspipe.sh %s
LOGNAME=oracle
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
MAIL=/var/spool/mail/oracle
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
ORACLE_SID=orcl
ORACLE_TERM=xterm
PATH=/u01/app/oracle/product/10.2.0/db_1/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/oracle/bin
PWD=/home/oracle
QTDIR=/usr/lib/qt-3.3
SESSION_MANAGER=local/localhost.localdomain:/tmp/.ICE-unix/3185
SHELL=/bin/bash
SHLVL=2
SSH_AGENT_PID=3213
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SSH_AUTH_SOCK=/tmp/ssh-RAdzDO3212/agent.3212
TERM=xterm
TMPDIR=/tmp
TMP=/tmp
USER=oracle
_=/usr/bin/env
WINDOWID=37748817
XAUTHORITY=/home/oracle/.Xauthority
[oracle@localhost ~]$ cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
[oracle@localhost ~]$ lsnrctl status
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 09-JUL-2010 16:00:14
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 09-JUL-2010 13:28:24
Uptime 0 days 2 hr. 31 min. 49 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl" has 2 instance(s).
Instance "ORCL", status UNKNOWN, has 1 handler(s) for this service...
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orcl_XPT" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
[oracle@localhost ~]$ lsnrctl status
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 09-JUL-2010 16:00:19
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 09-JUL-2010 13:28:24
Uptime 0 days 2 hr. 31 min. 54 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl" has 2 instance(s).
Instance "ORCL", status UNKNOWN, has 1 handler(s) for this service...
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orcl_XPT" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
[oracle@localhost ~]$ [oracle@localhost ~]$ lsnrctl service
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 09-JUL-2010 16:03:25
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "orcl" has 2 instance(s).
Instance "ORCL", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:5 refused:0
LOCAL SERVER
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:1 refused:0 state:ready
LOCAL SERVER
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: localhost.localdomain, pid: 3421>
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=32808))
Service "orcl_XPT" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:1 refused:0 state:ready
LOCAL SERVER
The command completed successfully
[oracle@localhost ~]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jul 9 16:03:38 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> startup mount
ORA-32004: obsolete and/or deprecated parameter(s) specified
ORA-01081: cannot start already-running ORACLE - shut it down first
SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
[oracle@localhost ~]$

Similar Messages

  • How to connect Oracle 8.0.5 for Linux to Tuxedo

    How to connect Oracle 8.0.5 for Linux to Tuxedo?
    How to config Tuxedo RM file and setting.

    Thomas Drolshagen (guest) wrote:
    : Oracle 8.0.5. Installation on S.u.S.E. Linux 5.3
    : =================================================
    : After strugling for 3 weekends with the installation of Oracle
    : 8.0.5. on a
    : S.u.S.E. 5.3 distribution here are the installation steps that
    : worked for me.
    I have tried to install Oracle on SuSE 5.2. I almost complted the
    installation, but kept getting a failure on installing the
    database. The last entry in the install.log is:
    Leaving trace.ins- Entering Make Dependent section.
    - Entering do_relink==false section.
    - Leaving Make dependent section.
    - Entering database actions section.
    Deciding to start again from scratch, I tried deleting all files
    and begining again, but now I get a different error running
    orainst. The installer keeps responding that 'file x already
    exists'. The name of the file changes each time I run it, and no
    file of that name exists. I have tried deleting the temp
    directories, as well as dropping them and recreating them
    elsewhere (desperation!), but I canot stop this from happening:
    An operating system error occurred while trying to spawn
    '/orasys/app/oracle/product/8.0.5/bin/otrccref' while
    redirecting
    output to '^ @^'. (File exists.) Would you like to retry
    the
    operation, ignore the error, or allow the error to be
    processed by
    the Installer?
    Does anyone have any ideas??
    null

  • How to connect Oracle 10g to MySql

    hi,
    can anybody plz guide me how to connect Oracle with MySql...I was going through official documentation and I found the procedure for connecting with Informix, Sybase and Teradata etc but I could not find for MySql...so can anybody plz guide in this regard...
    Thanking you

    To connect to a MySQl database the product you have to use is DG4ODBC 11.2. It requires a 3rd party MySQL ODBC driver (64bit on 64bit platforms and 32bit on 3bit platforms). This Dg4ODBC has to be installed in its OWN ORACLE_HOME. Installing it into the database home 10.2 you'll corrupt the database installation.
    Before installing DG4ODBC, please make sure your Oracle database release is 10.2.0.4 or 10.2.0.5. If you still have 10.2.0.3 or 10.1.0.5 you have to apply the gateway compatibility patch to your Oracle database release.
    More details can be found in the gateway config note available at "My Oracle Support".
    The notes are:
    - Installing on a 64bit Unix OS:
    How to Setup DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX) [ID 561033.1]
    - Installing on 32bit linux:
    How to Setup DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit [ID 466225.1]
    - Installing on Windows:
    How to Setup DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit [ID 466225.1] (although it is the 32bit note is is almost similar for a 64bit Windows installation
    You can download Dg4ODBC for free from http://edelivery.oracle.com or from http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html

  • How to connect oracle application server portal to MS access DataBase

    Hello,
    I am facing one problem here.
    Our client is having their database in MS access and they want to implement the oracle application server portal for their organization then how to connect the MS access DB to oracle Application server portal

    There is a worked example of how to connect oracle to an Excel spreadsheet, which is easily modifyable to read from an Access Database.
    http://asktom.oracle.com/pls/ask/f?p=4950:61:::::P61_ID:4406708207206#18830681837358
    I had some concurrency problems - only one person could use the link at any one time, so I used it to load the data into oracle tables.
    Tak

  • How to connect Oracle database in VC++.06

    How to connect Oracle database in VC++.06 please give me details

    on the Insert command button and add the following code to the button click event:
    try
    string results = "";
    OracleConnection con = new OracleConnection("DSN=Employee;uid=system;pwd=test");
    con.Open();
    .....................................................................

  • How to connect oracle database from tuxedo

    Hi,
    How to connect oracle database from tuxedo.
    If any one can help me.
    Regards,

    it depends on configuration your going to choose, there are two ways--
    - Using X/Open standards, for this
    you have to make an entry of Resource manager in $TUXDIR/udataobj/RM file.
    Then in UBBConfig file in GROUPS section u have to set Openinfo.
    It also depend on which database you are going to use.
    In your service now you need to call tpopen() API from tpsvrinit() function.
    - Other possibility is, take an implicit connection using Pro*C or Pro*Cobol whatever platform you are using.
    EXEC SQL Connect ...

  • How to connect oracle database using jsf

    how to connect oracle database using javaserver faces with connection pooling

    Here is one way...
    http://jakarta.apache.org/commons/dbcp/

  • How to connect oracle database with JAVA

    how to connect oracle database with JAVA....
    using j2sdk and Jcreator . which connector to use .. what are the code for that ..

    PLEASE .... Ask in an Oracle Java forum.
    And read the documentaiton. There is a whole document devoted to doing that. http://download.oracle.com/docs/cd/B19306_01/java.102/b14355/toc.htm has examples.
    PLEASE ... do not ask product questions in a forum which clearly has a title saying it is devoted to assisting with download problems.

  • How to connect oracle database into VC?GIve step by step.

    Hi Experts,
    Please help
    How to connect oracle database into VC?
    I need step by step.
    what shall i do the first to connect via jdbc or  something else.
    whether we have to create dsn name or using jdbc connections?which one to use?
    Please give the basic steps.Its very urgent.
    Thanks and Regards,
    Nutan

    Hi ,
    all information are in the following document:
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6209b52e-0401-0010-6a9f-d40ec3a09424">How to Configure a Business Intelligence JDBC System for Visual Composer</a>
    Rgds,
    Karim

  • How to connect oracle form6i or 10g to mysql database

    can anyone tell me how to connect oracle forms to mysql database using ODBC connector?
    akin

    Hi
    this is step by step installation guide
    http://download.oracle.com/docs/cd/E11882_01/install.112/e10875/toc.htm
    also below link for download
    http://www.oracle.com/technology/software/products/database/index.html
    hope this helps
    Zekeriya

  • How to connect oracle data through BlazeDS in flex 4

    How to connect oracle data through BlazeDS in flex 4

    Hi
                   If u want to connect to the database oracle just paste the Ojdbc14.jar file into the lib folder of blazeds project..
                             Normally blazeds distribution version contains blazeds.war file... upload that war file to the tomcat or any other application server..
                          u will get the build path and in lib folder paste the ojdbc14.jar file to connect to the oracle and do u r stuff at server side java ....
                      if this will reslove ur problem please mark as answered..

  • How to connect oracle client (xp) to database server

    how to connect oracle client to database server
    i have following information
    --server ip
    --port no
    --database name.                                                                                                                                                                                                                                               

    In addition to these parameters you need username and password.
    Then you can connect with
    sqlplus -L username@//server_ip:port_no/database_name
    Yours,
    Laurenz Albe

  • HOW TO CONNECT ORACLE BI DISCOVERER ADMINISTRATOR 10g

    Hi,
    My question is HOW TO CONNECT ORACLE BI DISCOVERER ADMINISTRATOR 10g. I know how to connect PLUS and VIEWER using a URL. Do i need to install Discoverer Admin. separately on my local machine.
    This is very urgent... Please reply.
    Thanks in advance for your time and answers.
    Jay

    Discoverer Administrator is a client side tool, you must install it on your machine or even you can install discoverer administrator in your server but you must connect through a connection string which you must enter in your tnsnames
    regards

  • How to connect oracle 9i to microsoft visio with odbc

    Hi,
    Please anybody can help me that how can i configure my odbc to work with oracle 9i and to connect my database within visio.
    Thanks.

    Do NOT make duplicate post, please
    how to connect oracle 9i to microsoft visio through "odbc"

  • How to connect Oracle 9i / 10g to a Java ( JDK 1.4 / J++) Program?

    Hello,
    I have written a java program in JDK 1.4 ( Which I have compiled in J++).
    I am dont know how to connect oracle ( 9i / 10g) as Backend to my java program.
    Please send the code / instructions to connect my backend.
    my program includes oracle tables..
    Please help me..
    thank you
    Jayanth

    Use JDBC, but who the hell uses J++ anymore?

Maybe you are looking for

  • *SOLVED* - 2D draw very slow, intel / fglrx Xorg driver

    Hey all, My very first support post to the forums I have an issue on a few computers whereby the 2D drawing in X is very slow. This happens on my laptop with Intel vga and also on a desktop when using the proprietary fglrx driver. I did not have this

  • Deletion of schedule line in PO using BAPI_PO_CHANGE

    Hi , Can anyone give me the code to delete a schedule line in a po using the bapi bapi_po_change. Useful answers will be rewarded. Regards, Sowmya.

  • How do you defragment a hard drive

    HOw do you defragment hard drives in a macpro running mountain lion.

  • Where can I download Adobe Connect 8.1.1?

    I need to install Adobe Connect 8.1.2 but first I need to upgrade Adobe Connect 8.0 to 8.1.1. Where can I download Adobe Connect 8.1.1? I have already downloaded Adobe Connect 8.1.2.

  • Total disk size in mb!

    Hi, I am writing a script to get information on disks for Solaris 10, does anyone know of a way to print out the size of each disk on the system in MB i know how to get it in GB and could do some number manipulation however it would be better if I co