( SzakiLaci | 2023. 06. 03., szo – 14:51 )

Köszönöm szépen!

Fura... ez ismétlődik:

 

Jun 03 11:58:41 vpnm systemd[1]: headscale.service: Scheduled restart job, restart counter is at 1.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ Automatic restarting of the unit headscale.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Jun 03 11:58:36 vpnm systemd[1]: headscale.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit headscale.service has entered the 'failed' state with result 'exit-code'.
Jun 03 11:58:36 vpnm systemd[1]: headscale.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ An ExecStart= process belonging to unit headscale.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Jun 03 11:58:36 vpnm headscale[36827]: 2023-06-03T11:58:36+02:00 FTL ../../../home/runner/work/headscale/headscale/cmd/headscale/cli/server.go:26 > Error start>
Jun 03 11:58:36 vpnm headscale[36827]: 2023-06-03T11:58:36+02:00 INF listening and serving gRPC on: 127.0.0.1:50443
Jun 03 11:58:36 vpnm headscale[36827]: 2023-06-03T11:58:36+02:00 INF Enabling remote gRPC at 127.0.0.1:50443
Jun 03 11:58:36 vpnm headscale[36827]: 2023-06-03T11:58:36+02:00 INF Setting up a DERPMap update worker frequency=86400000
Jun 03 11:58:36 vpnm headscale[36827]: 2023-06-03T11:58:36+02:00 INF No private key file at path, creating... path=/var/lib/headscale/noise_private.key
Jun 03 11:58:36 vpnm headscale[36827]: 2023-06-03T11:58:36+02:00 INF No private key file at path, creating... path=/var/lib/headscale/private.key
Jun 03 11:58:36 vpnm systemd[1]: Started headscale coordination server for Tailscale.
░░ Subject: A start job for unit headscale.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit headscale.service has finished successfully.
░░
░░ The job identifier is 1342.

 

 

Jól értelmezem, hogy annak ellenére, hogy "finished successfully", mégis újraindítja magát?

 

Státusz lekérdezés:

root@vpnm:~# systemctl status headscale
● headscale.service - headscale coordination server for Tailscale
     Loaded: loaded (/lib/systemd/system/headscale.service; enabled; vendor preset: enabled)
     Active: inactive (dead) (Result: exit-code) since Sat 2023-06-03 12:03:07 CEST; 2h 46min ago
    Process: 39311 ExecStart=/usr/bin/headscale serve (code=exited, status=1/FAILURE)
   Main PID: 39311 (code=exited, status=1/FAILURE)
        CPU: 139ms

Jun 03 12:03:07 vpnm systemd[1]: Stopped headscale coordination server for Tailscale.