Connect remote Oracle

I need to connect remote Oracle server for that how to configure the Oracle in network using Static IP and port 1521. Required proper steps. Thanks.

Hi,
You can use oracle NET configuration Assistant for configuring this. It is simple and GUI based.
DBA's normally prefer to use Telnet/Putty (for unix/linux environment) or Remote desktop (for windows oracle servers)..to have better control over Remote DB servers...
Thanks
--Raman                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Not able to connect remote oracle database over VPN

    I can not connect remote oracle database over VPN. tnsping is ok and it shows the server information of remote database. i can also telnet the 1521 port of remote database server. I can connect the same server when it is located in the same LAN. Please help me out this is very urgent.

    6b6c669e-6baa-45c4-a6dc-444aef2d5e7a wrote:
    I can not connect remote oracle database over VPN. tnsping is ok and it shows the server information of remote database. i can also telnet the 1521 port of remote database server. I can connect the same server when it is located in the same LAN. Please help me out this is very urgent.
    First, this is a forum of volunteers.  There is no "urgent" here.
    "Urgent" means one of two things -
    1) people are dying, or
    2) you have a customer-facing, revenue-producing production system that is down.
    (And to get some perspective on the second case, keep the first in mind.)
    For the first, you call whatever civil emergency service seems appropriate.
    For the second, you open an SR with Oracle - which requires a paid-up support contract. For *them* to consider your problem "urgent", you will need to demonstrate that your problem falls under item #2. I seriously doubt your problem fits that criteria.
    You don't have a support contract?  Now you know the exact dollar figure that your company places on the data.
    That said, you need to understand a few things about your specific problem,
    First, port 1521 is only used by the listener to accept a connection request.  Once it gets that request (and finds that it is for a service (sid) that it knows about, it will fork a server process and tell the requesting client that it can communicate with that server process over some other port .. a randomly chosen port number in the "high" range.  It could be your vpn is blocking that other port, whereas your internal firewall is not.
    But this is just an educated guess since I cannot find "can not connect remote oracle database over VPN" in any error message manual. If you had mentioned the VPN along with an actual oracle error message we could be much more precise in our diagnoses and recommendations.
    ---- edit 22 Sep
    It occurred to me that I just assumed you were using the same client machine in both cases ... a laptop that you use both at work (local network) and home (vpn).  If that assumption is false, there are probably problems with your tns setup on the home (vpn) machine.
    But again, it would be much easier to help if you gave us an actual error message.

  • 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?

  • Error while making connection with remote oracle database

    Dear,
    I am trying to make connection with oracle database but when i run java file it's raise an error "classnotfoundexception oracle.jdbc.driver.oracledriver"
    DriverManager.getConnection(
      "jdbc:oracle:thin:@erp:1521:ORCL", "apps",
      "apps");
    Pls any body have idea.
    Thanks.

    Thanks for support.
    Below is error which i am getting while making connection with remote database.
    C:\Program Files\Java\jdk1.7.0_05\bin>java OracleJDBC
    -------- Oracle JDBC Connection Testing ------
    Where is your Oracle JDBC Driver?
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
            at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:186)
            at OracleJDBC.main(OracleJDBC.java:13)
    Advice.

  • How to load date field from a remote Oracle DB with DB Connect

    Hi,
    Does any one have experience extracting Date field from a remote Oracle database through DB Connect to BW?  I am experiencing data format issue.  The extracted data shows '04-Oct-0' for '10/4/05'.  It works fine if I create a view in Oracle database to preformat the data to '20051004'.  But, I am not allowed to create view in Remote DB.
    Any suggestion is very appreciated.
    Regards,
    Frank

    You have to change it to a varchar2 field. YYYYMMDD. I do not know of any other option.

  • Oracle raise ORA-03113 when connect to a remote oracle server using toad

    Hi there,
    when i use the tool toad connect to a remote oracle server which located in a different city,
    when i submit a query in toad,
    if the query returns many rows of data, it will raise the error ORA-03113:end-of-file on communication channel,
    however if the query returns only a few rows, i won't raise such error,
    however, when i use sqlplus connect to that remote server, it won't raise such error,
    what's the reason is, can any one tell me how to tackle this problem if using the tool toad. thanks/

    hi my oracle vsersion is:
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    my oracle server is 2 nodes rac server,
    and i've tried two different kind version of toad v9.6 and v10.5, and both have the same problem
    once i query a table, if the result returned more than 30 rows, then it will raise that error, if query returns less than 30 rows, it's ok.
    i assume it is a problem concern with network, but i don't know why no such error raise when using sqlplus ?

  • Remote Database Connection DB2 - Oracle

    Hi All
    We need to maintain a remote db connection in DBACockpit. We are on DB2 UDB and we need to connect to Oracle. We have all the connection details.
    Now my query is do we need to maintain connection details at DB2 level also , or is it enough to maintain them in DBACockpit.
    Basically i need to connect from my SAP BI system which is on DB2 UDB 9.1 to Oracle Database.
    In oracle we can connect to different databases using TNS functionality, is something there like TNS in DB2 where we have to maintain the remote DB connection details? If yes request you to provide some relevant document for the same
    Thanks in Advance.
    Regards
    Kaleem.

    Hi Kaleem,
    if you want to administer your ORACLE database through DBACockpit, you need to prepare your system for a DBSL multiconnect to ORACLE as described in note 339092 ( i.e. install ORACLE client, ORACLE DBSL library, etc. ).
    This multiconnect can also be used for BI Connect.
    If you just want to query some ORACLE tables in your DB2 system, you may also consider to use the DB2 federation feature to create ncicknames within your DB2 database that point to ORACLE tables. In this case I suggest to consult the DB2 manuals on how to do this. You may also have to install an additional DB2 license for the hererogenous federation feature to create nicknames to ORACLE tables.
    Regards
                   Frank

  • Connect to Remote Oracle Database

    I am unsuccessfully trying to connect to remote Oracle database using OleDB/ODBC/Oracle Client.
    Do I have to install Oracle Client in order to use those drivers and which version?
    I would really appreciate any help. THANK YOU!

    Marina,
    Please refer this question to the general Installation forum. Thanks!
    The short answer is yes, you need to have the Oracle client software installed.

  • Connecting to remote oracle server from asp

    Hi All
    How can I access remote oracle server from asp?. I'm using the following connection string.
    " Provider=MS Remote;Remote Provider=MSDAORA;Data Source=XYZ;Remote Server=http://DBServersIP;User Id=id;Password=pw"
    Both the web server and DB server has oracle client. I can tnsping, connect using sql * plus from the webserver.
    But when I try to do simple connection & query , I get the following error.
    " Microsoft ADO/RDS(0x80072EFD)
    Internet Client Error: Cannot Connect to Server.
    All the permission settings are given correctly (after referring Microsoft & Oracle websites)
    Can someone throw some links or help.?
    Your replies much appreciated.
    Thank you
    Arum

    why do you have http://DBServersIP as the remote server?
    Your connection string should look like:
    "Driver={Microsoft ODBC for Oracle};Server=MY_SID;Uid=my_user;Pwd=my_pwd;"
    There are other variations, but none of them should include HTTP anywhere.

  • How to connect to remote oracle system from webDynpro

    HI Experts,
       i am trying to call some remote oracle stored procedures in webdynpro using jdbc.
    i am using "jdbc:oracle:thin" driver for connecting to
    oracle database.when i am running this one as java standalone application it is working fine.but when i am
    using this in webdynpro server is getting restarted.
    what might be the problem
    or is there is another way for this.
    thanks in advance
    With Regds
    Naidu

    Hi,
    It seems the flwg thread has the solution for you:
    Oracle as Back-end with Web Dynpro
    Regards
    Srinivasan T

  • Could not connect  to a remote  Oracle db

    Hello ,
    I would to connect with Sqlplus ( Installed Oracle version 9i Release 1 (9.0.1.1.1) for Windows) from my external machine , runnig with Windows XP as OS , to a remote Oracle 10g db installed on a virtual machine running with Ubuntu as OS .
    The same senario should be working in the other direction ( from Ubuntu ( Virtual machine ) to Windows XP ( external machine ) .
    The DBlinks between the two dbs were well created at both sides.
    At Windows side ( external machine ) the tnsnames is already updated .
    At Ubuntu side and in order to allow listener accept remote connections, the following command was executed :
    EXEC DBMS_XDB.SETLISTENERLOCALACCESS(FALSE);
    At Ubuntu side there is no tnsnames file to update .
    I try to connect from both sides to the remote linked db but no result was obtained and the same error occured :
    - From external machine side :
    SQL> select * from Client1@XE;
    select * from Client1@XE
    ERROR at line 1:
    ORA-12154 : TNS: could not resolve the connect identifier specified
    - From virtual machine side :
    SQL> select * from Client4@ING3;
    select * from Client1@XE
    ERROR at line 1:
    ORA-12154 : TNS: could not resolve the connect identifier specified
    I'm not sure , but the reason could be the missing settings that have to be filled in the missing tnsnames file at Ubuntu Side .
    Could you please tell how and where to add the missing tnsnames file at Ubuntu side?
    Thank you
    khaled

    Try replacing
    jdbc:oracle:thin:@SFOServer:1521/DevDB
    with
    jdbc:oracle:thin:@SFOServer:1521:DevDB

  • Connecting To Remote Oracle Server

    Hi All,
    I'm new to Oracle and have been given the task of migrating photographs stored as BLOBs in Oracle to Fedora Commons.
    At the moment I'm having problems using SQL-PLUS to connect to the remote database.
    So far this is what I've done:
    1 .Downloaded:
    instantclient-basiclite-win32-11.1.0.7.0.zip
    instantclient-sqlplus-win32-11.1.0.7.0.zip
    2. Extracted the above to C:\Program Files\Oracle Instant Client
    3. Added C:\Program Files\Oracle Instant Client to the start of my PATH variable
    4. Created a tnsnames.ora file in the above directory with the following contents:
    RDF = (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.209.2.40)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = orcl)
    5. Added a new environment variable called TNS_ADMIN and set it to C:\Program Files\Oracle Instant Client
    I then checked the setup by opening cmd and running sqlplus [username]/[password]@rdf which results in this error:-
    SP2-1503 Unable to initialize Oracle call interface
    SP2-0152 ORACLE may not be functioning properly.
    I have Googled this and most suggestions point to setting the ORACLE_HOME variable. However, I want to connect to a remote Oracle database so I don't see why this causes the problem and also even if I had to set that variable what would I set it to?
    Any help is appreciated,
    Keith
    PS:
    I followed this tutorial (it is 2 years old however): http://www.bernzilla.com/item.php?id=784

    is your tns listener up?
    goto command prompt
    type
    lsnrctl
    in the listener control utility type
    status
    and it copy paste the data here

  • JDBC connect to remote Oracle, IOException,Help!

    I am trying to connect to remote Oracle 8.1.6 resides on IBM AIX server, the oracle SID is correct, and ping host address is also successful. also, downloaded JDBC driver classes12.zip from oracle...but i still encounter the IOException: Network adapter cannot establish connection!...could anyone tell me how to test whether the oracle's listener works...?
    i also tried to run the following piece of code on that IBM server, changed the host address to 'localhost', but still, the IOExcetpion:Network adapter cannot establish connection!...why? cos i am running the code on the server where Oracle resides.....
    great appreciation for anyone replies me.....the code is here:
    import java.io.*;
    import java.sql.*;
    import java.text.*;
    import oracle.jdbc.driver.*;
    public class viewtable
    Connection con;
    Statement st;
    public viewtable (String args[]) throws ClassNotFoundException,FileNotFoundException,IOException,SQLException
    url="jdbc:oracle:thin:system/manager@IP:1521:SID";
    Class.forName ("oracle.jdbc.driver.OracleDriver");
    try
    con=DriverManager.getConnection(url);
    st = con.createStatement ();
    doexample ();
    st.close ();
    con.close ();
    }catch(SQLException e)
    System.err.println(e.getMessage());
    public void doexample () throws SQLException
    ResultSet rs = st.executeQuery("select * from sales");
    if(rs!=null) {
    while(rs.next())
    int a = rs.getInt("no"); System.out.println("NO = "+a);
    rs.close();
    public static void main (String args[])
    System.out.println ("Oracle Exercise 1 \n");
    try
    viewtable test = new viewtable(args);
    } catch (Exception ex)
    System.err.println ("Exception caught.\n"+ex);
    ex.printStackTrace ();

    with an RS/6000, don't you have a db admin ? he/she should know how to set up the listener properly.
    if you have to do it on your own, try the following things:
    - www.orafaq.com is often very helpful
    - search the web for "oracle listener" etc. A first goolg search gave me the following link: http://www.ibiblio.org/mdw/HOWTO/Oracle-7-HOWTO.html
    - check the files listener.ora and tnsnames.ora. They should be located somewhere in your oracle home direcotry on the server
    good luck
    PS: to start a listenter, type "startup" in the lsnrctl tool, maybe you can already see something.

  • ORA-12514 error: Instant Client 11 connect to remote Oracle 8i

    I encountered a problem that I have spent hours fixing that. Here is the problem:
    I am trying to connect to a remote Oracle 8i server using Oracle 11 instant client: here is my connection string in PHP:
    *$conn = oci_connect('db_user', 'db_pass', "db_ip/db_service");*
    db_ip is the ip of the server, such as "12.34.56.78". db_service is the service of server, such as "test".
    The error shown is "*ORA-12514:* TNS:listener does not currently know of service requested in connect descriptor"
    I could use the same client to connect to another oracle 10g server. The php code is same, only change the db_user or db_pass or db_ip. db_service is not provided.
    I dont use tnsnames.ora for either oracle *10g s*erver or oracle 8i server. I just use the simple IP of server. Does this matter?
    Server using: Windows Server 2008 R2
    PHP: php 5.2.17
    Oracle Instant Client: 11_2
    Any ideas will be appreciated.
    Best, Sam

    Pl do not post duplicates - PHP 5.2.17 and Oracle 8i

  • Connect to Remote Oracle Server?

    Hi all,
    What is the recommended method for connecting a Windows 2000 web server to a remote Oracle database? Ideally, a driver could add the remote Oracle database to our local list of ODBC datasources.
    We're using ColdFusion (web application development package) to connect to local ODBC datasources. A prospective client of ours would like to use our ColdFusion web server, but with their own Oracle server providing the back-end database, rather than use our native Access or SQL databases. I'm happy to do this, provided a simple, secure and free solution is available.
    The ColdFusion support forums talk about an "Oracle Client" though I can find no reference to it -- let alone, a download page -- on Oracle.com.
    Any help is greatly appreciated.
    Dave

    The general procedure for connecting a web server to an Oracle database via ODBC is as follows:
    1) Install the Oracle client on the web server machine. You can download the Oracle client from OTN by going to "Software" and choosing "Oracle 8i EE". If you have an Oracle CD, "client-only" is an installation option. Note that the 8.1.7.0 ODBC driver will be installed automatically when the Oracle client is installed. You may want to download and install the updated 8.1.7.2 ODBC driver.
    2) Use the Net8 Configuration Assistant to provide the Oracle client with the connection information for the remote Oracle database.
    3) Create a new ODBC DSN for the Oracle database (alternately, your application can make a DSN-less connection)
    4) Now, your application should be able to connect with the Oracle database.
    Justin

Maybe you are looking for

  • Flex 4.5.1 Setting VideoPlayer source to null when it is already null results in a runtime error

    I moved my project from Flex 4.1 to Flex 4.5.1 and I noticed that setting VideoPlayer source to null when it is already null results in a runtime error. The same thing applies to the case where you specified as a source url some invalid location (no

  • Need Suggestions For Network Manager/WICD

    Hello again everyone. I seem to be full of issues today. Anyway, I'm a KDE guy and I've been using WICD to manage my network connections since around the time that KDE 4.x premiered, because as far as I know KDE does not have a viable network manager

  • Best to pay off credit card all at once or slowly over time?

    My urrent FICO score is ~730.  I just received a bonus and I want to pay off my sole (CitiBank) credit card with a significant balance.  Should I pay it off all at once or would it be better to pay it off slowly over an extended period?

  • Scene thumbnails incorrect

    I am using Premiere Elements 9.  I use the auto-analyzer to analyze my footage.  It detects all of the scenes, and in the Media panel I am able to expand the source to see each individual scene which I can then add to the timeline if I wish.  This is

  • Anyone ever had a broken sensor?

    When my ipod is charging, I can adjust the volume, go the menu screen, etc., but the second I take it off the charger, I can't do any of those things. The music still plays, but I can't adjust anything. I took it to the ipod store today and they re-s