Oracle Server -Linux Client

Hi friends,
i am Oracle developer, im very new to Linux server concepts,
im in position use 'oracle' in linux client machine and i have to run PLSQL procedure scripts in that PUTTY.
what all the Pre-requesties and how do i make tnsnames connection in Linux Environment.

Veekay wrote:
Hi friends,
i am Oracle developer, im very new to Linux server concepts,
im in position use 'oracle' in linux client machine and i have to run PLSQL procedure scripts in that PUTTY.
what all the Pre-requesties and how do i make tnsnames connection in Linux Environment.It's really not very clear exactly what you are needing to do.
I'm assuming you have an oracle database installed on a linux server and need to know how to access it from your desktop machine.
If so you have choices
- you could install the oracle client software on your desktop. This would allow you to use sqlplus or any number of other apps to access the database.
- you could use putty or any number of other free or paid ssh clients to establish a terminal session on the server. From there you could also run sqlplus. The difference is that it would be running on the server whereas in the first scenario it would be running on your desktop. The database itself doesn't care - either way sqlplus is just another client.
using an ssh client to open a session on the server requires you to have an OS account on that server. Using database client tools at your desktop does not require an OS account on the server. As a DBA, I prefer NOT to give you an account on the server.

Similar Messages

  • Loos connection trougth a firewall between oracle server an client after 10 minutes

    hello,
    i do loos the connection between oracle server an client, because the firewall is between. The firewall will close non active connections an ports after 10 minutes. Only port of one site is clost after 10 minutes then, other site let the port open.
    Shares to the the server do in not loos. Only connection to oracle. What can i do !!!!
    Oracleversion ist 8.0.6
    OS: Windows NT 4.0 and SP5
    Thanks Frank

    I had the same problem and I guess you are also hitting the firewall timeout problem... you can enable Oracle DCD (dead connection detection) by setting sqlnet.expire_time in $ORACLE_HOME/network/admin/sqlnet.ora appropriately. This solution I got from http://asktom.oracle.com.
    I tried setting the expire_time to 50 minutes less than firewall time-out (which is 60 minutes) but it didn't worked, right now i am trying to figure out what else can cause the problem (I am using Oracle connection pool).... but I think above solution may solve your problem
    hello,
    i do loos the connection between oracle server an client, because the firewall is between. The firewall will close non active connections an ports after 10 minutes. Only port of one site is clost after 10 minutes then, other site let the port open.
    Shares to the the server do in not loos. Only connection to oracle. What can i do !!!!
    Oracleversion ist 8.0.6
    OS: Windows NT 4.0 and SP5
    Thanks Frank

  • How to load images from client to oracle server

    Hi
    I want to load the image in oracle. when i tried to laod the iamge from my client(windows) to oracle server(linux)
    it is giving error. i wrotea pl/sql program to store the images in oracle database.
    but the server not reconzing the path of image wich is client. how to overcome this probelm. as iam new to oracle
    i dont know apex and DAD. can any help me with an example
    thak you

    In addition to Solomon, please read:
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:6894565006210, that explains (again) why servers can't see clients and points to an sqlldr example @ http://asktom.oracle.com/pls/asktom/f?p=100:11:2928066747837319::::P11_QUESTION_ID:624423639385

  • How to start oracle database server and client in windows 8

    Hi at all
    I'm a new entry in this forum and I'm a beginner with database oracle.
    I used always SQL Server as database and it was easy to use after installation.
    With SQL Server configuration management program I could to launch the SQL Server (SQLEXPRESS) service and the database server start up!!
    With SQL Server management studio I could to launch the client application, then was establishing a connection to the server and all was working fine!
    Now, how to work with oracle database?
    I installed oracle server and client version 11g R2 on windows 8, but how can I start the server database? .. and how can I start the client application for querying?
    regards in advance.
    P.S.: Sorry for my english. 

    SomeoneElse
    thanks for the response.
    I setting the service to start manually because otherwise windows is slow to startup.
    In particular I have precisely this oracle service on my operating system after installation.
    - ) OracleVssWriterSYSDBA
    - ) OracleDBConsolesysdba
    - ) OracleJobSchedulerSYSDBA
    - ) OracleMTSRecoveryService
    - ) OracleOraDb11g_home1ClrAgent
    - ) OracleOraDb11g_home1TNSListener
    - ) OracleServiceSYSDBA
    What are the services that start the server and I have to launch?
    What is the client program in menu --> start -- > all program --> Oracle - OraClient 11g home..... that I have to use for querying database?
    thanks.

  • Configuring oracle9i linux client

    Im having problems configuring my oracle 9i linux client.
    I have successfully installed Oracle 9.2.0.1 Administrator client. I entered the net manager and added a Service name to my oracle server, I test the connection and it works. Then I try to open oemmap console and login on my server, again it works fine. But when I try to connect directly using sqlplus it simply says:
    ORA-12545: Connect failed because target host or object does not exist.
    Note: You dont need a LISTENER on a client right?

    AutomotiveGuy wrote:
    ... downloaded and installed Oracle instant client 10.2.0.3.
    Now what? I really don't get it wht oracle doesn't provide decent wizards that complete the job?Instant Client is a stripped down version of the full Database Client. Please read the docs.
    I tried to configure manually an ODBC connection and got an ORA-12254 about the TNS listener not resolving etc.If that was ORA-12154, message is likely saying that either you entered a non-existing connect identifier or your tnsnames.ora is missing/not working.
    An alternative would be to use the Easy Connect method, e.g. sqlplus 'user_name/password'@hostname/dbservicename to do without tnsnames.ora configuration. So, in the ODBC config dialogue that's hostname/dbservicename.
    I wrote in the TNS service name bise1db.NGNENG-SERVER2 and I got the 12254. Where is bise1db.ngneng-server2 defined and what does it resolve to? Try entering "ngneng-server2/bise1db" or "192.168.0.27/bise1db" instead.

  • Using Windows NT 4.0 client program connecting to oracle 8i linux server

    Dear sir/madam,
    Recently, I have successfully installed Oracle 8i in my red hat linux database server. I am disappointed because I can find client side Oracle Enterprise Manager in my linux server even I have installed client program in my linux database server.
    Next, I install Oracle 8i client side program (windows NT/2000 version) in my Windows NT 4.0 server. I am still disappointed because I find Oracle Enterprise Manager console cannot work.
    For Windows NT 4.0 Enterprise Manager, I have key in default administrator sysman, password oem_temp, and connect to mamagement server hangng (my linux database server). An error message display 'VTK-1000 Unable to connect to the management server hangng. Please verify that you have entered the correct host name and the status of the Oracle Management Server.'.
    What's wrong with both Oracle 8i Management Server in linux database server and windows nt 4.0 server. Is there any problem for Oracle Management server console to connect to red hat linux database server?

    [email protected] wrote:
    I need to confirm that I will be able to connect an Oracle 11g R2 client (administrator install) to an Oracle 8i DB before i bother trying to setup such a scenario?Don't waste your time. It won't work. It simply results in an error.
    I saw another thread that mentioned a patch level required for 8i to let the 10g client connect. Is there such a patch level needed for 11g clients as well?There is no such patch for 8i which allows 11g client to connect.

  • Windows client - Linux oracle server SSO through Win2003 DC

    Hi,
    I'm trying to do SSO with the captioned setting, the outline can be simplified as below:
    windows cleint --> Win2003 DC --> Linux Oracle server
    Of course, the Linux server would issue kerberos ticket to the Windows client after which successfully authenticates with the Win2003 DC.
    I have problem doing test connection for both Windows client & Linux server when connecting to the database. Both with error "ORA-12638: Credential retrieval failed" when testing with Oracle Net manager. Listener & DB were both started.
    Platform: Redhat Enterprise ES4, Oracle 10.2.0
    The configuration files are as follows:-
    SQLNET.ORA
    SQLNET.AUTHENTICATION_SERVICES= (BEQ, KERBEROS5)
    SQLNET.KERBEROS5_KEYTAB = /u01/app/oracle/oracle/product/10.2.0/db_1/ORACLE.keytab
    NAMES.DIRECTORY_PATH= (TNSNAMES)
    SQLNET.KERBEROS5_CONF = /etc/krb5.conf
    SQLNET.KERBEROS5_CONF_MIT = TRUE
    NAMES.DEFAULT_DOMAIN = test.com
    SQLNET.AUTHENTICATION_KERBEROS5_SERVICE = ORACLE
    TRACE_LEVEL_SERVER=16
    TRACE_DIRECTORY_SERVER=/u01/app/oracle/oracle/product/10.2.0/db_1/network/log/
    TRACE_FILE_SERVER=server
    TRACE_UNIQUE_SERVER=ON
    LISTENER.ORA
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = orcl)
    (ORACLE_HOME = /u01/app/oracle/oracle/product/10.2.0/db_1)
    (GLOBAL_DBNAME = ORCL.TEST.COM)
    # (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = rhedlora)(PORT = 1521))
    TNSNAMES.ORA
    ORCL.TEST.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = rhedlora)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.test.com)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    Can anyone advise what's wrong? Thanks in advance.

    Sorry for miscommunication..
    this is the actual listner information :
    LSNRCTL> start
    Starting tnslsnr: please wait...TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Production
    System parameter file is E:\oracle\ora92\network\admin\listener.ora
    Log messages written to E:\oracle\ora92\network\log\listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ECT-STPPC2316.BLR.INDIA.
    CGINET)(PORT=1521)))Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Produc
    tion
    Start Date 20-DEC-2007 13:32:16
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security OFF
    SNMP OFF
    Listener Parameter File E:\oracle\ora92\network\admin\listener.ora
    Listener Log File E:\oracle\ora92\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ECT-STPPC2316.BLR.INDIA.CGINET)(PORT
    =1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    =============
    I am using different listner(Listner).
    Please let me know if I have to make any configuration at Client Machine.

  • Access oracle server installed on linux from client on winxp

    Hi
    I am new to this forum and oracle on linux too. I am trying to install Oracle 10gr2 on fedora 8. If I installed oracle on fedora 8, can I log onto oracle from windows xp so that i can practice sql, if so how can I do that
    please help me.

    Hi,
    Please download the Oracle Database 10g Client for Windows at http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201winsoft.html
    Then please install the client and configure it, after that, you can use sqlplus to connect the DB on Linux. See http://download.oracle.com/docs/cd/B19306_01/install.102/b15662/toc.htm for details.
    Also, you can use ssh or telnet to connect to the linux from windows, and run the sqlplus command on the linux server directly.
    Bing.

  • Steps to Connect remote Oracle Server using OCi C in Linux

    Hi !
    I am trying to connect oracle server through my application using OCI C in linux, it works fine in my oracle server machine.
    I want to connect oracle server through my C application from Oracle Client Machine
    can anyone help me in this issue ?
    regards
    Balaji.C

    Sounds like you did not specify your database name. Or you database name is hard-coded.
    Can you show us the code?
    Is your TNSNAMES.ORA set up correctly?
    Also, you did not specify any error messages or anything. Are you checking the result codes after any functions?

  • Tnsping doesnt work. cant connect to oracle on linux from windows client

    Installed Oracle 11g on Linux VM. Tried connecting from Tora/SqlDeveloper from Windows machine, but fails. TNSPING fails. PING works fine. Any idea how to resolve below issue?
    Below is the info and checks made :
    [oracle@oraclelinux6 admin]$ more *.ora
    listener.ora
    # listener.ora Network Configuration File: /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = orcl)
          (ORACLE_HOME = /apps/app/oracle/product/11.2.0/dbhome_1)
          (SID_NAME = orcl)
    LISTENERLX =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ADR_BASE_LISTENER = /apps/app/oracle
    sqlnet.ora
    # sqlnet.ora Network Configuration File: /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
    # Generated by Oracle configuration tools.
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    ADR_BASE = /apps/app/oracle
    SQLNET.EXPIRE_TIME=10
    SQLNET.INBOUND_CONNECT_TIMEOUT=240
    tnsnames.ora
    # tnsnames.ora Network Configuration File: /apps/app/oracle/product/11.2.0/dbhome_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)
    [oracle@oraclelinux6 admin]$
    [oracle@oraclelinux6 admin]$ ifconfig
    eth1      Link encap:Ethernet  HWaddr 08:00:27:CA:B7:5D
              inet addr:192.168.1.121  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::a00:27ff:feca:b75d/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:243465 errors:0 dropped:0 overruns:0 frame:0
              TX packets:143708 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:347575845 (331.4 MiB)  TX bytes:9778008 (9.3 MiB)
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:36859 errors:0 dropped:0 overruns:0 frame:0
              TX packets:36859 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:2400424 (2.2 MiB)  TX bytes:2400424 (2.2 MiB)
    virbr0    Link encap:Ethernet  HWaddr 52:54:00:8D:63:05
              inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
    [oracle@oraclelinux6 admin]$ hostname
    oraclelinux6.localdomain
    [oracle@oraclelinux6 admin]$ more /etc/hosts
    127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
    ::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
    10.0.2.15       oraclelinux6.localdomain
    [oracle@oraclelinux6 admin]$
    [oracle@oraclelinux6 admin]$ sqlplus system@orcl
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Dec 2 08:19:59 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Enter password:
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    Enter user-name: system
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> set head off
    SQL> select * from v$instance;
                  1 orcl
    oraclelinux6.localdomain
    11.2.0.1.0        01-DEC-13 OPEN         NO           1 STOPPED
    ALLOWED    NO  ACTIVE            PRIMARY_INSTANCE   NORMAL    NO
    SQL> select * from v$database;
    1360274593 ORCL      26-NOV-13            945184 26-NOV-13
                          1 15-AUG-09 NOARCHIVELOG            1071075
            1033565 CURRENT 26-NOV-13                  1283             1094699
    02-DEC-13 NOT ALLOWED 26-NOV-13 READ WRITE           MAXIMUM PERFORMANCE
    UNPROTECTED          ENABLED   1360252065  1360252065 PRIMARY
                945184 DISABLED NOT ALLOWED          DISABLED NONE    NO       NO
    NO  NO           13
    Linux x86 64-bit
                               2                      2     1094771
    NO                 NO  NO  orcl
                             0 DISABLED
                        0
    NO                                 NO
    LSNRCTL> show inbound_connect_timeout
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    TNS-12535: TNS:operation timed out
    TNS-12560: TNS:protocol adapter error
      TNS-00505: Operation timed out
    LSNRCTL>
    [oracle@oraclelinux6 admin]$ tnsping orcl
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 02-DEC-2013 08:11:34
    Copyright (c) 1997, 2009, Oracle.  All rights reserved.
    Used parameter files:
    /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = orcl)))
    OK (0 msec)
    <msg time='2013-12-02T08:11:55.728-08:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
    host_addr='10.0.2.15'>
    <txt>TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    </txt>
    </msg>
    <msg time='2013-12-02T08:13:23.444-08:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
    host_addr='10.0.2.15'>
    <txt>02-DEC-2013 08:13:23 * (CONNECT_DATA=(SERVICE_NAME=orcl)(CID=(PROGRAM=sqlplus)(HOST=oraclelinux6.localdomain)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=60806)) * establish * orcl * 12514
    </txt>
    </msg>
    <msg time='2013-12-02T08:13:23.444-08:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
    host_addr='10.0.2.15'>
    <txt>TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    </txt>
    </msg>
    <msg time='2013-12-02T08:19:54.141-08:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
    host_addr='10.0.2.15'>
    <txt>02-DEC-2013 08:19:54 * service_update * orcl * 0
    </txt>
    </msg>
    <msg time='2013-12-02T08:20:00.146-08:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
    host_addr='10.0.2.15'>
    <txt>02-DEC-2013 08:20:00 * service_update * orcl * 0
    </txt>
    </msg>
    <msg time='2013-12-02T08:20:03.639-08:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
    host_addr='10.0.2.15'>
    <txt>02-DEC-2013 08:20:03 * (CONNECT_DATA=(SERVICE_NAME=orcl)(CID=(PROGRAM=sqlplus)(HOST=oraclelinux6.localdomain)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=60970)) * establish * orcl * 12514
    </txt>
    </msg>
    <msg time='2013-12-02T08:20:03.639-08:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
    host_addr='10.0.2.15'>
    <txt>TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    </txt>
    </msg>
    [oracle@oraclelinux6 admin]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-DEC-2013 08:25:38
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    TNS-12535: TNS:operation timed out
    TNS-12560: TNS:protocol adapter error
      TNS-00505: Operation timed out
    [oracle@oraclelinux6 admin]$
    [oracle@oraclelinux6 admin]$ lsnrctl status LISTENERLX
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-DEC-2013 08:29:23
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENERLX
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                02-DEC-2013 07:55:29
    Uptime                    0 days 0 hr. 33 min. 54 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File         /apps/app/oracle/product/11.2.0/dbhome_1/log/diag/tnslsnr/oraclelinux6/listenerlx/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "orcl.localdomain" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB.localdomain" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@oraclelinux6 admin]$
    CLIENT SIDE :
    C:\Windows\system32>ping 192.168.1.121
    Pinging 192.168.1.121 with 32 bytes of data:
    Reply from 192.168.1.121: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.121: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.121: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.121: bytes=32 time<1ms TTL=64
    Ping statistics for 192.168.1.121:
        Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
        Minimum = 0ms, Maximum = 0ms, Average = 0ms
    C:\Windows\system32>tnsping ORACLELINUX6
    TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 03-DEC-2013 01:30:13
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    Used parameter files:
    D:\app\Laasya\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.121)(PORT = 1521)) (C
    ONNECT_DATA = (SERVICE_NAME = orcl)))
    TNS-12535: TNS:operation timed out
    # tnsnames.ora Network Configuration File: D:\app\Laasya\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    LISTENER_ORCL =
      (ADDRESS = (PROTOCOL = TCP)(HOST = Laasya-PC)(PORT = 1522))
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = Laasya-PC)(PORT = 1522))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl)
    ORACLELINUX6 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.121)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = orcl)

    f0c7e0f7-dab5-4b63-a36c-04b7e8eb552d wrote:
    Installed Oracle 11g on Linux VM. Tried connecting from Tora/SqlDeveloper from Windows machine, but fails. TNSPING fails. PING works fine. Any idea how to resolve below issue?
    Below is the info and checks made :
    [oracle@oraclelinux6 admin]$ more *.ora
    listener.ora
    # listener.ora Network Configuration File: /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = orcl)
          (ORACLE_HOME = /apps/app/oracle/product/11.2.0/dbhome_1)
          (SID_NAME = orcl)
    LISTENERLX =
    It is pointless, and just adds to the confusion, to name your listener anything other than the default name of LISTENER
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    Client requests to 'localhost' (or its ip address of 127.0.0.1) never leave the client machine.  Hence, any listener configured for that address will never receive a request from any other machine.
    ADR_BASE_LISTENER = /apps/app/oracle
    sqlnet.ora
    # sqlnet.ora Network Configuration File: /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
    # Generated by Oracle configuration tools.
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    ADR_BASE = /apps/app/oracle
    SQLNET.EXPIRE_TIME=10
    SQLNET.INBOUND_CONNECT_TIMEOUT=240
    tnsnames.ora
    # tnsnames.ora Network Configuration File: /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    See comment above regarding 'localhost'.
        (CONNECT_DATA =
          (SERVICE_NAME = orcl)
    [oracle@oraclelinux6 admin]$
    [oracle@oraclelinux6 admin]$ ifconfig
    eth1      Link encap:Ethernet  HWaddr 08:00:27:CA:B7:5D
              inet addr:192.168.1.121  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::a00:27ff:feca:b75d/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:243465 errors:0 dropped:0 overruns:0 frame:0
              TX packets:143708 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:347575845 (331.4 MiB)  TX bytes:9778008 (9.3 MiB)
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:36859 errors:0 dropped:0 overruns:0 frame:0
              TX packets:36859 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:2400424 (2.2 MiB)  TX bytes:2400424 (2.2 MiB)
    virbr0    Link encap:Ethernet  HWaddr 52:54:00:8D:63:05
              inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
    [oracle@oraclelinux6 admin]$ hostname
    oraclelinux6.localdomain
    [oracle@oraclelinux6 admin]$ more /etc/hosts
    127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
    ::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
    10.0.2.15       oraclelinux6.localdomain
    where did that 10.0.2.15 address come from?  You don't have any network adapters configured for that address
    [oracle@oraclelinux6 admin]$
    [oracle@oraclelinux6 admin]$ sqlplus system@orcl
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Dec 2 08:19:59 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Enter password:
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    A well-documented error.
    see: http://edstevensdba.wordpress.com/2011/03/19/ora-12514/  (ora-12514  Listener does not know of requested service )
    Enter user-name: system
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Since you did not use a tns service name ('@orcl') this was a bequeth connection to a local database.
    SQL> set head off
    SQL> select * from v$instance;
                  1 orcl
    oraclelinux6.localdomain
    11.2.0.1.0        01-DEC-13 OPEN         NO           1 STOPPED
    ALLOWED    NO  ACTIVE            PRIMARY_INSTANCE   NORMAL    NO
    SQL> select * from v$database;
    1360274593 ORCL      26-NOV-13            945184 26-NOV-13
                          1 15-AUG-09 NOARCHIVELOG            1071075
            1033565 CURRENT 26-NOV-13                  1283             1094699
    02-DEC-13 NOT ALLOWED 26-NOV-13 READ WRITE           MAXIMUM PERFORMANCE
    UNPROTECTED          ENABLED   1360252065  1360252065 PRIMARY
                945184 DISABLED NOT ALLOWED          DISABLED NONE    NO       NO
    NO  NO           13
    Linux x86 64-bit
                               2                      2     1094771
    NO                 NO  NO  orcl
                             0 DISABLED
                        0
    NO                                 NO
    LSNRCTL> show inbound_connect_timeout
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    TNS-12535: TNS:operation timed out
    TNS-12560: TNS:protocol adapter error
      TNS-00505: Operation timed out
    LSNRCTL>
    [oracle@oraclelinux6 admin]$ tnsping orcl
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 02-DEC-2013 08:11:34
    Copyright (c) 1997, 2009, Oracle.  All rights reserved.
    Used parameter files:
    /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = orcl)))
    OK (0 msec)
    <msg time='2013-12-02T08:11:55.728-08:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
    host_addr='10.0.2.15'>
    <txt>TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    </txt>
    </msg>
    <msg time='2013-12-02T08:13:23.444-08:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
    host_addr='10.0.2.15'>
    <txt>02-DEC-2013 08:13:23 * (CONNECT_DATA=(SERVICE_NAME=orcl)(CID=(PROGRAM=sqlplus)(HOST=oraclelinux6.localdomain)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=60806)) * establish * orcl * 12514
    </txt>
    </msg>
    <msg time='2013-12-02T08:13:23.444-08:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
    host_addr='10.0.2.15'>
    <txt>TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    </txt>
    </msg>
    <msg time='2013-12-02T08:19:54.141-08:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
    host_addr='10.0.2.15'>
    <txt>02-DEC-2013 08:19:54 * service_update * orcl * 0
    </txt>
    </msg>
    <msg time='2013-12-02T08:20:00.146-08:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
    host_addr='10.0.2.15'>
    <txt>02-DEC-2013 08:20:00 * service_update * orcl * 0
    </txt>
    </msg>
    <msg time='2013-12-02T08:20:03.639-08:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
    host_addr='10.0.2.15'>
    <txt>02-DEC-2013 08:20:03 * (CONNECT_DATA=(SERVICE_NAME=orcl)(CID=(PROGRAM=sqlplus)(HOST=oraclelinux6.localdomain)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=60970)) * establish * orcl * 12514
    </txt>
    </msg>
    <msg time='2013-12-02T08:20:03.639-08:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
    host_addr='10.0.2.15'>
    <txt>TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    </txt>
    </msg>
    [oracle@oraclelinux6 admin]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-DEC-2013 08:25:38
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    TNS-12535: TNS:operation timed out
    TNS-12560: TNS:protocol adapter error
      TNS-00505: Operation timed out
    [oracle@oraclelinux6 admin]$
    [oracle@oraclelinux6 admin]$ lsnrctl status LISTENERLX
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-DEC-2013 08:29:23
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENERLX
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                02-DEC-2013 07:55:29
    Uptime                    0 days 0 hr. 33 min. 54 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File         /apps/app/oracle/product/11.2.0/dbhome_1/log/diag/tnslsnr/oraclelinux6/listenerlx/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    See previous comments regarding localhost and 127.0.0.1
    Services Summary...
    Service "orcl.localdomain" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB.localdomain" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@oraclelinux6 admin]$
    CLIENT SIDE :
    C:\Windows\system32>ping 192.168.1.121
    Pinging 192.168.1.121 with 32 bytes of data:
    Reply from 192.168.1.121: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.121: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.121: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.121: bytes=32 time<1ms TTL=64
    Ping statistics for 192.168.1.121:
        Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
        Minimum = 0ms, Maximum = 0ms, Average = 0ms
    C:\Windows\system32>tnsping ORACLELINUX6
    TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 03-DEC-2013 01:30:13
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    Used parameter files:
    D:\app\Laasya\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.121)(PORT = 1521)) (C
    ONNECT_DATA = (SERVICE_NAME = orcl)))
    TNS-12535: TNS:operation timed out
    # tnsnames.ora Network Configuration File: D:\app\Laasya\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    LISTENER_ORCL =
      (ADDRESS = (PROTOCOL = TCP)(HOST = Laasya-PC)(PORT = 1522))
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = Laasya-PC)(PORT = 1522))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl)
    ORACLELINUX6 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.121)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = orcl)
    You've thrown out a huge amount of detailed data, but showing a variety of errors, and combinations.  Overall, I get the impression you are confusing remote vs. local connections.  Please read the following, then come back and let's focus on one error at a time.
    see: http://edstevensdba.wordpress.com/2011/02/09/sqlnet_overview/  (Help! I can’t connect to my database  )
    see: http://edstevensdba.wordpress.com/2011/02/16/sqlnet_client_cfg/  ( Help! I can’t connect to my database (part duex) )

  • "Xandros" (linux flavor), shows "TNS 12203" connect with oracle server(win

    I am using oracle developer 6i and from 2000 on operating system "Xandros" (linux flavor),and working properly after instalation.
    Problem when i am connecting to this Machine with oracle server(windos) it shows "TNS 12203"
    i want to use xendros at client side to connect with Database Server on windows nt.
    Thanks

    Hi,
    here is the descroption of TNS 12203
    oerr TNS 12203
    12203, 00000, "TNS:unable to connect to destination"
    // *Cause: Invalid address specified or destination is not listening.
    // This error can also occur because of underlying network or network
    // transport problems.
    // *Action: Verify that the net service name you entered was correct.
    // Verify that the ADDRESS portion of the connect descriptor which
    // corresponds to the net service name is correct. Ensure that the
    // destination process (for example the listener) is running at the
    // remote node.
    Check if you see the database server from the client machine, and if listener is running and on which port, check tnsnames.ora on client.

  • Oracle Database XE Client(winXP) vs Oracle Database XE (linux)

    hi everybody there, thanks for having some time for reading me.
    i have a linux with Oracle Database XE, under linux with database user 'hr' i can make queries and create applications, that is ok.
    also, i've installed Oracle Database XE Client on windows xp machine, and i'am usin this option: Run SQL Command Line, this prompts me to enter user and password, and i am entering this:
    connect hr/[email protected]:1521
    after a few seconds, i get this error: ORA-12560: TNS:Protocol Adapter Error.
    192.168.0.102 is the IP address from my linux database, 1521 is the default port (i am using this port).
    is this client looking for file tnsnames.ora? what else do i need on client (or server), to connect to my linux database?
    my final aim is to connect from Developer 9i (winxp) to my linux database (in fact, i have the same error of above, trying this), only that i am trying first just to connect from Client XE to my linux, and when i get success with this, i will continue trying with Developer 9i.
    if someone can guide me with this, it would be great. i am becoming crazy.
    thanks.

    hi, thanks friend.
    look, as i also installed Developer 9i, i have a directory where i put a tnsnames.ora file, this directory is: d:/OraDev9i/network/admin
    i don't know if Client XE, looks for this directory?, if i would not have installed Dev 9i, where can i put this tnsnames.ora file for Client XE to read it?
    well, let's asume Client XE looks for directory above, this is my tnsnames entry, pls check it:
    XE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    i don't know if there is something wrong with this, please help me.
    i did what you told me:
    connect hr/francis2010@XE
    and i got this:
    ORA-12154 TNS: Could not resolve service name
    also, i tried changing 'localhost.localdomain' to my linux IP address: 192.168.0.102, and i get the same error message. how do i know where Client XE is reading my tnsnames?
    about the listener, i checked with this: sudo /.../init.d/... status, and it seems it is ok, remember i can work well in linux wiht hr, the port is ok, and i also checked with lsnrctl status, and i got LISTEN, so it seems is ok.
    sorry, and thank you for your support, maybe this is easy but as i know the basics, i am lost.

  • What do I need to open a connection from the Linux box to the Oracle server

    Hi all,
    I want to access oracle database from java application running on Linux.
    The database is installed on a Window 2000 machine. What do I need to install before I can open a connection from the Linux box to the Oracle server on Windows 2000 ?
    Do I need Oracle Client ?
    Thanks,
    Quoi

    Hi Quoi,
    http://myjdbc.tripod.com/basic/jdbcurl.html
    Talks abt how to write a jdbc url and the jar + config required to connect to db. Also has a sample program to connect.
    Regards
    Elango.

  • Accessing Oracle Server without Installing Oracle Client

    Hi
    I work on a linux based server which would be installed with Oracle Server. My problem is that I dont want to install Oracle Client on every client workstation since there are 1500 PCs in my company.
    Could anyone help me on this?
    Please note that all of the workstation are using Windows Operating System.
    Thanks
    Antony

    I do not believe such an animal exists. Since Oracle's wire protocol is proprietary, reverse engineering it is a very significant investment.
    If you need to access the Oracle server without installing the Oracle client, can you use the thin JDBC driver?
    Justin

  • Oracle Application Server 10g R2 installation on Oracle Enterprise Linux 5

    Hi there ...
    I want to install Oracle Application Server 10g R2 on Oracle Enterprise Linux 5. Can I get an installation instructions (or steps) for that?
    Oracle installation guide mentions Suse 9 & 8 and Red hat 3 & 2. There is nothing related to Oracle Enterprise Linux 5 or 4?
    Thanks

    Yes there is one for 10gR3 too:
    Note:465159.1 Oracle Application Server 10g (10.1.3) Requirements for Linux OEL 5 and RHEL 5
    Thanks
    Shail

Maybe you are looking for

  • "AT END OF" Command in Smartforms

    Hi all,        I'm trying to use Smartforms For Invoice Printing. I created a "Z" Smartform wherein I've to call a new page for a new invoice number. I'm giving the Invoice numbers as I/P in my "Z" report. What should I do regarding this? Cheers Ramk

  • Error creating filesystem

    Hi there, I am following all the instructions as well as I can. I have a core image on a CD and on a USB. No luck, as soon as I confirm the file system I receive an error, - "Error creating filesystem" I have tried all the file types. The system is a

  • Common Error Mesg Frustrating

    hi,new to java,soplease be patient: 1) I've installed jdk1.6 on c drive in a folder named java 2) I've also saved the "HelloWorldApp.java" text file in the same folder 3) Now I try to run with C:\java\jdk1.6.0_10\bin\javac HelloWorldApp.java at the c

  • Skype 6.15 wont connect using mac 10.6.8

    It just wont connect i tryed turning off and on please help.

  • What skills/Knowledge needed to learn EP....????

    Hi All, I am ABAP Developer and now would like to learn EP. I dont know Java as of now. I would like to know what alkl skills needed (apart from ABAP) for learning EP now??? Please Guide me in this regard.... Regards Pavan