Cannot obtain a lock on data directory #26397

issue zx0922 openend this issue on October 26, 2022
  1. zx0922 commented at 4:19 pm on October 26, 2022: none

    I got error while launch bitcoin core 23.0 on macos after I set data loction on my remote NAS, Error: Cannot obtain a lock on data directory /Volumes/Bitcoin Core Data. Bitcoin Core is probably already running.

    It’s still error after I reinstall. And I can not find setting file at ~/Library/Application Support/Bitcoin/

  2. zx0922 added the label Bug on Oct 26, 2022
  3. hebasto commented at 4:25 pm on October 26, 2022: member

    on macos after I set data loction on my remote NAS,

    I doubt such a setup is supported.

  4. zx0922 commented at 7:21 am on October 27, 2022: none

    on macos after I set data loction on my remote NAS,

    I doubt such a setup is supported.

    yes. But I can’t set a new path

  5. hebasto commented at 8:41 am on October 27, 2022: member

    Try to remove the .lock file from your data directory.

    If the problem still persists, it is related to macOS’s fctnl() implementation, not to Bitcoin Core code.

    Going to close this issue.

  6. hebasto removed the label Bug on Oct 27, 2022
  7. hebasto closed this on Oct 27, 2022

  8. bitcoin locked this on Oct 27, 2023


zx0922 hebasto


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-21 12:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me