[Freedombox-discuss] Coturn service fails to start on normal boot, but works with manual start.

A. F. Cano afc54 at comcast.net
Sun Jan 30 23:15:50 GMT 2022


After a normal start or reboot cockpit says that coturn failed to start.

$ sudo systemctl status coturn
● coturn.service - coTURN STUN/TURN Server
     Loaded: loaded (/lib/systemd/system/coturn.service; enabled; vendor prese>
    Drop-In: /usr/lib/systemd/system/coturn.service.d
             └─freedombox.conf
     Active: failed (Result: exit-code) since Sun 2022-01-30 17:32:36 EST; 4mi>
       Docs: man:coturn(1)
             man:turnadmin(1)
             man:turnserver(1)
    Process: 634 ExecStart=/usr/bin/turnserver -c /etc/coturn/freedombox.conf >
   Main PID: 634 (code=exited, status=255/EXCEPTION)
        CPU: 194ms

Jan 30 17:32:35 fbx turnserver[634]:                                          >
Jan 30 17:32:35 fbx turnserver[634]:  --cli-max-output-sessions               >
Jan 30 17:32:35 fbx turnserver[634]:                                          >
Jan 30 17:32:35 fbx turnserver[634]:  --ne=[1|2|3]                            >
Jan 30 17:32:35 fbx turnserver[634]:  -h                                      >
Jan 30 17:32:36 fbx systemd[1]: coturn.service: Scheduled restart job, restart>
Jan 30 17:32:36 fbx systemd[1]: Stopped coTURN STUN/TURN Server.
Jan 30 17:32:36 fbx systemd[1]: coturn.service: Start request repeated too qui>
Jan 30 17:32:36 fbx systemd[1]: coturn.service: Failed with result 'exit-code'.
Jan 30 17:32:36 fbx systemd[1]: Failed to start coTURN STUN/TURN Server.

But after a manual start:

$ sudo systemctl start coturn

$ sudo systemctl status coturn
● coturn.service - coTURN STUN/TURN Server
     Loaded: loaded (/lib/systemd/system/coturn.service; enabled; vendor prese>
    Drop-In: /usr/lib/systemd/system/coturn.service.d
             └─freedombox.conf
     Active: active (running) since Sun 2022-01-30 17:36:59 EST; 35min ago
       Docs: man:coturn(1)
             man:turnadmin(1)
             man:turnserver(1)
   Main PID: 3621 (turnserver)
      Tasks: 7 (limit: 4641)
     Memory: 11.8M
        CPU: 2.450s
     CGroup: /system.slice/coturn.service
             └─3621 /usr/bin/turnserver -c /etc/coturn/freedombox.conf --pidfi>

Jan 30 17:36:59 fbx turnserver[3621]: 0: : Total General servers: 2
Jan 30 17:36:59 fbx turnserver[3621]: 0: : Total General servers: 2
Jan 30 17:36:59 fbx turnserver[3621]: 0: : IO method (auth thread): epoll (wit>
Jan 30 17:36:59 fbx turnserver[3621]: 0: : IO method (auth thread): epoll (wit>
Jan 30 17:36:59 fbx turnserver[3621]: 0: : IO method (admin thread): epoll (wi>
Jan 30 17:36:59 fbx turnserver[3621]: 0: : IO method (admin thread): epoll (wi>
Jan 30 17:36:59 fbx turnserver[3621]: 0: : IO method (auth thread): epoll (wit>
Jan 30 17:36:59 fbx turnserver[3621]: 0: : IO method (auth thread): epoll (wit>
Jan 30 17:36:59 fbx turnserver[3621]: 0: : SQLite DB connection success: /var/>
Jan 30 17:36:59 fbx turnserver[3621]: 0: : SQLite DB connection success: /var/>
lines 1-25/25 (END)

It works fine.

Augustine



More information about the Freedombox-discuss mailing list