Hi,
I installed this time tunneler on Ubuntu 20 LTS using this doc (Linux | OpenZiti) and it installed
● ziti-edge-tunnel.service - Ziti Edge Tunnel
Loaded: loaded (/etc/systemd/system/ziti-edge-tunnel.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2023-08-23 16:00:02 +03; 37s ago
Main PID: 1954367 (ziti-edge-tunne)
Tasks: 5 (limit: 4631)
Memory: 6.3M
CGroup: /system.slice/ziti-edge-tunnel.service
└─1954367 /opt/openziti/bin/ziti-edge-tunnel run --verbose=2 --dns-ip-range=100.64.0.1/10 --identity-dir=/opt/openziti/etc/identities
ztn ziti-edge-tunnel[1954367]: (1954367)[ 0.000] INFO ziti-sdk:utils.c:188 ziti_log_set_level() set log level: root=3/INFO
ztn ziti-edge-tunnel[1954367]: (1954367)[ 0.000] INFO tunnel-sdk:ziti_tunnel.c:60 create_tunneler_ctx() Ziti Tunneler SDK (v0.22.5-local)
ztn ziti-edge-tunnel[1954367]: (1954367)[ 0.000] INFO tunnel-cbs:ziti_dns.c:168 seed_dns() DNS configured with range 100.64.0.0 - 100.127.255.255 (4194302 ips)
ztn ziti-edge-tunnel[1954367]: (1954367)[ 0.000] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:1695 run_tunneler_loop() Loading identity files from /opt/openziti/etc/identities
ztn ziti-edge-tunnel[1954367]: (1954367)[ 0.000] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:1621 make_socket_path() effective group set to 'ziti' (gid=998)
ztn ziti-edge-tunnel[1954367]: (1954367)[ 0.000] WARN ziti-edge-tunnel:ziti-edge-tunnel.c:1665 make_socket_path() failed to set ownership of /tmp/.ziti to 998:998: Operation not permitted (err>
ztn ziti-edge-tunnel[1954367]: (1954367)[ 0.000] WARN ziti-edge-tunnel:ziti-edge-tunnel.c:1709 run_tunneler_loop() One or more socket servers did not properly start.
ztn ziti-edge-tunnel[1954367]: (1954367)[ 0.031] INFO ziti-edge-tunnel:resolvers.c:68 init_libsystemd() Initializing libsystemd
ztn ziti-edge-tunnel[1954367]: (1954367)[ 0.032] INFO ziti-edge-tunnel:resolvers.c:356 try_libsystemd_resolver() systemd-resolved selected as DNS resolver manager
ztn ziti-edge-tunnel[1954367]: (1954367)[ 0.051] INFO ziti-edge-tunnel:resolvers.c:400 dns_update_systemd_resolved() Setting wildcard routing only domain on interface: ziti0
Failed to add match 'xe': Invalid argument
root@ztn:~# journalctl -xe
ztn ziti-edge-tunnel[1954367]: (1954367)[ 0.000] INFO tunnel-sdk:ziti_tunnel.c:60 create_tunneler_ctx() Ziti Tunneler SDK (v0.22.5-local)
ztn ziti-edge-tunnel[1954367]: (1954367)[ 0.000] INFO tunnel-cbs:ziti_dns.c:168 seed_dns() DNS configured with range 100.64.0.0 - 100.127.255.255 (4194302 ips)
ztn ziti-edge-tunnel[1954367]: (1954367)[ 0.000] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:1695 run_tunneler_loop() Loading identity files from /opt/openziti/etc/identities
ztn ziti-edge-tunnel[1954367]: (1954367)[ 0.000] INFO ziti-edge-tunnel:ziti-edge-tunnel.c:1621 make_socket_path() effective group set to 'ziti' (gid=998)
ztn ziti-edge-tunnel[1954367]: (1954367)[ 0.000] WARN ziti-edge-tunnel:ziti-edge-tunnel.c:1665 make_socket_path() failed to set ownership of /tmp/.ziti to 998:998: Operation not permitted (err>
ztn ziti-edge-tunnel[1954367]: (1954367)[ 0.000] WARN ziti-edge-tunnel:ziti-edge-tunnel.c:1709 run_tunneler_loop() One or more socket servers did not properly start.
ztn ziti-edge-tunnel[1954367]: (1954367)[ 0.031] INFO ziti-edge-tunnel:resolvers.c:68 init_libsystemd() Initializing libsystemd
ztn ziti-edge-tunnel[1954367]: (1954367)[ 0.032] INFO ziti-edge-tunnel:resolvers.c:356 try_libsystemd_resolver() systemd-resolved selected as DNS resolver manager
ztn ziti-edge-tunnel[1954367]: (1954367)[ 0.051] INFO ziti-edge-tunnel:resolvers.c:400 dns_update_systemd_resolved() Setting wildcard routing only domain on interface: ziti0
ztn systemd-resolved[1936493]: Flushed all caches.
ztn systemd-resolved[1936493]: Resetting learnt feature levels on all servers.
ztn NetworkManager[901]: <info> [1692795602.3793] device (ziti0): state change: unmanaged -> unavailable (reason 'connection-assumed', sys-iface-state: 'external')
ztn NetworkManager[901]: <info> [1692795602.3818] device (ziti0): state change: unavailable -> disconnected (reason 'connection-assumed', sys-iface-state: 'external')
ztn NetworkManager[901]: <info> [1692795602.3825] device (ziti0): Activation: starting connection 'ziti0' (a90480d7-1257-403b-9de7-1d4008f8b756)
ztn NetworkManager[901]: <info> [1692795602.3826] device (ziti0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'external')
ztn NetworkManager[901]: <info> [1692795602.3829] device (ziti0): state change: prepare -> config (reason 'none', sys-iface-state: 'external')
ztn NetworkManager[901]: <info> [1692795602.3838] device (ziti0): state change: config -> ip-config (reason 'none', sys-iface-state: 'external')
ztn NetworkManager[901]: <info> [1692795602.3841] device (ziti0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'external')
But it is not showing on ZAC and after I restart
root@ztn:~# systemctl status ziti-edge-tunnel.service
● ziti-edge-tunnel.service - Ziti Edge Tunnel
Loaded: loaded (/etc/systemd/system/ziti-edge-tunnel.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Wed 2023-08-23 16:18:02 +03; 1s ago
Process: 1959570 ExecStartPre=/opt/openziti/bin/ziti-edge-tunnel.sh (code=exited, status=1/FAILURE)
---
-- A start job for unit ziti-edge-tunnel.service has begun execution.
--
-- The job identifier is 140416.
ztn ziti-edge-tunnel.sh[1959780]: (1959780)[ 0.000] INFO ziti-sdk:utils.c:188 ziti_log_set_level() set log level: root=3/INFO
ztn ziti-edge-tunnel.sh[1959780]: (1959780)[ 0.000] INFO ziti-sdk:utils.c:188 ziti_log_set_level() set log level: root=3/INFO
ztn ziti-edge-tunnel.sh[1959780]: (1959780)[ 0.000] INFO ziti-sdk:ziti_enroll.c:90 ziti_enroll() Ziti C SDK version 0.33.4 @27bac90(HEAD) starting enrollment at (2023-08-23T13:18:41.319)
ztn ziti-edge-tunnel.sh[1959780]: (1959780)[ 0.056] ERROR ziti-sdk:ziti_ctrl.c:154 ctrl_resp_cb() ctrl[ztn.io] request failed: -103(software caused connection abort)
ztn ziti-edge-tunnel.sh[1959780]: (1959780)[ 0.056] ERROR ziti-sdk:ziti_enroll.c:234 enroll_cb() failed to enroll with controller: https://ztn.io:8441 CONTROLLER_UNAVAILABLE (software ca>
ztn ziti-edge-tunnel.sh[1959780]: (1959780)[ 0.056] ERROR ziti-edge-tunnel:ziti-edge-tunnel.c:2137 enroll_cb() enrollment failed: CONTROLLER_UNAVAILABLE(-3)
ztn ziti-edge-tunnel.sh[1959776]: ERROR: failed to enroll http-server.jwt in /opt/openziti/etc/identities
ztn systemd[1]: ziti-edge-tunnel.service: Control process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- An ExecStartPre= process belonging to unit ziti-edge-tunnel.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
ztn systemd[1]: ziti-edge-tunnel.service: Failed with result 'exit-code'.
What could be wrong?
Thank you