Failed to start netbird on armv7l GNU/Linux #731

Closed
opened 2025-11-20 05:16:37 -05:00 by saavagebueno · 3 comments
Owner

Originally created by @debin-ge on GitHub (Mar 25, 2024).

Describe the problem

When I installed the compiled netbird in liunx with armv7 kernel, it failed to start and reported an error.
The error message is:

  root@GL-AX1800:/usr/bin# netbird service start
  "service" failed: exec: "service": executable file not found in $PATH
  Error: "service" failed: exec: "service": executable file not found in $PATH

To Reproduce

Steps to reproduce the behavior:

  1. Compile for armv7
  env GOOS=linux GOARCH=arm GOARM=7 go build -o netbird
  1. Move the built files into liunx and grant relevant permissions
  2. Use netbird to install and run
  sudo netbird service install
  sudo netbird service start

NetBird version

latest code

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

The kernel information of linux is:

 root@GL-AX1800:/usr/bin# uname -a
 Linux GL-AX1800 4.4.60 #0 SMP PREEMPT Tue Jan 23 11:46:53 2024 armv7l GNU/Linux

Also tried to use netbird_0.26.3_linux_armv6.tar.gz to install and start, and got the same error message

Originally created by @debin-ge on GitHub (Mar 25, 2024). **Describe the problem** When I installed the compiled netbird in liunx with armv7 kernel, it failed to start and reported an error. The error message is: ``` root@GL-AX1800:/usr/bin# netbird service start "service" failed: exec: "service": executable file not found in $PATH Error: "service" failed: exec: "service": executable file not found in $PATH ``` **To Reproduce** Steps to reproduce the behavior: 1. Compile for armv7 ``` env GOOS=linux GOARCH=arm GOARM=7 go build -o netbird ``` 2. Move the built files into liunx and grant relevant permissions 3. Use netbird to install and run ``` sudo netbird service install sudo netbird service start ``` **NetBird version** latest code **Screenshots** If applicable, add screenshots to help explain your problem. **Additional context** The kernel information of linux is: ``` root@GL-AX1800:/usr/bin# uname -a Linux GL-AX1800 4.4.60 #0 SMP PREEMPT Tue Jan 23 11:46:53 2024 armv7l GNU/Linux ``` Also tried to use [netbird_0.26.3_linux_armv6.tar.gz](https://github.com/netbirdio/netbird/releases/download/v0.26.3/netbird_0.26.3_linux_armv6.tar.gz) to install and start, and got the same error message
saavagebueno added the triage-needed label 2025-11-20 05:16:37 -05:00
Author
Owner

@debin-ge commented on GitHub (Mar 31, 2024):

After some research, the /etc/init.d/netbird file was added to the system after I executed netbird service install. Through this executable file, the netbied service can be started
image

@debin-ge commented on GitHub (Mar 31, 2024): After some research, the /etc/init.d/netbird file was added to the system after I executed netbird service install. Through this executable file, the netbied service can be started ![image](https://github.com/netbirdio/netbird/assets/21329997/54abd052-a36e-47b7-8bff-8b254a83c969)
Author
Owner

@jiangslee commented on GitHub (Apr 16, 2024):

@debin-ge 老哥, https://github.com/netbirdio/netbird/releases/download/v0.26.3/netbird_0.26.3_linux_armv6.tar.gz 能在GL-AX1800用吗?

@jiangslee commented on GitHub (Apr 16, 2024): @debin-ge 老哥, https://github.com/netbirdio/netbird/releases/download/v0.26.3/netbird_0.26.3_linux_armv6.tar.gz 能在GL-AX1800用吗?
Author
Owner

@debin-ge commented on GitHub (Apr 16, 2024):

@debin-ge 老哥, https://github.com/netbirdio/netbird/releases/download/v0.26.3/netbird_0.26.3_linux_armv6.tar.gz 能在GL-AX1800用吗?

可以的,但存在部分兼容性问题。同时需要关注一下openwrt的版本,例如我发现 ebpf存在不兼容的情况
具体的还需要详细观察

@debin-ge commented on GitHub (Apr 16, 2024): > @debin-ge 老哥, https://github.com/netbirdio/netbird/releases/download/v0.26.3/netbird_0.26.3_linux_armv6.tar.gz 能在GL-AX1800用吗? 可以的,但存在部分兼容性问题。同时需要关注一下openwrt的版本,例如我发现 ebpf存在不兼容的情况 具体的还需要详细观察
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#731