Database link not working properly

I have to link to another database...I have created an entry in my TNS names on the oracle server and have used the following script to create the link:
CREATE PUBLIC DATABASE LINK DATA
CONNECT TO USERNAME IDENTIFIED BY PASSWORD
USING 'DATA';
Data is the name of the database sid, and I am able to connect to the server using the username/password@sid in sqlplus. Oracle tells me that the link is created successfully, however if I try to describe user_tables@data I get the following error:
SQL> desc user_tables@data;
ERROR:
ORA-02085: database link DATA connects to DATA.WORLD
Please help!
Jes

You will see this error when the global name of the remote database does not match what you have in your link. Although the link name might match the SID, the fully qualified link name does not.
You can either:
1) Set the GLOBAL_NAMES parameter to FALSE in the database in which you have created the database link.
2) Recreate the link so that the full link matches the global name of the remote db (query GLOBAL_NAME in the remote db if you don't know it)
Good luck!

Similar Messages

  • Create database link not working..

    sir,
    i have created a database link using the following statement.
    create database link orcl.vishnu.com;
    but when i tried to insert the data it i get
    ora-02019 connect description for remote database not found..
    on both the database i have the same logins with the same passwords.. i have even created a serice name called orcl.vishnu.com. and it works well when connect manually.
    when i use the following statement it works..
    create database link link1 connect to vishnu identified by password using 'orcl.vishnu.com';
    and also the insert statement works.
    when i use the below statement then it fails again...
    create database link link1 connect to current_user using orcl.vishnu.com...
    it fails again.. saying that the userid and password is wrond...

    hi,
    You have must first read through the documentation and understand things, then you will understand the difference and you will not get the Issues.
    http://www.psoug.org/reference/db_link.html
    http://www.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10759/statements_5005.htm
    Wish you Happy New Year 2010...!!
    - Pavan Kumar N
    Oracle 9i/10g - OCP
    http://oracleinternals.blogspot.com/

  • Database link not working

    Hi,
    I created a database link and i added a tns entry also. But when i try to connect to a database using db link it throws me an error
    ORA-02019: connection description for remote database not found.
    Oralce 10g version on Windows 2003 NT.
    Thanks and Regards
    Jafar

    please check the username which is using Db link.. is it same which you have db links created.
    --Girish                                                                                                                                                                                                                   

  • Database link not working on client

    All,
    Platform : Linux
    I have created a db link called "TEST_TO_MART " on 11.2.0.1 database which is pointing to another 11.2.0.1 database . Both are resides on same server. I'm getting following error when I'm trying to test.
    SQL> sho user
    USER is "TEST_APP"
    SQL> select * from dual@TEST_TO_MART;
    select * from dual@TEST_TO_MART
    ERROR at line 1:
    ORA-01034: ORACLE not available
    ORA-02063: preceding line from TEST_TO_MART
    Process ID: 3466
    Session ID: 360 Serial number: 16949Target database is up and able to connect without any issues.
    Can you guys suggest me what is the problem?
    Thanks.

    Sorry.  My error and situation seemed so close to this unsolved issue from a year ago, that I didn't copy and paste the details initially.  Here goes:
    oracle@linux99 ~]$ sqlplus
    SQL*Plus: Release 11.2.0.3.0 Production on Mon Aug 12 22:56:33 2013
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    Enter user-name: test_dblink_20130812
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> DROP DATABASE LINK "TEST_NOW.MDBT.XXX.COM";
    Database link dropped.
    SQL> CREATE DATABASE LINK "TEST_NOW.MDBT.XXX.COM"
    CONNECT TO APP_UHYDRAST_RW
    IDENTIFIED BY XXXXXXXX
    USING 'mdbt';  2    3    4
    Database link created.
    SQL> select * from dual@TEST_NOW.MDBT.XXX.COM;
    select * from dual@TEST_NOW.MDBT.XXX.COM
    ERROR at line 1:
    ORA-01034: ORACLE not available
    ORA-02063: preceding line from TEST_NOW.MDBT.XXX.COM
    Process ID: 6638
    Session ID: 544 Serial number: 1753
    In listener.ora, we have this (some other DB's are in lower case):
    (SID_DESC =
          (SID_NAME = MDBT)
          (ORACLE_HOME = /ora5/app/oracle/product/11.2.0)
          (GLOBAL_DBNAME = MDBT)
    and, in tnsnames.ora we have this:
    LISTENER_MDBT =
      (ADDRESS = (PROTOCOL = TCP)(HOST = linux99.XXX.com)(PORT = 1522))
    MDBT =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = tcp)(HOST = linux99)(PORT = 1522))
        (CONNECT_DATA =
          (SERVICE_NAME = mdbt.XXX.com)
          (SERVICE_NAME = mdbt)
          (SID = MDBT)

  • Link not working properly in flash banner

    Hi,
    We have a Flash banner on the home page and each slide has a link to some other page. Everything works fine, exept in IE.
    Basically what happens is that if you click on the banner the first time, the link will work fine and bring you to the new page. However, if you go back to the home page again, then the banner does not even present a link anymore (it will still work fine as far as the banner rotation is concerned - just no more links)...
    Any advice?
    Here is the site:
    www.jamesbeard.org
    Thanks in advance,
    biorn

    the banner slideshow works fine - it is the link from the banner that only works once. when you go to the site for the first time, and click on one of the banners of the slide slow it will have a link and the link will work fine. if you then try to hover over any of the banners in the slideshow again - you will see that no links are there anymore.
    biorn

  • DATABASE LINK NOT WORKING OR FETCHING QUERYIES

    Hello,
    Oracle Version : 9.2.0.1
    O/S : Win XP SP2
    Sir
    I have to dbs (orcl and reccat) I want to create a database link from reccat to orcl. I have performed following steps and getting error in fetching query through database link.
    SQL> Create database link foo connect to current_user using 'ORCL';
    Database link created.
    SQL> select * from scott.emp@foo;
    select * from scott.emp@foo
    *+
    ERROR at line 1:
    ORA-28030: Server encountered problems accessing LDAP directory service
    My Tnsnames.ora is as :
    TNSNAMES.ORA
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = laptop)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    INST1_HTTP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = laptop)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = MODOSE)
    (PRESENTATION = http://HRService)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    STANDBY =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = laptop)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = standby)
    RECCAT =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = laptop)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = reccat)
    RECCAT_LAPTOP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = laptop)(PORT = 1521))
    (CONNECT_DATA =
    (SID = reccat)
    (SERVER = DEDICATED)
    Listener.ora
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = laptop)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = g:\oracle\ora92)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = orcl)
    (ORACLE_HOME = g:\oracle\ora92)
    (SID_NAME = orcl)
    (SID_DESC =
    (GLOBAL_DBNAME = standby)
    (ORACLE_HOME = g:\oracle\ora92)
    (SID_NAME = standby)
    (SID_DESC =
    (GLOBAL_DBNAME = reccat)
    (ORACLE_HOME = f:\rec_cat)
    (SID_NAME = reccat)
    STANDBY =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = laptop)(PORT = 1521))
    Pl. guide me where is the problem and how to rectify it.
    Regards
    Neeraj

    Which portion of the documentation is that quote from ?
    See this "+CURRENT_USER database links connect as a global user. A local user can connect as a global user in the context of a stored procedure--without storing the global user's password in a link definition.+ " at the 9.2 documentation that was provided to you earlier in this thread
    http://download-uk.oracle.com/docs/cd/A97630_01/server.920/a96521/users.htm#17355
    and "+CURRENT_USER database links connect as a global user. A local user can connect as a global user in the context of a stored procedure, that is, without storing the global user password in a link definition+." in the 10.2 documentation
    http://68.142.116.70/docs/cd/B19306_01/network.102/b14266/admnauth.htm#i1006269
    and the CURRENT_USER clause and the "Defining a CURRENT_USER Database Link" Example of the CREATE DATABASE LINK documentation in 10.2
    http://68.142.116.70/docs/cd/B19306_01/server.102/b14200/statements_5005.htm#i2061505
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Database ranking not working properly

    Hi,
    I am using BO XI 3.1. I have a requirement where I need to show top X Customers depending on their balance.
    I have applied Db ranking in query panal and try to run the report. However, I am getting wrong and very irrelivent values.
    I checked it by applying report level ranking in separate report and it worked fine. I also checked if object are declared properly and there is no issue with that.
    Please help me understand my problem here.

    Hi,
    Just one observation on the select you posted, you do realize the two dates are different columns in the table;
    JayeshD wrote:
    >        ( Tab1.TRANS_DATE = '28/02/2009'  )
    >    ( BI_BO_CROSS_SELL.POST_DATE = '28/02/2009'  )
    The top 10 customers will be determined based on the total balance amount in the transactions with a trans_date of  '28/02/2009'
    Whereas what the main query pulls back is the total balance amount of the transations with post_date of  '28/02/2009' for that top 10 of customers.
    So the amount you pull back in your query is not the amount on which the top 10 was based.
    Hope this helps,
    Marianne
    Also, I'm missing a sum arount the a balance amount, so the amount will be summed in the report, not by the database.
    This is something I would take up with the universe designer...

  • Web gallery "tell a friend" link not working properly

    hi there,
    I want to use the tell a friend link in iphoto to point people to a new photo gallery that I posted to my mobileme gallery. But when I select the appropriate web gallery and click on the tell a friend icon in iphoto, it creates an email that introduces mobileme, and doesn't have any of the information about my web gallery with links and a thumbnail, etc.
    help!

    Welcome to the Apple Discussions. You're not seeing what's in the top of this screenshot in your email window?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    Note: There now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard.

  • Database Adapter not working properly for more input parameters in OSM

    Hi,
    We are using OSM 7.0.0.3 and using design studio for development.
    Recently we are facing issue with the database adapter.In Studio,we have options for configuring the JDBC adapter.
    we have custom table in the database which has four columns with it.we are suppose to retrieve this table data using database adpater.
    so,whats happening here is,when we are sending two parameters as input to database adapter,we are able to retrive the table data properly.
    but,
    when we are sending morethan two parameters as input adapter,it is not giving right results.
    so,
    is there any constarint on how many parameters to be send as inut to adapter???
    any opinoin on first look at the issue??i will share the sample code if needed.

    Hi Naidu,
    OSM 7.0.0.3 is a very old version and they are many fixes on top of it. So request you to please use any of the latest versions of OSM 7.0.1/7.0.2/7.0.3 and retest the issue. We are not giving any patches on top of OSM 7.0.0. You can also raise a service request for further investigation and analysis.
    Regards,
    JP

  • Link not working properly (???)

    Dears all,
    finally i am working on Logic 8.0.1 and get a little problem :
    Usually i am using a main score window including the staff i need to edit, on the second monitor
    i have opened a Piano Roll window so i can edit the midi events and midi cc .
    In the version 7.x.x just a click on one note in the score staff and immediately the Matrix editor was updated. In the version 8.x.x i have to press the whole staff.
    I have found other discrepancies but that drive me a little bit crazy because i am jumping by the force
    on the relative instruments staff. Also that way drive my workflow a little bit slow.
    The strange is that i've a notice the region is aldready linked in Arrange but the content is not
    mirrored in Piano roll.
    I've tried all the link possibilities.
    Can anyone help me ?
    I am doing something wrong ?
    There is a workaround ?
    Very thanks in advance and appreciate any suggestion.
    Best
    -A

    It's a bug in the piano roll link status in 8.0.1.
    I've reported this - it works fine in 8.0.0 but is broken in 8.0.1.
    Curiously, if you have the piano roll open in the arrange panel, the external piano roll window will link correctly. But if you just have the piano roll window open on it's own, it will not respond to changes in the linked editor regions - it will only display the first region it displayed.
    This is a major bug for me.
    We wait for 8.0.2...

  • Captivate 7 - Embedded links not working properly

    Good morning everyone. Hopefully somebody has run into this issue and knows of a fix!
    I have published multiple simulations using Captivate 7 (forced re-publish of all slides, scalable HTML content, output set as SWF, and Flash Player version is 10) each with navigable main menus, table of contents, etc. On each main page, the user can click buttons to open a new topic to learn about, or to click a button to take them to a youtube video in a new tab of the topic in discussion. When users are on Mac or VMWare running Win7 (32 or 64 bit) and click on the button to open the youtube link, the click noise is produced, but the video will not open! Has anyone else run into this issue?

    First suggestion: Could you use the YouTube widget?  It works well.  The widget will play the video inside the captivate project.  It provides an option for the user to watch the video on YouTube.com, which opens the video in a new tab. 
    If that works for your lesson, I recommend adding new slides to your Captivate project.  Place the YouTube widget for each video on its own slide.  Then, assign your original buttons to jump to slide to play the appropriate video. 
    We ran into trouble with links to a client's internal network.  However, this was a problem across the board, not in specific browsers or OS.  Captivate did not recognize the symbol for spaces or special characters.  The link, for instance InternalResources/Brochures/Product%20Name%20Brochure, replaces spaces with %20.  We had to manually change the links to have a literal space instead of %20.  (InternalResources/Brochures/Product Name Brochure) 

  • Popup link not work properly

    Hi,
    I am testing on emp/dept table for the popup link. In the emp page, I can click the ename, and it will popup a dept page. The problem is the dept page will show all the dept table rows, NOT the dept info for that particular emp.
    Here is the HTML expression for column ename:
    #ENAME#
    Any help would be appreciated. Thanks.

    Probably it can be useful for you to see this:
    http://htmldb.oracle.com/pls/otn/f?p=18326:54:5675398487036266619::::P54_ID:361
    Regards

  • Database is not working properly

    Hi ;
    I created a DB, oracle 10g, when I try to connect to SQL :
    sqlplus /as sysdba
    I'm getting this explanation;
    SQL*Plus: Release 10.2.0.1.0 - Production
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    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>] [<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:
    What I did wrong
    If I execute sqlplus alone it asked me the Enter user-name:
    Can somebody help me?
    Thank you
    Al

    user12048358 wrote:
    Hi ;
    I created a DB, oracle 10g, when I try to connect to SQL :
    sqlplus /as sysdba
    I'm getting this explanation;
    SQL*Plus: Release 10.2.0.1.0 - Production
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    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>] [<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:
    What I did wrong
    If I execute sqlplus alone it asked me the Enter user-name:
    Can somebody help me?
    Thank you
    Almissing space after the "/"
    sqlplus <space> / <space> as <space> sysdba

  • Anchor links to accordion panels not working properly across browsers

    Hi everyone,
    I need some help to figure out why my anchor links  to specific accordion panels on another page are not working properly  across browsers.
    I have a Map page which has tooltips on  mouseover on the site markers. 15 of the tooltips have "Click here for  information" anchor links (although only 14 are currently linked) which,  in theory, would take you to the Nurseries page where the specified  accordion panel would be opened with the nursery entry appearing at the  top of the new browser window.
    Here are the links to the Map page and Nurseries page, respectively:
    www.alegriadesignstudio.com/RFRI/map_v6.html
    www.alegriadesignstudio.com/RFRI/nurseries_v6.html
    I've  tested the anchor links on IE, Firefox, Google Chrome, and Safari, and  have received varying results. In most cases, the anchor links worked  perfectly on two of the browsers, while on the other browsers, the  correct accordion panel is opened but the nursery entry does not appear  at the top of the new browser window. Anchor links using Safari and  Google Chrome fared better (10 out of 14 links worked properly, and  8/14, respectively), whereas when using Firefox and IE, only 3 anchor  links worked properly. The target audience for this website will be  using IE and Firefox, so I  would appreciate any help to figure out how to tweak the code so that  the most, if not all, anchor links work properly on these two browsers  in particular.
    Here's an anchor link which worked perfectly in  IE, GC, and Safari, but in FF, the entry did not appear at the top of  the new browser window.
    www.alegriadesignstudio.com/RFRI/nurseries_v6.html?luzon=9#mangatarem
    http://www.alegriadesignstudio.com/RFRI/nurseries_v6.html?luzon=9#mangatarem [To access the anchor link on the Map page, mouseover the third green  dot from the top of the map (Tooltip--Location: Mangatarem) and then  click on "Click here for information."]
    Here's a sample anchor link in which the entry did not appear at the  top of the new browser window in any of the 4 browsers:
    www.alegriadesignstudio.com/RFRI/nurseries_v6.html?mindanao=4#magpetAmabel
    http://http://www.alegriadesignstudio.com/RFRI/nurseries_v6.html?mindanao=4#magpetAmabel [To access the anchor link on the Map page, go to "Mindanao" at the  bottom of the map and mouseover the fourth green  dot below the word "Mindanao" (Tooltip--LOCATION:        Brgys. Amabel, Bongolanon, Imamaling, & Manobisa; Magpet;        North Cotabato) and then  click on "Click here for information."]
    Here's a sample anchor  link in which the anchor link worked properly in GC and Safari, but the  entry didn't appear at the top of the browser window in IE and FF:
    www.alegriadesignstudio.com/RFRI/nurseries_v6.html?visayas=1#bilar
    http://http://www.alegriadesignstudio.com/RFRI/nurseries_v6.html?visayas=1#bilar [To access the anchor link on the Map page, go to the small island  north and a bit west of "Mindanao" which is called "Bohol" and mouseover  the fourth green  dot below the word "Mindanao" (Tooltip--LOCATION: Bilar; Bohol) and then   click on the first "Click here for information."]
    Many thanks in  advance for your assistance!
    Joy

    Hi everyone,
    I'm still trying to figure out how to resolve the problem of anchor links to accordion panels not working properly across browsers (see original post for details). I would greatly appreciate any suggestions on how to resolve the problem.
    Many thanks in advance.
    Joy

  • I have lost track of the number of websites that do not work properly on the iPad without Adobe Flash player which is unsupported. I cannot use retail sites, billing sites and most important of all job application sites. All are missing tabs, links, info

    I have lost track of the number of websites which do not work properly on my iPad. They include retail sites, billing sites and most important of all job application sites. They all seem to require Adobe Flash Player which cannot be downloaded onto an iPad. Skyfire does not solve the problem. They all load without vital parts of the site such as tabs, links and correct formatting. Any suggestions?

    Most such brower/service combinations have a difficult time working with Flash-based apps and often fail completely. Flash videos are usually the most successful content these browers can handle. You can try the others apps - Puffin, iSwifter, etc - but you may find that none of them work, in which case you will not be able to use your iPad with these sites other than by using one of the various remote control solutions to take over a computer running the full Flash Player.
    IMHO, any developer that built a Flash application for a billing or job application site was an idiot, but I know that's out of the control of anyone but the relevant company.
    Regards.

Maybe you are looking for

  • Installation 9.2.0.4 on SLES 10.2

    I am trying to install 9iR2 on SLES 10 SP2 with no success :-( According to SLES_9_to_SLES_10_Oracle_Development linuxthread support is removed in SLES10 i.e. only NPTL support causes Oracle 9iR2 and older products not to work with SLES10 I used to h

  • PLEASE HELP! My Ipod touch will not play anything from or in itunes.

    I don't know what to do. For the first 4 months everything was great then all of a sudden my Ipod would no longer play anything from or in itunes. I can not transfer anything from itunes to it either. It looks like it has been transferred on the ipod

  • Use scan rate to establish a time stamp

    I am collecting data and saving it to a csv file without a time stamp.  I would like to add a time stamp to each measurement and was wondering if it is appropriate to use the sample rate and data capture start time to add a time stamp.  For example I

  • Multi Display since upgrade

    Sadly i succumbed to Microsoft's constant bombarding for a free windows 8.1 upgrade and am now kicking myself. I have a HP110-052ea Desktop PC now running windows 8.1, 64bit mode Before updating i was happily running 2 monitors and a connection to my

  • Adobe lightroom 2 module error

    I just installed Adobe Photoshop Lightroom 2, but when I start the application an error comes up " an error occured when attempting to change modules". I am new to the mac so i am at a loss on what to do to fix this. I have removed the program and it