Error: The AddressBook datafile is a directory!

This message may show up in the in the console log for an application that has crashed. Alternatively, you may see the AddressBook framework as the location of a crash in a crash report.
The cause may be a bad alias in the application support folder for the application that is crashing. You will need to correct the alias to point the correct location. As follows:
Hold down the Option key and bring up the Finder "Go" menu. Holding down Option allows you to open the Library folder in your account.
Inside the Library is the Containers folder. Open that folder.
Look for the folder associated with the crashing application, for example iPhoto. In iPhoto's case the folder is com.apple.iPhoto.
Navigate to the following (using iPhoto as the example) folder: ~Library/Containers/com.apple.iPhoto/Data/Library/Application Support
You will see an alias named AddressBook. Check the original file that the alias points to. If the alias points to the ~Library/Application Support folder, you have found the source of the crash. You need to make the alias point to the ~Library/Application Support/AddressBook folder.
Hope this tip helps.

Hi
Why so complicated ?
just delete this folder (if the problem is iphoto)
~Library/Containers/com.apple.iPhoto
it's recreated by iphoto ...
My Problem was:
Upgrade to 10.8 from 10.6
Update to 10.8.5 ink. iPhoto 9.4.3 and everything else
activated icloud fotostream
put in a SD Card to import some photos and crash....
i found your post,
deleted the folder:
~Library/Containers/com.apple.iPhoto
actually clear out the complete folder:
~Library/Containers/
disabled fotostream
no kernel panic anymore
opened iphoto... updated Library...
then reactivated fotostream
no crash since

Similar Messages

  • Mail crash / Mountain Lion: "AddressBook datafile is a directory"

    My Mail app began crashing yesterday -- a few days after upgrading to Mountain Lion. I posted the crash dump, but no resolution yet.
    It crashes right away on starting up the app.
    Today, I noticed the following Console message -- it appears every time I click on the Mail app:
    7/31/12 10:34:12.815 AM Mail[4427]: -[ABAddressBook sharedAddressBook] Error: The AddressBook datafile is a directory!
    I'm hoping someone on these forums can figure out the issue/resolution from this clue.
    Thanks!

    Here's some more data. The first page of the crash dump. The corroborating evidence is the fact that there is addressbook related stuff on the top of the stack:
    Process:         Mail [4357]
    Path:            /Applications/Mail.app/Contents/MacOS/Mail
    Identifier:      com.apple.mail
    Version:         6.0 (1485)
    Build Info:      Mail-1485000000000000~3
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [333]
    User ID:         509
    Date/Time:       2012-07-31 10:32:23.189 -0700
    OS Version:      Mac OS X 10.8 (12A269)
    Report Version:  10
    Sleep/Wake UUID: 92628109-2395-4759-921D-5FF92910E305
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
    VM Regions Near 0:
    -->
        __TEXT                 0000000104197000-0000000104534000 [ 3700K] r-x/rwx SM=COW  /Applications/Mail.app/Contents/MacOS/Mail
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   libsystem_c.dylib                       0x00007fff8f449690 strlen + 16
    1   com.apple.AddressBook.framework          0x00007fff91767f58 ABInitFileLock + 34
    2   com.apple.AddressBook.framework          0x00007fff9176474c -[ABAddressBook nts_InitDefaultContactManager] + 250
    3   com.apple.AddressBook.framework          0x00007fff9176452c +[ABAddressBook nts_SharedAddressBook] + 82
    4   com.apple.AddressBook.framework          0x00007fff9176443b +[ABAddressBook nts_CreateSharedAddressBook] + 49
    5   com.apple.AddressBook.framework          0x00007fff91763788 +[ABAddressBook sharedAddressBook] + 69
    6   com.apple.AddressBook.framework          0x00007fff91785a01 +[ABAddressBook addressBookWithDatabaseDirectory:options:] + 60
    7   com.apple.MessageFramework              0x00007fff8b9cdd5a +[MailAccount _setMailAccounts:calledFromSync:reloadingFromPreferences:] + 2595
    8   com.apple.MessageFramework              0x00007fff8b9c9184 +[MailAccount reloadMailAccounts] + 61
    9   com.apple.MessageFramework              0x00007fff8b9c9132 +[MailAccount _mailAccountsIncludingUnknownTypes] + 29
    10  com.apple.MessageFramework              0x00007fff8b9c9056 +[MailAccount mailAccounts] + 61
    11  com.apple.MessageFramework              0x00007fff8b9d014f +[MailAccount haveAccountsBeenConfigured] + 47
    12  com.apple.mail                          0x000000010419ae58 0x104197000 + 15960
    13  com.apple.CoreFoundation                0x00007fff85971b8a _CFXNotificationPost + 2554
    14  com.apple.Foundation                    0x00007fff8a781a76 -[NSNotificationCenter postNotificationName:object:userInfo:] + 64
    15  com.apple.mail                          0x00000001041997d5 0x104197000 + 10197
    16  com.apple.AppKit                        0x00007fff8e933f5d -[NSApplication _postDidFinishNotification] + 292
    17  com.apple.AppKit                        0x00007fff8e933c96 -[NSApplication _sendFinishLaunchingNotification] + 216
    18  com.apple.AppKit                        0x00007fff8e930ec2 -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 566
    19  com.apple.AppKit                        0x00007fff8e930abc -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 351
    20  com.apple.Foundation                    0x00007fff8a79b35b -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 308
    21  com.apple.Foundation                    0x00007fff8a79b1bd _NSAppleEventManagerGenericHandler + 106
    22  com.apple.AE                            0x00007fff887f8f68 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) + 307
    23  com.apple.AE                            0x00007fff887f8dc9 dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 37
    24  com.apple.AE                            0x00007fff887f8c89 aeProcessAppleEvent + 318
    25  com.apple.HIToolbox                     0x00007fff8ae69e29 AEProcessAppleEvent + 100
    26  com.apple.AppKit                        0x00007fff8e92d2a6 _DPSNextEvent + 1456
    27  com.apple.AppKit                        0x00007fff8e92c862 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
    28  com.apple.AppKit                        0x00007fff8e923c03 -[NSApplication run] + 517
    29  com.apple.AppKit                        0x00007fff8e8c8656 NSApplicationMain + 869
    30  libdyld.dylib                           0x00007fff91cb27e1 start + 1

  • Import Error: The root directory does not exist

    Hi,
    I have some isuuses with importing the extended page. When I try to Import it throws an error.
    Root Directory does not exist.
    I am using the following command.
    import c:\jdev\jdevhome\jdev\myprojects\oracle\apps\asn\opportunity\webui\EMCOpptyDetPG.xml -includeSubpackages -validate -rootdir c:\prabhat\Jdev\jdevhome\jdev\myprojects -mmddir C:\prabhat\Jdev\jdevhome\jdev\myhtml\OA_HTML\jrad -userId 1 -username apps -password apps -dbconnection "(description = (address_list = (address = (community = tcp.world)(protocol = tcp)(host =xxxx)(port =xxx)))(connect_data = (sid = xxxx)))" -jdk13
    Importing /oracle/apps/asn/opportunity/webui/EMCOpptyDetPG
    Validation warnings in document "/oracle/apps/asn/opportunity/webui/EMCOpptyDetP
    G":
    Importing /oracle/apps/asn/opportunity/webui/EMCOpptyDetPG
    Validation warnings in document "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG":
    Invalid value "/oracle/apps/pv/opportunity/webui/PvOpptyPartnerRN" for property
    "Extends" on component "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG.ASNSubt
    abPrmRN". Component "/oracle/apps/pv/opportunity/webui/PvOpptyPartnerRN" cannot
    be referenced from "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG.ASNSubtabPr
    mRN" because it violates scope restrictions.
    Invalid value "/oracle/apps/jtf/cac/task/webui/CacTaskSummRN" for property "Exte
    nds" on component "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG.ASNSubtabTas
    kRN". Component "/oracle/apps/jtf/cac/task/webui/CacTaskSummRN" cannot be refere
    nced from "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG.ASNSubtabTaskRN" bec
    ause it violates scope restrictions.
    The component "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG.ASNSubtabTaskRN"
    cannot contain "/oracle/apps/jtf/cac/task/webui/CacTaskSummRN.CacSmrTable" of t
    able style because it is inside "tableLayout".
    The component "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG.ASNSubtabTaskRN"
    cannot contain "/oracle/apps/jtf/cac/task/webui/CacTaskSummRN.CacSmrTaskButtonR
    N" of stackLayout style because it is inside "tableLayout".
    Invalid value "/oracle/apps/pv/opportunity/webui/PvAbandonOpptyRN" for property
    "Extends" on component "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG.ASNPrmS
    tack". Component "/oracle/apps/pv/opportunity/webui/PvAbandonOpptyRN" cannot be
    referenced from "/oracle/apps/asn/opportunity/webui/EMCOpptyDetPG.ASNPrmStack" b
    ecause it violates scope restrictions.
    Error: The root directory does not exist
    Error: The root directory does not exist
    Error: The root directory does not exist
    Error: The root directory does not exist
    Error: The root directory does not exist
    Error: The root directory does not exist
    Error: The root directory does not exist
    Error: The root directory does not exist
    Error: The root directory does not exist
    Error: The root directory does not exist
    Error: The root directory does not exist
    Error: The root directory does not exist
    Import completed.
    But After this when I try to see from the server there is no file with name EMCOpptyDetPG.xml exist. So I think this file is not imported.
    Could suggest how to solve this problem.
    Thanks
    Prabhat

    Hi Tapash
    while deploying a page to mds Repository i m getting the same error that root Directory does not exist but it also says that import completed successfully.
    when i see the same using jdr_utils.listDocuments('xxxx/oracle/apps/ak/server/webui/xxxPG')
    it says printing /xxxx/oracle/apps/ak/server/webui/xxxPG thus page is available in the mds repository and i m able to access the page at run time
    my concern is why i m getting this error
    my import command looks like this
    java oracle.jrad.tools.xml.importer.XMLImporter $JAVA_TOP/xxxx/oracle/apps/ak/server/webui/xxxxPG.xml -jdk13 -mmddir $OA_HTML/jrad -username apps -password apps -rootdir $JAVA_TOP -validate -dbconnection " (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = xyxyxyxyxy)(PORT = xyxyx)) (CONNECT_DATA = (SID =yyy)))"
    could u pls suggest some solution.

  • Certificate issues Active Directory Certificate Services could not process request 3699 due to an error: The revocation function was unable to check revocation because the revocation server was offline. 0x80092013

    Hi,
    We have some problems with our Root CA. I can se a lot of failed requests. with the event id 22: in the logs. The description is: Active Directory Certificate Services could not process request 3686 due to an error: The revocation function was unable to
    check revocation because the revocation server was offline. 0x80092013 (-2146885613).  The request was for CN=xxxxx.ourdomain.com.  Additional information: Error Verifying Request Signature or Signing Certificate
    A couple of months ago we decomissioned one of our old 2003 DCs and it looks like this server might have had something to do with the CA structure but I am not sure whether this was in use or not since I could find the role but I wasn't able to see any existing
    configuration.
    Let's say that this server was previously responsible for the certificates and was the server that should have revoked the old certs, what can I do know to try and correct the problem?
    Thank you for your help
    //Cris

    hello,
    let me recap first:
    you see these errors on a ROOT CA. so it seems like the ROOT CA is also operating as an ISSUING CA. Some clients try to issue a new certificate from the ROOT CA and this fails with your error mentioned.
    do you say that you had a PREVIOUS CA which you decomissioned, and you now have a brand NEW CA, that was built as a clean install? When you decommissioned the PREVIOUS CA, that was your design decision to don't bother with the current certificates that it
    issued and which are still valid, right?
    The error says, that the REQUEST signature cannot be validated. REQUESTs are signed either by itself (self-signed) or if they are renewal requests, they would be signed with the previous certificate which the client tries to renew. The self-signed REQUESTs
    do not contain CRL paths at all.
    So this implies to me as these requests that are failing are renewal requests. Renewal requests would contain CRL paths of the previous certificates that are nearing their expiration.
    As there are many such REQUEST and failures, it probably means that the clients use AUTOENROLLMENT, which tries to renew their current, but shortly expiring, certificates during (by default) their last 6 weeks of lifetime.
    As you decommissioned your PREVIOUS CA, it does not issue CRL anymore and the current certificates cannot be checked for validity.
    Thus, if the renewal tries to renew them by using the NEW CA, your NEW CA cannot validate CRL of the PREVIOUS CA and will not issue new certificates.
    But it would not issue new certificates anyway even if it was able to verify the PREVIOUS CA's CRL, as it seems your NEW CA is completely brand new, without being restored from the PREVIOUS CA's database. Right?
    So simply don't bother :-) As long as it was your design to decommission the PREVIOUS CA without bothering with its already issued certificates.
    The current certificates which autoenrollment tries to renew cannot be checked for validity. They will also slowly expire over the next 6 weeks or so. After that, autoenrollment will ask your NEW CA to issue a brand new certificate without trying to renew.
    Just a clean self-signed REQUEST.
    That will succeed.
    You can also verify this by trying to issue a certificate on an affected machine manually from Certificates MMC.
    ondrej.

  • Input File repository server Error: The requested directory does not exist.

    Hi,
    Getting following error "The requested directory does not exist." for Input and Out put file repository server.
    The specfied directory exists and the user has local administrative privelges with full control of the IFRS and OFRS location.
    The location was earlier working and after trying to implement Windows AD the things stopped. Have tried reverting the things but the following issue still persists.
    Thanks,
    Manpreet

    @Siva,
    I am not using the defacult FRS, I have specfied a specfic location on which the user has full control.
    this was working prior to the Windows AD setup tried by me.

  • Error: The domain in this directory is not a supported version.

    I am using configure utility in workshop to select the appropriate domain. The domain has been created with weblogic 8.1 I get following errors:
    The domain in this directory is not a supported version.
    any idea, why am i getting this error?
    Thanks,
    Ashish

    Hello Jun,
    Did the suggestion of adding stuff into config.xml file ("<Domain Name="fo_testdomain" ConfigurationVersion="8.1.3.0"> in your config.xml
    ") resolved your problem. If not , then do open a support ticket to know more about CR173024 and CR133495.
    Following is the summary of CR173024.
    WLS 81 SP2 - Configuration wizard fails with "The domain in this directory is not a supported version".
    Hope it helps.
    Kuldeep

  • How to fix xcodebuild error: The directory /Users/SmilingTornado/ does not contain an Xcode Project

    I am trying to fix my bash but the error: "xcodebuild error: The directory /Users/SmilingTornado/ does not contain an Xcode Project" means that I cant continue to recompile my bash so I have not started the process of patching yet

    OS X bash Update 1.0 – OS X Mavericks

  • Export Tasksequence fail with error "The filename, directory name, or volume label syntax is incorrect"

    Hello
    When I try to Export a Task Sequence I recive the following error in the Export Wizard
    Error: The filename, Directory name, or volume Label Syntax is incorrect
    Dos someone now this error or is ther a log with more Information? In the Log TaskSequenceProvider.log I dont find any error.
    Andreas

    Hi Jörgen
    Thanks for the Answer, I have exported do the Root of
    a Drive.<o:p></o:p>
    Put I have found the Problem, a Application Package pointed
    to a Source path that doesn’t exists any more<o:p></o:p>
    Andreas

  • I have recently downloaded Bootcamp onto my MBP.  However, when i try to expand it from "downloads" it says "Unable to expand BootCamp5.0.5033 into downloads.  Error 2-no such file or directory.  I have tried changing the partition and Zipeg. didnt work

    I have recently downloaded Bootcamp onto my MBP.  However, when i try to expand it from "downloads" it says "Unable to expand BootCamp5.0.5033 into downloads.  Error 2-no such file or directory.  I have tried changing the partition and Zipeg. didnt work.

    You need to read and follow the Boot Camp instructions. Boot Camp Assistant is already on your computer in the utilities forderf. You run Boot Camp Assistant. Part of the process is to to then download the Windows Support software. This download is then installed from within Windows.
    There is no Boot Camp download that needs to be installed or unzipped from within OSx which you seem to be doing.

  • I keep getting the "No such file or directory" error when files really

    I keep getting the "No such file or directory" error when files really
    i did some research online and found nothing yet, can anyone help, this has been happening with new files for like a week. thanks

    additional information needed.
    solely stating "i hav problemz plz halp" never leads to a solution
    read this:
    http://www.catb.org/~esr/faqs/smart-questions.html
    Last edited by robmaloy (2009-04-21 07:16:16)

  • Error during recover datafile - ORA-01422: exact fetch returns more than ..

    Hi,
    we have got actual a serious problem in our database. Some days ago we created a new datafile for a tablespace in the wrong directory:
    ALTER TABLESPACE "ANZSIIDX" ADD DATAFILE '/oralunadata/anzora8/ANZSIIDX08.dbf' SIZE 500M
    We recognized our mistake and generated the datafile with the same name in teh right directory:
    ALTER TABLESPACE "ANZSIIDX" ADD DATAFILE '/oralunaindex/anzora8/ANZSIIDX08.dbf' SIZE 500M
    We set the "wrong" datafile offline in order to rename and replace this in file in the right directory:
    alter database datafile '/oralunadata/anzora8/ANZSIIDX08.dbf' offline;
    ALTER TABLESPACE 'ANZSIIDX'
    RENAME DATAFILE '/oralunadata/anzora8/ANZSIIDX08.dbf',
    TO '/oralunaindex/anzora8/ANZSIIDX09.dbf';
    After this we wanted to bring the datafile online again with a recovery but
    this fails with teh strange error-message:
    SQL> recover datafile 109;
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01422: exact fetch returns more than requested number of rows
    ORA-06512: at line 20
    ORA-00279: change 10322956311023 generated at 04/10/2013 18:51:23 needed for
    thread 1
    ORA-00289: suggestion : /oralunaarchiv/anzora8/anzora8_1_315326_636567403.arc
    ORA-00280: change 10322956311023 for thread 1 is in sequence #315326
    A similar thing happens with our RMAN backup from last weekend, which failed:
    channel c4: backup set complete, elapsed time: 00:32:33
    input datafile fno=00109 name=/oralunadata/anzora8/ANZSIIDX08.dbf
    input datafile fno=00103 name=/oralunaindex/anzora8/ITOPROTOKOLLEIDX01.dbf
    input datafile fno=00097 name=/oralunadata/anzora8/ITOPROTOKOLLE03.dbf
    input datafile fno=00096 name=/oralunadata/anzora8/ITOPROTOKOLLE02.dbf
    channel c4: specifying datafile(s) in backupset
    channel c4: starting compressed incremental level 0 datafile backupset
    continuing other job steps, job failed will not be re-run
    ORA-00600: internal error code, arguments: [krbbfmx_notfound], [109], [12801], [], [], [], [], []
    ORA-01422: exact fetch returns more than requested number of rows
    ORA-00604: error occurred at recursive SQL level 1
    Has anybody an idea, how can we bring back the datafile online in order to run succesfull an RMAN backup?
    Actually we see just the workaraound to move the objects from the affected tablespace to new tablespace
    and the drop the empty tablespace what would be quite time consuming and not really practicable for us.
    kind regards,
    Marco

    Hi,
    actual we see this in v$datafile:
    /oralunaindex/anzora8/ANZSIIDX01.dbf     15     ANZSIIDX     10737418240     1310720     AVAILABLE     15     NO     0     0     0     10737352704     1310712     ONLINE
    /oralunaindex/anzora8/ANZSIIDX02.dbf     46     ANZSIIDX     10737418240     1310720     AVAILABLE     46     NO     0     0     0     10737352704     1310712     ONLINE
    /oralunaindex/anzora8/ANZSIIDX03.dbf     58     ANZSIIDX     10737418240     1310720     AVAILABLE     58     NO     0     0     0     10737352704     1310712     ONLINE
    /oralunaindex/anzora8/ANZSIIDX04.dbf     65     ANZSIIDX     10737418240     1310720     AVAILABLE     65     NO     0     0     0     10737352704     1310712     ONLINE
    /oralunaindex/anzora8/ANZSIIDX05.dbf     78     ANZSIIDX     10737418240     1310720     AVAILABLE     78     NO     0     0     0     10737352704     1310712     ONLINE
    /oralunaindex/anzora8/ANZSIIDX06.dbf     85     ANZSIIDX     10737418240     1310720     AVAILABLE     85     NO     0     0     0     10737352704     1310712     ONLINE
    /oralunaindex/anzora8/ANZSIIDX07.dbf     88     ANZSIIDX     10737418240     1310720     AVAILABLE     88     NO     0     0     0     10737352704     1310712     ONLINE
    /oralunaindex/anzora8/ANZSIIDX09.dbf     109     ANZSIIDX               AVAILABLE     109                                   RECOVER
    /oralunaindex/anzora8/ANZSIIDX08.dbf     110     ANZSIIDX     10737418240     1310720     AVAILABLE     110     NO     0     0     0     10737352704     1310712     ONLINE
    We dont use RMAN-Catalog for backup the information is only stored in the controlfile.
    The recovery datafile command with full path including for the datafile failed with the same error message:
    SQL> connect / as sysdba
    Connected.
    SQL> recover datafile '/oralunaindex/anzora8/ANZSIIDX09.dbf';
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01422: exact fetch returns more than requested number of rows
    ORA-06512: at line 20
    ORA-00279: change 10322956311023 generated at 04/10/2013 18:51:23 needed for
    thread 1
    ORA-00289: suggestion : /oralunaarchiv/anzora8/anzora8_1_315326_636567403.arc
    ORA-00280: change 10322956311023 for thread 1 is in sequence #315326
    I guess it is a bug of oracle which will sometimes occur when you give two datafiles the same name in different directories that this poduces errors as above in the RMAN inerface(packages)!?
    Maybe we could force to set he tablespace offline, rename the new added datafiles and ry to bring the tablespace online but nobody knows if it works really and we get the tablespace online again?
    Therefore at the moment maybe it's the best way to move the objects away from this tablespace and than drop them, isn't it?
    regards,
    Marco

  • How to move a specific tablespace datafile from one directory to another

    Database: 10.2.0.1
    OS : Generic
    Problem Description : How to move a specific tablespace datafile from one directory to another considering that the database is on Oracle Dataguard setup
    ** Oracle is working on this issue, but in parallel is opening the topic to the Community so that Community members can add their perspective, experience or knowledge. This will further enhance all knowledge bases including My Oracle Support and My Oracle Support Communities **
    Edited by: ram_orcl on 16-Aug-2010 21:21

    Dear ram_orcl,
    Please follow the procedures here;
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14239/manage_ps.htm#i1034172
    8.3.4 Renaming a Datafile in the Primary Database
    When you rename one or more datafiles in the primary database, the change is not propagated to the standby database. Therefore, if you want to rename the same datafiles on the standby database, you must manually make the equivalent modifications on the standby database because the modifications are not performed automatically, even if the STANDBY_FILE_MANAGEMENT initialization parameter is set to AUTO.
    The following steps describe how to rename a datafile in the primary database and manually propagate the changes to the standby database.
       1.
          To rename the datafile in the primary database, take the tablespace offline:
          SQL> ALTER TABLESPACE tbs_4 OFFLINE;
       2.
          Exit from the SQL prompt and issue an operating system command, such as the following UNIX mv command, to rename the datafile on the primary system:
          % mv /disk1/oracle/oradata/payroll/tbs_4.dbf
          /disk1/oracle/oradata/payroll/tbs_x.dbf
       3.
          Rename the datafile in the primary database and bring the tablespace back online:
          SQL> ALTER TABLESPACE tbs_4 RENAME DATAFILE      2> '/disk1/oracle/oradata/payroll/tbs_4.dbf'
            3>  TO '/disk1/oracle/oradata/payroll/tbs_x.dbf';
          SQL> ALTER TABLESPACE tbs_4 ONLINE;
       4.
          Connect to the standby database, query the V$ARCHIVED_LOG view to verify all of the archived redo log files are applied, and then stop Redo Apply:
          SQL> SELECT SEQUENCE#,APPLIED FROM V$ARCHIVED_LOG ORDER BY SEQUENCE#;
          SEQUENCE# APP
          8 YES
          9 YES
          10 YES
          11 YES
          4 rows selected.
          SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;
       5.
          Shut down the standby database:
          SQL> SHUTDOWN;
       6.
          Rename the datafile at the standby site using an operating system command, such as the UNIX mv command:
          % mv /disk1/oracle/oradata/payroll/tbs_4.dbf /disk1/oracle/oradata/payroll/tbs_x.dbf
       7.
          Start and mount the standby database:
          SQL> STARTUP MOUNT;
       8.
          Rename the datafile in the standby control file. Note that the STANDBY_FILE_MANAGEMENT initialization parameter must be set to MANUAL.
          SQL> ALTER DATABASE RENAME FILE '/disk1/oracle/oradata/payroll/tbs_4.dbf'
            2> TO '/disk1/oracle/oradata/payroll/tbs_x.dbf';
       9.
          On the standby database, restart Redo Apply:
          SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE
            2> DISCONNECT FROM SESSION;
    If you do not rename the corresponding datafile at the standby system, and then try to refresh the standby database control file, the standby database will attempt to use the renamed datafile, but it will not find it. Consequently, you will see error messages similar to the following in the alert log:
    ORA-00283: recovery session canceled due to errors
    ORA-01157: cannot identify/lock datafile 4 - see DBWR trace file
    ORA-01110: datafile 4: '/Disk1/oracle/oradata/payroll/tbs_x.dbf'Hope That Helps.
    Ogan

  • ERROR:"IBM AIX RISC System/6000 Error: 2: No such file or directory" on RAC

    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
    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 2;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT '/cdrs/rman/back_%p%d.%s' CONNECT 'SYS/pass@bosst1';
    CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT '/cdrs/rman/back_%p%d.%s' CONNECT 'SYS/pass@bosst2';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/opt/oracle/app/oracle/product/9.2/dbs/snapcf_bosst.cf';
    RMAN>
    RMAN> backup database;
    input datafile fno=00038 name=/dev/rvg01_lv032
    input datafile fno=00041 name=/dev/rvg01_lv035
    input datafile fno=00044 name=/dev/rvg01_lv038
    input datafile fno=00047 name=/dev/rvg01_lv041
    channel ORA_DISK_2: starting piece 1 at 20-MAY-07
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_2 channel at 05/20/2007 10:06:52
    ORA-19504: failed to create file "/cdrs/rman/back_1BOSST.13"
    ORA-27040: skgfrcre: create error, unable to create file
    IBM AIX RISC System/6000 Error: 2: No such file or directory
    RMAN>
    $ touch /cdrs/rman/back_1BOSST.13
    $ ls -l /cdrs/rman
    total 0
    -rwxr-xr-x 1 oracle dba 0 May 20 09:47 abc
    -rw-r--r-- 1 oracle dba 0 May 20 10:50 back_1BOSST.13
    $
    OS : AIX 5.2 with HACMP cluster
    DB: 9.2.0.7
    I executed the "Backup database " command on BOSST1.
    Would you please tell me where is the problem?
    Regards
    Faruque

    hi,
    do you actually have any space on that file system?
    rgds
    alan

  • [Solved] Error : The file or folder path /Probl?me 1 does not exist

    Hello,
    I encountered this error
    The file or folder <path>/Probl?me 2 does not exist
    while I was trying to open a directory already extracted from a zip file containing directories with special characters. In this case, it is a "è" that was misinterpreted as a "?".
    I searched the forums and on google, the solutions proposed do not work for me. Although, I have to deal with these files written in french, I would like to have my locale in english (US), with a system wide support for special characters.
    Attempt 1: Adding the option : iocharset=utf8 into the fstab, like this :
    fstab :
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    none /dev/pts devpts defaults 0 0
    none /dev/shm tmpfs defaults 0 0
    /dev/cdrom /media/cd auto ro,user,noauto,unhide 0 0
    /dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
    /dev/fd0 /media/fl auto user,noauto 0 0
    /dev/disk/by-uuid/24ba75ac-e52d-40eb-a599-83b394b500b2 /boot ext2 defaults 0 2
    /dev/disk/by-uuid/c797f409-00bc-479a-b4d6-ab49943f644b / ext4 defaults 0 1
    /dev/disk/by-uuid/668427a8-5f51-42bd-a316-fc7984bf5f4f /var ext4 defaults 0 2
    /dev/sda7 swap swap defaults 0 0
    /dev/disk/by-uuid/417cd1b7-8f06-414b-84d5-e8714d9646ab /home ext4 defaults 0 2
    /dev/disk/by-uuid/ef9aa00e-0515-4d7b-aa23-8096e787250d /usr ext4 defaults 0 2
    /dev/disk/by-uuid/17d401b7-2fc7-4d9f-8e17-657d86926d2e /tmp ext4 defaults,iocharset=utf8 0 0 <<<<<<<<<<<<<<
    /dev/disk/by-uuid/71e543b6-e06c-4b0e-b1e3-3b491ff1fefe /var/cache/pacman/repos ext4 defaults 0 2
    #/dev/sda12 /mnt/archive ext4 defaults 0 2
    #.host:/ /mnt/hgfs vmhgfs defaults 0 0
    This solution does not work, because after adding iocharset=utf8, in front or after a "defaults", after a reboot, while mounting the filesystem, there is the following error message:
    Mounting Locale Filesystem :
    mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
    missing codepage or helper program, or other error
    In some cases useful info is found in syslog - try
    dmesg | tail or so
    $ dmesg | tail
    phy0: Selected rate control algorithm 'iwl-agn-rs'
    EXT4-fs (sda5): re-mounted. Opts: (null)
    EXT4-fs (sda5): re-mounted. Opts: (null)
    EXT4-fs (sda6): mounted filesystem with ordered data mode. Opts: (null)
    EXT4-fs (sda8): mounted filesystem with ordered data mode. Opts: (null)
    EXT4-fs (sda9): mounted filesystem with ordered data mode. Opts: (null)
    EXT4-fs (sda10): Unrecognized mount option "iocharset=utf8" or missing value <<<<<<<<<<<<<<
    EXT4-fs (sda11): mounted filesystem with ordered data mode. Opts: (null)
    Adding 2104476k swap on /dev/sda7. Priority:-1 extents:1 across:2104476k
    tg3 0000:07:00.0: irq 44 for MSI/MSI-X
    Attempt 2: Changing all the locale features in KDE and in /etc/rc.conf as well.
    $ vim /etc/rc.conf
    LOCALE="fr_CA.utf8"
    HARDWARECLOCK=""
    TIMEZONE="America/Montreal"
    KEYMAP="us"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    It is complicated to remove these directories. I had to use the inum to get precisely these directories before removing them.
    $ ls -il
    total 8
    1577566 drwxr-xr-x 2 [username] [username] 4096 28 jan 07:09 Probl?me 1
    1577573 drwxr-xr-x 2 [username] [username] 4096 28 jan 07:09 Probl?me 2
    $ find . -inum 1577566 -exec rm -i {} \;
    rm: impossible de supprimer « ./Probl\212me 1 »: est un dossier
    Note that the hypothetical character 'è' is represented has a '\212', a 'È' if seen as a extended ASCII character.
    These directories cannot be deleted this way :
    $ rm -r Problème\ 1
    rm: cannot remove `Problème 1': No such file or directory
    or
    $ rm -r ProblÈme\ 1
    rm: cannot remove `ProblÈme 1': No such file or directory
    What should I do to be make the operating system recognize those special character, and interpret them correctly ?
    Last edited by ramboman (2011-01-29 21:45:50)

    I found a working solution, but better solution are also welcome
    I had to have fr_CA not only in utf8 but also in iso88591. I had to modify the /etc/rc.conf this way :
    LOCALE="fr_CA" <<<<<<<<<<<<<<
    HARDWARECLOCK=""
    TIMEZONE="America/Montreal"
    KEYMAP="us"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    To preserve the english US language system wide, I had to add the following line in the /etc/profile :
    # Allow french special character while in en_US
    export LANG=en_US
    The character misinterpreted by a "?" is now seen :
    as a "è" in dolphin
    as a "?" in the console
    It is now possible to access the folders.

  • Windows Server 2012 VSS error "The system writer is missing"

    Hello All,
    I have a HP server that I have just installed Server 2012 standard, SQL Server 2012 and Sharepoint 2013.
    When I try to take bare metal backup I get the error: "The system writer is missing", I have tried the backup as the local admin and domain admin.
    The backup will only work if I decide to back up C:, once I select "Bare Metal" or "System State" the backup fails.
    I have tried this solution: http://technet.microsoft.com/en-us/library/cc734021.aspx but have not had any luck yet.
    When I run the command "vssadmin list writers" I can not see "System Writer" listed.
    How can I add/turn on the System Writer?

    Hi,
    The system writer fails due to the fact that the trusted installer & system accounts are missing permissions to files in the directory %windir%\winsxs\filemaps\.
    To resolve this issue, please run the following commands from an administrative elevated Command Window:
    CD c:\windows\system32
    Takeown /f %windir%\winsxs\filemaps\* /a
    icacls %windir%\winsxs\filemaps\*.* /grant "NT AUTHORITY\SYSTEM:(RX)"
    icacls %windir%\winsxs\filemaps\*.* /grant "NT Service\trustedinstaller:(F)"
    icacls %windir%\winsxs\filemaps\*.* /grant "BUILTIN\Users:(RX)"
    For more information, please also refer to the following links:
    Discussion Forum FAQ: VSS System Writer is missing. 
    http://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/0b1eb10a-d666-4f5e-b657-c93b1d754a7f
    Failure during Windows Server 2008 System State Backup & System Writer Missing
    http://blogs.technet.com/b/chrad/archive/2009/11/18/failure-during-windows-server-2008-system-state-backup-system-writer-missing.aspx
    Regards,
    Arthur Li
    TechNet Community Support

Maybe you are looking for