Zygo / bees

Best-Effort Extent-Same, a btrfs dedupe agent
GNU General Public License v3.0
661 stars 55 forks source link

Failed to locate executable /usr/sbin/beesd: Permission denied #237

Open RustyNova016 opened 1 year ago

RustyNova016 commented 1 year ago

I'm trying to install Bees on Linux mint, but I cannot get it to launch. Once I do systemctl status beesd@bb9fb75f-e822-4faa-84c2-114a980afb56.service, this error appears.

` Oct 23 14:55:05 rustynova-Lenovo-V330-15IKB systemd[1]: Started Bees (bb9fb75f-e822-4faa-84c2-114a980afb56).

Oct 23 14:55:05 rustynova-Lenovo-V330-15IKB systemd[433659]: beesd@bb9fb75f-e822-4faa-84c2-114a980afb56.service: Failed to locate executable /usr/sbin/beesd: Permission denied

Oct 23 14:55:05 rustynova-Lenovo-V330-15IKB systemd[433659]: beesd@bb9fb75f-e822-4faa-84c2-114a980afb56.service: Failed at step EXEC spawning /usr/sbin/beesd: Permission denied

Oct 23 14:55:05 rustynova-Lenovo-V330-15IKB systemd[1]: beesd@bb9fb75f-e822-4faa-84c2-114a980afb56.service: Main process exited, code=exited, status=203/EXEC

Oct 23 14:55:05 rustynova-Lenovo-V330-15IKB systemd[1]: beesd@bb9fb75f-e822-4faa-84c2-114a980afb56.service: Failed with result 'exit-code'. `

Does anyone know how to fix it? Or have a easier way to install bees on debian based? The docs are way to vague

vfrex commented 1 year ago

I don't have a nuanced answer, but try commenting out parts of the permission limiting elements of the provided service file.

kakra commented 1 year ago

Possible causes:

  1. /usr/bin/beesd wasn't installed with executable permissions.
  2. /bin/bash is missing.

On some systems, bash is installed in /usr/bin/bash without the compatibility symlink in /bin.