Connecting Remote Database in 8i

I have system in my house, windows 2000 is OS,Oracle as database
I want to connect My freinds Database using the Modem.
Do I require His IP ADDRESS. specifing his IP ADDRESS in listner can it possible.If any body having solution. pls reply

You will have to configure the tnsname using your friend's ip address and global name of his database.
Then you will need to create database link from your database to remote database.
Refer this url for more info on creating database link and accessing remote database
http://www.experts-exchange.com/Databases/Oracle/Q_20660517.html
Chandar

Similar Messages

  • Connecting remote database

    Hello,
    I am trying to realize the example discussed in
    updating a table in a database with data from a table in another database
    My 1st concern now is how to connect to the remote database.
    How do one connect to it?
    schema.tableName@server:port:dbName
    is not doing it. I have to apply it in a java program and I am testing it with Toad.
    Thanks + regards

    Just create a DB LINK for this kind of task. Say if you have two databases, one is db1, the other is db2. Create a db link for db2 in db1, then in your java program, connect to db1 as you normally do and submit sql statement like:
    select * from schema.tablle@db2
    Hope this helps.
    G.B.

  • Unable to connect remote database

    my scenrio is like this
    we are having 3 domains,one fro nt,2nd for windows
    2000 server,3rd for another windows 2000 server and
    dns server resides with nt.4,database on both windows
    2000 server.I enabled host names are mapped to the
    server's global database name in order to connect to
    oracle server from remote or local by using host alias
    names.I got the below error while connecting from one
    database( which resides on 2nd domain) to another
    (which resides on 3rd domain)
    At 2nd domain:
    SQL> connect system/[email protected] as sysdba
    ERROR:
    ORA-12638: Credential retrieval failed
    Then i used tnsping its giving the below response
    C:\>tnsping isola6.isolainfotech.stph.net
    TNS Ping Utility for 32-bit Windows: Version 8.1.6.0.0
    - Production on 10-APR-20
    02 12:06:55
    (c) Copyright 1997 Oracle Corporation. All rights
    reserved.
    Attempting to contact
    (ADDRESS=(PROTOCOL=TCP)(HOST=isola6.isolainfotech.stph.net
    )(PORT=1521))
    OK (220 msec)
    and
    c:\ping isola6.isolainfotech.stph.net
    Pinging isola6.isolainfotech.stph.net [196.12.37.62]
    with 32 bytes of data:
    Reply from 196.12.37.62: bytes=32 time<10ms TTL=128
    Reply from 196.12.37.62: bytes=32 time<10ms TTL=128
    Reply from 196.12.37.62: bytes=32 time<10ms TTL=128
    Reply from 196.12.37.62: bytes=32 time<10ms TTL=128
    Ping statistics for 196.12.37.62:
    Packets: Sent = 4, Received = 4, Lost = 0 (0%
    loss),
    Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
    The tnsnames.ora entries like this:
    isola6 = (DESCRIPTION = (ADDRESS = (PROTOCOL =
    TCP)(HOST = isola6.isolainfotech.stph.net)(PORT=1521))
    (CONNECT_DATA = (SID = isola6)) )
    The listener.ora entries like this
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = isola6.isolainfotech.stph.net)(PORT = 1521))
    (DESCRIPTION =
    (PROTOCOL_STACK =
    (PRESENTATION = GIOP)
    (SESSION = RAW)
    (ADDRESS = (PROTOCOL = TCP)(HOST = isola6.isolainfotech.stph.net)(PORT = 2481))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\Oracle\Ora81)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = isola6.isolainfotech.stph.net)
    (ORACLE_HOME = D:\Oracle\Ora81)
    (SID_NAME = isola6)
    Any one give any suggestions should be appreciated
    Regards
    mohan

    Hello,
    Please repost this question in the appropriate section of the Discussion Forum.
    This forum is for general suggestions and feedback about the OTN site.
    You can also use our new offering called OTN Service Network:
    For Oracle Advice/Minimal Support (fee based) on the Oracle Database Server, Oracle9i Application Server Containers for J2EE (OC4J), Oracle9i JDeveloper, Reports, Forums, SQL*Plus, and PL/SQL, please go to: http://www.oracle.com/go/?&Src=912386&Act=45
    For customers with paid support (Metalink) please go to:
    http://www.oracle.com/support/metalink
    Regards,
    OTN

  • How I connect remote database in forms builder

    username myname
    password mypass
    database test
    database server 192.165.21.32
    port 1521
    how can I connect in oracle 11g forms builder ??

    using 192.165.21.32:1521:test in the connect string ? ( or 192.165.21.32:1521/test ) or set it up using TNSNAMES.ORA

  • How I connect remote database in report builder

    username myname
    password mypass
    database test
    database server 192.165.21.32
    port 1521
    how can I connect in oracle 11g report builder ??

    Hello,
    Add an entry like below in the file tnsnames.ora (ORACLE_INSTANCE/config)
    ora11g =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.165.21.32)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = servicename)
    REPLACE servicename by the servicename for your DB or use a SID.
    then , enter username / password and ora11g in the logon window
    regards

  • Cannot connect  remote database

    hi,
    i have my database on aix(oracle 10g rac) but i cannot access other database from my aix machine . i have entry of other database into my tns file.
    when i trying to connect
    username@sid
    i get tns problem.wt to do ?
    thxs

    ORA-12154:     TNS:could not resolve the connect identifier specified
    Cause:     A connection to a database or other service was requested using a connect identifier, and the connect identifier specified could not be resolved into a connect descriptor using one of the naming methods configured. For example, if the type of connect identifier used was a net service name then the net service name could not be found in a naming method repository, or the repository could not be located or reached.
    Action:     
    - If you are using local naming (TNSNAMES.ORA file):
    - Make sure that "TNSNAMES" is listed as one of the values of the NAMES.DIRECTORY_PATH parameter in the Oracle Net profile (SQLNET.ORA)
    - Verify that a TNSNAMES.ORA file exists and is in the proper directory and is accessible.
    - Check that the net service name used as the connect identifier exists in the TNSNAMES.ORA file.
    - Make sure there are no syntax errors anywhere in the TNSNAMES.ORA file. Look for unmatched parentheses or stray characters. Errors in a TNSNAMES.ORA file may make it unusable.
    - If you are using directory naming:
    - Verify that "LDAP" is listed as one of the values of the NAMES.DIRETORY_PATH parameter in the Oracle Net profile (SQLNET.ORA).
    - Verify that the LDAP directory server is up and that it is accessible.
    - Verify that the net service name or database name used as the connect identifier is configured in the directory.
    - Verify that the default context being used is correct by specifying a fully qualified net service name or a full LDAP DN as the connect identifier
    - If you are using easy connect naming:
    - Verify that "EZCONNECT" is listed as one of the values of the NAMES.DIRETORY_PATH parameter in the Oracle Net profile (SQLNET.ORA).
    - Make sure the host, port and service name specified are correct.
    - Try enclosing the connect identifier in quote marks. See the Oracle Net Services Administrators Guide or the Oracle operating system specific guide for more information on naming.
    If any of these is not working for you,post here your tnsname, listener and sqlnet.ora files.
    Aman....

  • Connector BPM Engine is not able to connect REMOTE DATABASE

    Hi All,
    We are facing the following issue while invoking any operation in BPM Queue.
    Can any one have any idea why we are facing this issue.
    An exception occurred while executing a transaction. Details:
    Connector [bpmengine_J2EE_RUNTIME_FUEGOLABS_ARG:SQL:REMOTE_JDBC] caused an exception when getting a resource of type [0].
    Detail:Connector [bpmengine_J2EE_RUNTIME_FUEGOLABS_ARG:SQL:REMOTE_JDBC] caused an exception when getting a resource of type [0].
    Caused by: [Security:090398]Invalid Subject: principals=[weblogic, Administrators]
    Runtime exception Shell.
    Apparent cause :
         Connector [bpmengine_J2EE_RUNTIME_FUEGOLABS_ARG:SQL:REMOTE_JDBC] caused an exception when getting a resource of type [0].
    Detail:Connector [bpmengine_J2EE_RUNTIME_FUEGOLABS_ARG:SQL:REMOTE_JDBC] caused an exception when getting a resource of type [0].
    Original stack trace follows ...
    fuego.connector.ConnectorException: Connector [bpmengine_J2EE_RUNTIME_FUEGOLABS_ARG:SQL:REMOTE_JDBC] caused an exception when getting a resource of type [0].
    Detail:Connector [bpmengine_J2EE_RUNTIME_FUEGOLABS_ARG:SQL:REMOTE_JDBC] caused an exception when getting a resource of type [0].
         at fuego.connector.ConnectorException.exceptionOnGetResource(ConnectorException.java:95)
         at fuego.connector.ConnectorTransaction.getResource(ConnectorTransaction.java:324)
         at fuego.connector.ConnectorTransaction.getResource(ConnectorTransaction.java:298)
         at fuego.connector.JDBCHelper.getConnection(JDBCHelper.java:41)
         at fuego.server.service.EngineConnectorService.getConnection(EngineConnectorService.java:593)
         at fuego.server.service.EngineConnectorService.getEngineConnection(EngineConnectorService.java:307)
         at fuego.transaction.TransactionAction.getEngineHandle(TransactionAction.java:179)
         at fuego.server.execution.EngineExecutionContext.getEngineHandle(EngineExecutionContext.java:447)
         at fuego.server.AbstractInstanceService.create(AbstractInstanceService.java:301)
         at fuego.server.execution.microactivity.BeginMicroActivity.createInstance(BeginMicroActivity.java:91)
         at fuego.server.AbstractProcessBean$51.execute(AbstractProcessBean.java:3662)
         at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
         at fuego.transaction.TransactionAction.startNestedTransaction(TransactionAction.java:527)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:548)
         at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
         at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
         at fuego.server.AbstractProcessBean.internalCreateInstance(AbstractProcessBean.java:4320)
         at fuego.server.AbstractProcessBean._doCreateInstance(AbstractProcessBean.java:3670)
         at fuego.server.AbstractProcessBean.createInstance(AbstractProcessBean.java:667)
         at fuego.server.AbstractProcessBean.createInstance(AbstractProcessBean.java:746)
         at fuego.components.Process.createInstance(Process.java:106)
         at fuego.components.ProcessInstance.create(ProcessInstance.java:392)
         at fuego.components.ProcessInstance.create(ProcessInstance.java:503)
         at xxx.JMSListener.Default_1_0.Instance.CIL_jmsReceiver(Instance.xcdl:75)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at fuego.server.execution.EngineExecutionContext.invokeMethodAsCil(EngineExecutionContext.java:1091)
         at fuego.server.execution.EngineExecutionContext.runCil(EngineExecutionContext.java:1295)
         at fuego.server.execution.GlobalAutomaticJMSListeningHelper.executeJmsListener(GlobalAutomaticJMSListeningHelper.java:94)
         at fuego.server.AbstractProcessBean$43.execute(AbstractProcessBean.java:3026)
         at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
         at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
         at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
         at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
         at fuego.server.AbstractProcessBean.runGlobalJmsActivity(AbstractProcessBean.java:3032)
         at fuego.server.execution.GlobalJMSExecutor$1.run(GlobalJMSExecutor.java:126)
         at fuego.ejbengine.EJBProcessBean.executeTask(EJBProcessBean.java:149)
         at fuego.server.execution.GlobalJMSExecutor.execute(GlobalJMSExecutor.java:107)
         at fuego.ejbengine.EJBGlobalJMSExecutor.access$400(EJBGlobalJMSExecutor.java:43)
         at fuego.ejbengine.EJBGlobalJMSExecutor$JMSExecutorWorker.run(EJBGlobalJMSExecutor.java:216)
         at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
         at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Caused by: java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[weblogic, Administrators]
         at weblogic.security.service.SecurityServiceManager.seal(SecurityServiceManager.java:835)
         at weblogic.security.service.IdentityUtility.authenticatedSubjectToIdentity(IdentityUtility.java:30)
         at weblogic.security.service.RoleManager.getRoles(RoleManager.java:183)
         at weblogic.security.service.AuthorizationManager.isAccessAllowed(AuthorizationManager.java:375)
         at weblogic.jndi.internal.ServerNamingNode.checkPermission(ServerNamingNode.java:442)
         at weblogic.jndi.internal.ServerNamingNode.checkLookup(ServerNamingNode.java:423)
         at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:180)
         at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
         at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:393)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at fuego.connector.impl.BaseRemoteConnector.getReferencedObject(BaseRemoteConnector.java:116)
         at fuego.connector.impl.BaseRemoteConnector.getReferencedObject(BaseRemoteConnector.java:107)
         at fuego.connector.impl.RemoteJDBCConnector.createConnection(RemoteJDBCConnector.java:246)
         at fuego.connector.impl.RemoteJDBCConnector.getConnection(RemoteJDBCConnector.java:109)
         at fuego.connector.impl.RemoteJDBCConnector.getConnection(RemoteJDBCConnector.java:80)
         at fuego.connector.impl.RemoteJDBCConnector.getResource(RemoteJDBCConnector.java:158)
         at fuego.connector.ConnectorTransaction.getResource(ConnectorTransaction.java:319)
         ... 45 more
    Thanks,
    Abhishek

    Abhishek,
    Please cross-post in BPM forum -
    Business Process Management Suite
    Either it is LDAP issue or cross-domain communication issue. In the later case, you need to enable trust between the domains (section "Enabling Trust Between WebLogic Server Domains")-
    http://docs.oracle.com/cd/E23943_01/web.1111/e13707/domain.htm#i1176046
    Regards,
    Anuj

  • Oracle 8.0.5 on RH6.0, unable to connect to remote database

    Hi Everybody,
    I have this problem, i have running oracle 8.0.5 on RH6.0
    everything works ok for me. But when i use sqlplus on box where
    is my Oracle running and try to connect to another database on
    my site (which is running on HPUX) I got resul ORA-01017 invalid
    username/password. Tnsping to this machine is ok, so i have this
    in my tnsname.ora When i create dabase link (with user which I
    try to use to connect remote database) on my local datbase to
    this database then link works sucessfully too. select * from
    dual@remote_database Ok. What's wrong ??? Remote database is
    Oracle 7.3.4.3 on HPUX. Any difference between SQL*Net of
    Oracle7 and 8 ???
    null

    Try putting
    disable_oob = ON
    in your sqlnet.ora file.
    Anwar.
    Radek Sedmak (guest) wrote:
    : Hi Everybody,
    : I have this problem, i have running oracle 8.0.5 on RH6.0
    : everything works ok for me. But when i use sqlplus on box where
    : is my Oracle running and try to connect to another database on
    : my site (which is running on HPUX) I got resul ORA-01017
    invalid
    : username/password. Tnsping to this machine is ok, so i have
    this
    : in my tnsname.ora When i create dabase link (with user which I
    : try to use to connect remote database) on my local datbase to
    : this database then link works sucessfully too. select * from
    : dual@remote_database Ok. What's wrong ??? Remote database is
    : Oracle 7.3.4.3 on HPUX. Any difference between SQL*Net of
    : Oracle7 and 8 ???
    null

  • What is the best remote database for connet IOS App and how to do that ..

    Hello ...
    I'm new to Mac as well as ios developments.. Kindly anyone tell me, Is it possible to connect IOS app to remote database. If yes .. may I know what kind of databases available for this. And what kind of steps we have to follow when we code IOS app for connect remote database.
    Your response would be highly appreceated.
    Thank you.
    Iranga

    Ideally, you need a REST server to connect to your remote database. There are many frameworks like Jackson and Jersey that are reasonable alternatives but it does require too much effort. One of my friends work at a startup that just came up with a way to get RESTful API to any of the SQL databases. You may want to try it out and see if it works for you at EspressoLogic.

  • Dw cs5 with existing wordpress site hosted on yahoo need help connecting to existing remote database

    I am having trouble establishing a database connection.  I can  connect with test databases but am having trouble using dreamweaver wtih  my existing wordpress website.  Am I able to use dreamweaver to edit  and live view my changes before uploading the changed files to my live  site?  Am I able to access my existing wordpress database with  dreaweaver?  I have imported it to my testing server/database but still  seem to be having trouble establishing a connection with it (think maybe  my folder hierarchy might be off).
    macintosh HD/Applications/MAMP/htdocs/nwm/wp/index.php
    "nwm" is the name of the folder that I have copied all of my site  files to and the folder I have dreamweaver pointing to.  "wp" is what I  have all of the wordpress files in (the ones I copied from my yahoo  server - including all my current theme files etc.)
    I am trying to put the info into the mysql connection dialog box:
    Connection Name: Testing (i am assuming this name is for my benefit only and doesn't actually matter)
    MySQL Server: mysql
    User Name: *****
    Password: *****
    Database: wp
    and am getting this message
    MySQL Error#: 2013
    Lost connection to MySQL server at 'reading initial communication packet', system error 61
    did some google seaches of the error.  Tried turning off the  firewall, and the advance tab allow mysql incoming  (there were 2 one  was allow one was not allow.  I changed both to allow)
    Cant really find anything on yahoo to help me out.  Looked in  phpmyadmin database named wp: wp_users to get the username and password  (which due to previous look for help - I think the password was  encrypted cuz it looked like a bunch of mumbo jumbo and am fairly  certain I know the correct password).
    Any help would be greatly appreciated!! I spent $50 on live chat  last night trying to resolve the issue only to find out at the end that  the guy really didn't understand my problem and doesn't have  dreamweaver.  I have also watched countless videos on Lynda.com and have  been thru forum after forum.  While this problem is only a couple weeks  old since I just got CS5.  I have been having trouble making any  headway learning php since I cant seem to make it past the set up  parts.  I have done the php / mysql essential training on lynda.com with  relative success except that I really dont want to work with any more  exercise files so I didn't go on to the beyond the basics. I recently  went thru most of the Dreamweaver CS5 and Wordpress 3. Also did the  first 4 chapters of Dreamweaver CS5 with PHP and MySQL. I need to start  integrating things into my live sites.  I am also trying to work my way  thru the learning php, mysql, javascript book by o'reily media by robin  nixon (as fun as reading a math text book) can't get thru it since I  can't relate any of it to my current sites/needs
    I am on MacBookPro OSX 10.6.6
    Installed MAMP to specification on all 20 tutorials I have tried including lynda.com
    Tested the testing server and is working
    Just installed dreamweaver cs5
    have been using wordpress online to create and edit posts (recently  upgraded to 3.? whatever the latest update was online which I believe  update the files on my yahoo server?)
    Have also installed wordpress on my computer (several times thru each tutorial trying to get this right.)
    Am I expecting the impossible?

    If wordpress controls it's own connection why am I unable to use the live view. I have synced the remote site to my local computer so all the files should be just as they are online with the exception of the DB which contains most of the content.
    I have done all of those steps.  I have even exported the database from inside internet phpmyadmin and imported into computer phpmyadmin.  When I hit live view I get one of couple of errors.
    1.  "One is that the dynamic related files could not be displayed due to an internal server error"
    At some point I was able to view some sample files inside dreamweaver.  But I would like to be able to view my real site files.  I was able to "connect" to the local databases (not the copy of my real one - I think that maybe that was because it is somehow nested inside another db an am going try to reimport to new location).  And then I changed the host/username/password trying to deal with the internal server error. Now instead I get the cannot connect to the database Error 2016 or whatever from the origianl post. Also, I am using yahoo if that matters and all I can find about what their server name is: mysql - is that correct?
    I have been thru this so many times with so many different tutorials I am losing track of what is what.
    2.  Can I access my remote database within dreamweaver? I do not want to create dummy files (seems to be a waste of time).  And while if it had worked exporting/importing a duplicate on to my computer would have satisfied me for a little while it also seems some what counter productive.  Since every post and page is different if I were doing a daily updates etc how would I be able to change the formating or design of them if I can't access the remote files.  Would I re- import everytime I want to work on it to get current database?
    I am trying to be clear.  I listed all the specs I could think as listed  in your "how to get help fast post" (yes I read that at least twice  too) of all of the steps and possible reasons for my problems.  I also  thought that the forum was on a seperate site so I didn't think it would  count as a duplicate.  I am frustrated to tears and am feeling  incredibly stupid that after all this time and all these tutorials yes  you are right I obviously am not understanding what is going on which is  why I am on this forum.

  • Connecting to a remote database

    I am trying to connect CS3 to a remote mysql using the DW UI.
    The databases are all set up and I can connect via php, there are talbes and there is data alreading inserted.
    In the first case I am getting a Mysql Error 2003, in the second case I am getting a 404 error, page not found, possible reasons are there is no testing server running on my machine.
    In the MySQL Connection Dialog box I am;
    In the connection name I am creating a name.
    In the MySql Server I am inserting the Host Name
    In the user name, password and database name I am inserting those as well.
    Any one know what I am not doing correctly?
    Gary

    Hi Gary,
    Pretty much all hosts block this sort of connection (RDS) for security reasons. Foe development purposes you should set up a duplicate of you database in a local development environment
    Here's info for PHP  http://www.adobe.com/devnet/dreamweaver/articles/setting_up_php.html
    You can use a MySQL admin application such as Navicat to connect remotely to look at and manage your database, but you wont be able to connect directly with Dreamweaver for development and testing.
    Lawrence   *Adobe Community Professional*
    www.Cartweaver.com
    Complete Shopping   Cart Application for
    Dreamweaver, available in PHP and CF
    Stay updated - http://blog.cartweaver.com

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

  • Connecting to Remote Database using Debian w/Oracle XE

    Hello.
    I have managed to install Oracle XE on a Debian box.
    I am trying to connect to a remote server located on my network.
    I am using the following connection string:
    # sqlplus <User>/<Password>@'(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=<IP>)(PORT=1521)))(CONNECT_DATA=(SID=<SID>)))'
    However, I was given both a SID and a Service_name.
    I tried connecting with both.
    Is it possible to parametrize both? I checked and the remote server is up, and that is the existing port.
    Thanks a lot!

    user603592 wrote:
    Hello.
    I have managed to install Oracle XE on a Debian box.
    I am trying to connect to a remote server located on my network.
    I am using the following connection string:
    # sqlplus <User>/<Password>@'(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=<IP>)(PORT=1521)))(CONNECT_DATA=(SID=<SID>)))'
    However, I was given both a SID and a Service_name.
    I tried connecting with both.
    Is it possible to parametrize both? yes, see below
    bcm@bcm-laptop:~$ sqlplus -h
    SQL*Plus: Release 11.2.0.1.0 Production
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Use SQL*Plus to execute SQL, PL/SQL and SQL*Plus statements.
    Usage 1: sqlplus -H | -V
        -H             Displays the SQL*Plus version and the
                 usage help.
        -V             Displays the SQL*Plus version.
    Usage 2: sqlplus [ [<option>] [{logon | /nolog}] [<start>] ]
      <option> is: [-C <version>] [-L] [-M "<options>"] [-R <level>] [-S]
        -C <version>   Sets the compatibility of affected commands to the
                 version specified by <version>.  The version has
                 the form "x.y[.z]".     For example, -C 10.2.0
        -L             Attempts to log on just once, instead of
                 reprompting on error.
        -M "<options>" Sets automatic HTML markup of output.  The options
                 have the form:
                 HTML [ON|OFF] [HEAD text] [BODY text] [TABLE text]
                 [ENTMAP {ON|OFF}] [SPOOL {ON|OFF}] [PRE[FORMAT] {ON|OFF}]
        -R <level>        Sets restricted mode to disable SQL*Plus commands
                 that interact with the file system.     The level can
                 be 1, 2 or 3.  The most restrictive is -R 3 which
                 disables all user commands interacting with the
                 file system.
        -S             Sets silent mode which suppresses the display of
                 the SQL*Plus banner, prompts, and echoing of
                 commands.
      <logon> is: {<username>[/<password>][@<connect_identifier>] | / }
               [AS {SYSDBA | SYSOPER | SYSASM}] [EDITION=value]
        Specifies the database account username, password and connect
        identifier for the database connection.  Without a connect
        identifier, SQL*Plus connects to the default database.
        The AS SYSDBA, AS SYSOPER and AS SYSASM  options are database
        administration privileges.
        <connect_identifier> can be in the form of Net Service Name
        or Easy Connect.
          @[<net_service_name> | [//]Host[:Port]/<service_name>]
         <net_service_name> is a simple name for a service that resolves
         to a connect descriptor.
         Example: Connect to database using Net Service Name and the
               database net service name is ORCL.
            sqlplus myusername/mypassword@ORCL
         Host specifies the host name or IP address of the database
         server computer.
         Port specifies the listening port on the database server.
         <service_name> specifies the service name of the database you
         want to access.
         Example: Connect to database using Easy Connect and the
               Service name is ORCL.
            sqlplus myusername/mypassword@Host/ORCL
        The /NOLOG option starts SQL*Plus without connecting to a
        database.
        The EDITION specifies the value for Session Edition.
      <start> is: @<URL>|<filename>[.<ext>] [<parameter> ...]
        Runs the specified SQL*Plus script from a web server (URL) or the
        local file system (filename.ext) with specified parameters that
        will be assigned to substitution variables in the script.
    When SQL*Plus starts, and after CONNECT commands, the site profile
    (e.g. $ORACLE_HOME/sqlplus/admin/glogin.sql) and the user profile
    (e.g. login.sql in the working directory) are run.  The files may
    contain SQL*Plus commands.
    Refer to the SQL*Plus User's Guide and Reference for more information.
    bcm@bcm-laptop:~$

  • Remote Database connection error on local database while running a procedur

    Dear Gurus,
    I am trying to run a procedure to grant Select Access to all objects of a schema to all schema but getting below error messages:
    Error report:
    ORA-02019: connection description for remote database not found
    This is on local database and all required privileges have been given to run this procedure but I dont understand why this error is being thrown every time. I am able to fetch all the tables directly (i.e. SELECT object_name FROM user_objects where OBJECT_TYPE IN('TABLE','VIEW','MATERIALIZED VIEW') AND STATUS='VALID')
    Kindly let me know if you have any solution.
    Procedure detail:
    declare
    sqltxt varchar(250);
    cursor course_det is
    SELECT object_name FROM user_objects where OBJECT_TYPE IN('TABLE','VIEW','MATERIALIZED VIEW') AND STATUS='VALID';
    v_objnm user_objects.object_name%type;
    begin
    open course_det;
    loop
    fetch course_det into v_objnm;
    exit when course_det%notfound;
    sqltxt :='GRANT SELECT ON ' || v_objnm|| ' TO public with grant option';
    EXECUTE IMMEDIATE sqltxt ;
    end loop;
    end;
    System detail:
    Oracle 11.2.0.3/Linux 5.3
    Ragards.
    Edited by: 877938 on Mar 20, 2013 12:27 AM

    Hi,
    It seems you are fetching records from one database to other. for that you need to create dblink for that.
    Create dblink first and then try to fetch records using that dblink.
    ORA-02019: connection description for remote database not found
    Cause: An attempt was made to connect or log in to a remote database using a connection description that could not be found.
    Action: Specify an existing database link. Query the data dictionary to see all existing database links. See your operating system-specific Net8 documentation for valid connection descriptors. 

  • Error in Remote Database Connection

    I am trying to establish a connection for other database through remote database connection whenever i click the test connection i am getting the error like
    Bad Connection
    GetConnection failed: Caught Exception from getUrlAndDriver
    In trace file it shows like
    PSAPPSRV.5794 (42)      1-26493 14.30.43 19.832981 Cur#1.5794.LN290401 RC=0 Dur=0.000098 COM Stmt=SELECT VERSION FROM PSVERSION WHERE OBJECTTYPENAME = 'SYS'
    PSAPPSRV.5794 (42)      1-26494 14.30.43 0.020306 Cur#1.5794.LN290401 RC=0 Dur=0.000064 COM Stmt=SELECT VERSION FROM PSVERSION WHERE OBJECTTYPENAME = 'SYS'
    PSAPPSRV.5794 (42)      1-26495 14.30.43 0.016844 >>> start Nest=00 MISCTOOLS_WRK.TEST_CONNECT.FieldChange
    PSAPPSRV.5794 (42)      1-26496 14.30.43 0.000013 >>>>> Begin MISCTOOLS_WRK.TEST_CONNECT.FieldChange level 0 row 0
    PSAPPSRV.5794 (42)      1-26497 14.30.43 0.000019 1: DoSaveNow();
    PSAPPSRV.5794 (42)      1-26498 14.30.43 0.022858 <<< end Nest=00 MISCTOOLS_WRK.TEST_CONNECT.FieldChange Dur=0.022891 CPU=0.000000 Cycles=3
    PSAPPSRV.5794 (42)      1-26499 14.30.43 0.003037 >>> resume Nest=00 . MISCTOOLS_WRK.TEST_CONNECT.FieldChange
    PSAPPSRV.5794 (42)      1-26500 14.30.43 0.000028 1: DoSaveNow();
    PSAPPSRV.5794 (42)      1-26501 14.30.43 0.000004 2: &oRd = CreateJavaObject("com.peoplesoft.pt.remotedb.PSJDataSource");
    PSAPPSRV.5794 (42)      1-26502 14.30.43 0.781008 3: &b = &oRd.TestConnection(PSREMOTEDBDEFN.REMOTEDB_ID.Value);
    PSAPPSRV.5794 (42)      1-26503 14.30.43 0.000041 Fetch Field: PSREMOTEDBDEFN.REMOTEDB_ID Value=HCM91PRD
    PSAPPSRV.5794 (42)      1-26504 14.30.43 0.019209 Cur#2.5794.LN290401 RC=0 Dur=0.000097 COM Stmt=SELECT REMOTEDB_ID,DBTYPE,DESCR,LOCAL_CONNECT_FLAG,REMOTEDBCONNTYPE,REMOTEDBNAME,DBSERVER,DB_PORT,INFORMIXSERVERNAME,USERID,PASSWORD FROM PSREMOTEDBDEFN WHERE REMOTEDB_ID = :1
    PSAPPSRV.5794 (42)       1-26505  14.30.43    0.004232 Database Options: override_connection_reset: 0
    PSAPPSRV.5794 (42)      1-26506 14.30.43 0.048569 4: If &b Then
    PSAPPSRV.5794 (42)      1-26507 14.30.43 0.000003 7: WinMessage("Bad connection", %MsgStyle_OK);
    PSAPPSRV.5794 (42)      1-26508 14.30.43 0.000055 8: If &oRd.success() = False Then
    PSAPPSRV.5794 (42)      1-26509 14.30.43 0.000013 9: WinMessage(&oRd.getErrStr(), %MsgStyle_OK);
    PSAPPSRV.5794 (42)      1-26510 14.30.43 0.000014 10: End-If
    PSAPPSRV.5794 (42)      1-26511 14.30.43 0.000062 >>> reend Nest=00 . MISCTOOLS_WRK.TEST_CONNECT.FieldChange
    PSAPPSRV.5794 (42)      1-26512 14.30.43 0.009340 Cur#1.5794.LN290401 RC=0 Dur=0.000075 COM Stmt=SELECT PTTAPAGECUST FROM PSUSRTAPAGECUST WHERE MENUNAME = :1 AND PNLGRPNAME = :2 AND PNLNAME = :3 AND OPRID = :4
    PSAPPSRV.5794 (42)      1-26513 14.30.43 0.000009 Cur#1.5794.LN290401 RC=0 Dur=0.000000 Bind-1 type=2 length=9 value=UTILITIES
    PSAPPSRV.5794 (42)      1-26514 14.30.43 0.000003 Cur#1.5794.LN290401 RC=0 Dur=0.000000 Bind-2 type=2 length=14 value=REMOTEDB_TABLE
    PSAPPSRV.5794 (42)      1-26515 14.30.43 0.000003 Cur#1.5794.LN290401 RC=0 Dur=0.000000 Bind-3 type=2 length=8 value=REMOTEDB
    PSAPPSRV.5794 (42)      1-26516 14.30.43 0.000003 Cur#1.5794.LN290401 RC=0 Dur=0.000000 Bind-4 type=2 length=9 value=CAPIADMIN
    Edited by: abdul43 on Apr 11, 2013 12:19 AM

    Thank you for your help, RK.
    The problem was that sidadm was not the owner of ORA_NLS.
    Now I have another problem: when running startsap not boot disp + work.

Maybe you are looking for

  • How to jump into an existing website

    i created a site about 15 years  ago. it has since been maintained by someone else, and now it's back in  my lap. I used a different program to design it then and i'm heck'a  rusty at the whole thing. i need help with how to get  access to the site, 

  • Disconnect Airport Extreme PPPoE Connection

    Hello! I'm using the current configuration: DSL Link -> SpeedStream ADLS modem -> Airport Extreme -> Computers My Airport Extreme is configured to establish the PPPoE connection (the modem is bridged). However I don't find an option to disconnect the

  • App keeps loading problem solve

    Anyone with an app still loading problem can get rid of it by going into the app store. tap on "updates"- bottem right corner. tap on purchased where you get a list of your downloads then tap on the cloud with the arrow, enter your pin. hit ok for ap

  • Can I fire CONTAINS Query on BFILE

    Hi friends, I am trying to use BFILE in my application to store the txt and doc file . I created the table set the directory and granted the permission as well as created the index till now all smooth, however when i fire CONTAINS query it does not g

  • Apple isn't accepting my credit card and its valid. why

    I just updated my credit card and apple is saying that my payment method has been decline but I have plenty of money on my credit card. Help