Stuck at Preparing to Backup

For 2 weeks TM worked well with the TimeCapsule.
Today it gets stuck at the "Preparing Backkup..). Wheel is turning but nothing happens. Tried to re-start 2 times, no change. I deleted the current backup (in progress) and the second newest one, no change.
Any help?

I had the same problem too and found this solution:
1) Turn Time Machine off
2) Trash the com.apple.TimeMachine.plist in /Library/Preferences
3) Restart
4) Full Spotlight reindex of the Macintosh HD
5) Added a bunch of folders to the "Do Not Backup" list in Time Machine
6) Turn Time Machine on
It worked on my machine and it is now backing up normally.
Hope this will help.

Similar Messages

  • I have already used time machine backup and I last used on june 2012 . Today when I tried to backup the time machine is still stuck on preparing my backup?What shallI do?

    I have already used time machine backup and I last used on june 2012 . Today when I tried to backup the time machine is still stuck on preparing my backup?What shallI do?

    See Section C here  >  http://pondini.org/TM/Troubleshooting.html
    From Here  >   http://pondini.org

  • TimeMachine is stuck at "preparing to backup"

    Hello I am new to the communtiy
    Anyway i have a lacie back up thing and when i try to backup (im running the newest osx. mavericks)  its stuck at preparing to backup.Last time i went to the apple store and they told me theres a problem with the lacie thing.I have avast installed but could that be the problem?
    pls help.

    I recently installed Logic Studio & it took up 42GB of space on my HD. Obviously TC wanted to back this up when the next back up came round. But I worked out it would take something like 120 hours!! Before this i would have the 'Preparing back up' saga at least twice a week, taking 3 to 4 hours to complete each time. I thought this was an ideal moment to try something. So I unplugged TC from downstairs & took it upstairs, where my iMac is located & plugged it in via ethernet to do the back up. It was complete in 2 hours of so. Then i let it do 2 or 3 more via ethernet, then 2 of 3 wirelessly, still located next to the iMac, not in its normal position downstairs. When i connected it back up downstairs everything worked fine. In fact, its never worked better, back ups are quick & easy now & no connection dropouts.
    I think TC defiantly needs lots of TLC, & mothering to work properly.
    I hope you get chance to be able to try something like this, I know its not ideal with things being at work & you shouldn't have to babysit something to get it working, but it has worked well for me.
    Good luck.

  • Time Capsule stuck at Preparing for Backup, and internet TC latency issue

    I have an iMac that backs up to my 1TB Time Capsule. I have had it since March. Suddenly it stopped backing up. It get's stuck at "preparing for backup" and never actually completes a backup.
    I am also experiencing a HUGE latency issue with my internet connection. I am constantly having to use the 'refresh' page button in Safari.
    help....

    TB,
    *_Time Machine May Report "Preparing..." For a Long Time_*
    Consider these factors regarding an extended period of "Preparing...". Consider each topic separately and do not attempt to act on all of them at once.
    *Recent Crash or Other Major System Event* (Deep Traversal)
    The reasons for this process are described in an article by George Schreyer. “During the preparation step it checks the FSEvents log for consistency. If it determines that something isn't quite right it has to rescan the whole disk. This can take quite awhile. A full rescan is always triggered by a crash, an unplanned shut down event or by booting from some other bootable disk between backups…. After a crash, Time Machine must scan the whole disk to determine what it has to do because it cannot trust the information that it left behind. Connected via an Ethernet connection, this phase would typically take 20 minutes on an older PowerBook. Being connected wirelessly stretches this phase out to over 3 hours.” [http://www.girr.org/mac_stuff/backups.html]
    According to the following KB article it can sometimes take a very long time if Time Machine begins this “deep traversal” and has to compare data inventories. This may apply to your situation, particularly if many Gigs of data are involved. (http://support.apple.com/kb/TS1516)
    *Anti-Virus Software*
    Running anti-virus software can interfere with the backup process. Either disable it altogether, or try the suggestion outlined here, “If you use third-party anti-virus scanning software and have issues, make sure your Time Machine back up folder (Backups.backupdb on the Time Machine disk) is excluded from virus scanning.” (http://support.apple.com/kb/TS1516)
    *Software Updates* #
    Installing new software, upgrading existing software, or updating Mac OS X system software can create major changes in the structure of your Macs directories. Time Machine will backup every file that has changed since the installation.
    If you take a look at the Console logs Time Machine may be reporting that your backups need "deep traversal". That's fine. Time Machine knows what is wrong and how to fix it. If you have a great deal of data, it may take quite awhile.
    After an OS update (like 10.5.5) Time Machine realizes the system no longer matches what it looked like during the previous backup. So it has determined that it's earlier catalogue of what-should-be-where is 'untrustable'. So it is going to go item-by-item comparing the before and after of your system. If you have just performed an OS Update then Time Machine knows what it's doing - let it do it!
    *Spotlight Keeps Indexing Backup Drive* #
    It may be that Time Machine can’t proceed or complete a backup due to a Spotlight indexing error. During this period, take a look at the Spotlight icon in the upper right corner of your screen. Is there a tiny dot pulsating in the center of the spyglass? Click on the icon. Is there a progress bar displayed? Generally Spotlight indexing is a good thing. But at time it may hang and never progress, preventing backups from taking place.
    Go to System Prefs --> Spotlight --> Privacy Tab.
    Drag your Time Machine disk into the window. It should now be among the items to exclude from indexing.
    Now quit System Prefs.
    Reopen System Prefs and remove ("-") the Time Machine disk from the window.
    This should clear out Spotlights cache. Naturally, Spotlight should begin indexing again (maybe even for a few hours depending on how much data there is), but it should eventually stop.
    *Reboot Time Capsule* #
    Stop the backup from the Time Machine menu.
    When the Time Machine icon stops spinning, unplug the TC from the wall outlet.
    Wait 10-15 seconds.
    Re-plug it in again.
    After it has restarted (30-60 seconds), attempt another backup.
    Time Machine will report “Preparing…” again, but it shouldn’t be lasting more than a couple of hours.
    Let us know if any of the suggestions above helped in your case.
    Cheers!

  • Stuck at 'Preparing for backup'

    I don't know what happened but i'm suspecting that it has something to do with onyx.
    Recently, i run onyx and it suddenly hang while it was cleaning up so i decided to force quit it.
    After that, i had problems connecting to the internet, it keeps showing me the KCF error 302 or something like that on safari. While on firefox, it keeps saying invalid url or something.
    I decided to reboot my time capsule and my modem. Now, it's work properly and i can connect to the internet.
    However, my time machine isn't working. It stuck at 'Preparing for Back up' for quite some time now.
    I googled earlier on about the KCF Error 302 and i read someone that the core unix system block the port 80 or something similarly to that.
    So i'm pretty like "OMG". Is there anything that i can do to undone this?
    I'm guessing that the when the OnyX was running and cleaning up some things and got hanged it kinda crash the unix core or something? I don't know i recently switched to Mac.
    I'm on the verge of reformatting everything. I can use Migration Assistant to restore back everything from my Time Capsule right? How will it work?
    I hope i provide enough details!
    Ohh i forgot, when my internet isn't working i started to panic and i decided to redownload safari.
    When i tried to install i got this error.
    Screenshot here.
    http://img301.imageshack.us/img301/7036/picture1hv8.png
    Message was edited by: Annngel

    I don't know what happened but i'm suspecting that it has something to do with onyx.
    Recently, i run onyx and it suddenly hang while it was cleaning up so i decided to force quit it.
    After that, i had problems connecting to the internet, it keeps showing me the KCF error 302 or something like that on safari. While on firefox, it keeps saying invalid url or something.
    I decided to reboot my time capsule and my modem. Now, it's work properly and i can connect to the internet.
    However, my time machine isn't working. It stuck at 'Preparing for Back up' for quite some time now.
    I googled earlier on about the KCF Error 302 and i read someone that the core unix system block the port 80 or something similarly to that.
    So i'm pretty like "OMG". Is there anything that i can do to undone this?
    I'm guessing that the when the OnyX was running and cleaning up some things and got hanged it kinda crash the unix core or something? I don't know i recently switched to Mac.
    I'm on the verge of reformatting everything. I can use Migration Assistant to restore back everything from my Time Capsule right? How will it work?
    I hope i provide enough details!
    Ohh i forgot, when my internet isn't working i started to panic and i decided to redownload safari.
    When i tried to install i got this error.
    Screenshot here.
    http://img301.imageshack.us/img301/7036/picture1hv8.png
    Message was edited by: Annngel

  • HT203177 I have a MacBook OSX 10.5.8 and a Time Capsule 500GB since July 2008. My problem is (for the 4th time in 4 yrs) the backup gets stuck in "preparing" indefinitely (hours). In the past, wile still under apple care warranty, tech support had me redo

    I have a MacBook OSX 10.5.8 and a Time Capsule 500GB since July 2008. My problem is (for the 4th time in 4 yrs) the backup gets stuck in "preparing" indefinitely (hours). In the past, wile still under apple care warranty, tech support had me redo backup (loosing previous backups). Now I'm out of warranty and still having this problem. Any help is greatly appreciated.

    I have a MacBook OSX 10.5.8 and a Time Capsule 500GB since July 2008. My problem is (for the 4th time in 4 yrs) the backup gets stuck in "preparing" indefinitely (hours). In the past, wile still under apple care warranty, tech support had me redo backup (loosing previous backups). Now I'm out of warranty and still having this problem. Any help is greatly appreciated.

  • OSX Yosemite : time machine backup stuck in preparation stage

    Time Machine Backups on Hard Drive as well as on my Time Capsule seem to be stuck in preparation stage for the whole day. Any idea what i need to do to solve this issue ? Appreciate the assistance. Thank you.

    Look at this Trouble Shooting link, especially D2:
    http://pondini.org/TM/Troubleshooting.html
    Ciao.

  • Upgraded from 10.6 to 10.8 and time machine is stuck on 'preparing backup'

    I am running a MBP, purchased in 2011. I upgraded on Sunday from 10.6 to 10.8 and everything seemed to be working fine. Thought I would do a backup but the drive has just been stuck on 'preparing backup' for ages. Does anybody have any ideas of what I can do?
    Thanks.

    I was going to suggest a restart - glad that I didn't. When upgrading OS's, there's usually a lot of data to back up, but I'm surprised that it took 'ages'!
    Clinton

  • TC stuck on "preparing backup"

    My TC was previously working fine, but lately it gets stuck on "preparing backup"... the status bar doesn't move and it doesn't get beyond this stage. I did a hard reset and that didn't change anything. Does anyone have any other tips to try? Does this mean my TC is dead??

    See #D1 in Pondini's excellent support document Time Machine -- Troubleshooting.
    http://pondini.org/TM/Troubleshooting.html

  • What to do when time machine seems stuck on "Preparing Backup"

    This issue is happenning on my macbook pro, mid 2010. My drive setup is that I have a partition which I dedicated to time machine backups. The total size of my drive is 500GB, and I partitioned about 100GB for time machine. The reason for that is I only needed a few space since I setup time machine to include only the system and the apps, and NONE of the libraries such as itunes or photos. This means that the only backup will be for the system, profiles, and the app. I have been running this for a few months andhas been doing OK until up to now.
    My problem is that my time machine seems to get stuck on "Preparing Backup". The latest backup was done last Nov 8, 2011, whcih is about 11 days from now. I am also aware that the time machine drive has only about 200 mb space left, but I am not worried at all because I've always TM to delete the oldest backup to free up space. My oldest backup was still Sept 8, and I'm ok if that will be deleted.
    So I'd like to find out why it still stuck on "Preparing backup" ,and I am wondering if deleting a backup can solve it. Can it? what do I do to solve this?
    Also, I use my computer alot , so it is basically running for about 18 hours a day, but still time machine didn't quite work well. I have tried reparing the disk using disk utility, but that didn't help. 

    Comments inline below.
    Pondini wrote:
    joshua raphael wrote:
    This issue is happenning on my macbook pro, mid 2010. My drive setup is that I have a partition which I dedicated to time machine backups. The total size of my drive is 500GB, and I partitioned about 100GB for time machine. The reason for that is I only needed a few space since I setup time machine to include only the system and the apps, and NONE of the libraries such as itunes or photos.
    You may want to revisit that strategy:
    A backup on the same drive isn't very secure -- when (not if) the HD fails, you risk losing everything.
    In most cases, if there's a problem with OSX the best way to fix it is to just install a fresh version.  But you can't do that from that backup.
    Indeed!
    Backing-up apps that way will also be useless in some cases.  3rd-party apps that came with their own installers put other files in other places (and sometimes "helper" apps as well).  Unless you know what and where they all are, and restore them, too, the restored app won't work properly, if at all.
    I think you're confusing each other with terminology.  iTunes music and iPhoto pictures are NOT "Libraries", which has a specific meaning when it comes to OS X.    "Libraries", in OS X normally refers to /Libraries and ~/Libraries folders.  This is not where iTunes music and iPhoto pictures are stored. iTunes music and iPhoto pictures are stored within ~/Music and ~/Pictures, respectively.
    I have tried reparing the disk using disk utility, but that didn't help.
    Disk Utility changed a bit in Lion.  When you select an entire disk, it only repairs the partition map, not all the volumes.  You must repair each one separately.
    Wow, good to know.  (What a stupid change to make, for backwards compatibility, if for no other reason!)
    See #D1 in Time Machine - Troubleshooting to figure out why the backups are hanging.
    Whew.  This editor makes it so hard to make comments inline.  The key thing when time machine seems stuck is patience.  Sometimes it needs to be left to run overnight.  Unfortunately, it doesn't log or report it's progress very well.
    Opening Time Machine settings in Preferences plus a command like this left running in Terminal.app is how I monitor progress.  And even so, there is very little logging indicating progress. 
    sudo tail -f /Volumes/Time Machine/Backups.backupdb/My\ Computer/2012-07-11-133352.inProgress/.Backup.363731632.496216.log
    The parts in italics will need to be adjusted.  Tab completion makes this easy, e.g type
    sudo tail -f /Volumes/
    and hit tab, type the first few letters of the relevant volume name, hit tab...
    Also, I have a hypothesis which needs testing. 
    I know that Time Machine gets confused if one deletes large files from a backup - specifically, Time Machine doesn't recognize that the size of the backup has changed.
    I know because this made restoring a thinned out time machine backup ("thinned out" by deleting files from within the GUI while inside the Time Machine) to a small SSD harder than it should have been.  I had to restore to a big disk and then clone that volume to the SSD - even though the SSD had enough space, Time Machine didn't think so; it didn't "understand" that it had been thinned.
    My hypothesis is that Time Machine also gets confused if the Time Machine partition is resized. I shrunk a Time Machine partition (no it wasn't on my main disk!) and about that time, Time Machine stopped working.  After thinning the volume, it started working again.

  • HT203177 My backups using Time Machine to my Time Capsule worked fine until a week ago. Since then it gets stuck on "Preparing ...". I have left it preparing overnight and it doesn't get past this stage.  What else can I do? Bob

    My backups using Time Machine to my Time Capsule worked fine until a week ago. Since then it gets stuck on "Preparing ...". I have left it preparing overnight and it doesn't get past this stage.  What else can I do?

    Mavericks does really nasty stuff..
    Try manually mounting the sparsebundle and extract the files you want.
    Yet another Pondini reference. http://pondini.org/TM/15.html
    We have avoided Mavericks you see knowing that it would cause these kinds of issues..
    You never ever load a new OS without doing a disk image beforehand.. TM is not reliable enough or trustworthy to be depended on.
    If none of the above work..
    I would get a USB drive on the computer and install Mountain Lion or whatever OS you had before you unfortunately upgraded to Mavericks.. Then use TM from that decent installation but mount the sparsebundle and choose the backup from a date well before mavericks was installed.
    Once you have extracted the files.. or even done a full restore you might be able to extract the files you want.

  • Time Machine stuck on Preparing backup

    Since upgrading to Mavericks a couple of months ago, one of my Mac Mini Servers can't backup using Time Machine. (I have another similar server with the same software versions but running different services, that doesn't have this problem). Both are currently running OSX 10.9.5 and Server 3.2.2 with all updates applied.
    The problem machine gets stuck indefinitely on "Preparing backup". I've tried leaving it for several days, but it's not actually doing anything – the backupd process is on 0% CPU utilisation. It doesn't write any data to the backup drive – the drive is still empty since it was last reformatted.
    It was working fine on Mountain Lion Server, before the upgrade to Mavericks.
    So far, I've tried:
    • Rebooting
    • Reformatting the external USB backup drive and replacing it with another drive
    • Verifying the startup drive with Disk Utility
    • Deleting com.apple.TimeMachine.plist
    • Excluding the startup drive from Spotlight searches
    I've tried most of the above several times over the past few weeks to no avail.

    I have had this same issue just appear although I have been running Mavericks and Server for almost a year now. I backup across 3 drives, 2 of which are rotated on a weekly basis. I discovered this morning that the non-rotating disk has not backed up in several weeks and one of the rotating disks has not backed up during the same period of time. Interestingly this week's rotating backup drive it appears to be working perfectly fine. The non-rotating disk is now stuck on preparing backup. I have included a portion of my log below. One thing I have noticed is that Spotlight seems to be re-indexing my server with little to no progress being made.
    10/22/14 9:26:54.494 AM collabd[368]: [CSConnectionPool.m:196 1067f000 +6351ms] Could not open a connection to Postgres. Please make sure it is running and has the correct access.
    10/22/14 9:26:54.559 AM collabd[368]: [CSServiceDispatcher.m:261 1067f000 +0ms] Caught exception "Connection to DB failed" [CSDatabaseError] executing [http]Request{AuthService.enterMagicalAuthRealm()}:
      0   CoreFoundation                      0x00007fff84f2e25c __exceptionPreprocess + 172
      1   libobjc.A.dylib                     0x00007fff85715e75 objc_exception_throw + 43
      2   CSService                           0x000000010cecd76d -[CSConnectionPool openConnection] + 3309
      3   CSService                           0x000000010cece13a -[CSConnectionPool currentConnection] + 98
      4   CSService                           0x000000010cf4d839 -[CSAuthService unauthenticatedSession] + 82
      5   CSService                           0x000000010cf4de13 -[CSAuthService currentOrNewSession] + 154
      6   CSService                           0x000000010cf50c91 -[CSAuthService enterMagicalAuthRealm] + 51
      7   CoreFoundation                      0x00007fff84e199ac __invoking___ + 140
      8   CoreFoundation                      0x00007fff84e19814 -[NSInvocation invoke] + 308
      9   CSService                           0x000000010cec9055 -[CSServiceDispatcher executeRequest:asPartOfBatch:usingServiceImpl:] + 4578
      10  CSService                           0x000000010cec9548 -[CSServiceDispatcher executeRequest:] + 120
      11  CSService                           0x000000010cf3e218 +[CSServiceDispatchHTTPRouter routeServiceRequest:response:] + 1135
      12  CSService                           0x000000010cecfacf __21-[CSServiceBase init]_block_invoke_6 + 48
      13  CSService                           0x000000010cf3b2aa __53-[CSRoutingHTTPConnection httpResponseForMethod:URI:]_block_invoke + 95
      14  CSService                           0x000000010cf3e7b4 -[CSHTTPBackgroundResponse bounce:] + 286
      15  Foundation                          0x00007fff8dad9dfb __NSThread__main__ + 1318
      16  libsystem_pthread.dylib             0x00007fff8b47e899 _pthread_body + 138
      17  libsystem_pthread.dylib             0x00007fff8b47e72a _pthread_struct_init + 0
      18  libsystem_pthread.dylib             0x00007fff8b482fc9 thread_start + 13
    10/22/14 9:26:57.369 AM serveradmin[83827]: [WikiRequestHandler.m:74 754af310 +2929ms] Error getting a session GUID: Connection to DB failed
    10/22/14 9:26:57.412 AM collabd[368]: [CSConnectionPool.m:196 1067f000 +2821ms] Could not open a connection to Postgres. Please make sure it is running and has the correct access.
    10/22/14 9:26:57.474 AM collabd[368]: [CSServiceDispatcher.m:261 1067f000 +0ms] Caught exception "Connection to DB failed" [CSDatabaseError] executing [http]Request{SettingsService.globalSettingForKey:(projectCreators)}:
      0   CoreFoundation                      0x00007fff84f2e25c __exceptionPreprocess + 172
      1   libobjc.A.dylib                     0x00007fff85715e75 objc_exception_throw + 43
      2   CSService                           0x000000010cecd76d -[CSConnectionPool openConnection] + 3309
      3   CSService                           0x000000010cece13a -[CSConnectionPool currentConnection] + 98
      4   CSService                           0x000000010ceeb218 -[CSSettingsService globalSettingForKey:] + 101
      5   CoreFoundation                      0x00007fff84e199ac __invoking___ + 140
      6   CoreFoundation                      0x00007fff84e19814 -[NSInvocation invoke] + 308
      7   CSService                           0x000000010cec9055 -[CSServiceDispatcher executeRequest:asPartOfBatch:usingServiceImpl:] + 4578
      8   CSService                           0x000000010cec9548 -[CSServiceDispatcher executeRequest:] + 120
      9   CSService                           0x000000010cf3e218 +[CSServiceDispatchHTTPRouter routeServiceRequest:response:] + 1135
      10  CSService                           0x000000010cecfacf __21-[CSServiceBase init]_block_invoke_6 + 48
      11  CSService                           0x000000010cf3b2aa __53-[CSRoutingHTTPConnection httpResponseForMethod:URI:]_block_invoke + 95
      12  CSService                           0x000000010cf3e7b4 -[CSHTTPBackgroundResponse bounce:] + 286
      13  Foundation                          0x00007fff8dad9dfb __NSThread__main__ + 1318
      14  libsystem_pthread.dylib             0x00007fff8b47e899 _pthread_body + 138
      15  libsystem_pthread.dylib             0x00007fff8b47e72a _pthread_struct_init + 0
      16  libsystem_pthread.dylib             0x00007fff8b482fc9 thread_start + 13
    10/22/14 9:26:57.475 AM serveradmin[83827]: [WikiRequestHandler.m:300 754af310 +2ms] Could not get project creators from collabd, Connection to DB failed
    10/22/14 9:26:57.996 AM collabd[368]: [CSConnectionPool.m:196 1067f000 +505ms] Could not open a connection to Postgres. Please make sure it is running and has the correct access.
    10/22/14 9:26:58.026 AM collabd[368]: [CSServiceDispatcher.m:261 1067f000 +0ms] Caught exception "Connection to DB failed" [CSDatabaseError] executing [http]Request{AuthService.enterMagicalAuthRealm()}:
      0   CoreFoundation                      0x00007fff84f2e25c __exceptionPreprocess + 172
      1   libobjc.A.dylib                     0x00007fff85715e75 objc_exception_throw + 43
      2   CSService                           0x000000010cecd76d -[CSConnectionPool openConnection] + 3309
      3   CSService                           0x000000010cece13a -[CSConnectionPool currentConnection] + 98
      4   CSService                           0x000000010cf4d839 -[CSAuthService unauthenticatedSession] + 82
      5   CSService                           0x000000010cf4de13 -[CSAuthService currentOrNewSession] + 154
      6   CSService                           0x000000010cf50c91 -[CSAuthService enterMagicalAuthRealm] + 51
      7   CoreFoundation                      0x00007fff84e199ac __invoking___ + 140
      8   CoreFoundation                      0x00007fff84e19814 -[NSInvocation invoke] + 308
      9   CSService                           0x000000010cec9055 -[CSServiceDispatcher executeRequest:asPartOfBatch:usingServiceImpl:] + 4578
      10  CSService                           0x000000010cec9548 -[CSServiceDispatcher executeRequest:] + 120
      11  CSService                           0x000000010cf3e218 +[CSServiceDispatchHTTPRouter routeServiceRequest:response:] + 1135
      12  CSService                           0x000000010cecfacf __21-[CSServiceBase init]_block_invoke_6 + 48
      13  CSService                           0x000000010cf3b2aa __53-[CSRoutingHTTPConnection httpResponseForMethod:URI:]_block_invoke + 95
      14  CSService                           0x000000010cf3e7b4 -[CSHTTPBackgroundResponse bounce:] + 286
      15  Foundation                          0x00007fff8dad9dfb __NSThread__main__ + 1318
      16  libsystem_pthread.dylib             0x00007fff8b47e899 _pthread_body + 138
      17  libsystem_pthread.dylib             0x00007fff8b47e72a _pthread_struct_init + 0
      18  libsystem_pthread.dylib             0x00007fff8b482fc9 thread_start + 13
    10/22/14 9:26:58.249 AM com.apple.launchd[1]: (com.apple.collabd.notifications[83832]) Exited with code: 1
    10/22/14 9:26:58.249 AM com.apple.launchd[1]: (com.apple.collabd.notifications) Throttling respawn: Will start in 10 seconds
    10/22/14 9:26:58.264 AM com.apple.launchd[1]: (com.apple.DeviceManagement.postgres[83837]) Exited with code: 1
    10/22/14 9:26:58.264 AM com.apple.launchd[1]: (com.apple.DeviceManagement.postgres) Throttling respawn: Will start in 10 seconds
    10/22/14 9:27:08.875 AM com.apple.launchd[1]: (com.apple.DeviceManagement.postgres[83859]) Exited with code: 1
    10/22/14 9:27:08.875 AM com.apple.launchd[1]: (com.apple.DeviceManagement.postgres) Throttling respawn: Will start in 10 seconds
    10/22/14 9:27:09.371 AM collabd[368]: [CSConnectionPool.m:196 1067f000 +11301ms] Could not open a connection to Postgres. Please make sure it is running and has the correct access.
    10/22/14 9:27:09.390 AM collabd[368]: [CSServiceDispatcher.m:261 1067f000 +0ms] Caught exception "Connection to DB failed" [CSDatabaseError] executing [http]Request{AuthService.enterMagicalAuthRealm()}:
      0   CoreFoundation                      0x00007fff84f2e25c __exceptionPreprocess + 172
      1   libobjc.A.dylib                     0x00007fff85715e75 objc_exception_throw + 43
      2   CSService                           0x000000010cecd76d -[CSConnectionPool openConnection] + 3309
      3   CSService                           0x000000010cece13a -[CSConnectionPool currentConnection] + 98
      4   CSService                           0x000000010cf4d839 -[CSAuthService unauthenticatedSession] + 82
      5   CSService                           0x000000010cf4de13 -[CSAuthService currentOrNewSession] + 154
      6   CSService                           0x000000010cf50c91 -[CSAuthService enterMagicalAuthRealm] + 51
      7   CoreFoundation                      0x00007fff84e199ac __invoking___ + 140
      8   CoreFoundation                      0x00007fff84e19814 -[NSInvocation invoke] + 308
      9   CSService                           0x000000010cec9055 -[CSServiceDispatcher executeRequest:asPartOfBatch:usingServiceImpl:] + 4578
      10  CSService                           0x000000010cec9548 -[CSServiceDispatcher executeRequest:] + 120
      11  CSService                           0x000000010cf3e218 +[CSServiceDispatchHTTPRouter routeServiceRequest:response:] + 1135
      12  CSService                           0x000000010cecfacf __21-[CSServiceBase init]_block_invoke_6 + 48
      13  CSService                           0x000000010cf3b2aa __53-[CSRoutingHTTPConnection httpResponseForMethod:URI:]_block_invoke + 95
      14  CSService                           0x000000010cf3e7b4 -[CSHTTPBackgroundResponse bounce:] + 286
      15  Foundation                          0x00007fff8dad9dfb __NSThread__main__ + 1318
      16  libsystem_pthread.dylib             0x00007fff8b47e899 _pthread_body + 138
      17  libsystem_pthread.dylib             0x00007fff8b47e72a _pthread_struct_init + 0
      18  libsystem_pthread.dylib             0x00007fff8b482fc9 thread_start + 13
    10/22/14 9:27:09.611 AM com.apple.launchd[1]: (com.apple.collabd.notifications[83858]) Exited with code: 1
    10/22/14 9:27:09.611 AM com.apple.launchd[1]: (com.apple.collabd.notifications) Throttling respawn: Will start in 9 seconds
    10/22/14 9:27:13.180 AM xpcd[599]: restored permissions (100600 -> 100700) on /Users/administrator/Library/Containers/com.apple.TextEdit/Container.plist
    10/22/14 9:27:20.459 AM com.apple.launchd[1]: (com.apple.DeviceManagement.postgres[83881]) Exited with code: 1
    10/22/14 9:27:20.459 AM com.apple.launchd[1]: (com.apple.DeviceManagement.postgres) Throttling respawn: Will start in 9 seconds
    10/22/14 9:27:22.698 AM collabd[368]: [CSConnectionPool.m:196 1067f000 +13265ms] Could not open a connection to Postgres. Please make sure it is running and has the correct access.
    10/22/14 9:27:22.993 AM collabd[368]: [CSServiceDispatcher.m:261 1067f000 +0ms] Caught exception "Connection to DB failed" [CSDatabaseError] executing [http]Request{AuthService.enterMagicalAuthRealm()}:
      0   CoreFoundation                      0x00007fff84f2e25c __exceptionPreprocess + 172
      1   libobjc.A.dylib                     0x00007fff85715e75 objc_exception_throw + 43
      2   CSService                           0x000000010cecd76d -[CSConnectionPool openConnection] + 3309
      3   CSService                           0x000000010cece13a -[CSConnectionPool currentConnection] + 98
      4   CSService                           0x000000010cf4d839 -[CSAuthService unauthenticatedSession] + 82
      5   CSService                           0x000000010cf4de13 -[CSAuthService currentOrNewSession] + 154
      6   CSService                           0x000000010cf50c91 -[CSAuthService enterMagicalAuthRealm] + 51
      7   CoreFoundation                      0x00007fff84e199ac __invoking___ + 140
      8   CoreFoundation                      0x00007fff84e19814 -[NSInvocation invoke] + 308
      9   CSService                           0x000000010cec9055 -[CSServiceDispatcher executeRequest:asPartOfBatch:usingServiceImpl:] + 4578
      10  CSService                           0x000000010cec9548 -[CSServiceDispatcher executeRequest:] + 120
      11  CSService                           0x000000010cf3e218 +[CSServiceDispatchHTTPRouter routeServiceRequest:response:] + 1135
      12  CSService                           0x000000010cecfacf __21-[CSServiceBase init]_block_invoke_6 + 48
      13  CSService                           0x000000010cf3b2aa __53-[CSRoutingHTTPConnection httpResponseForMethod:URI:]_block_invoke + 95
      14  CSService                           0x000000010cf3e7b4 -[CSHTTPBackgroundResponse bounce:] + 286
      15  Foundation                          0x00007fff8dad9dfb __NSThread__main__ + 1318
      16  libsystem_pthread.dylib             0x00007fff8b47e899 _pthread_body + 138
      17  libsystem_pthread.dylib             0x00007fff8b47e72a _pthread_struct_init + 0
      18  libsystem_pthread.dylib             0x00007fff8b482fc9 thread_start + 13
    10/22/14 9:27:23.216 AM com.apple.launchd[1]: (com.apple.collabd.notifications[83880]) Exited with code: 1
    10/22/14 9:27:23.217 AM com.apple.launchd[1]: (com.apple.collabd.notifications) Throttling respawn: Will start in 6 seconds
    10/22/14 9:27:29.939 AM com.apple.launchd[1]: (com.apple.DeviceManagement.postgres[83896]) Exited with code: 1
    10/22/14 9:27:29.939 AM com.apple.launchd[1]: (com.apple.DeviceManagement.postgres) Throttling respawn: Will start in 10 seconds
    10/22/14 9:27:30.019 AM collabd[368]: [CSConnectionPool.m:196 1067f000 +6884ms] Could not open a connection to Postgres. Please make sure it is running and has the correct access.
    10/22/14 9:27:30.125 AM collabd[368]: [CSServiceDispatcher.m:261 1067f000 +0ms] Caught exception "Connection to DB failed" [CSDatabaseError] executing [http]Request{AuthService.enterMagicalAuthRealm()}:
      0   CoreFoundation                      0x00007fff84f2e25c __exceptionPreprocess + 172
      1   libobjc.A.dylib                     0x00007fff85715e75 objc_exception_throw + 43
      2   CSService                           0x000000010cecd76d -[CSConnectionPool openConnection] + 3309
      3   CSService                           0x000000010cece13a -[CSConnectionPool currentConnection] + 98
      4   CSService                           0x000000010cf4d839 -[CSAuthService unauthenticatedSession] + 82
      5   CSService                           0x000000010cf4de13 -[CSAuthService currentOrNewSession] + 154
      6   CSService                           0x000000010cf50c91 -[CSAuthService enterMagicalAuthRealm] + 51
      7   CoreFoundation                      0x00007fff84e199ac __invoking___ + 140
      8   CoreFoundation                      0x00007fff84e19814 -[NSInvocation invoke] + 308
      9   CSService                           0x000000010cec9055 -[CSServiceDispatcher executeRequest:asPartOfBatch:usingServiceImpl:] + 4578
      10  CSService                           0x000000010cec9548 -[CSServiceDispatcher executeRequest:] + 120
      11  CSService                           0x000000010cf3e218 +[CSServiceDispatchHTTPRouter routeServiceRequest:response:] + 1135
      12  CSService                           0x000000010cecfacf __21-[CSServiceBase init]_block_invoke_6 + 48
      13  CSService                           0x000000010cf3b2aa __53-[CSRoutingHTTPConnection httpResponseForMethod:URI:]_block_invoke + 95
      14  CSService                           0x000000010cf3e7b4 -[CSHTTPBackgroundResponse bounce:] + 286
      15  Foundation                          0x00007fff8dad9dfb __NSThread__main__ + 1318
      16  libsystem_pthread.dylib             0x00007fff8b47e899 _pthread_body + 138
      17  libsystem_pthread.dylib             0x00007fff8b47e72a _pthread_struct_init + 0
      18  libsystem_pthread.dylib             0x00007fff8b482fc9 thread_start + 13
    10/22/14 9:27:30.358 AM com.apple.launchd[1]: (com.apple.collabd.notifications[83895]) Exited with code: 1
    10/22/14 9:27:30.358 AM com.apple.launchd[1]: (com.apple.collabd.notifications) Throttling respawn: Will start in 9 seconds
    10/22/14 9:27:32.166 AM com.apple.IconServicesAgent[640]: main Failed to composit image for binding VariantBinding [0x3b5] flags: 0x8 binding: FileInfoBinding [0x137] - extension: png, UTI: public.png, fileType: ????.
    10/22/14 9:27:32.325 AM quicklookd[83883]: Warning: Cache image returned by the server has size range covering all valid image sizes. Binding: VariantBinding [0x203] flags: 0x8 binding: FileInfoBinding [0x103] - extension: png, UTI: public.png, fileType: ???? request size:16 scale: 1
    10/22/14 9:27:34.728 AM com.apple.appkit.xpc.openAndSavePanelService[83868]: CGSGetWindowTransformAtPlacement
    10/22/14 9:27:34.728 AM com.apple.appkit.xpc.openAndSavePanelService[83868]: CGSTranslatePointForWindow
    10/22/14 9:27:34.728 AM com.apple.appkit.xpc.openAndSavePanelService[83868]: CGSGetWindowBounds
    10/22/14 9:27:34.758 AM com.apple.appkit.xpc.openAndSavePanelService[83868]: Bogus event received by listener connection:
    <error: 0x7fff73e14b50> { count = 1, contents =
      "XPCErrorDescription" => <string: 0x7fff73e14e60> { length = 18, contents = "Connection invalid" }
    10/22/14 9:27:40.275 AM com.apple.launchd[1]: (com.apple.DeviceManagement.postgres[83915]) Exited with code: 1
    10/22/14 9:27:40.275 AM com.apple.launchd[1]: (com.apple.DeviceManagement.postgres) Throttling respawn: Will start in 10 seconds
    10/22/14 9:27:40.312 AM collabd[368]: [CSConnectionPool.m:196 1067f000 +10055ms] Could not open a connection to Postgres. Please make sure it is running and has the correct access.
    10/22/14 9:27:40.328 AM collabd[368]: [CSServiceDispatcher.m:261 1067f000 +0ms] Caught exception "Connection to DB failed" [CSDatabaseError] executing [http]Request{AuthService.enterMagicalAuthRealm()}:
      0   CoreFoundation                      0x00007fff84f2e25c __exceptionPreprocess + 172
      1   libobjc.A.dylib                     0x00007fff85715e75 objc_exception_throw + 43
      2   CSService                           0x000000010cecd76d -[CSConnectionPool openConnection] + 3309
      3   CSService                           0x000000010cece13a -[CSConnectionPool currentConnection] + 98
      4   CSService                           0x000000010cf4d839 -[CSAuthService unauthenticatedSession] + 82
      5   CSService                           0x000000010cf4de13 -[CSAuthService currentOrNewSession] + 154
      6   CSService                           0x000000010cf50c91 -[CSAuthService enterMagicalAuthRealm] + 51
      7   CoreFoundation                      0x00007fff84e199ac __invoking___ + 140
      8   CoreFoundation                      0x00007fff84e19814 -[NSInvocation invoke] + 308
      9   CSService                           0x000000010cec9055 -[CSServiceDispatcher executeRequest:asPartOfBatch:usingServiceImpl:] + 4578
      10  CSService                           0x000000010cec9548 -[CSServiceDispatcher executeRequest:] + 120
      11  CSService                           0x000000010cf3e218 +[CSServiceDispatchHTTPRouter routeServiceRequest:response:] + 1135
      12  CSService                           0x000000010cecfacf __21-[CSServiceBase init]_block_invoke_6 + 48
      13  CSService                           0x000000010cf3b2aa __53-[CSRoutingHTTPConnection httpResponseForMethod:URI:]_block_invoke + 95
      14  CSService                           0x000000010cf3e7b4 -[CSHTTPBackgroundResponse bounce:] + 286
      15  Foundation                          0x00007fff8dad9dfb __NSThread__main__ + 1318
      16  libsystem_pthread.dylib             0x00007fff8b47e899 _pthread_body + 138
      17  libsystem_pthread.dylib             0x00007fff8b47e72a _pthread_struct_init + 0
      18  libsystem_pthread.dylib             0x00007fff8b482fc9 thread_start + 13
    10/22/14 9:27:40.547 AM com.apple.launchd[1]: (com.apple.collabd.notifications[83913]) Exited with code: 1
    10/22/14 9:27:40.547 AM com.apple.launchd[1]: (com.apple.collabd.notifications) Throttling respawn: Will start in 9 seconds
    10/22/14 9:27:50.276 AM collabd[368]: [CSConnectionPool.m:196 1067f000 +9887ms] Could not open a connection to Postgres. Please make sure it is running and has the correct access.
    10/22/14 9:27:50.298 AM collabd[368]: [CSServiceDispatcher.m:261 1067f000 +0ms] Caught exception "Connection to DB failed" [CSDatabaseError] executing [http]Request{AuthService.enterMagicalAuthRealm()}:
      0   CoreFoundation                      0x00007fff84f2e25c __exceptionPreprocess + 172
      1   libobjc.A.dylib                     0x00007fff85715e75 objc_exception_throw + 43
      2   CSService                           0x000000010cecd76d -[CSConnectionPool openConnection] + 3309
      3   CSService                           0x000000010cece13a -[CSConnectionPool currentConnection] + 98
      4   CSService                           0x000000010cf4d839 -[CSAuthService unauthenticatedSession] + 82
      5   CSService                           0x000000010cf4de13 -[CSAuthService currentOrNewSession] + 154
      6   CSService                           0x000000010cf50c91 -[CSAuthService enterMagicalAuthRealm] + 51
      7   CoreFoundation                      0x00007fff84e199ac __invoking___ + 140
      8   CoreFoundation                      0x00007fff84e19814 -[NSInvocation invoke] + 308
      9   CSService                           0x000000010cec9055 -[CSServiceDispatcher executeRequest:asPartOfBatch:usingServiceImpl:] + 4578
      10  CSService                           0x000000010cec9548 -[CSServiceDispatcher executeRequest:] + 120
      11  CSService                           0x000000010cf3e218 +[CSServiceDispatchHTTPRouter routeServiceRequest:response:] + 1135
      12  CSService                           0x000000010cecfacf __21-[CSServiceBase init]_block_invoke_6 + 48
      13  CSService                           0x000000010cf3b2aa __53-[CSRoutingHTTPConnection httpResponseForMethod:URI:]_block_invoke + 95
      14  CSService                           0x000000010cf3e7b4 -[CSHTTPBackgroundResponse bounce:] + 286
      15  Foundation                          0x00007fff8dad9dfb __NSThread__main__ + 1318
      16  libsystem_pthread.dylib             0x00007fff8b47e899 _pthread_body + 138
      17  libsystem_pthread.dylib             0x00007fff8b47e72a _pthread_struct_init + 0
      18  libsystem_pthread.dylib             0x00007fff8b482fc9 thread_start + 13
    10/22/14 9:27:50.507 AM com.apple.launchd[1]: (com.apple.DeviceManagement.postgres[83934]) Exited with code: 1
    10/22/14 9:27:50.507 AM com.apple.launchd[1]: (com.apple.DeviceManagement.postgres) Throttling respawn: Will start in 10 seconds
    10/22/14 9:27:50.528 AM com.apple.launchd[1]: (com.apple.collabd.notifications[83932]) Exited with code: 1
    10/22/14 9:27:50.528 AM com.apple.launchd[1]: (com.apple.collabd.notifications) Throttling respawn: Will start in 10 seconds
    10/22/14 9:28:01.077 AM com.apple.launchd[1]: (com.apple.DeviceManagement.postgres[83949]) Exited with code: 1
    10/22/14 9:28:01.077 AM com.apple.launchd[1]: (com.apple.DeviceManagement.postgres) Throttling respawn: Will start in 10 seconds
    10/22/14 9:28:01.827 AM collabd[368]: [CSConnectionPool.m:196 1049d000 +11486ms] Could not open a connection to Postgres. Please make sure it is running and has the correct access.
    10/22/14 9:28:01.969 AM collabd[368]: [CSServiceDispatcher.m:261 1049d000 +0ms] Caught exception "Connection to DB failed" [CSDatabaseError] executing [http]Request{AuthService.enterMagicalAuthRealm()}:
      0   CoreFoundation                      0x00007fff84f2e25c __exceptionPreprocess + 172
      1   libobjc.A.dylib                     0x00007fff85715e75 objc_exception_throw + 43
      2   CSService                           0x000000010cecd76d -[CSConnectionPool openConnection] + 3309
      3   CSService                           0x000000010cece13a -[CSConnectionPool currentConnection] + 98
      4   CSService                           0x000000010cf4d839 -[CSAuthService unauthenticatedSession] + 82
      5   CSService                           0x000000010cf4de13 -[CSAuthService currentOrNewSession] + 154
      6   CSService                           0x000000010cf50c91 -[CSAuthService enterMagicalAuthRealm] + 51
      7   CoreFoundation                      0x00007fff84e199ac __invoking___ + 140
      8   CoreFoundation                      0x00007fff84e19814 -[NSInvocation invoke] + 308
      9   CSService                           0x000000010cec9055 -[CSServiceDispatcher executeRequest:asPartOfBatch:usingServiceImpl:] + 4578
      10  CSService                           0x000000010cec9548 -[CSServiceDispatcher executeRequest:] + 120
      11  CSService                           0x000000010cf3e218 +[CSServiceDispatchHTTPRouter routeServiceRequest:response:] + 1135
      12  CSService                           0x000000010cecfacf __21-[CSServiceBase init]_block_invoke_6 + 48
      13  CSService                           0x000000010cf3b2aa __53-[CSRoutingHTTPConnection httpResponseForMethod:URI:]_block_invoke + 95
      14  CSService                           0x000000010cf3e7b4 -[CSHTTPBackgroundResponse bounce:] + 286
      15  Foundation                          0x00007fff8dad9dfb __NSThread__main__ + 1318
      16  libsystem_pthread.dylib             0x00007fff8b47e899 _pthread_body + 138
      17  libsystem_pthread.dylib             0x00007fff8b47e72a _pthread_struct_init + 0
      18  libsystem_pthread.dylib             0x00007fff8b482fc9 thread_start + 13
    10/22/14 9:28:02.194 AM com.apple.launchd[1]: (com.apple.collabd.notifications[83950]) Exited with code: 1
    10/22/14 9:28:02.194 AM com.apple.launchd[1]: (com.apple.collabd.notifications) Throttling respawn: Will start in 9 seconds

  • Mavericks: Backup: Stuck at "prepare" after a few successful backups

    Hi,
    after a few backups (two or three) the backup is stuck at the preparation phase. In the console logs I found these lines:
    06.07.14 05:31:17,660 com.apple.backupd[20453]: Starting automatic backup
    06.07.14 05:31:17,675 com.apple.backupd[20453]: Backing up to /dev/disk2s2: /Volumes/ExtHD03/Backups.backupdb
    06.07.14 05:31:17,930 mds[76]: (Warning) QueryTask: Haven't sent anything for 60 seconds; try despite not having received RTS notification.
    06.07.14 05:31:17,930 mds[76]: (Warning) QueryTask: Haven't sent anything for 60 seconds; try despite not having received RTS notification.
    06.07.14 05:31:17,931 mds[76]: (Warning) QueryTask: Haven't sent anything for 60 seconds; try despite not having received RTS notification.
    The backup before that logged that:
    06.07.14 04:30:16,675 com.apple.backupd[18686]: Starting automatic backup
    06.07.14 04:30:17,024 com.apple.backupd[18686]: Backing up to /dev/disk2s2: /Volumes/ExtHD03/Backups.backupdb
    06.07.14 04:30:18,118 serveradmin[18695]: SCNetworkReachabilityCreateWithAddress[Pair] called with invalid address family 1
    06.07.14 04:30:21,096 serveradmin[18716]: servermgr_swupdate[INF]: Verifying Software Update catalog configuration.
    06.07.14 04:30:21,100 serveradmin[18716]: servermgr_swupdate[INF]: Verifying Software Update catalog configuration.
    06.07.14 04:30:21,101 serveradmin[18716]: servermgr_swupdate[WRN]: Missing or invalid language for product items request.  Using default "en".
    06.07.14 04:30:25,037 serveradmin[18793]: SCNetworkReachabilityCreateWithAddress[Pair] called with invalid address family 1
    06.07.14 04:30:28,204 serveradmin[18830]: servermgr_swupdate[INF]: Verifying Software Update catalog configuration.
    06.07.14 04:30:28,207 serveradmin[18830]: servermgr_swupdate[INF]: Verifying Software Update catalog configuration.
    06.07.14 04:30:28,207 serveradmin[18830]: servermgr_swupdate[WRN]: Missing or invalid language for product items request.  Using default "en".
    06.07.14 04:30:28,239 serveradmin[18831]: servermgr_swupdate[INF]: Verifying Software Update catalog configuration.
    06.07.14 04:30:35,458 com.apple.backupd[18686]: Will copy (50,9 MB) from Server HD
    I assume that the servermgr lines are not really relevant.
    What do the lines with "mds[76]: (Warning) QueryTask..." mean?
    Can I find more details about that?
    Can this be the reason for the backup problem?
    I was trying to do backup with a Time Capsule before, but after some time it won't even do a single backup (stuck at prepare). Now I did a fresh install with Mavericks and attached a fresh 1TB HD (SATA) with a USB HD dock. Interestingly the same happens: Some backups work, but then it is stuck at "prepare".
    I have a macmini4.1 server. I installed OS X Server (3.1.2) and macports with samba3. Also the second disk in the mac mini server contains a lot of files which are shared by SMB to Windows clients.
    Thanks in advance and best wishes,
    Rainer

    dwbrecovery wrote:
    Hi, thanks for the updates.
    Use Disk Utility to " Verify Disk" of HD2 to check whether it needs to be repaired.
    If the verify is ok, perform a " Verify Disk Permissions " to determine if permissions are ok.
    The Verifications will not make any changes to HD2
    The lockup may be due to a corruption of HD2.   Is HD2 the only copy of the files?
    Verify Disk:
    It says "The Volume ... is apparently ok" (original German message: "Das Volume „Macintosh HD2“ ist anscheinend in Ordnung.")
    The button "Zugriffsrechte des Volumes überprüfen" is grayed out. (I assume this is the one which would be "Verify Disk Permissions")
    The files from HD2 are still available in my FreeBSD server. The files there are not updated currently, we were working on the new HD2 disk so far. Also I assume that from the previously working Time Capsule backup they should still be on the Time Capsule. So currently I have two backups and an older "mirror".
    I was hoping at first that I simply do some clickety-click in OS X Server's file sharing to turn the mac mini into our new server. However, Apple's samba leads to broken files, disconnects and lots of other issues. So I installed samba3 from macports and disabled SMB on the max mini. I wonder whether macports or Apple's samba messed with some files.
    The access rights on the file server disk are not relevant. This server is only used by me and my wife in our little IT business, so I can set each and every file and directory to a new owner etc. I assume that there are more things than only chmod and chown on Mavericks. How would I recursively set owner and rights including access control and maybe other things I do not yet know? (certainly more than "chown -R ..." :-) )
    The remaining text deals with spotlight related log entries:
    These are the mds entries:
    07.07.14 10:11:58,573 mds[45]: (Normal) Volume: volume:0x7fe49308a000 ********** Bootstrapped Creating a default store:0 SpotLoc:(null) SpotVerLoc:(null) occlude:0 /Volumes/VMware Fusion
    07.07.14 18:27:16,984 mds[45]: (Normal) DiskStore: Starting health check...
    07.07.14 18:27:16,984 mds[45]: (Normal) DiskStore: Starting health check...
    07.07.14 18:27:29,302 mds[45]: (Normal) Volume: volume:0x7fe49308b000 ********** Bootstrapped Creating a default store:0 SpotLoc:(null) SpotVerLoc:(null) occlude:0 /Volumes/Recovery HD
    07.07.14 22:41:08,262 mds[45]: (Warning) QueryTask: Haven't sent anything for 60 seconds; try despite not having received RTS notification.
    07.07.14 23:35:46,839 mds[45]: (Warning) QueryTask: Haven't sent anything for 60 seconds; try despite not having received RTS notification.
    08.07.14 00:36:54,550 mds[45]: (Warning) QueryTask: Haven't sent anything for 60 seconds; try despite not having received RTS notification.
    08.07.14 01:37:49,723 mds[45]: (Warning) QueryTask: Haven't sent anything for 60 seconds; try despite not having received RTS notification.
    08.07.14 02:38:39,597 mds[45]: (Warning) QueryTask: Haven't sent anything for 60 seconds; try despite not having received RTS notification.
    08.07.14 03:39:29,512 mds[45]: (Warning) QueryTask: Haven't sent anything for 60 seconds; try despite not having received RTS notification.
    And these are the mdworker entries: (I add some comments in between)
    The following files are not on HD2, but on the Server HD disk. I removed them in the meantime - they were a copy of the previous installation of the OS X Server Wiki:
    06.07.14 20:00:05,609 sandboxd[130]: ([19811]) mdworker(19811) deny file-read-xattr /Users/fsc/Desktop/Wiki (pre-plugin fstype:hfs fsflag:480D000 flags:250000005E diag:0 isXCode:0 uti:public.folder plugin:internalPlainTextImporter - find suspect file using: sudo mdutil -t 973707)
    06.07.14 20:00:05,770 sandboxd[130]: ([19819]) mdworker(19819) deny file-read-xattr /Users/fsc/Desktop/Wiki (pre-plugin fstype:hfs fsflag:480D000 flags:250000005E diag:0 isXCode:0 uti:public.folder plugin:internalPlainTextImporter - find suspect file using: sudo mdutil -t 973707)
    06.07.14 20:00:05,824 sandboxd[130]: ([19820]) mdworker(19820) deny file-read-xattr /Users/fsc/Desktop/Wiki (pre-plugin fstype:hfs fsflag:480D000 flags:250000005E diag:0 isXCode:0 uti:public.folder plugin:internalPlainTextImporter - find suspect file using: sudo mdutil -t 973740)
    06.07.14 20:00:08,124 sandboxd[130]: ([19820]) mdworker(19820) deny file-read-xattr /Users/fsc/Desktop/Wiki (pre-ls-info-1 fstype: fsflag:0 flags:250000005E diag:0 isXCode:0 uti:public.folder plugin:internalPlainTextImporter - find suspect file using: sudo mdutil -t 0)
    06.07.14 20:00:08,289 sandboxd[130]: ([19821]) mdworker(19821) deny file-read-xattr /Users/fsc/Desktop/Wiki (pre-plugin fstype:hfs fsflag:480D000 flags:250000005E diag:0 isXCode:0 uti:public.folder plugin:internalPlainTextImporter - find suspect file using: sudo mdutil -t 973740)
    06.07.14 20:00:47,512 sandboxd[130]: ([19821]) mdworker(19821) deny file-read-xattr /Users/fsc/Desktop/Wiki (pre-plugin fstype:hfs fsflag:480D000 flags:250000005E diag:0 isXCode:0 uti:public.folder plugin:internalPlainTextImporter - find suspect file using: sudo mdutil -t 975066)
    06.07.14 20:00:47,828 sandboxd[130]: ([19820]) mdworker(19820) deny file-read-xattr /Users/fsc/Desktop/Wiki (pre-plugin fstype:hfs fsflag:480D000 flags:250000005E diag:0 isXCode:0 uti:public.folder plugin:internalPlainTextImporter - find suspect file using: sudo mdutil -t 975066)
    06.07.14 20:00:47,886 sandboxd[130]: ([19811]) mdworker(19811) deny file-read-xattr /Users/fsc/Desktop/Wiki (pre-plugin fstype:hfs fsflag:480D000 flags:250000005E diag:0 isXCode:0 uti:public.folder plugin:internalPlainTextImporter - find suspect file using: sudo mdutil -t 975128)
    Don't know what these are:
    07.07.14 17:52:05,969 sandboxd[130]: ([62565]) mdworker(62565) deny mach-lookup com.apple.distributed_notifications@1v3
    07.07.14 18:27:17,240 sandboxd[130]: ([63869]) mdworker(63869) deny mach-lookup com.apple.distributed_notifications@1v3
    From here on the log messages are after the spotlight has been enabled on HD2:
    This is from a backup directory of a Nintendo 3DS. The "content" directory contains files with an .app extension which are certainly not Mac compatible app packages. What does the log message actually tell me? (one of the mdutil commands displays the full path to the file "00000003.app" in the contents directory)
    07.07.14 22:42:56,249 sandboxd[130]: ([72059]) mdworker(72059) deny file-read-data /Volumes/Macintosh HD2/Storage/backups/nds/3ds-backup/3ds-rot/2012-09-13/00032600/content (pre-ls-info-2 fstype:hfs fsflag:4809000 flags:40000005E diag:0 isXCode:0 uti:com.apple.application-file plugin:/Library/Spotlight/Application.mdimporter - find suspect file using: sudo mdutil -t 446464)
    07.07.14 22:42:56,255 sandboxd[130]: ([72059]) mdworker(72059) deny file-read-data /Volumes/Macintosh HD2/Storage/backups/nds/3ds-backup/3ds-rot/2012-09-13/00032600/content (pre-ls-info-2 fstype:hfs fsflag:4809000 flags:40000005E diag:0 isXCode:0 uti:com.apple.application-file plugin:/Library/Spotlight/Application.mdimporter - find suspect file using: sudo mdutil -t 446464)
    07.07.14 22:42:57,615 sandboxd[130]: ([72059]) mdworker(72059) deny file-read-data /Volumes/Macintosh HD2/Storage/backups/nds/3ds-backup/3ds-rot/2012-09-13/00032600/content (pre-ls-info-2 fstype:hfs fsflag:4809000 flags:40000005E diag:0 isXCode:0 uti:com.apple.application-file plugin:/Library/Spotlight/Application.mdimporter - find suspect file using: sudo mdutil -t 446465)
    07.07.14 22:42:57,642 sandboxd[130]: ([72059]) mdworker(72059) deny file-read-data /Volumes/Macintosh HD2/Storage/backups/nds/3ds-backup/3ds-rot/2012-09-13/00032600/content (pre-ls-info-2 fstype:hfs fsflag:4809000 flags:40000005E diag:0 isXCode:0 uti:com.apple.application-file plugin:/Library/Spotlight/Application.mdimporter - find suspect file using: sudo mdutil -t 446465)
    Looks like some PNG files problems:
    07.07.14 22:44:04,907 mdworker[72111]: ImageIO: PNG [00][00][00][00]: invalid chunk type
    (above line repeated several times)
    Don't know what these are:
    07.07.14 22:58:23,267 mdworker32[72522]: CGSConnectionByID: 0 is not a valid connection ID.
    07.07.14 22:58:23,267 mdworker32[72522]: CGSGetSpaceManagementMode: No connection with id 0x       0
    07.07.14 23:02:14,903 mdworker32[72597]: CGSConnectionByID: 0 is not a valid connection ID.
    07.07.14 23:02:14,903 mdworker32[72597]: CGSGetSpaceManagementMode: No connection with id 0x       0
    Looks like a bad MIDI file:
    07.07.14 23:14:22,107 mdworker[72819]: 23:14:22.099 NOTE:      [0x10ed87000] StandardMidiFile.cpp:201: ReadStandardMidiFile: Sequence::ReadStandardMidiFile(): invalid track length
    Bad cpio file:
    07.07.14 23:15:16,304 mdworker[72901]: cpio importer encountered an error (3) scanning "(a file with .cpio extension)".
    Bad photoshop file:
    07.07.14 23:23:52,812 mdworker[73073]: ImageIO: readPhotoshopImageResource Corrupt 8BIM data. Reported 8BIM length (32754 bytes) exceeds actual length (31400 bytes).
    I would assume that spotlight shouldn't stumble over incorrectly understood files (bad images and the like...)...

  • Time Machine stuck in preparing backup...

    Hi guys,
    a few days ago I started to realise my TM Backup is taking ages. It is stuck for a long time in the process of preparing the backup..
    I looked it up and found hints to solve it (https://discussions.apple.com/thread/5294323) and followed everything Pondini said (http://pondini.org/TM/D1.html) , but nothing..
    In the system.log file I found a few things which don't seem normal.
    Jun  1 14:05:53 MacBookMP com.apple.backupd[5193]: Starting manual backup
    Jun  1 14:05:53 MacBookMP com.apple.backupd[5193]: Backing up to /dev/disk1s2: /Volumes/Max' Backup/Backups.backupdb
    Jun  1 14:08:32 MacBookMP kernel[0]: process backupd[5193] thread 394464 caught burning CPU! It used more than 50% CPU (Actual recent usage: 56%) over 180 seconds. thread lifetime cpu usage 90.091726 seconds, (34.200705 user, 55.891021 system) ledger info: balance: 90000253332 credit: 90000253332 debit: 0 limit: 90000000000 (50%) period: 180000000000 time since last refill (ns): 158890700927
    Jun  1 14:08:35 MacBookMP spindump[5215]: Saved cpu_resource.spin report for backupd version ??? (???) to /Library/Logs/DiagnosticReports/backupd_2014-06-01-140835_Max.cpu_resource.spin
    Jun  1 14:21:45 MacBookMP com.apple.backupd[5193]: Will copy (613.6 MB) from Macintosh HD
    Jun  1 14:21:45 MacBookMP com.apple.backupd[5193]: Will copy (Zero KB) from Win8
    Jun  1 14:21:45 MacBookMP com.apple.backupd[5193]: Found 249878 files (1.27 GB) needing backup
    Jun  1 14:21:45 MacBookMP com.apple.backupd[5193]: 3.95 GB required (including padding), 513.17 GB available
    Jun  1 14:22:52 MacBookMP com.apple.backupd[5193]: Copied 1086 items (620.1 MB) from volume Macintosh HD. Linked 4318.
    Jun  1 14:23:02 MacBookMP com.apple.backupd[5193]: Copied 1 items (Zero KB) from volume Win8. Linked 3.
    Jun  1 14:23:02 MacBookMP com.apple.backupd[5193]: Will copy (1.2 MB) from Macintosh HD
    Jun  1 14:23:02 MacBookMP com.apple.backupd[5193]: Not using file event preflight for Win8
    Jun  1 14:23:02 MacBookMP com.apple.backupd[5193]: Found 60 files (1.2 MB) needing backup
    Jun  1 14:23:02 MacBookMP com.apple.backupd[5193]: 2.42 GB required (including padding), 512.54 GB available
    Jun  1 14:23:05 MacBookMP com.apple.backupd[5193]: Copied 124 items (1.2 MB) from volume Macintosh HD. Linked 971.
    Jun  1 14:23:07 MacBookMP com.apple.backupd[5193]: Copied 1 items (Zero KB) from volume Win8. Linked 3.
    Jun  1 14:23:07 MacBookMP com.apple.backupd[5193]: Created new backup: 2014-06-01-142307
    Jun  1 14:23:14 MacBookMP com.apple.backupd[5193]: Starting post-backup thinning
    Jun  1 14:23:14 MacBookMP com.apple.backupd[5193]: Error: Error Domain=NSOSStatusErrorDomain Code=-50 "The operation couldn’t be completed. (OSStatus error -50.)" (paramErr: error in user parameter list) deleting backup: /Volumes/Max' Backup/Backups.backupdb/Max/2014-06-01-140555.inProgress/7F93D6C2-953B-493C-812 E-DF390922194D
    Jun  1 14:23:14 MacBookMP com.apple.backupd[5193]: Error: Error Domain=NSOSStatusErrorDomain Code=-50 "The operation couldn’t be completed. (OSStatus error -50.)" (paramErr: error in user parameter list) deleting backup: /Volumes/Max' Backup/Backups.backupdb/Max/2014-06-01-140555.inProgress/9B5447B0-EBD6-4B76-903 E-CC4807095E97
    Jun  1 14:23:14 MacBookMP com.apple.backupd[5193]: Error: Error Domain=NSOSStatusErrorDomain Code=-50 "The operation couldn’t be completed. (OSStatus error -50.)" (paramErr: error in user parameter list) deleting backup: /Volumes/Max' Backup/Backups.backupdb/Max/2014-06-01-140555.inProgress/D06592A0-5FC8-43CF-A6A 6-800A79B71165
    Jun  1 14:23:14 MacBookMP com.apple.backupd[5193]: No post-backup thinning needed: no expired backups exist
    Jun  1 14:23:14 MacBookMP com.apple.backupd[5193]: Backup completed successfully.
    So it took roughly 20 minutes to backup 1.27 GB which is a lot slower than it was!
    I don't understand why it takes so long to get through the first steps..
    And are these errors at the end serious?
    a few seconds after the first backup I tried another one, which was done in 7 seconds !! Obviously it didn't had to backup nothing, but still, the whole process is faster, there are no errors at the end and no massage about burning the CPU...
    Jun  1 14:24:34 MacBookMP com.apple.backupd[5193]: Starting manual backup
    Jun  1 14:24:34 MacBookMP com.apple.backupd[5193]: Backing up to /dev/disk1s2: /Volumes/Max' Backup/Backups.backupdb
    Jun  1 14:24:35 MacBookMP com.apple.backupd[5193]: Will copy (2.8 MB) from Macintosh HD
    Jun  1 14:24:35 MacBookMP com.apple.backupd[5193]: Will copy (Zero KB) from Win8
    Jun  1 14:24:35 MacBookMP com.apple.backupd[5193]: Found 27 files (2.8 MB) needing backup
    Jun  1 14:24:35 MacBookMP com.apple.backupd[5193]: 2.42 GB required (including padding), 513.16 GB available
    Jun  1 14:24:36 MacBookMP com.apple.backupd[5193]: Copied 37 items (2.8 MB) from volume Macintosh HD. Linked 331.
    Jun  1 14:24:38 MacBookMP com.apple.backupd[5193]: Copied 1 items (Zero KB) from volume Win8. Linked 3.
    Jun  1 14:24:38 MacBookMP com.apple.backupd[5193]: Will copy (1 KB) from Macintosh HD
    Jun  1 14:24:38 MacBookMP com.apple.backupd[5193]: Not using file event preflight for Win8
    Jun  1 14:24:38 MacBookMP com.apple.backupd[5193]: Found 8 files (1 KB) needing backup
    Jun  1 14:24:38 MacBookMP com.apple.backupd[5193]: 2.42 GB required (including padding), 513.16 GB available
    Jun  1 14:24:38 MacBookMP com.apple.backupd[5193]: Copied 11 items (1 KB) from volume Macintosh HD. Linked 79.
    Jun  1 14:24:39 MacBookMP com.apple.backupd[5193]: Copied 1 items (Zero KB) from volume Win8. Linked 3.
    Jun  1 14:24:40 MacBookMP com.apple.backupd[5193]: Created new backup: 2014-06-01-142440
    Jun  1 14:24:40 MacBookMP com.apple.backupd[5193]: Starting post-backup thinning
    Jun  1 14:24:40 MacBookMP com.apple.backupd[5193]: No post-backup thinning needed: no expired backups exist
    Jun  1 14:24:41 MacBookMP com.apple.backupd[5193]: Backup completed successfully.
    I would be really grate full if you could help me resolve this.

    I did not disable it because of your comment. I did it ages ago (due to lack of space on my SSD). When I followed the instructions from Pondini there is a part where you delete your Time Machine settings (such as local snapshots). You just made me remember that I had to turn it off again.
    But do you know what's the meaning of this part of the log message:
    Jun  1 14:08:32 MacBookMP kernel[0]: process backupd[5193] thread 394464 caught burning CPU! It used more than 50% CPU (Actual recent usage: 56%) over 180 seconds. thread lifetime cpu usage 90.091726 seconds, (34.200705 user, 55.891021 system) ledger info: balance: 90000253332 credit: 90000253332 debit: 0 limit: 90000000000 (50%) period: 180000000000 time since last refill (ns): 158890700927
    and how to prevent it?

  • Time Machine stuck on "preparing backup" and "Indexing Backup" after forced restart and install from Lion

    Hello!
    I have been using Time Machine on the Time Capsule for over a month now and no problems. However when I was installing Lion it had to restart. I did not see that Time Machine was going at the time when I pushed restart until it was too late.
    Now Time Machine seems to be stuck on "Preparing Backup" and "Indexing Backups". It has been nearly 20-30 minutes for Indexing and I wonder if I corrupted something or something else. If there a way I can solve this problem? Thanks!

    I had this same problem, this is going to sound ridiculous but this is what I finally did. I wiped my backup, crazy right?
    It's there for when your hard drive crashes, so it's not like you are going to miss much if you wipe it. Tell it to stop backing up, go to disk utility, click your external and then erase it. Go back to time machine settings and reselect it as your backup drive. It will do an initial back up again and you are good to go.
    Hope this helps.

Maybe you are looking for