Icon Patrick Gibsonpatrickgibson.com
news and such projects, etc. movies writings hyperlinks contact
search:
news and stuff

Leopard and usbmuxd issues Wednesday, July 23, 2008
Preface: This post to save the frustration of system.log files being filled up with error messages and an iPhone not being recognized by iTunes. It is of an extreme technical nature, and will be completely uninteresting to you.

If you are seeing messages in your console logs that look like:

5/27/08 1:43:37 AM com.apple.launchd[1] (com.apple.usbmuxd9137) getgrnam("nobody") failed
5/27/08 1:43:27 AM com.apple.launchd[1] (com.apple.usbmuxd9136) Exited with exit code: 1

You most likely have a corrupted group definition file. To confirm, type dseditgroup nobody. If there's no output, you have the same problem I had. Here's how to correct it:

  1. Delete the file: sudo rm /var/db/dslocal/nodes/Default/groups/nobody.plist
  2. Type: sudo dseditgroup -o create nobody
  3. Edit /var/db/dslocal/nodes/Default/groups/nobody.plist and find where it defines the "gid". Change it from 500 to -2. (To match /etc/group).
  4. Delete /var/db/dslocal/indices/Default/index
  5. Reboot

Now, if you type "dseditgroup nobody", you should see a bunch of attributes, and your usbmuxd should load properly. And best of all, iTunes will see your iPhone!

Posted at 12:24
« Xdebug for PHP 4.4.8 on Mac OS X Leopard | Back to News and Such | UPS: "Sir, there are no guarantees in life." »

Comments

Post a comment
Name:

Email Address: (optional)

Website: (optional)

Comments:

Enter the number shown here:

back

Retrix Hosting