Hello,
On my Raspberry Pi, I did a fresh install + apt update/upgrade.
I then installed the ZT Package from Zerotier-one.
After this, the service zerotier-one fails to start.
Actually, /sbin/zerotier-one abends with a segmentation fault.
Hello.
In general, you should manage the service with systemctl start zerotier-one It starts at boot, so running /usr/sbin/zerotier-one will try to start a second instance…
systemctl does actually call /usr/sbin/zerotier-one which them segfaults (as analyzed in my previous post).
This is a Pi 4 with a fresh install of raspbian .
I can reproduce this as follows:
do a fresh install of the Pi (raspbian lite)
apt update / upgrade
install zt
Then join a network
*** Success! You are ZeroTier address [ 5e129d4fdf ].
**pi@raspberrypi** : **~ $** sudo -s
root@raspberrypi:/home/pi# zerotier-cli status
200 info 5e129d4fdf 1.4.6 ONLINE
root@raspberrypi:/home/pi# zerotier-cli join a09acf0233bbbbbb
0 join
root@raspberrypi:/home/pi# zerotier-cli status
Error connecting to the ZeroTier service: connection failed
Please check that the service is running and that TCP port 9993 can be contacted via 127.0.0.1.
root@raspberrypi:/home/pi#
root@raspberrypi:/home/pi# systemctl status zerotier-one
â—Ź zerotier-one.service - ZeroTier One
Loaded: loaded (/lib/systemd/system/zerotier-one.service; enabled; vendor preset: enabled)
Active: failed (Result: signal) since Fri 2020-11-20 09:00:50 GMT; 5min ago
Process: 4208 ExecStart=/usr/sbin/zerotier-one (code=killed, signal=SEGV)
Main PID: 4208 (code=killed, signal=SEGV)
Nov 20 09:00:50 raspberrypi systemd[1]: zerotier-one.service: Service RestartSec=100ms expired, scheduling restart.
Nov 20 09:00:50 raspberrypi systemd[1]: zerotier-one.service: Scheduled restart job, restart counter is at 6.
Nov 20 09:00:50 raspberrypi systemd[1]: Stopped ZeroTier One.
Nov 20 09:00:50 raspberrypi systemd[1]: zerotier-one.service: Start request repeated too quickly.
Nov 20 09:00:50 raspberrypi systemd[1]: zerotier-one.service: Failed with result 'signal'.
Nov 20 09:00:50 raspberrypi systemd[1]: Failed to start ZeroTier One.
root@raspberrypi:/home/pi#
``
After a reboot, all things turn green again: