#237 ✓resolved
Andy Cheng

Unable to start usbmuxd, "Could not open lockfile"

Reported by Andy Cheng | October 11th, 2011 @ 08:57 AM | in 1.2.0 Release

We are trying to install libimobiledevice library on Ubuntu 11.04.
However, it seems it is not able to start usbmuxd.
It shows "Could not open lockfile" while trying to restart usbmuxd.

The version inforation is as below:
libimobiledevice 1.1.0
Ubuntu 11.04 with VMWare workstation.
iPhone iOS version 4.3.3.

Comments and changes to this ticket

  • Martin S.

    Martin S. February 24th, 2012 @ 11:52 AM

    • State changed from “new” to “open”
    • Tag set to ios 4.3.3, locking, ubuntu, usbmuxd, vmware
    • Assigned user set to “Nikias Bassen”
  • Olivier LAHAYE

    Olivier LAHAYE March 2nd, 2012 @ 02:49 PM

    In udev rules, did you check that the file /lib/udev/rules.d/85-usbmuxd.rules contains OWNER="usbmux"
    in the line

    ACTION=="add", SUBSYSTEM=="usb", OWNER="usbmux", ATTR{idVendor}=="05ac", ATTR{idProduct}=="12[9a][0-9a-f
    ]", ENV{USBMUX_SUPPORTED}="1", ATTR{bConfigurationValue}!="$attr{bNumConfigurations}", ATTR{bConfigurati onValue}="$attr{bNumConfigurations}", RUN+="/usr/sbin/usbmuxd -u -U usbmux"

    if you distro uses another user (Mandriva uses "usbmux"), replace usbmux with whatever your distro uses E.G. "usbmuxd"

    The line would then look like:

    ACTION=="add", SUBSYSTEM=="usb", OWNER="usbmuxd", ATTR{idVendor}=="05ac", ATTR{idProduct}=="12[9a][0-9a-f
    ]", ENV{USBMUX_SUPPORTED}="1", ATTR{bConfigurationValue}!="$attr{bNumConfigurations}", ATTR{bConfigurati onValue}="$attr{bNumConfigurations}", RUN+="/usr/sbin/usbmuxd -u -U usbmuxd"

  • Martin S.

    Martin S. May 27th, 2014 @ 09:50 AM

    • State changed from “open” to “resolved”
    • Assigned user changed from “Nikias Bassen” to “Martin S.”
    • Milestone set to 1.2.0 Release

    This is a permission issue. You must either run usbmuxd as root user or by passing it the custom user with the "-u" argument.
    As noted by Olivier above, check what your distro uses or create a corresponding user and make sure he has permissions to access /var/lib/lockdown and USB device nodes.

    This ticket tracker is deprecated as we've moved to github.com/libimobiledevice.

  • Paul Sladen

    Paul Sladen June 18th, 2016 @ 10:37 AM

    • Title changed from “Unable to start usbmuxd, "Could not open lockfile"” to “Unable to start usbmuxd, "Could not open lockfile"” to “YYdscvafZTgajkdfv””
    • Tag cleared.
    • Assigned user changed from “Martin S.” to “Paul Sladen”
  • Paul Sladen

    Paul Sladen June 18th, 2016 @ 10:37 AM

    • Title changed from “Unable to start usbmuxd, "Could not open lockfile"” to “YYdscvafZTgajkdfv”” to “Unable to start usbmuxd, "Could not open lockfile"”
  • Alex Veer
  • Alex Veer
  • Alex Veer

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

A project around supporting the iPhone in Linux.

See http://libimobiledevice.org

Attachments

Pages