Closed eepohboy closed 4 years ago
I have the same problem. I can fix it by restarting ZeroTier within the package manager after a reboot.
So the one thing on the checklist I did not do was check whether /dev/net/tun was present. After a recent power outage, and after the NAS rebooted, I got the same error under status when running listnetworks: PORT_ERROR.
This time I checked for /dev/net/tun, and found that it was missing. After doing a bit more Googling, I found this guide which runs through a few troubleshooting steps and how to make the fix persistent. After running the insmod command, PORT_ERROR goes away and everything is back to normal. So it looks like /dev/net/tun goes away after my NAS reboots.
However, I feel that this shouldn't be happening by default. It seems to be a known issue, since it's on the checklist of things to try, but my initial searching about the error did not produce any obvious results that this was a problem. If it is a "feature" and not a bug, at least document it, or point users to a fix so that if they come across this problem, they know what to do.
My 2c.
Same problem here. It affects both of my Synology NASs: DS1817+ and DS218j. They are both running DSM v6.2.2
Joseph made a fix to the Synology packages ~2 months ago. Maybe they never made it into the release though. He provided me special packages directly.
Hey everyone, my apologies for taking so long on this. Here's an updated set of packages to preview 1.4.0
. It addresses the following issues:
insmod /lib/modules/tun.ko
issued upon each reboot (and start of the service). See tickets zerotier/ZeroTierNAS#41 and zerotier/ZeroTierNAS#43 /var/lib/zerotier-one
, and are now preserved across uninstalls, reinstalls, updates, etc. Prior to this version, during uninstall we were intentionally deleting your identity files just for thoroughness but this seems to be annoying to most users (rightly so). So uninstalling and updating to this version is the last time that your configuration will get wiped. See tickets zerotier/ZeroTierNAS#41To view logs for this package, see: /var/log/packages/zerotier.log
the armada 38x version is not starting.
Does it say anything if you ssh in and try to run: sudo /volume1/@appstore/zerotier/bin/zerotier-one
Assuming your installation is on volume1
that is.
I don't have any units of this model classification to test on :/
I have the same issue on my ds218j. I tried installing the update and did the ssh instruction you asked for:
admin@ds218j:/volume1/@appstore/zerotier/bin$ sudo ./zerotier-one pure virtual method called terminate called without an active exception Aborted admin@ds218j:/volume1/@appstore/zerotier/bin$
And here's the full /var/log/packages/zerotier.log:
sudo cat /var/log/packages/zerotier.log 2019/05/16 02:32:35 (system) trigger zerotier 1.2.8r0 Begin start-stop-status start Starting ZeroTier cat: /var/lib/zerotier-one/watchdog.pid: No such file or directory kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] 2019/05/16 02:32:36 (system) trigger zerotier 1.2.8r0 End start-stop-status start ret=[0] /usr/local/zerotier/bin/zerotier-one: fatal error: cannot bind to local control interface port 2019/06/04 21:17:15 (system) trigger zerotier 1.2.8r0 Begin start-stop-status start Starting ZeroTier /usr/local/zerotier/bin/zerotier-watchdog.sh: line 120: kill: (10997) - No such process 2019/06/04 21:17:18 (system) trigger zerotier 1.2.8r0 End start-stop-status start ret=[0] ERROR: unable to add ip addresses to ifcfg 2019/07/02 23:54:01 (system) trigger zerotier 1.2.8r0 Begin start-stop-status stop 9008 5624 Stopping ZeroTier 2019/07/02 23:54:02 (system) trigger zerotier 1.2.8r0 End start-stop-status stop ret=[0] 2019/07/02 23:56:42 (system) trigger zerotier 1.2.8r0 Begin start-stop-status start Starting ZeroTier cat: /var/lib/zerotier-one/watchdog.pid: No such file or directory kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] 2019/07/02 23:56:44 (system) trigger zerotier 1.2.8r0 End start-stop-status start ret=[0] /usr/local/zerotier/bin/zerotier-one: fatal error: cannot bind to local control interface port 2019/07/06 20:08:00 upgrade zerotier 1.2.8r0 Begin start-stop-status stop 8460 Stopping ZeroTier 2019/07/06 20:08:00 upgrade zerotier 1.2.8r0 End start-stop-status stop ret=[0] 2019/07/06 20:08:01 upgrade zerotier 1.2.8r0 Begin preupgrade 2019/07/06 20:08:01 upgrade zerotier 1.2.8r0 End preupgrade ret=[0] 2019/07/06 20:08:01 upgrade zerotier 1.2.8r0 Begin preuninst zerotier-one: no process found rm: cannot remove '/usr/local/': Is a directory 2019/07/06 20:08:01 upgrade zerotier 1.2.8r0 End preuninst ret=[0] 2019/07/06 20:08:01 upgrade zerotier 1.2.8r0 Begin /bin/rm -rf /volume1/@appstore/zerotier 2019/07/06 20:08:01 upgrade zerotier 1.2.8r0 End /bin/rm -rf /volume1/@appstore/zerotier ret=[0] 2019/07/06 20:08:01 upgrade zerotier 1.2.8r0 Begin postuninst 2019/07/06 20:08:01 upgrade zerotier 1.2.8r0 End postuninst ret=[0] 2019/07/06 20:08:01 upgrade zerotier 1.2.12-1 Begin preinst 2019/07/06 20:08:01 upgrade zerotier 1.2.12-1 End preinst ret=[0] 2019/07/06 20:08:01 upgrade zerotier 1.2.12-1 Begin /bin/mv -f /volume1/@tmp/pkginstall/package /volume1/@appstore/zerotier 2019/07/06 20:08:02 upgrade zerotier 1.2.12-1 End /bin/mv -f /volume1/@tmp/pkginstall/package /volume1/@appstore/zerotier ret=[0] 2019/07/06 20:08:02 upgrade zerotier 1.2.12-1 Begin /bin/mkdir -p /var/packages/zerotier 2019/07/06 20:08:02 upgrade zerotier 1.2.12-1 End /bin/mkdir -p /var/packages/zerotier ret=[0] 2019/07/06 20:08:02 upgrade zerotier 1.2.12-1 Begin /bin/mv -f /volume1/@tmp/pkginstall/INFO /var/packages/zerotier/INFO 2019/07/06 20:08:02 upgrade zerotier 1.2.12-1 End /bin/mv -f /volume1/@tmp/pkginstall/INFO /var/packages/zerotier/INFO ret=[0] 2019/07/06 20:08:02 upgrade zerotier 1.2.12-1 Begin /bin/rm -rf /var/packages/zerotier/scripts 2019/07/06 20:08:02 upgrade zerotier 1.2.12-1 End /bin/rm -rf /var/packages/zerotier/scripts ret=[0] 2019/07/06 20:08:02 upgrade zerotier 1.2.12-1 Begin /bin/mv -f /volume1/@tmp/pkginstall/scripts /var/packages/zerotier/scripts 2019/07/06 20:08:03 upgrade zerotier 1.2.12-1 End /bin/mv -f /volume1/@tmp/pkginstall/scripts /var/packages/zerotier/scripts ret=[0] 2019/07/06 20:08:03 upgrade zerotier 1.2.12-1 Begin /bin/rm -rf /var/packages/zerotier/conf 2019/07/06 20:08:03 upgrade zerotier 1.2.12-1 End /bin/rm -rf /var/packages/zerotier/conf ret=[0] 2019/07/06 20:08:03 upgrade zerotier 1.2.12-1 Begin /bin/mv -f /volume1/@tmp/pkginstall/conf /var/packages/zerotier/conf 2019/07/06 20:08:03 upgrade zerotier 1.2.12-1 End /bin/mv -f /volume1/@tmp/pkginstall/conf /var/packages/zerotier/conf ret=[0] 2019/07/06 20:08:03 upgrade zerotier 1.2.12-1 Begin postinst 2019/07/06 20:08:04 upgrade zerotier 1.2.12-1 End postinst ret=[0] 2019/07/06 20:08:04 upgrade zerotier 1.2.12-1 Begin postupgrade 2019/07/06 20:08:04 upgrade zerotier 1.2.12-1 End postupgrade ret=[0] 2019/07/06 20:08:12 upgrade zerotier 1.2.12-1 Begin start-stop-status start 2019/07/06 20:08:13 upgrade zerotier 1.2.12-1 End start-stop-status start ret=[0] 2019/07/06 20:08:14 upgrade zerotier 1.2.12-1 Begin /bin/rm -rf /volume1/@tmp/pkginstall 2019/07/06 20:08:14 upgrade zerotier 1.2.12-1 End /bin/rm -rf /volume1/@tmp/pkginstall ret=[0] 2019/07/06 20:08:50 stop zerotier 1.2.12-1 Begin start-stop-status stop 31919 2019/07/06 20:08:50 stop zerotier 1.2.12-1 End start-stop-status stop ret=[0] 2019/07/06 20:09:04 start zerotier 1.2.12-1 Begin start-stop-status start 31919 2019/07/06 20:09:04 start zerotier 1.2.12-1 End start-stop-status start ret=[0] 2019/07/06 20:09:17 start zerotier 1.2.12-1 Begin start-stop-status stop 2019/07/06 20:09:17 start zerotier 1.2.12-1 End start-stop-status stop ret=[0] 2019/07/06 20:09:18 start zerotier 1.2.12-1 Begin start-stop-status start 2019/07/06 20:09:19 start zerotier 1.2.12-1 End start-stop-status start ret=[0] Requesting IPV4 Routes Requesting IPV6 Routes Requesting Interface List connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: Connection timed out connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: Connection timed out connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: Connection timed out connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host 2019/07/11 02:25:08 (system) trigger zerotier 1.2.12-1 Begin start-stop-status stop 1384 2019/07/11 02:25:09 (system) trigger zerotier 1.2.12-1 End start-stop-status stop ret=[0] 2019/07/11 02:27:52 (system) trigger zerotier 1.2.12-1 Begin start-stop-status start 2019/07/11 02:27:54 (system) trigger zerotier 1.2.12-1 End start-stop-status start ret=[0] Requesting IPV4 Routes Requesting IPV6 Routes Requesting Interface List ERROR: unable to configure virtual network port: could not open TUN/TAP device: No such file or directory ERROR: unable to configure virtual network port: could not open TUN/TAP device: No such file or directory connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host recv: Connection reset by peer connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: Connection refused connect: Connection refused connect: Connection refused connect: Connection refused connect: Connection refused connect: Connection refused connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host 2019/07/15 11:50:05 (system) trigger zerotier 1.2.12-1 Begin start-stop-status stop 7918 2019/07/15 11:50:05 (system) trigger zerotier 1.2.12-1 End start-stop-status stop ret=[0] 2019/07/15 11:53:38 (system) trigger zerotier 1.2.12-1 Begin start-stop-status start 2019/07/15 11:53:40 (system) trigger zerotier 1.2.12-1 End start-stop-status start ret=[0] Requesting IPV4 Routes Requesting IPV6 Routes Requesting Interface List ERROR: unable to configure virtual network port: could not open TUN/TAP device: No such file or directory ERROR: unable to configure virtual network port: could not open TUN/TAP device: No such file or directory connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host connect: No route to host 2019/07/29 21:00:12 (system) trigger zerotier 1.2.12-1 Begin start-stop-status stop 7820 2019/07/29 21:00:12 (system) trigger zerotier 1.2.12-1 End start-stop-status stop ret=[0] 2019/07/29 21:05:00 (system) trigger zerotier 1.2.12-1 Begin start-stop-status start 2019/07/29 21:05:01 (system) trigger zerotier 1.2.12-1 End start-stop-status start ret=[0] Requesting IPV4 Routes Requesting IPV6 Routes Requesting Interface List ERROR: unable to configure virtual network port: could not open TUN/TAP device: No such file or directory ERROR: unable to configure virtual network port: could not open TUN/TAP device: No such file or directory 2019/07/29 21:28:00 upgrade zerotier 1.2.12-1 Begin start-stop-status stop 7761 2019/07/29 21:28:00 upgrade zerotier 1.2.12-1 End start-stop-status stop ret=[0] 2019/07/29 21:28:01 upgrade zerotier 1.2.12-1 Begin preupgrade 2019/07/29 21:28:01 upgrade zerotier 1.2.12-1 End preupgrade ret=[0] 2019/07/29 21:28:01 upgrade zerotier 1.2.12-1 Begin preuninst 2019/07/29 21:28:01 upgrade zerotier 1.2.12-1 End preuninst ret=[0] 2019/07/29 21:28:01 upgrade zerotier 1.2.12-1 Begin /bin/rm -rf /volume1/@appstore/zerotier 2019/07/29 21:28:01 upgrade zerotier 1.2.12-1 End /bin/rm -rf /volume1/@appstore/zerotier ret=[0] 2019/07/29 21:28:01 upgrade zerotier 1.2.12-1 Begin postuninst 2019/07/29 21:28:01 upgrade zerotier 1.2.12-1 End postuninst ret=[0] 2019/07/29 21:28:01 upgrade zerotier 1.4.0 BETA-0 Begin preinst 2019/07/29 21:28:01 upgrade zerotier 1.4.0 BETA-0 End preinst ret=[0] 2019/07/29 21:28:01 upgrade zerotier 1.4.0 BETA-0 Begin /bin/mv -f /volume1/@tmp/pkginstall/package /volume1/@appstore/zerotier 2019/07/29 21:28:01 upgrade zerotier 1.4.0 BETA-0 End /bin/mv -f /volume1/@tmp/pkginstall/package /volume1/@appstore/zerotier ret=[0] 2019/07/29 21:28:01 upgrade zerotier 1.4.0 BETA-0 Begin /bin/mkdir -p /var/packages/zerotier 2019/07/29 21:28:01 upgrade zerotier 1.4.0 BETA-0 End /bin/mkdir -p /var/packages/zerotier ret=[0] 2019/07/29 21:28:01 upgrade zerotier 1.4.0 BETA-0 Begin /bin/mv -f /volume1/@tmp/pkginstall/INFO /var/packages/zerotier/INFO 2019/07/29 21:28:01 upgrade zerotier 1.4.0 BETA-0 End /bin/mv -f /volume1/@tmp/pkginstall/INFO /var/packages/zerotier/INFO ret=[0] 2019/07/29 21:28:01 upgrade zerotier 1.4.0 BETA-0 Begin /bin/rm -rf /var/packages/zerotier/scripts 2019/07/29 21:28:01 upgrade zerotier 1.4.0 BETA-0 End /bin/rm -rf /var/packages/zerotier/scripts ret=[0] 2019/07/29 21:28:01 upgrade zerotier 1.4.0 BETA-0 Begin /bin/mv -f /volume1/@tmp/pkginstall/scripts /var/packages/zerotier/scripts 2019/07/29 21:28:01 upgrade zerotier 1.4.0 BETA-0 End /bin/mv -f /volume1/@tmp/pkginstall/scripts /var/packages/zerotier/scripts ret=[0] 2019/07/29 21:28:01 upgrade zerotier 1.4.0 BETA-0 Begin /bin/rm -rf /var/packages/zerotier/conf 2019/07/29 21:28:01 upgrade zerotier 1.4.0 BETA-0 End /bin/rm -rf /var/packages/zerotier/conf ret=[0] 2019/07/29 21:28:01 upgrade zerotier 1.4.0 BETA-0 Begin /bin/mv -f /volume1/@tmp/pkginstall/conf /var/packages/zerotier/conf 2019/07/29 21:28:01 upgrade zerotier 1.4.0 BETA-0 End /bin/mv -f /volume1/@tmp/pkginstall/conf /var/packages/zerotier/conf ret=[0] 2019/07/29 21:28:01 upgrade zerotier 1.4.0 BETA-0 Begin postinst 2019/07/29 21:28:02 upgrade zerotier 1.4.0 BETA-0 End postinst ret=[0] 2019/07/29 21:28:02 upgrade zerotier 1.4.0 BETA-0 Begin postupgrade 2019/07/29 21:28:02 upgrade zerotier 1.4.0 BETA-0 End postupgrade ret=[0] 2019/07/29 21:28:04 upgrade zerotier 1.4.0 BETA-0 Begin start-stop-status start insmod: ERROR: could not insert module /lib/modules/tun.ko: File exists 2019/07/29 21:28:05 upgrade zerotier 1.4.0 BETA-0 End start-stop-status start ret=[0] pure virtual method called terminate called without an active exception 2019/07/29 21:28:05 upgrade zerotier 1.4.0 BETA-0 Begin /bin/rm -rf /volume1/@tmp/pkginstall 2019/07/29 21:28:05 upgrade zerotier 1.4.0 BETA-0 End /bin/rm -rf /volume1/@tmp/pkginstall ret=[0] 2019/07/29 21:28:11 install zerotier 1.4.0 BETA-0 Begin start-stop-status stop 2019/07/29 21:28:11 install zerotier 1.4.0 BETA-0 End start-stop-status stop ret=[0] 2019/07/29 21:28:12 install zerotier 1.4.0 BETA-0 Begin start-stop-status start insmod: ERROR: could not insert module /lib/modules/tun.ko: File exists 2019/07/29 21:28:13 install zerotier 1.4.0 BETA-0 End start-stop-status start ret=[0] pure virtual method called terminate called without an active exception 2019/07/29 21:28:26 start zerotier 1.4.0 BETA-0 Begin start-stop-status stop 2019/07/29 21:28:26 start zerotier 1.4.0 BETA-0 End start-stop-status stop ret=[0] 2019/07/29 21:28:27 start zerotier 1.4.0 BETA-0 Begin start-stop-status start insmod: ERROR: could not insert module /lib/modules/tun.ko: File exists 2019/07/29 21:28:28 start zerotier 1.4.0 BETA-0 End start-stop-status start ret=[0] pure virtual method called terminate called without an active exception 2019/07/29 21:28:49 start zerotier 1.4.0 BETA-0 Begin start-stop-status stop 2019/07/29 21:28:49 start zerotier 1.4.0 BETA-0 End start-stop-status stop ret=[0] 2019/07/29 21:28:50 start zerotier 1.4.0 BETA-0 Begin start-stop-status start insmod: ERROR: could not insert module /lib/modules/tun.ko: File exists 2019/07/29 21:28:51 start zerotier 1.4.0 BETA-0 End start-stop-status start ret=[0] pure virtual method called terminate called without an active exception
Does it say anything if you ssh in and try to run:
sudo /volume1/@appstore/zerotier/bin/zerotier-one
it says
$ sudo /volume1/@appstore/zerotier/bin/zerotier-one
Password: ************
pure virtual method called
terminate called without an active exception
Aborted
$
Closing this ticket due to age. We intend to fix this issue and support the DS918+ with our upcoming 1.6.0 packages. If this issue persists with the new packages please re-open another ticket.
The DS218j may not receive support in the 1.6.0 packages but I will try my best. After these new packages are released I would recommend opening a new (separate) ticket if this issue exists.
I have noticed recently that ZT does not connect properly after rebooting my NAS. All preconfigured settings: network, IP, etc are there when I listnetworks, but under status it says PORT_ERROR.
Leaving and rejoining the network does not fix the problem.
The only thing that seems to work is uninstalling and reinstalling the package, and adding the new member ID to my network.
Package version I'm using is 1.2.12r1
I have tried the following:
dev/net/tun
ps aux | grep zerotier
/var/packages/zerotier/target/var
zerotier-cli
commands as rootI am aware of the following
Other important information