Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hanging on identity generation during install #626

Closed
norn93 opened this issue Nov 17, 2017 · 4 comments
Closed

Hanging on identity generation during install #626

norn93 opened this issue Nov 17, 2017 · 4 comments

Comments

@norn93
Copy link

norn93 commented Nov 17, 2017

EDIT: This looks like #566, I'm trying that now.

I know this appears to be a duplicate of #367 and #355, but I don't think it is.

I'm trying to install ZeroTier on a Raspberry Pi Zero W.

Using curl -s https://install.zerotier.com/ | sudo bash, it seems to be installing correctly until it hangs at the bit where it tries to do identity generation.

After exiting with CRTL+C, any kind of call to zerotier-cli status etc. result in a Segmentation Fault.

Checking the status of the service:

pi@birdrecorder-2:~ $ service zerotier-one status
? zerotier-one.service - ZeroTier One
Loaded: loaded (/lib/systemd/system/zerotier-one.service; enabled; vendor preset: enabled)
Active: failed (Result: signal) since Fri 2017-11-17 13:29:06 AWST; 8min ago
Process: 466 ExecStart=/usr/sbin/zerotier-one (code=killed, signal=SEGV)
Main PID: 466 (code=killed, signal=SEGV)

Nov 17 13:29:06 birdrecorder-2 systemd[1]: zerotier-one.service: Failed with result 'signal'.
Nov 17 13:29:06 birdrecorder-2 systemd[1]: zerotier-one.service: Service hold-off time over, scheduling restart.
Nov 17 13:29:06 birdrecorder-2 systemd[1]: Stopped ZeroTier One.
Nov 17 13:29:06 birdrecorder-2 systemd[1]: zerotier-one.service: Start request repeated too quickly.
Nov 17 13:29:06 birdrecorder-2 systemd[1]: Failed to start ZeroTier One.
Nov 17 13:29:06 birdrecorder-2 systemd[1]: zerotier-one.service: Unit entered failed state.
Nov 17 13:29:06 birdrecorder-2 systemd[1]: zerotier-one.service: Failed with result 'signal'.

Now I am unable to re-install with curl -s https://install.zerotier.com/ | sudo bash since ZeroTier thinks it's already installed.

@norn93
Copy link
Author

norn93 commented Nov 17, 2017

I compiled and ran from source, as described, and it works fine, with some help from #510. I also needed to run sudo systemctl unmask zerotier-one.service to get my service running properly.

@norn93 norn93 closed this as completed Nov 17, 2017
@czarau
Copy link

czarau commented Jan 10, 2018

Same issue Rpi Model B Revision 2.0 512MB
I'm guessing its a "Raspbian GNU/Linux 9 (stretch)" issue?

@norn93
Copy link
Author

norn93 commented Jan 10, 2018

I wasn't able to work it out. Instead, I found it easier and more reliable to compile and install from source. But, have another look at #510, it looks like some people might have recently fixed this problem.

@czarau
Copy link

czarau commented Jan 10, 2018

Thanks for your help. Compile and zerotier-one binary seems to be easiest method for me too. working now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants