How Sql Developer connect to DB2?

like title...
i add the db2 jar to the path ,and how to next?

Its on the cards, We have the bones of it in development, but its not in the cycle for 1.5
Barry

Similar Messages

  • How sql developer connects to a oracle database

    hi,
    I wonder how sql developer connects to a oracle database. does it use oracle client like Toad?
    How does it make the connection with oracle server?
    Sameera

    924164 wrote:
    hi,
    I wonder how sql developer connects to a oracle database. does it use oracle client like Toad?
    How does it make the connection with oracle server?
    SameeraWelcome to OTN
    From Left side Tab click on (+) New Connection. Then at the window give a connection name,User name,Password.
    Then provide Host Name, Port and SID
    Click on Test button and then save or connect.
    Hope this will help you

  • How to solve Oracle SQL Developer connection problem ?

    Folks,
    Hello. I am using Oracle Database 11gR1. The Database Control Console https://localhost.localdomain:1158/em works correctly. I can create a Database and a table successfully.
    My OS is Linux and connects to internet successfully.
    In order to run SQL statements. we need to use Oracle SQL Developer. I connect Oracle SQL Developer in the following way:
    Connection Name: DB1 (this is my database name as well)
    Username: SYS (this is the user name I used to login to the Console)
    Password: SYS (this the password used to login to the Console)
    Connection Type: Basic
    Host Name: localhost
    Port: 1158
    SID: DB1 (this is created during installing the Database)
    But the error message comes up: "Status: Failure - IO exception Connection Reset."
    Can any folk tell me how to solve Oracle SQL Developer connection problem ?

    user8860348 wrote:
    Folks,
    Hello. I am using Oracle Database 11gR1. The Database Control Console https://localhost.localdomain:1158/em works correctly. I can create a Database and a table successfully.
    My OS is Linux and connects to internet successfully.
    In order to run SQL statements. we need to use Oracle SQL Developer. I connect Oracle SQL Developer in the following way:
    Connection Name: DB1 (this is my database name as well)
    Username: SYS (this is the user name I used to login to the Console)
    Password: SYS (this the password used to login to the Console)
    Connection Type: Basic
    Host Name: localhost
    Port: 1158
    SID: DB1 (this is created during installing the Database)
    But the error message comes up: "Status: Failure - IO exception Connection Reset."
    Can any folk tell me how to solve Oracle SQL Developer connection problem ?username: sys
    password: enter_your_correct_password given at the time of oracle installation
    role: select sysdba if you would connect as sysdba else select normal for users other than sys
    hostname: enter your oracle server hostname or ip address eg:- 192.168.11.12
    to find the hostname open terminal/command prompt in oracle installed machine
    type ---> hostname
    type ---->ping hostname
    you can find the ipaddress of the server
    port number: 1521 (default) ----> i guess , else check the port number in the tnsnames.ora file under your ORACLE_HOME/network/admin folder
    SID: DB1
    try it
    Good Luck

  • SQL Developer Connection to SQL Server

    Hi,
    could some body help in connection sql developer connection to sql server 2005 please?
    thanks,
    kamalesh

    Setting Up SQL Developer for MS SQL SERVER 2000
    1) Install/Extract SQL Developer 1.2.1 in C:\Program Files\Oracle
         Making the {$sqldevhome} = C:\Program Files\Oracle\sqldeveloper
    2) Obtain the JDBC SQL SERVER Pluggin (jtds-1.2.2-dist.zip) from:
    http://sourceforge.net/project/showfiles.php?group_id=33291&package_id=25350
    3) Unzip jtds-1.2.2-dist.zip
         Creates:      jtds-1.2.2.jar
                   \x86\SSO\ntlmauth.dll
    4) Copy the jtds-1.2.2.jar into:
    {$sqldevhome}\jlib Directory.
    5) Copy the the ntlmauth.dll dll in the \x86\SSO subdir into:
    {$sqldevhome}\jdk\jre\bin\ntlmauth.dll
    6) In SQL Developer:
         Got Menu "Tools"
                   - Preferences...
                   Expand the "[+] Database
                   Choose "Third Party JDBC Drivers"
                   Click "Add Entry"
                   Then Browse for your copy of "{$sqldevhome}\jlib\jtds-1.2.2.jar"
                   Note: Use the jar filename, not its parent directory for entry.
    7) Restart SQL Developer and try your SQL Server 2000 Connection

  • SQL Developer connect to RAC12c (Basic) failed with ORA-01017 invalid username/password; logon denied

    I'm using scan in hostname to connect as Basic that failed ORA-01017.  I'm using the same credential system to logon from sqlplus and is fine.
    Any ideas?

    Essentially all you have said is: help me, I have a problem.
    1. full version of sql developer being used
    2. full version of Java SDK being used
    3. full version of JDBC jar file being used
    4. full details on the connection information being used
    5. full version of the Oracle client being used
    6. confirm that both your sql*plus and sql developer connections were made from the SAME machine
    A Basic connection uses the thin driver while sql*plus is using OCI

  • Partial(?) SQL Developer Connection

    Here are the symptoms:
    Can only connect to SQL Express as SYS (or SYSTEM)
    When using TNS, no schemas show in Network Alias dropdown
    No developer-created tables (in SQL Express) can be viewed in SQL Developer connection
    Environment:
    Using local machine (laptop)
    OS: Windows 7
    SQL Developer 4
    I have a feeling I'm just missing something in configuration or set-up, but am not sure. Since I cannot create a full connection to a database using Developer, it's not useful to me and I would like to use it. Because the Network Alias dropdown isn't showing me anything, I'm wondering if anything is wrong with my SQL Express installation.
    Any help will be greatly appreciated.
    Thanks.

    My apologies. I have been told that the developer forum was the incorrect place to ask help for this problem. So I marked it as answered (by direction, presumably by the moderator). In the response, I was told to pose the question in the general area, which is what I thought I was doing.
    No need to apologize - we are trying to get you to the right forum for your question.
    You said you are using sql developer 4 and pPart of what you said was this:
    When using TNS, no schemas show in Network Alias dropdown
    Oracle doesn't have any such 'Network Alias dropdown' - and 'schemas' would NOT be in a TNSNAMES.ORA file: that file has SIDs or SERVICE_IDs and is normally used with an OCI Oracle client installation. Is that dropdown something on the connection dialog in sql developer?
    And when you connect as one user you won't see any tables or objects for other users unless you open the 'Other Uses' tree.
    You don't need a TNSNAMES.ORA file to connect if you use 'BASIC' as the connection type.

  • Query on SQL Developer Connections Tree Does Not Display Objects

    Hi Gurus, Could you please clarify on the below. As per the note ID 1458753.1, SQL Developer Connections Tree Does Not Display Objects to user in order to access database objects outside the owned schema/account. ------------------------- By default, and without granting wide privileges such as DBA, a user will only see his or her own objects in the first level object nodes under their connection.  Objects in other schemas must be accessed via the Other Users node under the connection. This is the intended functionality/display in SQL Developer. ------------------------- Is there any other way we can achieve this? Requirement is very common - user A owns all objects and user B granted read/read-write privileges on user A objects. Now user B wants to Display user A objects in the corresponding objects node of SQL developer. Could any one shed some light here? Thanks Venu

    First off, there is a dedicated SQL Developer forum where lots of the developers hang out. Those folks are way more knowledgable that we are about the tool.
    That said, I have no problem displaying dates. Do you just have a problem with this particular query/ field/ table? Or does it affect all dates? What version of SQL Developer are you using? 1.1 is out now.
    Justin

  • How to enable Advanced Security (ANO) on SQL Developer connections?

    I would like to enable Advanced Security (ANO) in some of the connections in SQL Developer 1.2. Is it possible? It seems not possible to specify it in JDBC URL. I tried to use a TNS connection and put a sqlnet.ora in $TNS_ADMIN but it seems to be ignored (garbage algorithm names does not give any error).

    In SQL Developer go to Tools -> Schema Diff !
    in SQL* Plus you will need to write PL/SQL for this.
    Amardeep Sidhu

  • Oracle/ SQL Developer connection problem.

    I have installed Oracle 11 g and SQL Developer, When I open SQL Developer and try to make a new connection ( I name the connection, put a user name in, put my password in), I click on "Test" and I get this error:
    Status: Failure - Test failed: Listener refused the connection with the followong error:ORA-12505, TNS: listener does not currently know of SID given in connect descriptor The connection descroptor used by the client was:localhost:1521:ex
    Can anyone explain this to me and help me resolve this issue I am having?
    Thank you in advance for your help
    -steve
    p.s. I have also tried the user name: Scott and Password: Tiger

    Windows 7 Home ... will have challenges at some point, as Oracle may not be completely compatible with Windows 7.
    Aside from that, you may find firewall issues even if you are on the same machine, since the default connection from SQLDeveloper is to use the network (even loopback).
    First step is to verify that the database and listener are running and that the database is registered to the listener. TO do that, drop into command line and issue:
    1) Listener
    lsnrctl statuswhich will give one of two results, if properly installed. First - listener is down
    C:\temp>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 07-FEB-2010 20:48
    :13
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       32-bit Windows Error: 2: No such file or directory
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=FCC003L)(PORT=1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       32-bit Windows Error: 61: Unknown errorIf the above is displayed, check the Service applet (Control Panel -> Admin Tools > Service) to ensure serivce is up, or enter "lsnrctl start", in which case the status shoud show
    C:\temp>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 07-FEB-2010 20:46
    :40
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
    ction
    Start Date                05-FEB-2010 14:42:10
    Uptime                    2 days 6 hr. 4 min. 30 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Default Service           XE
    Listener Parameter File   C:\oracle\app\oracle\product\10.2.0\server\network\adm
    in\listener.ora
    Listener Log File         C:\oracle\app\oracle\product\10.2.0\server\network\log
    \listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=FCC003L)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    C:\temp>2) After the service is verified up, make sure the database is up
    sqlplus / as sysdbawhich should respond with something like
    C:\temp>sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Feb 7 20:43:12 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL>if it gives something like
    C:\temp>sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Feb 7 20:44:49 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    ERROR:
    ORA-12560: TNS:protocol adapter errorthe pull up the Control Panel, Admnistration Tools, Services and start the database. Then recheck the listener and it shoudl show some additional services such as
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "TEST" has 1 instance(s).
      Instance "xe", status READY, has 1 handler(s) for this service...
    Service "XEXDB" has 1 instance(s).
      Instance "xe", status READY, has 1 handler(s) for this service...
    Service "XE_XPT" has 1 instance(s).
      Instance "xe", status READY, has 1 handler(s) for this service...
    Service "xe" has 1 instance(s).
      Instance "xe", status READY, has 1 handler(s) for this service...
    The command completed successfullyIn the above, remember the "xe" from 'Service "xe" has 1 instance(s).'. I expect to see something about that in the TNSNAMES.ORA file in your ORACLE_HOME\network\admin directory. That file should have an entry like
    XE =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = FCC003L)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = XE)
      )and you will note the XE on the left side of the equal sign (which is a network alias), and one XE in the (SERVICE_NAME = XE) line. On YOUR system, the XE should be replaced by whatever you called your database (often 'orcl'). REMEMBER THIS ALIAS;-) and also make note of the host that your entry uses. If your host name changes because of DHCP, you're hooped (for a while).
    If the database is registered (shows up in the list), the next step is to make sure a userid is available. You could use 'system' (try to avoid using SYS since it is the master userid and if you mess that up, you mess up all your homework. In a production encvironment, every access to SYS will be audited.
    So, let's create a userid called me with (in 11g case sensitive) password 'myself'. Make sure that user is allow to log in (create session) and create a table.
    C:\temp>sqlplus system/oracle
    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Feb 7 20:54:38 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL> create user me identified by myself;
    User created.
    SQL> rem to show you how to change password ...
    SQL> alter user me identified by myself account unlock;
    User altered.
    SQL> grant create session, create table to me;
    Grant succeeded.
    SQL> exit
    Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Productionand now see whether we can log in using the same 'network' technique we will later use with SQLDeveloper.
    Do you remember the XE discussion above? Replace XE with the one on the left of the equal sign - the system looks that up to find which service it wants to access.
    C:\temp>sqlplus me/myself@XE
    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Feb 7 20:58:26 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL> select * from dual;
    D
    X
    SQL> exit
    Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - ProductionIf the above worked, you should have no problem accessing the system using SQLDeveloper. You simply use the HOST, the PORT and the SID (alias) or service from the "lsnrctl status" output in the SQLDeveloper fields.
    If it did not work, try dropping the "@XE" to see whether you can get in (using the bequeath connection) which is useful for troubleshooting but will not help with the traditional SQLDeveloper connection. If you get in without the @XE (or whatever your alias is) but not with it, most likely either your listener is not up or your firewall is blocking the access to the listener.

  • Sql developer connectivity problem

    Hi,
    I'm finding it difficult to connect my downloaded sql devloper to the oracle. I am doubting if my login details were correct, or there re some other configurations that needs to be done. Please can you tell me how I can get to retrieve my username and password? Also tell me what needs to be at the hostname box and the SID box. Thanks
    Herbert.

    You need a separately installed Oracle database to use with SQL Developer. If you have one at work, ask your DBA for the connection details. If you install one yourself, these details will become obvious.
    Have fun,
    K.

  • SQL developer connecting problem

    Hi,
    our remote server has oracle 8 and Oracle 10G. Oracle 8 installs very long before and oracle 10G installs today.
    As sql developer cannot support to 8i; when i try to connect to oracle 10G i get the following error. ORA-12505
    I have oracle in my laptop and can connect via sqlplus but cannot connect with sql developer.
    C:\>sqlplus sys as [email protected]:1521/xxxx
    password:
    SQL>
    Thanks.

    Hi,
    Not sure if you are running two listeners (one for 8i, one for 10g) on that server. When I had problems connecting to 10g XE and 11g running on the same server, each with its own listener, I read that disabling the 10g listener and updating the 11g listener.ora and tnsnames.ora with entries for 10g solved everything. Always use the listener for the newer Oracle release. Possibly you do not have control over the listener configurations on the server, but this is something to consider.
    And here is a thread from a different forum with opinions on when single or multiple listener configurations might be preferred (and some info on how to do it):
    Re: Running 10gEE and 10gXE on the same pc
    Regards,
    Gary
    SQL Developer Team

  • Issue with SQL Developer connect to SQL server

    I'm using "SQL Developer 2.1.1.64.45" to work on a migration project which needs to convert a SQL server database to a Oracle 11g database. But I got an issue when I setup the SQL server connection. The SQL Developer let me connect by selecting a SQL server database name (For example: Northwind), but once connected, it always connected to "master" database instead. The "SQL Developer" is running on Windows 7 Professional (x64) platform. My Oracle database is 11g, and SQL server database is SQL 2005. And my SQL server instance name is "SQL2005". Anyone have ever experienced this problem? Thanks in advance.
    Edited by: user8276338 on Feb 8, 2011 1:05 PM

    Hi Bob,
    Thanks for the feedback, lets stick with SQL Developer 3.
    Correct me if I'm wrong,
    You attempted to migrate from SQL Server to Oracle including target generation and datamove in one go, by filling in each step of the migration wizard to the end.
    During the datamove you got
    ORA-01000:maximum open cursor exceeded
    So it looks like SQL Developer during the migration is not closing cursors fast enough and hits the maximum number of open cursors in your Oracle database.
    I think the default max open cursors is 300 in Oracle.
    There are a few things we can do here.
    You should be able to see the new migration project in your Migration Projects navigator.
    By navigating down the project tree to "Converted Database Objects" we can attempt the data move again by right clicking and choosing "Data Move".
    But first I would restart SQL Developer so as to free up any lingering open cursors.
    That may allow you to complete the data move, as the only cursors being open are being used in the data move and not some cursors which may have been left open from previous steps in the migration.
    Now from my perspective I would like to identify where are we leaving open the cursors, so I'm going to setup some testcases my end to see if I can replicate.
    From your perspective Id presume you just want to move on with the migration.
    So if the above (shutdown and attempt just the data move) doesnt workyou could
    A) Increase the MAX OPEN CURSORs on your Oracle databases so it complete the data move
    or
    B) Use the offline data move technique.
    A) Increase MAX OPEN CURSORs
    This wiki explains how to do that, looks like 1000 is fairly common, but even a much larger number is not a problem
    http://wiki.oracle.com/page/OPEN_CURSORS
    ALTER SYSTEM SET OPEN_CURSORS = 10000;
    OR
    B) Offline Data Move
    If you are moving large amounts of data (say > 1GB), then the standard data move (we call it online), which just uses JDBC to SELECT * FROM and INSERT INTO may not cut the mustard.
    In this case you can try using our offline technique. SQL Developer will generate a set of scripts for you.
    unload_script.bat will use SQL Servers BCP tool to dump out the table data into DAT files.
    oracle_ctl.bat will load the data in the DAT files into Oracle.
    As we know the names of all the tables, columns ,both SQL Server and Oracle, we can generate fairly good scripts.
    The benefit of this technique is large amounts of data can be migrated and you get to use tools designed to dump data and load in data, so you have better error logging and tweaking.
    To attempt this in the Migration Wizard , Data Move page, select offline.
    If you can describe your database a bit (number of tables, number of procedures, amount of data to migrate) I may be able to define my testcase better so I can replicate the issue.
    Thanks
    Dermot
    SQL Developer Team.

  • SQL Developer Connectivity

    Hi,
    I am still unable to connect to a Server over a VPN on MAC OSX (see other post).
    It would be good to have adteailed description, which transports SQL Developer supports:
    Is a UDP Connection OK over VPN or is TCP mandatory? How would I force SQL Developer to use UDP / TCP ?
    Is there a way to use another JDBC driver than the embedded one (Oracle Client Oracle JDBC Driver works on the connection in question with RazorSQL, by that it seems to be a SQLDeveloper Issue)
    Thanks fo any useful hint...
    Regards
    KKloeser

    Are you able to create an SSH tunnel from your localhost through the VPN? This decouples the connection to the VPN from the routing and allows just a 'local' connection to be made.
    I have this setup for multiple DBs I connect to from home. Use these ssh aliases after your VPN connection is setup.
    Host somelocal_alias
    HostName remote.vpn.gateway
    User myuser
    IdentityFile ~/.ssh/id_rsa
    LocalForward 1522 remote.db.machine:1522
    # Usage: sqlplus myuser/password@TNSNames_listing_alias
    Host remote.db.machine
    HostName localhost
    Port 1522
    User myuser
    IdentityFile ~/.ssh/id_rsa

  • How would I connect to DB2 thru sqldeveloper version 3.1?

    Hello:
    has anyone successfully connected to DB2 thru sqldeveloper version 3.1?....I have downloaded the IBM DB2client: the db2jcc.jar and db2jcc_license_cu.jar files and am able to successfully connect to DB2 via an ODBC connection (thru the windows-control-panel)....however when I try to connect thru sqldeveloper, I get the following error:
    "Status : Failure -Test failed: The version of the IBM Universal JDBC driver in use is not licensed for connectivity to z/OS databases. To connect to this DB2 server, please obtain a licensed copy of the IBM DB2 Universal Driver for JDBC and SQLJ. An appropriate license file db2jcc_license_*.jar for this target platform must be installed to the application classpath. Connectivity to z/OS databases is enabled by any of the following license files: { db2jcc_license_cisuz.jar }"
    what is puzzling is that ODBC connection thru the contro-panel, admin tools-data sources(ODBC),file-dsn works fine and no licensing issue with the DB2client downloaded and installed (i.e. db2jcc.jar).....any solutions will be appreciated....

    From what you posted, I'm guessing you don't have the correct licence file (db2jcc_license_cu.jar v db2jcc_license_cisuz.jar ).
    I don't think DB2 on z/Os is fully supported by SQL Developer.

  • SQL Developer Connection Error: Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection

    Hi, I'm running the following setup:
    Mac OS X 10.8.4
    Virtual Box 4.2.16 r86992
    Oracle Developer Days (don't know the version, just downloaded it)
    SQL Developer 3.2.20.09
    Networking is host-only, I tried bridged but that doesn't make a difference for the problem at hand. I can ping my virtual box just fine, telnet to port 1521 looks good too:
    $ ping 192.168.56.101
    PING 192.168.56.101 (192.168.56.101): 56 data bytes
    64 bytes from 192.168.56.101: icmp_seq=0 ttl=64 time=0.449 ms
    ^C
    --- 192.168.56.101 ping statistics ---
    1 packets transmitted, 1 packets received, 0.0% packet loss
    round-trip min/avg/max/stddev = 0.449/0.449/0.449/0.000 ms
    $ telnet 192.168.56.101 1521
    Trying 192.168.56.101...
    Connected to 192.168.56.101.
    Escape character is '^]'.
    asdf
    asdf
    Connection closed by foreign host.
    When I create a new connection with sql developer, with the same hostname / IP (192.168.56.101), Port 1521 (didn't change that) and SID orcl, basic connection type, it can't even connect, throwing the error mentioned in the subject:
    Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection
    I have looked at various threads in the forums here but I'm still stymied why the connection seems to be ok, yet sql developer has problems with it. If I create an ssh tunnel so sql developer only has to connect to localhost it works:
    ssh -L 1521:192.168.56.101:1521 -l oracle 192.168.56.101
    Message was edited by: 2a2e67cd-b5b2-4229-9fa6-21f5dfe0760d

    Hi Ali,
    This may be of varoius reasons..
    Is the database that you are connecting on the same PC?
    You have specified Hostname: localhost.
    If not please replace it with the IP of that server.
    Else please check whether the database listener is started or not. if not please start the listener.
    Check the SID by tnsping command.
    Hope this will help you..
    Thanks
    Ashok

Maybe you are looking for