Rman transportable tablespace ORA-39087: directory name is invalid

Hello all,
We are trying to restore a backup of a tablepace using RMAN's TRANSPORTABLE TABLESPACE command. I created the director in oracle (and it exists on the server), granted privs yet it fails with ORA-39087: directory name is invalid. It seems to fail at the end. Here's my steps, does anyone know how to fix? Thanks in advance for your time!
Dave
CREATE DIRECTORY ARCH_DIR as '/opt/oracle/arch';
GRANT IMP_FULL_DB, EXP_FULL_DB TO SYS, RMAN, SYSTEM;
GRANT READ, WRITE ON DIRECTORY ARCH_DIR TO SYS, RMAN, SYSTEM;
export ORACLE_SID=ADMIN_P1
rman target / catalog rman/rmanpassword@mydb
TRANSPORT TABLESPACE REPORTER
TABLESPACE DESTINATION '/opt/oracle/arch'
AUXILIARY DESTINATION '/opt/oracle/arch'
UNTIL SCN 2144439724
DATAPUMP DIRECTORY ARCH_DIR
DUMP FILE 'reporter.dmp'
IMPORT SCRIPT 'reporter.imp'
EXPORT LOG 'reporter.log';

Creating a directory object inside the database does not create anything in the operating system. My guess is that the physical directory, with appropriate permissions, does not exist.

Similar Messages

  • Impdp: looks right, but still getting ORA-39087: directory name invalid

    This is fairly mysterious, particularly since I've done this many other times without problems.
    I created the directory C:\OracleImportTest on the server's filesystem, created a corresponding directory object DP_DIR in Oracle, and granted my user read and write access to it. I've been staring at it and trying different things all morning, but I still get the following results:
    C:\test>impdp cgernon/**** DIRECTORY=dp_dir SERVICE_NAME=test1 DUMPFILE=export.dmp LOGFILE=import.log
    Import: Release 11.1.0.6.0 - Production on Friday, 27 May, 2011 12:01:08
    Copyright (c) 2003, 2007, Oracle.  All rights reserved.
    Connected to: Oracle Database 11g Release 11.1.0.6.0 - Production
    ORA-39002: invalid operation
    ORA-39070: Unable to open the log file.
    ORA-39087: directory name DP_DIR is invalid"But Mercurial!" you say, "surely you screwed something up setting up the directory and either it doesn't exist or you don't have access to it!" I would be the first to agree that is the most likely cause of the problem, but performing the following queries to double-check leaves me in a state of complete confusion:
    select * from all_directories;
    OWNER DIRECTORY_NAME DIRECTORY_PATH
    SYS   DP_DIR         C:\OracleImportTest                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
    select * from user_tab_privs where table_name = 'DP_DIR';
    GRANTEE OWNER TABLE_NAME GRANTOR PRIVILEGE GRANTABLE HIERARCHY
    CGERNON SYS   DP_DIR     SYS     READ      NO        NO       
    CGERNON SYS   DP_DIR     SYS     WRITE     NO        NO        Does anyone know of any other conditions that can trigger this error, or see anything I'm missing here? I am thoroughly mystified. Thanks!

    Good suggestion, but I'm still getting the same error ... using that command, as typed above.
    HOWEVER, changing the command as follows works:
    impdp cgernon/****@test1 DIRECTORY=dp_dir DUMPFILE=export.dmp LOGFILE=import.logWhich brings up another question. In the past, I've used the SERVICE_NAME option to specify the TNS Name for the database instance I want to connect to. Is that not what this option actually represents? And if not, why was it working for me in the past?
    At this point, I guess my original problem is resolved, but if anyone can explain the SERVICE_NAME option to me, I would appreciate it - thanks!

  • ORA-20100: Column name undefined invalid Error - Table splitting

    Hi
    While tablesplitting in our upgraded ECC6.0 (EHP4) system, we are facing the below error
    BEGIN table_splitter.ranges('SOFFCONT1','undefined',5,'/tmp/sapinst_instdir/ERPEhP4/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/PRETABSPLIT/Split/DATA'); END;
    ERROR at line 1:
    ORA-20100: Column name undefined invalid
    ORA-06512: at "SAPR3.TABLE_SPLITTER", line 775
    ORA-06512: at line 1
    In our R3hint file we have the below entry, but still we face the issue.
    (kdecc01)#cat R3ta_hints.txt | grep SOFF
    SOFFCONT1       PHIO_ID
    Has anyone faced this issue before?
    Senthil

    see SAP note 1043380
    Ensure the directory being reference does actually exist and ensure
    privilege are provided for access. Also, a Directory Alias should be
    used instead of the database parameter UTL_FILE_DIR which has been
    deprecated.
    Grant the READ or WRITE privileges to the username accessing the
    DIRECTORY.
    Ensure that the file being read does exist and actually contains
    information to be read.
    regards,
    Vincent

  • Certutil -crl problems (the directory name is invalid)

    Another problem for you fine experts to consider...2 tier PKI, offline Root 2008 R2, 1 Sub Ent CA in Domain1 (2008 R2) and 1 Sub Ent CA in Domain2 (2012 R2).
    SubCA 1 and 2 are configured pretty much identically, however when setting up SubCA 2 I am having issues running the Certutil -CRL command to publish the CRL.
    My CDP locations are configured as follows;
    65:c:\WIndows\System32\CertSrv\CertEnroll\%3%8%9.crl
    79:ldap://CN=%7%8,CN=CDP,CN=Public Key Services,CN=Services,%6%10
    6:http://pki.domain2/CertEnrolment/%3%8%9.crl
    65:file://\\pki.domain2\CertEnrolment\%3%8%9.crl
    I can confirm that the base CRL publishes correctly to the CertEnroll location and LDAP correctly. But it fails trying to publish to the HTTP/File location (which is the same path).
    I get the error:
    CertUtil: -CRL command FAILED: 0x8007010b (WIN32/HTTP: 267 ERROR_DIRECTORY)
    CertUtil: The directory name is invalid
    Also the Delta CRL fails on the CertEnroll default directory as well as the file/http path with error;
    Active Directory Certificate Services could not publish a Delta CRL for key 0 to the following location: file://\\pki.domain\CertEnrolment\CANAME+.crl.
    Operation aborted 0x80004004 (-2147467260 E_ABORT)<o:p></o:p>
    I'm pretty certain it's not a permissions issue as I've added Everyone for NTFS/share permissions to test without any change. The install was done with an Enterprise
    Admin account but I'm doing all the testing now with a normal admin account (admin in the CA/server but not domain or enterprise admin).<o:p></o:p>
    <o:p></o:p>
    The File/HTTP location is on the CA itself (I know this is likely not best practise, but needs to be there in the short term) so not sure if the Windows firewall comes into play.
    Thanks!

    Hi driko,
    It's not a best practise to give Everyone NTFS/share permissions!
    What I suggest is you
    1. Create a dedicated folder f.e. "C:\Repository" on CA and share it only with permissions to specific account (see below)
    2. In CA publish CRLs to c:\WIndows\System32\CertSrv\CertEnroll\%3%8%9.crl
    only and create a task in task scheduler that will be running on the dedicated account and will copy c:\WIndows\System32\CertSrv\CertEnroll\*.crl
    to \\pki.domain2\Repozitory\*.crl 
    3. Make sure that account that is running this task on CA1 (Domain 1) has enough permissions for Repository share in Domain 2 (try running cmd as this user on
    CA1 and copy files manually to \\pki.domain2\Repository\)
    4. Map your http://pki.domain/CertEnrolment URL with IIS to physial C:\Repository\  folder path
    Did my post help you or make you laugh? Don't forget to click the Helpful vote :) If I answered your question please mark my post as an Answer.

  • TREX creation process fails - directory name is invalid

    Hello All,
    I've installed a TREX instance to be linked up to two SRM instances (SRD and SRT).  I had done this successfully on a prior server, but recently we got a new
    server to run TREX on.
    When I reinstalled TREX on the new server, I have
    success having SRD connect to TREX via SM59, but SRT fails because the program isn't getting registered.
    While looking into the details, I find this error message in the traces:
    [00344] 2007-04-16 14:05:25.519 i Daemon TrexDaemon.cpp(03508) :
    start 'TREXRfcServer.exe -r -host=usalsapt -instance=sapgw52
    -service=TREXRfcServer_13' failed
    [00344] 2007-04-16 14:05:25.519 e Daemon TrexDaemon.cpp(02951) :
    creation of process '"TREXRfcServer.exe" -r -host=usalsapt
    -instance=sapgw52 -service=TREXRfcServer_13' failed: The directory name
    is invalid.
    Has anyone experienced something similar before?  Or have an idea as to which directory the error message references?  Thank you
    ~TJ

    Hi TJ,
    did you check in SM59 if the RFC destination is of type "regestration" and has case-sensitive correct the name in there ?
    Do you see a different error when SRT is down ?
    I guess, you checked to ping usalsapt from the TREX box already ? The instance number is 52 as well ?
    Regards
    Volker Gueldenpfennig, consolut.gmbh
    http://www.consolut.de - http://www.4soi.de - http://www.easymarketplace.de

  • Error running javaws.exe  "The directory name is invalid"

    I am attempting to run a VPN client for Sabre. Once I installed their VPN client (installing JRE 1.5 + their custom icon) I am unable to successfully launch the VPN using the desktop icon as a power user in an active directory network environment, however as an admin it works fine.
    C:\Program Files\java\jre1.5.0_11\bin\javaws.exe "The Directory name is Invalid" <----Error message I get when I launch VPN.
    This is what the target location says - "C:\Program Files\Java\jre1.5.0_11\bin\javaws.exe" http://sabrevpn.sabre.com/vpnclient/sslvpn-tn.jnlp
    Now I have enabled access for our limited users by adding their group with modify access to the c:\program files\java folder and still I get this error. Any idea what this could be?!
    Thanks in advance.

    Hi,
    Thanks for your question.
    Can you access other websites?
    Did you use TMG 2010 and install SP1 on it? Did you configure HTTPS inspection?
    If yes, it may because TMG 2010 SP1 sends an empty client certificate to the web server during the initial Secure Sockets Layer handshake and
    you can refer to the KB below:
    http://support.microsoft.com/kb/2423401/en-us
    In addition, did you mean that the issue went away after you start Windows Firewall service? In general, Windows Firewall must be enabled on the computer where TMG operates. I am not sure if it is due to the Windows Firewall is not working.
    You can also check if Windows Firewall is enabled when you receive that error.
    Best regards,
    Susie

  • TMG Error Code 502 Proxy Error. The directory name is invalid. (267)

    Hi,
    I am having problem with a website in specific.
    Is showing the following error message.
    Error Code: 502 Proxy Error. The Directory name is invalid. (267)
    Server: TMG.personaldomain.local
    Source: web filter
    I have found no information in the logs to help identify the problem.
    I suspect that may be temporarily unavailable from the website. I enter the site without using the TMG and the same is responding.
    The problem is solved when I restart the service "Microsoft Forefront TMG Firewall"
    I suspect that may be cached in TMG that the site remains unavailable.
    Any idea?
    Tks.
    MCITP|Enterprise Administrator

    Hi,
    Thank you for the post.
    I did some research and found 267 error code may occur where the TMG tracing showed an issue accessing the Malware Temporary Storage directory which was resolved by changing the direction from C:\windows\temp directory
    to a custom directory. You could make this change as a pro-active step. Meanwhile, if you are running AV software on the TMG server, please also ensure you have reviewed the following article:
    http://technet.microsoft.com/library/cc707727.aspx
    Regards,
    Nick Gu - MSFT

  • Error 127: The specified file or directory name is invalid

    Hello,
    I am trying, for the first time, to Groom a users home directory. I had created user Home directory policy and have added vault and groom...

    On 5/14/2013 7:16 AM, nwadmsitn wrote:
    >
    > Hi,
    >
    > I'm trying to evaluate File Reporter. I have installed the agent on a
    > OES11 box. This agent is acting as my proxy agent.
    >
    > Then i setup a policie to scan a volume on 2 differents server. One is
    > OES11, the other is OES2.
    >
    > When i launch my policies i have very differents result :
    > - Volume Free Space : After 5 attempts finally it is working
    > -File System DATA : I have most of the time this error : (127) - The
    > specified file or directory name is invalid. Sometimes Operation is
    > successfull but in the reports i have only data for 1 of the 2 volume
    > and only for 2 directories
    >
    > In the log file of the nfr proxy agent i have this kind of error :
    > 01 2013-05-14 13:00:29 7200 3 0006 5953 7f674b5e0700
    > SRSScanAndCollectFileSystemDataService::FinalizeSc anDataEntry() - Worker
    > thread encountered an error and is exiting, Scan ID = "18", Result = 0.
    >
    > Can someone help me ?
    >
    > Stephane
    >
    >
    Stephane,
    Just to clarify a few things:
    1. Do you get these results for both scan targets? Or only a proxied
    scan of the OES11 or OES2 volume?
    2. What sort of volumes are being scanned? NSS? AFP? NCP? What's the
    underlying Linux filesystem type, if applicable?
    Thanks for helping us understand your problem better.
    - NFMS Support Team

  • •Error Code: 502 Proxy Error. The directory name is invalid. (267)

    Hi..my name is Fajar..
    I facing same situation getting an error cannot access
    www.pajak.go.id. I have followed up soulution  to restart firewall services its resolved only one day, once I get back to the office cannot access again.
    btw sometimes after the error shown up, I press refresh button and the page getting blank and then refresh again. the error shown up again.
    is there any permanent solution to resolved this issue?

    Hi,
    Thanks for your question.
    Can you access other websites?
    Did you use TMG 2010 and install SP1 on it? Did you configure HTTPS inspection?
    If yes, it may because TMG 2010 SP1 sends an empty client certificate to the web server during the initial Secure Sockets Layer handshake and
    you can refer to the KB below:
    http://support.microsoft.com/kb/2423401/en-us
    In addition, did you mean that the issue went away after you start Windows Firewall service? In general, Windows Firewall must be enabled on the computer where TMG operates. I am not sure if it is due to the Windows Firewall is not working.
    You can also check if Windows Firewall is enabled when you receive that error.
    Best regards,
    Susie

  • When trying to install Firefox 3.6.11, after extraction, I get the message "The directory name is invalid", and the installation won't continue (Windows Vista Home Basic 6.0).

    That's about it.

    I downloaded a program from Roboform called rfwipeout.exe. I backed up my passwords, identities, etc and completely removed all traces of roboform. This did not help. When I re-installed the roboform new release it got the same message that it thinks I am using version 3.6 of Firefox instead of 11.0. There must be some setting in the Firefox folders that never gets changed when you update to a new version.
    Soon after that I ran a backup of Firefox profiles identities, etc using MOZ BACKUP. I had never noticed this until then but the message asks if I want to backup Mozilla Firefox 3.6. Since 2 completely different programs refer to my installation as 3.6 there must be something wrong in one of the Firefox files.

  • The directory name is invalid

    Can anyone explain how to avoid this error when using CreateProcess to launch a java app from within a Windows Service.
    The exact same call works fine when executed from the context of a Windows application or Windows Command Windows (DOS box). Yet, it fails when invoked from a Windows service.
    I've tried all the standard tricks of running the services as a specific user, granting FULL rights to all user ID on my machine, etc.
    Is there something weird about the relationship between a service and the java engine. It looks like the java engine doesn't even get launched...

    Have a read of Techincal reference document on 'Quoting and Special Characters in MaxL'.
    I just picked these lines for you,
    One backslash is treated as one backslash by the shell, but is ignored or treated as an escape
    character by MaxL. Two backslashes are treated as one backslash by the shell and MaxL.
    Hope it helps.

  • I downloaded the newest version of firefox but it will not install, it is giving me a message saying the directory name is invalid. Why and what can I do to fix.

    The above message pops up when I try to install the new version of firefox. It will not let me install the new version. I do not know how to fix it. Please advise.

    Try a custom install.
    *https://support.mozilla.com/kb/Custom+installation+of+Firefox+on+Windows

  • Transport Tablespace via RMAN

    Hii all
    I configured control file autobackup on and take a backup whole database with "backup database;" command and
    RMAN> transport tablespace users tablespace destination 'c:\Transport' auxiliary destination 'c:\Auxi';
    I am receiving ;
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06024: no backup or copy of the control file found to restore
    In begining lines of rman command I saw that "control_files=c:\Auxi/cntrl_tspitr_ST1_dFcB.f" looks like using unix path format in windows? Have you any idea ?
    Best Regards
    Oracle 10.2.0.3 on Vista Sp2

    hi
    Yes it is on besides I take backup with "backup database include current controlfile" nothing has changed
    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\
    NCFST1.ORA'; # default
    also I have just tested same command on aix platform it works well I think this is related windows platform ?
    Edited by: EB on Sep 25, 2009 4:56 PM

  • Transport Tablespace using RMAN from 10.2.0.2 to 10.2.0.3 ??

    Hello all,
    Is it possible to do RMAN Transport Tablespace from 10.2.0.2 to 10.2.0.3 ??
    TIA,
    J J

    Are the two database on same platform?
    Yes, it's possible to move from 10.2.0.2 to 10.2.0.3
    You should check Oracle document,
    You cannot export transportable tablespaces and then import them into a database at a lower release level. The target database must be at the same or higher release level as the source database.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_export.htm#i1006840

  • Rman transportable db

    Hello
    With Regards to using transportable tablespace with rman.
    run {
    transport tablespace "USERS"
    Tablespace destination '/ora_backup/tts'
    Auxiliary destination '/ora_backup/tts'
    Datapump directory data_pump_dir
    dump file 'tts_test.dmp'
    Import script 'tts_test.imp'
    Export log 'exp_tts_test.log'
    UNTIL TIME "to_date('02 NOV 2007 14:37:00','DD MON YYYY hh24:mi:ss')";
    }Suppose I also need conversion like:
    CONVERT TABLESPACE users
    TO PLATFORM 'Linux IA (32-bit)'
    FORMAT='/home/users/%U';Would it be possible to merge these two run commands ?
    I mean would it be possible to include convert clause inside transport tablespace run block ?

    Thanks Girish,
    One last question:
    I have a file system database on linux which is 10g.I want to transport this database to new host asm on 11g.
    I am unable to use transportable database since the endian formats are different. I want to use transportable tablespace feature with rman.
    The database is pretty big.
    Can I run the rman transportable tablespace command from 11g hosts connecting 10g database as a client and specifying 11g host file system paths.
    ie:
    connect target sys/sys@10g;
    run {
    allocate channel t1 type 'SBT_TAPE';
    transport tablespace "USERS"
    Tablespace destination '/ora_backup/tts'
    Auxiliary destination '/ora_backup/tts'
    Datapump directory data_pump_dir
    dump file 'tts_test.dmp'
    Import script 'tts_test.imp'
    Export log 'exp_tts_test.log'
    UNTIL TIME "to_date('02 NOV 2007 14:37:00','DD MON YYYY hh24:mi:ss')";
    }

Maybe you are looking for