Creation of Database link and access the same plus Snapshot creation

i want talk between two oracle server. i decided to go for snapshot creation with periodical refresh. For which i am having two oracle server's with different ip address located inside our office setup.
I have created a database link between two servers.
first server name global
userid scott
password tiger
second server name asil
userid scott
password tiger
both the user have been given dba rights.
in both the server the services and listners are all started. i gave the following command to create database link.
from asil server
create public database link global connect by scott identified by tiger using 'global'
the command was successful and the link was created. Now i tried to access a table of the scott user of the global server.
select * from emp@global;
now it is giving error. I want to know how the link can be created and how it can be accessed. i refered the 8i online documentation and done the things based on that. i expect valuble solution from all possible persons
null

A reason for this problem could be that your database is configured that a database link has to have exactly the same name like the global name of the database instance it should connect to.
Can you please provide the oracle error code / message ? With this information there might be more hints I can give you.

Similar Messages

  • Setup mySQL and access the same from jsp

    Hi,
    I have installed the MySQL in local desktop in d: drive. As per the documentation, have created my.cnf file to point sql directory in d drive.
    Now I dont know how to proceed further. I need to see if MySQL installation is fine, create table and access the data in jsp page. Please advice.
    Thanks in advance.

    For MySQL help try a MySQL forum.
    For connecting to the database, use JDBC. You can get the MySQL JDBC driver from www.mysql.com.
    From there just follow standard java database connection setup.
    http://java.sun.com/docs/books/tutorial/jdbc/index.html

  • Hi friends, I have a doubt in inserting a field to database table and inserting the same values in two different tables

    I have a mpp screen for a cd library management system (we are practicing on it).
    We have a main screen where a user should enter the enteries and while clicking a add button it should be inserted in a table, Here the problem rises the table name are ztransaction and zstatus.The fields in mpp are cdid,customerid,transaction id,date of issue and duedate.Now after entering all the values on clicking add button it should be inserted to database table ztransaction and the field cdid alone should be inserted both in ztransaction and zstatus.
    Thank you

    Hi Raghuram R G,
    Check for Primary key and foreign key in the Database table??? Because of this it was not inserting...check and confirm??
    Regds,
    Vijay SR

  • Can CF and ASP Access the Same Database?

    Hello. I'm about to go into beta with a ColdFusion 8 site I
    just wrote, and I've just realized there could be a problem I
    haven't anticipated. There's another site, written in ASP, which
    will accessing the same data at the same time. The data are in
    FoxPro for DOS, which (if I have the terminology right) is a 'file
    server' database. Both my site and the ASP site will be accessing
    it through ODBC. I will be accessing it on a read only basis, and I
    believe the ASP site accesses it read only as well. However, other
    employees in the company are constantly accessing it read/write.
    The ASP site has been already up and running for some time,
    and the office manager (it's a small company) finds that he is able
    to avoid conflicts by first stopping the ASP server each morning,
    then starting FoxPro, then re-starting the ASP server. (I do not
    mean the IIS server, but a little EXE written by the ASP
    programmer, which puts up its own little window with 'start' and
    'stop' buttons on it.)
    However, I find that on my own PC, using the free Developer
    version of ColdFusion and accessing my site as localhost, if a DBF
    (database file) is opened in FoxPro (even if no one is currently
    writing to it), then my CF web site cannot access it, and vice
    versa. That is, if I start FoxPro first and open the DBF of
    interest, my web site can't access that DBF. And conversely, if I
    access it first via my web site, then FoxPro can't access it. In
    other words, the solution which works for the office manager and
    his ASP site does not work for me with CF on my local PC.
    Will matters be different in their system, where I will be
    installing my site tomorrow, along with the Standard version of CF
    8? If it matters, the FoxPro data and the Web server will be
    different boxes linked by a network. The operating system is
    Windows 2003 if I recall correctly.
    Should I be saying 'Oops!' right about now?
    I can probably come up with a workaround by having FoxPro
    write a record to an alternate DBF every time the DBF of interest
    to my site is updated, but will I have to do this?
    Thanks for your help.

    paross1 wrote:
    > there probably isn't
    > much that can be done with a database that probably
    isn't designed for multiple
    > simultaneous transactions.
    >
    > Phil
    >
    Not much that can be done to make the database robust and
    handle
    simultaneous transactions. But you could wrap all your CFML
    that
    accesses this resource in named <cflock ...> tags so
    that they are
    single threaded, thus restricting CF to one access at at
    time. Then
    wrap all of this up in a <cftry><cfcatch...>
    blocks to gracefully handle
    when the database is locked up by some other user/process.
    You will still have many times when the CF application will
    not be able
    to access the resource do to locking issues, but it will
    handle this
    gracefully and not just FAIL.
    Of course this will have serious performance, throughput and
    scalability
    consequences. But I suspect if you are using something like
    FoxPro you
    are not building an application expected to handle heavy
    load.

  • Can 2 people in different locations at the same time import, access, send, and receive the same messages from the same email account

    I import messages into Thunderbird. I send and receive emails. One of the things I like about Thunderbird is that I can insert (image, link, etc) right where I want to, and I can Attach. But not just a simple attach file. No, I can also click Attach and choose Webpage. A lot of web-based emails are plain, simple, no frills - Attach file and that's it.
    So I need to have my client be able to do the same thing I do when sending out emails, Namely sending out emails with an Electronic Press Kit (EPK) attached - which is to say, a webpage (not a pdf in our case). So, I need her to download, install, and use Thunderbird.
    Here's the problem and my question. She needs to access, send, and receive from my email account. That would be easy if it was simple attach files - she could just login on the web, go to squirrel mail and bang it out.. Here it is: She needs to be able to import the messages to be able to reply to some messages - she needs access to what I have access to. She needs to use Thunderbird so she can take advantage of the features like insert image with link or attaching a webpage. My question is how will this affect my use? Can 2 people simultaneously and from different locations access and use the same email account or is it a case where her importing the emails would cut me off..Is it an either or thing? Basically, can her and I both import the emails or can they only be imported to one location at a time. Because every time someone sends me an email i get it right there on my Thunderbird application..it's imported to my Thunderbird..I want her and I to be able to do that without affecting each other. I don't want her to start importing to her desktop and then I can no longer import. If she says "point those messages to my computer what will happen to my ability to access them on my computer in the same manner I am currently?

    I think there is a contradiction in your requirements. You want two people to share an account and you don't want either to interfere with the other.
    The short and simple answer is to use IMAP to connect to the mail server. If your current email provider doesn't offer IMAP, find another that does. This is old technology already and it's disgraceful that some email providers haven't yet put it in place.
    IMAP means that your messages are stored on the server and both of you will see exactly the same set of messages. And therein lies the contradiction; you will both see changes made by the other so you are inherently interfering with one another.
    Caveats: some providers may not permit you both to access the account concurrently, and even if they do, things may become interesting if you both choose to work on the same message simultaneously.
    Note that all of this is about email servers and protocols; your choice of Thunderbird as your email client has little bearing on the situation.

  • Installing multiple instances accessing the same database

    Hi,
    I want to install two different instances of Oracle 10g in two different machines which will access the same database which will be stored in the shared storage.
    Is it possible to install them without installing RAC? The instances will be one active and the other passive, so the services will be up in one server and down in the other and the switching (shutting down one server and starting up the other) will be manual.
    Two servers will be running Linux and clustered in Linux level.
    Does Oracle offers this solution without installing Clusterware software?
    Thank you

    > The instances will be one active and the other passive, so the services will be up in one server and down in
    the other and the switching (shutting down one server and starting up the other) will be manual
    Missed this part as I was thinking proper cluster and RAC.
    This is neither. Yes, this can be done using two servers and shared storage.
    Is it a good idea? Not really. As this configuration does not provide redundancy at physical database level. You loose that storage.. bye-bye database. Does not matter whether you have a 100 backup servers that can be used.
    Thus the business reasons that you are trying to meet with this config have to be clarified and expectations determined.
    Separate servers using Data Guard will be a far more superior solution in many respects.

  • Is it possible to have two DADs that access the same database?????

    Hello,
    Is it possible to have two DADs that access the same database?
    One DAD would be password protected with Authentication mode Per Package and the other DAD would not require a password/login
    If it is possible can you also give suggestions about how to do this
    Thanks
    Doug

    I HAD THE SAME PROBLEM WITH SHARING MY LIBRARY WITH MY SON. WHAT I DID WIAS CREATED A LIBRARY FOR HIS USE ONLY. IN ITUNES CLICK--FILE--NEW PLAYLIST AND THIS SHOULD ADD AN UNTILED PLAY LIST IN YOUR SIDE BAR. CLICK ON IT AND RENAME IT. HE CAN KEEP ALL OF HIS MUSIC IN THIS LIBRARY. SELECT ALL OF HIS MUSIC FROM YOUR LIBRARY AND DRAG IT INTO HIS. ONCE THIS IS DONE YOU CAN THEN REMOVE HIS SONS FROM YOU PLAY LIST. MAKE SURE YOU ONE REMOVE IT FROM YOUR PLAY LIST AND NOT DELETE THE FILE.
    HOPE THIS HELPS
    G4   Mac OS X (10.3.9)  

  • Cannot open 2 Virtual Machines at the same time to access the same Database

    Folks,
    Hello.
    I am installing Oracle Database 11gR2 RAC system using 2 Virtual Machines (rac1 and rac2) on the top of VMPlayer 3.
    The VM rac1 and rac2 run correctly when one of them is shutdown.
    Their locations are F:\VM_RAC\rac1 and F:\VM_RAC\rac2.
    While rac2 is running, I open rac1. But this error message comes up:
    Error: "Cannot open the disk F:\VM_RAC\sharerac\asm1.vmdk or one of snapshot disks it depends on. Reason: failed to lock the file."
    While rac1 is running, I open rac2. But this error message comes up:
    Error: "Cannot open the disk F:\VM_RAC\sharerac\asm1.vmdk or one of snapshot disks it depends on. Reason: failed to lock the file."
    The 2 error messages are the same. This means I cannot open 2 VMs rac1 and rac2 at the same time. When we run RAC system, we have to open 2 machines or more than 2 machines at the same time so that all machines can access the same Database Server.
    My question is:
    Can any folk tell me how to have rac1 and rac2 run at the same time ?
    Thanks.

    You need to disable disk locking, which ordinarily is performed by the first VM to prevent any other VMs from corrupting your vmdk files via uncoordinated writes. You will have to shutdown both of your VMs and edit the *.vmx flat file for each, adding lines like the following (settings taken from workstation 6, but should be nearly identical settings for VM Player 3.x):
    http://crosbysite.blogspot.com/2007/10/clustering-in-vmware-workstation-6.html
    scsi1.sharedbus = "Virtual"
    disk.locking = "false"
    diskLib.dataCacheMaxSize = "0"
    diskLib.dataCacheMaxReadAheadSize = "0"
    diskLib.dataCacheMinReadAheadSize = "0"
    diskLib.dataCachePageSize = "4096"
    diskLib.maxUnsyncedWrites = "0"
    A few comments:
    - your shared disks (scsi1) must be on a separate virtual scsi bus than the boot disk (scsi0), to allow setting the sharedbus flag as seen above.
    - you must also ensure the cache parameters and unsynced writes settings are set to guarantee that all IO is immediately flushed to the vmdk file so the other VM can immediately access the latest version of data.

  • Accessing the same database file using different handles/cursors

    Will there be any problems accessing the same database file using different DB handles in a transactional environment? We have implemented a process which have multiple transient threads coming up and initiating DB opens and read/write operations to the same database file using different handles and cursors?
    Can this potentially create any problems/bottlenecks? Can someone suggest the best way to deal with this scenario?
    Thanks in advance.
    SB

    Hi,
    Berkeley DB is well suited to the scenario you describe. You need to ensure that Berkeley DB is configured correctly for transactional access, the best information describing the requirements is in the Reference guide here:
    http://download.oracle.com/docs/cd/E17076_02/html/programmer_reference/transapp.html
    If there will be multiple threads operating concurrently, then you will need to design your application to detect and deal with deadlock situations.
    Regards,
    Alex Gorrod
    Oracle Berkeley DB

  • Can we open a URL link from an RFC and access the data in the link.?

    Can we open a URL link from an RFC and access the data in the link.
    I have the following scenario.
    I have a URL link and it opens a KM folder in the Portal server and I need to put a PDF file in that KM folder
    Can we do that with the help of an RFC, can we deal with Links in RFC, is there any such FM??
    Regards

    >
    SAP LEARNER wrote:
    > Can we open a URL link from an RFC and access the data in the link.
    >
    > I have the following scenario.
    >
    > I have a URL link and it opens a KM folder in the Portal server and I need to put a PDF file in that KM folder
    >
    > Can we do that with the help of an RFC, can we deal with Links in RFC, is there any such FM??
    >
    > Regards
    I guess you are trying to connect from the R3/ECC to the Portal Server.
    Are these two systems in the same network? Do you have usernames (valid and fully authorized) in both systems? What is the OS on which these two systems are housed?
    Please provide these details to proceed further.
    Regards
    Sabu

  • Can ABAP program and a Java apps access the same DB table?

    If an ABAP program and a Java apps access the same DB table, how does the Enqueue services from ABAP and Java communicate with each other to ensure locking consistency (if they even communicate with each otehr at all)?
    Or there wont be such situation because there are separate schema for ABAP stack and Java stack?
    Your help is greatly appreciated.

    Hello!
    A while ago I was a subject to criticism too for not granting points to helpfull answers. I appeared to be ungratefull, but I'm actually not (I guess the same goes for Vincent). I absolutely agree that good people who provide helpfull answers deserve (at least) points, but I didn't quite get the whole idea with points untill I was explicitly warned. I took some time to correct this and I granted points for all my past questions, generously, with "interest rates" for waiting.
    My point is:
    The pointing system is good, but unintuitive and not documented. I suggested this at that time, and I see that nothing has changed since. I see also that I'm not the only one who has experienced missunderstandings.
    I repeat the message to SDN people: Please provide some info on pointing system! A few sentences behind a "What's this?" link would do. It's not such a hard work.
    Thanks!
    Kind regards,
    Igor Barbaric

  • Mail on iMac not accessing MS Exchange server but both iPhone and iPad access the same account with no problems.

    I have been using an iPhone and iPad to access my work emails via our MS Exchange server for a number of years now with no problems at all.  I recently replaced my home PC with an iMac (first Mac I have owned) but cannot get it to communicate with the exchange server.  I've checked and re-checked the information on the iMac and my iPad - I even deleted the mail account on the iPad and input the details concurrently with setting up on the iMac - but the Mac will not access the exchange server.
    I receive the message "The Exchange server "---------------" rejected the password for user "------"  Enter you password again or cancel."  I am using the correct password.  iPad and iPhone are logging on using that password fine.  iMac just ends up repeating this message.
    Our IT support at work assure me that there is no reason from their end for it not to work, and reasonably point to it working using the iPhone etc.
    I'd be extremely grateful if anyone can provide a solution to this basic, but extremely frustrating, little problem.

    iPhone and iPad use a different way of accessing the server.
    I don't know the exact details, but we are using Zarafa instead of Exchange and have the same problem:
    iPhone and the likes can connect to Zarafas z-push interface, which is some identical interface to the native Exchange interface, while the desktop e-mail application tries to interface with the web front end (via http) of the server.
    These are completely different setups and it depends on the actual installation of the server to get this going.
    So, you will most likely need different access parameters for the desktop - and the web mail feature has to be enabled on the Exchange server.
    In my opinion using the web mail interface is just silly. On the other hand, the native protocol has less features comparedto the web front end, so you are somehow stuck with sins of the past.
    Good luck!

  • I have a database of names. When I go to the database and pull up names I right click on the option "Open in new tab". I would like to bring up 200 names and do the same function simultaaneously to them like, add a vote to their total individual vote co

    I have a database of names. When I go to the database and pull up names I right click on the option "Open in new tab". I would like to bring up 200 names and do the same function simultaaneously to them like, add a vote to their total individual vote count. Is this possible?

    I ended up reformating the drive as FAT32 because I still need to use it on my Windows 98SE system also. I did have a problem with the allocation size. I wanted to use 512 bytes but it kept failing so I used the default size(8192 bytes) and then it worked fine. I didn't think there would be a problem formatting as NTFS but since you are having problems I just tried it. It failed at 512 bytes allocation size so I tried again using 4096 bytes, the default, as the allocation size and it failed again. It looks like these drives will not format as NTFS.
    Also, I think I figured out what's going on with the ReadyBoost problem. As I said initially it wouldn't work with ReadyBoost then after I had 12GB of data on the drive the ReadyBoost feature started working. After I deleted all the files it quit working again. After doing some reading on the net about Flash drives and ReadyBoost problems it appears that the memory chips on my Lenovo Flash drive are mixed with both fast memory chips that work fine with ReadyBoost and slower memory  chips that are too slow for ReadyBoost. Apparently, after I fill up the portion of memory with data that uses the slow chip(s) then ReadyBoost works fine with the fast chip(s).  I also verified the Flash drives read and write memory speeds using Vista's Event Viewer. To work with ReadyBoost the Flash drive has to read at a minimum of 2.5MB/s (for 4KB random reads) and write at a minimum of  1.75MB/s (for 512KB random writes).
    Let me know what you find out.

  • I had to reset my Apple password and now my iTunes and iCloud passwords no longer work. How do I get them linked again and under the same password. I've tried my new password on each login screen and it isn't accepted.

    I had to reset my Apple password and now my iTunes and iCloud passwords no longer work. How do I get them linked again and under the same password. I've tried my new password on each login screen and it isn't accepted.

    Hi skippy2012trev,
    Welcome to the Apple Support Communities!
    I understand that you updated your Apple Id and password but now you are being prompted for the old information in iCloud. You are on the right track by changing the Apple ID back to the previous email address temporarily so that you can sign out. You should not need to verify the email address. After you edit the Apple ID back to the old email address and then sign out of iCloud on your iPhone, edit the Apple ID back to the address you would currently like to use. There is no need to change the password again, only the email address, unless you prefer to update the password again.
    If you're asked for the password to your previous Apple ID when signing out of iCloud - Apple Support
    Change your Apple ID temporarily
    If signing out and back in to iMessage or FaceTime didn't help, try these steps:
    Change your Apple ID to the Apple ID you used previously. You shouldn't need to verify the email address.
    Tap Settings > iCloud. Complete these steps only if the Find My [Device] setting is turned on:
    Scroll down and tap Sign Out, then tap Sign Out to confirm. If you're using iOS 7 or earlier, tap Delete Account, then tap Delete to confirm.
    Tap Keep on My [Device] or Delete from My [Device]. In either case, your data remains in iCloud and will be updated on your device when you sign in to iCloud again.
    Enter the password for your previous Apple ID.
    Change your Apple ID to the new email address that you want to use. You'll need to verify the email address.
    Return to Settings > iCloud and sign in with your new Apple ID.
    Cheers,
    Joe

  • My brother and I phone number is link together on the same iTunes and Icloud therefore I am getting all his text messages on my phone, how do I stop this? He does not even have an Iphone anymore.

    My brother and I phone number is link together on the same iTunes and Icloud therefore I am getting all his text messages on my phone, how do I stop this? He does not even have an Iphone anymore.

    Try going to Settings>Messages>Send & Receive and uncheck the email address(es) shown under "You can be reached by iMessage at".   If that doesn't work, you'll have to tap the ID, sign out, then sign back in with a different Apple ID for iMessage.

Maybe you are looking for