Shirt Pocket Discussions  
    Home netTunes launchTunes SuperDuper! Buy Now Support Discussions About Shirt Pocket    

Go Back   Shirt Pocket Discussions > SuperDuper! > General
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 10-01-2007, 11:25 AM
Derekasaurus Derekasaurus is offline
Registered User
 
Join Date: Sep 2007
Posts: 7
Restored 10.4.10 image exhibits strange behavior

After reading a recent thread that discussed strange problems some 10.4.10 users (including myself) have encountered after restoring an SD! backup, I learned that resetting the LaunchServices database is most likely the solution.

Unfortunately it turns out this is not the case.

To summarize, sometimes when a 10.4.10 image is restored, the dock icons get messed up (they point to random resources) and some applications do not start properly the first time (Photoshop CS3 gave me an "internal error"). Some other users have reported the pref icons and other links are also broken.

The proposed resolution to these problems was to rebuild the LaunchServices database by executing this command in Terminal.app:

Code:
/System/Library/Frameworks/ApplicationServices.framework/\
Frameworks/LaunchServices.framework/Support/lsregister \
-kill -r -domain local -domain system -domain user
Unfortunately this does not fix the problem. For a while I thought it did, but a few hours after restoring my MacBook Pro image, my dock went all screwy again, even enough I had reset LaunchServices as soon as my restored MBP booted for the first time.

To make sure I hadn't messed up, I restored my MacBook Pro yet again and reset my LaunchServices database. This time it only took a couple of hours for things to start misbehaving like before.

I'm running fully-patched 10.4.10 on a latest-generation Santa Rosa MacBook Pro, if that matters. Also, my backup drive image was initially called "Macintosh HD Backup", though I tried renaming it back to "Macintosh HD" before restoring so both drives are named the same, which seemed to make no difference.

Can anyone tell me what I have to do to make my restored 10.4.10 images behave? Restoring dock icons isn't a big deal, but some applications like Photoshop CS3 are not starting properly the first time, and who knows what else has been damaged because of this issue? And restoring the LaunchServices database is not making this problem go away.

Fortunately I'm only doing this to get familiar with SD!, so no data has been endangered, but I'm glad I decided to experiment with restoring before I truly needed it, as it doesn't quite seem to be working.

I should also stress that I have never seen this bug on any of my 10.4.10 Macs prior to restoring with SD!.
Reply With Quote
  #2  
Old 10-01-2007, 12:07 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
This is definitely not something we've seen in house. The users that have reported this have been able to fix it with LaunchServices (which also might be messed up on the source).

As far as things misbehaving "a couple of hours" after restoring -- apps that started working stopped working a few hours later?

Photoshop CS3 might have issues because it's copy protected. It may have detected that it's no longer on the original Mac, and is throwing a weird error to encourage you to call support. Are there any errors in the system.log (use Console) when this occurs?

Finally: are the drives you restored to named the same as the source was?
__________________
--Dave Nanian
Reply With Quote
  #3  
Old 10-01-2007, 01:29 PM
Derekasaurus Derekasaurus is offline
Registered User
 
Join Date: Sep 2007
Posts: 7
To answer your questions:

1) As far as my dock misbehaving "a couple of hours" after restoring, I'm referring to my dock icons suddenly pointing to wrong targets or their icons turning into blank documents when I click them. For example my DVD Player dock icon worked just fine for a while after restoring, but when I clicked it a few hours later it suddenly opened some random system folder instead of launching the DVD Player. It worked for a while, then stopped working.

2) Photoshop CS3 had an "internal error" the first time I launched it, but then it started just fine the second time. This error happened after the first time I restored, but not the second, so this is not a repeatable problem. The next time it happens I'll see what's going on in system.log. It hasn't happened on the current image of my restored system--only dock icons and links are getting screwed up--so my current system.log does not have this information.

3) Unfortunately the first time I cloned my MBP I named the external drive "Macintosh HD Backup", which is not the same as "Macintosh HD", the default name of the source drive I'm cloning. Since then I renamed my clone to "Macintosh HD" so it matches the original, but the clone was booted once as "Macintosh HD Backup", which sounds like it might be a bad thing.

It seems that to eliminate some possible errors I should rebuild my MBP from scratch (i.e., clean OS X installation) and clone it to an external HDD with the same name as the original (i.e., "Macintosh HD"). Then I'll restore from the clone, reset the LaunchServices database, and use the system to see if the problem resurfaces.

I'll post again if I can't get rid of the problem. I really want to get to the bottom of this before I have to recover for real in an emergency.

Incidentally, in a related post you suggested excluding /Library/Caches/com.apple.LaunchServices.* to another poster. Should I be doing this as well?

Last edited by Derekasaurus; 10-01-2007 at 01:37 PM.
Reply With Quote
  #4  
Old 10-01-2007, 01:57 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
I honestly don't know why your dock icon would work just fine for a while and then stop working. At that point, we're out of the picture, so perhaps it's something else you're running or ran?

Certainly, naming the new drive the same as the old is a good idea, since aliases will then resolve to the "right" drive.

No need to exclude the LaunchServices cache: it's mostly already done for you (there are two, we exclude the primary, and it didn't help that user -- again, we can't reproduce this in house, so it's a matter of trying to determine what it is about your system that's different).
__________________
--Dave Nanian
Reply With Quote
  #5  
Old 10-05-2007, 12:01 PM
maccer maccer is offline
Registered User
 
Join Date: Oct 2007
Posts: 6
I've experienced this very same problem. I don't know if the dock icons misbehaved after "a couple of hours" or it's merely that I didn't notice they were misbehaving until I clicked on them, but some of them certainly pointed towards random documents.

What I did notice immediately after the restore is the Apple menu items (About This Mac, Software Update..., System Preferences) all pointed to random files. For example, Choosing "About This Mac" would open the "About This Mac" window fine, but clicking on "More Info..." would attempt (and fail) to open an obscure jpg buried in an application package. To correct this I deleted the jpg, clicked on "More Info..." and after it linked correctly I restored the deleted file.

I restored my OS X volume a more than a week ago and I'm still finding incorrect links. Just today I clicked on the "Address Book" icon in the dock and it launched a random unix file in the Terminal window. Not good.
Reply With Quote
  #6  
Old 10-05-2007, 12:03 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
Hi, Maccer -- did you rebuild your launch services database?
__________________
--Dave Nanian
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Restored image misbehaves without LaunchServices rebuild Derekasaurus General 3 09-27-2007 03:07 PM
SuperDuper Backup of AES 128 Encrypted Disk Image rwg4 General 3 11-30-2005 10:28 AM
Sparse image from aborted DMG backup? Winston General 9 10-22-2005 12:28 PM
Strange Dock Behavior on Clone BudSimrin General 9 12-09-2004 09:25 AM


All times are GMT -4. The time now is 06:52 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.