DBMS_DATAPUMP - can it pump to a network drive?

I'm trying to execute a PL/SQL block that looks like this:
DECLARE
PUMP_HANDLE NUMBER := 0;
STATE_OF_JOB VARCHAR2(30) := 'UNKNOWN';
FULL_STATUS KU$_STATUS := NULL;
BEGIN
PUMP_HANDLE := DBMS_DATAPUMP.OPEN ('EXPORT','TABLE');
DBMS_DATAPUMP.ADD_FILE (HANDLE => PUMP_HANDLE, FILENAME => 'b13.dmp', DIRECTORY => 'DARREN_S_2ND_DIR', FILESIZE => '500MB', FILETYPE => DBMS_DATAPUMP.KU$_FILE_TYPE_DUMP_FILE);
END;
And the ADD_FILE line returns this stack trace:
ORA-39001: invalid argument value
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79
ORA-06512: at "SYS.DBMS_DATAPUMP", line 2486
ORA-06512: at "SYS.DBMS_DATAPUMP", line 2718
ORA-06512: at line 6
DARREN_S_2ND_DIR was created like this, where H: is a network drive (that the database server has access to, obviously):
create or replace directory DARREN_S_2ND_DIR as 'H:\DMORBY\GRANULAR_BACKUP';
It seems to work okay when a different directory that is created as a local directory on the server. (It's Oracle 10g on Windows Server 2003.)
Is it possible that creating a directory on a network drive is the problem, or have I missed something else?

Go to task manager and see who is running the oracle.exe process. Or check the services applet and look at the "Log On As" for your db service. If it's you as well, then I dunno. If it's Local System, then you need to modify the service to Log On As a real account with privs to that drive. After you do that, shutdown the database and restart the service.
Edit:
And of course you may need to change ownership of all the database files, as well.

Similar Messages

  • Can't copy file to network drive as "The operation can't be completed because the [Filename] is in use

    Following upgrade to Yosemite I now can't copy files from iMac to my network HDD in external media center. I have iMac connected by wi-fi to airport extreme and media center connected to airport extreme by cable. I can see the HDD as a network drive on my iMac and can initiate the copy but right when copy process is finished I see "The operation can’t be completed because the [Filename] is in use". I am trying to copy different media files downloaded from internet which are not used by any program and stored on my hard drive. I actually can copy small files of 1mb and it works but anything above 20mb is halted. I can also move/copy/delete the file on iMac. Cant understand the nature of the problem. I tried to format external HDD as EXT2/EXT3/NTFS but same outcome.
    OS X Yosemite 10.10.3 | iMac late 2009 | Apple Airport Extreme | Dune HD Base 3D mediacenter

    Have you tried a restart or logging out/in?
    Some more ideas.
    Re: The operation can’t be completed because the item “ " is in use.

  • Can't copy files to network drive

    I have a network drive attached to my Airport Extreme partitioned into 'Network Drive' and 'Network Backup' partitions. I successfully backup wirelessly to Network Backup. I'm sure I have files currently in the Network Drive partition but I can't see them when I open the partition in Finder. I have a folder with files that I want to copy from a local drive to Network Backup. However, after I drop the folder onto Network Backup, I get the following series of dialogs.
    Please advise.
    TIA,
    David

    Through the magic of rebooting, this is now working. Still curious what might have been the root problem here.....

  • Can I connect to a network drive on powerup/login?

    I am trying to automate backups with psyncx, and want to specify a network drive which sits on an old networked pc's usb port. At the moment, I have to go in finder, click on network, get to the destination drive I want and then it shows up in finder. After all this I can use psyncx and kick off the backup. Is there any way to have this connection happen automatically on login (and if the drive is not present just have it timeout or something?) kind of like nfs mount I guess... but with a network drive sitting on a pc not running samba or anything.
    Thanks,
    Farshid

    Hi.
    Try this: Once the network drive is mounted on the Desktop, go to System Preferences/Accounts/Login Items, and drag the drive to the items list. You will have to save the access password for the PC in the Keychain.
    Good Luck.

  • I can't access my USB network drive connected to my router.

    I have a G5 that I was running Tiger, and could easily access a usb network drive connected to my router. As soon as I upgraded to Leopard, I sporadically get access, but usually not.
    I just purchased an iMac with Snow Leopard and then upgraded to Lion, but I have never had access to this drive.
    I can't get access with either Mac now, but I have no problem accessing the drive from a PC on the same home network, so I know the drive is connected properly, and is working properly.
    Any thoughts how to access this drive from my Macs?

    Let's say that the name of your drive is Hard Drive
    Check using AirPort Utility to get the IP address of your AirPort Extreme, for example you see that it is 10.0.1.1
    You'll need to know the device name for the AirPort Extreme. This is not the wireless password, it's the device password.
    On the PC, open My Computer
    Click on Tools and select Map Network Drive.
    Select the drive you want, "Z" for example
    On the next line for Folder, type in
    \\10.0.1.1\Hard Drive
    Click Finish
    Type in your user name
    Type in the device password for the AirPort Extreme

  • Can I exclude a backup network drive from iTunes?

    I have just installed iTunes on my PC after using WMP and WinAmp for many years.
    I have a sizeable collection of MP3's on my computer AND on a network back-up drive. When I installed iTunes, not only did it access my internal drives (c: & d:) but it also imported into the library my Back-Up drive (k:).
    I want to EXCLUDE the backup/network drive from the iTunes library, but do want to keep my hubby's HD in the network loop for music.
    I can not figure out how to do this. Please Help me remove all the files that are on my back-up drive from the iTunes library. Not all of my MP3z as duplicates in the library at the moment because hubby's computer is DOWN at the moment but I still never want iTunes to access our mp3 back-up drive [K:].

    I wrote a program to remove tracks from iTunes based on the file path (among other things). You can use it to remove all tracks from the K drive very easily. Go here:
    http://home.comcast.net/~teridon73/itunesscripts/index.html
    and click the download button. Extract the ZIP (teridonsitunesscripts.zip) somewhere, and run "teridonsitunesscripts.exe".
    In the window that appears, select "itunesremove_bylocation" and click "Run Selected Script".
    A new cmd prompt window will appear, asking you for a pattern to search for. Enter <pre>^K:</pre> (thats a caret (shift-6)) and hit enter. You'll then get a listing all your playlists. Select the Library playlist by typing "1" and hit enter. The program will automatically remove all tracks from iTunes that are on the K: drive.
    The files will not be removed from the K: drive itself unless you actually have K: set up as your Library location. It certainly sounds like you do not. However, if you want to double check, from the Edit menu select Preferences. On the Advanced tab, under the General tab, check the "iTunes Music folder location". As long as it isn't K: you don't have to worry.
    The forum TOS requires me to say: "I may receive some form of compensation, financial or otherwise, from my recommendation or link" because I have a paypal donation link on my webpage. The program is free (donation totally optional).
    HTH,
    Rob

  • Can no longer access a network drive

    After upgrading to OS X Leopard (10.5), I can no longer access my network hard disk. I use a Linksys Network Storage Link that has a 320 GB hard disk attached to it. In Tiger, I could go to the Network icon in the Finder and connect to the disk. Now the network icon does nothing. Any ideas? THANKS.

    Leopard sets your mac to avoid being a master browser so you don't see other shares in finder.
    There are many ways around it but if you run a network with few machines and that is the only mac the fastest is to launch terminal as administrator and issue the following command:
    sudo pico /etc/hosts
    Add a line at the end with the IP address of your NAS, this is what I have in my hosts
    192.168.0.100 Netdrive
    Hit option X and save the file. Reboot the machine the NAS will come up immediately

  • I just upgraded to CC (from LR 5) on Macbook Pro and can no longer import to Network Drive.  New version is LR 5.7.  Help?

    Just like the title says: MBP, retina works great with LR 5 installed from CD.  Added CC, upgraded to LR 5.7 and now import "hangs" with no activity.  Have been using LR since version 2.
    More info: the problem is writing to my network drive (which has been working since LR 2...  It seems a Temporary Folder is created with permissions 755 (owner=rw, group=r, others=r),
    then nothing more.
    Has something changed with respect to LR handling of network drives.  This is a Linux CIFS/SMB share (again, been using since LR 2).  Catalog is local on my MBP.

    This is my post and I'm new, so I may not be providing the answer in the "usual" manner.  (Feel free to educate me!)
    Solution:
    The mounted volume on MacBook is /Volumes/photowork.  Notice the lowercase 'p' in photowork.   In LR I had selected a mount point
    with *uppercase* 'p'.  See screen shot.  Summary: The already-selected mount point was /Volumes/Photoshop.  LR had no complaints.  When
    I changed the mount point to /Volumes/photowork LR imported as expected. 
    This only became an issue since the upgrade, as I simply never tinkered with mount points and so on.  This archive
    server has files back to 2000 on it.    Thanks so much to those who responded.

  • Can't access my MHNDHD network drive

    I havent used this network drive in a while, however since I'm off for the holiday break I wanted to backup a couple computers.
    When I went to reconnect teh ethernet cable adn recycle power to it the power light came on, then the status light went blue and then both lights went out.
    I unp-lugged it adn tried it again, nothing
    so I did it a third time and hit the reset button and got the same response.
    Is it DEAD?

    Hello LancerTX
    This usually means there is an issue with the firmware, the unit has failed, or possibly a wrong or faulty power adapter is being used. I recommend checking the power adapter as it would be the easiest to work on.  if it is the firmware or a controller issue, the best option would be to look into repurposing the internal drive if it tests ok using something like SeaTools 
    LenovoEMC Contact Information is region specific. Please select the correct link then access the Contact Us at the top right:
    US and Canada: https://lenovo-na-en.custhelp.com/
    Latin America and Mexico: https://lenovo-la-es.custhelp.com/
    EU: https://lenovo-eu-en.custhelp.com/
    India/Asia Pacific: https://lenovo-ap-en.custhelp.com/
    http://support.lenovoemc.com/

  • Leopard iMac can No Longer Connect to Network Drive

    We've had a new iMac in my office for 2 1/2 months and have never had this problem. When we first set it up, we set it up to connect automatically to a shared drive on our corporate network. However, today it suddenly stopped connecting and tells us A) our username and password are bad or B) it can't find the drive. We've tested the username to map the drive on our Windows machines and made sure that the account has the proper permissions, but it still won't allow us to connect. I'm wondering how to correct this issue and prevent it from occurring in the future.
    I realize I've been kind of vague in this post - if more information is needed, please let me know.
    Thanks.

    The problem was identified as a network problem, not one with the iMac.

  • How can I clone a Dish Network drive?

    I currently have a Western Digital MyBook Premier Edition 320gb drive (USB/Firewire) in use as an external hard drive on my Dish Network VIP 722 receiver.  It has the proprietary format that Dish Network uses.  I have purchased a 500gb USB drive to replace this drive so that I can use the WD drive as a backup drive for our computers (MacBook and iBook).  I can move the movies currently archived on this drive one at a time back to the DVR, and then to the new drive.  Only one of these drives can be hooked up to the DVR at a time, so this will be a rather tedious process.  I would like to clone the current drive to the new drive, and then reformat the WD drive to use with the computers to avoid this tedious process.  I've read that this can be done with Linux (which I know nothing about), but I don't have a clue how.  Can this be done with Mac OS, perhaps Terminal?  I consider myself fairly computer literate, but if this can be done, I will need step-by-step instructions as I know enough about Terminal to know that I shouldn't use it without them.  Thanks for your help

    Call Dish Network to confirm you can legally.
    There is a reason they use proprietary formats.
    I hate to sound like a jerk, but this forum is not allowed to discuss duplicating copy-protected DVDs or other illegal activities.  We need to be clear of such issues.

  • Can not connect to SMB network drive

    After upgrading to Lion, I am not able to connect to my Buffalo Terastation NAS box through SMB or AFP.  After some research on various boards, it appears that the samba implementation changed in Lion and will require an update to your NAS box firmware to get it to work.  Since this is not possible for the vast majority of customers (lack of vendor support, end customer technical ability, etc), I'm wondering if there is any official word from Apple to provide support for the previous samba implementation.

    This might help.  I have a Seagate Dockstar (Pogoplug w/samba) with attached drives connected to my network that was easily discoverable with Bonjour in Snow.
    From my experience -
    I got the SMB share working (sort of) in Lion 10.7
    While the network hub and connected drive(s) won't automatically appear as a Connected Server, or Bonjour Computer I was able to find the Dockstar by going to -
    Go/Connect to Server and then enter it's specific info -  smb://fabx2d09fe (my device's actual number was different than this).
    The dialog pops up for name and password - or connect as Guest.  I couldn't remember if I had set these so tried Guest and was able to access/mount the drive on the desktop and sucessfully read/write to/from it.
    I may have to always connect to recent servers to get the thing to mount so it's not as automatic as Bonjour in the sidebar - but it does work!
    This mostly solved the issue for my needs....maybe it would work for yours?

  • 5.3 - can't import to a network drive

    Since upgrading to 5.3, I have been having issues importing files to my NAS. I have tried a variety of ways of connecting it to the computer (through a wifi router and directly over ethernet, using SMB and AFP protocols) and I keep running into the same issue: LR works on it for a while, then tells me that all files are unsupported or damaged. Sometimes, one manages to get through and is imported correctly, but that's it.
    The files are valid, Photo Mechanic imports them without problems. LR import the files correctly to the internal drive of the computer.
    The main machine is a 27" iMac running OS X 10.9. The NAS is a Synology DS411j running the latest DSM (4.3).
    Any ideas?

    Unforunately, I've just experienced the same problem, in a very similar configuration - I have an SMB volume directly attached to an Asus router, which otherwise has been behaving perfectly.  I've just made two changes to my enviornment - I have brand new Macbook running Mavericks and I've moved my photos to the drive attached to my router. So it's hard for me to access where the root cause is Mavericks or some problem Lightroom (5.3) has getting along with SMB volumes. 
    Interesting, when I first imported some new pictures in this configuration, I accidentally imported them to the Pictures fiolder on my Macbook.  That worked fine.  I then moved the folder containing the new pictures to the SMB volume from within Lightroom that that worked fine too.  So the problem seems very specific to importing pictures that are already located on the SMB volume.

  • Can I use it for both a backup drive and shared network drive?

    Is it possible to use the Time Capsule for both an automatic backup drive for my Mac AND use it as a shared network drive to store my large library of home videos?  If so, does it require partitioning the drive and are there instructions available?  Alternatively, if I store my home videos on its own network drive, will Time Capsule backup this drive too?  If I don't want any external drives tethered to my mac, how would set up the  2 drive scenario, so that home video drive can be shared on the network?
    To be specific, I'm looking for a networked drive solution that allows me to do the following:
    1) automatically back up my Mac
    2) act as the primary storage drive for 750GB of the kids home videos (to save room on Mac) [Side question - ]
    3) have the ability to watch the home videos on both my family room Apple TV (is this even possible?) and my kitchen Mac Mini display (would my Mac's iMovie's library be able to include my home video content  that is stored on a network drive, or does it require the content to be  on the Mac hard drive?). 
    4) If I use a two drive solution  (time capsule backup and cheaper second drive), I want to be able to have Time Capsule back up the home video content on the second drive. 
    5) I do not want any drive tethered to my Mac, only wirelessly connected.  Would the second drive be connected to the Time Capsule?  How would this be set up? 
    Many thanks!

    christianfromshaker heights wrote:
    Is it possible to use the Time Capsule for both an automatic backup drive for my Mac AND use it as a shared network drive to store my large library of home videos?
    basically yes, but i wouldn't recommend it.
    If so, does it require partitioning the drive and are there instructions available?
    the disk in the TC can't be partitioned in the traditional way. but you can use disk utility to create a "fixed-size" sparse disk image on the TC's disk for use with other data. use the instructions here, just leave out the encryption part.
    Alternatively, if I store my home videos on its own network drive, will Time Capsule backup this drive too?
    no.
    time machine can not back up from network drives.
    To be specific, I'm looking for a networked drive solution that allows me to do the following:
    1) automatically back up my Mac
    2) act as the primary storage drive for 750GB of the kids home videos (to save room on Mac) [Side question - ]
    consider a NAS that is time machine compatible.
    3) have the ability to watch the home videos on both my family room Apple TV (is this even possible?) and my kitchen Mac Mini display (would my Mac's iMovie's library be able to include my home video content  that is stored on a network drive, or does it require the content to be  on the Mac hard drive?).
    it's possible to stream content stored on a TC (or NAS) to TV. using home sharing, your mini would be able to access files in homeshared libraries.
    it doesn't matter where the files are stored as long as iTunes knows they are there. in other words, the content needs to be in an iTunes/TV friednly format and in your iTunes library - that doesn't mean the content can't be stored on an external HD, a TC, or a NAS.
    4) If I use a two drive solution  (time capsule backup and cheaper second drive), I want to be able to have Time Capsule back up the home video content on the second drive.
    What can Time Machine back up, and where can it put it’s backups?
    5) I do not want any drive tethered to my Mac, only wirelessly connected. 
    IMO, your best course of action is to get a NAS. if you're interested, i can highly recommend this device by Synology.
    Synology NASes play very well with Macs and have excellent backup features on board. given enough space (i have 4x2 TB drives installed) you can store your media files there, use time machine to backup your Macs to it and can use the on-board backup solution to back up the whole shebang to a USB drive connected to the NAS.

  • Can't see network drive attached to AirPort

    Hi All
    I'm a newbie Mac user (just got my MacBook Pro last Thursday, in fact-- OS X 10.5.7). While I've got most of my issues doped out, I'm running into a problem connecting to a network drive that's plugged directly into my AirPort Extreme. I have three Windows systems (running XP and Vista) that can attach to the drive with no problem, but I can't figure out how to mount the drive under OS X.
    If I use the Finder and select the router under "Shared", the Finder just spins with the message "Connecting..." for ages until it times out.
    If I try to attach to a server, that doesn't work-- I've tried all the protocols in various flavors. Everything times out. I do get the message that the server or password is incorrect, but I never see a prompt for a password, so I am not sure what's going on there.
    In short, I'm stumped. When I open up the AirPort utility, and view the disk, the drive is attached-- it has a name, and it gives the correct statistics on used/free space. When I go to File Sharing, the checkbox for Enable File Sharing is clicked.
    Any ideas?
    Thanks!
    -Ed

    Well, I'm stumped. I spent an hour on the phone with Apple support-- they ran through the scenarios I had already been through, and they came up with nothing useful. I ended up taking a second 160gb HD that was formatted NTFS, and formatted if for HFS+. This drive was visible through Finder. I took the same drive, formatted it for FAT32 and, surprise, surprise, NOTHING VISIBLE.
    The "just works" philosophy is OK, but it's bunk when it comes to network drive support. I'm doubting the wisdom of this purchase now.
    $2500 for a computer that can't connect to a network drive that can be seen by an $500 Dell laptop?
    The issue simply seems to be this: put a FAT32 drive on another box, and it can be shared by Macs and Windows boxes.
    Put that same FAT32 box on an AirPort Express, and my Mac is BLIND. It can't see the drive.

Maybe you are looking for

  • How can I search a file system and only return newer files?

    Sorry the title didn't give me much room to work with. I'm writing a tool which needs to track all the files in an OS. What I'd like to do is make it so my program will only return files that have been modified/created since the last search to add to

  • Creation of products in standalone system

    hi what is the procedure for creating products in crm stand alone system? what steps are involved in creation? thanks ajay

  • Refreshed laptop with Win 8.1 DVD - Freezing Problems

    I had freezing problems on my Toshiba and decided to refresh it with full windows 8.1 DVD I purchased separately, Toshiba initially had Vista. I bought upgraded to Win 8 pro 64 and then to 8.1 pro 64 Toshiba didn't provide any restoration discs or an

  • FAQ: If I buy Photoshop CS5 now, will I get a free upgrade when Photoshop CS6 comes out?

    The following document explains: Upgrade policy after new product announcement Because Adobe hasn't officially announced official CS6 pricing and availability dates yet, your best bet is to wait until there is an official announcement on pricing and

  • Best way to configure a network

    Hello all, new to this so bare with me. I've used airport for the last few years & now have to create a larger network. The building that the network's installed is constructed with concrete, steel, very thick glass etc, all the things to limit the d