CentOS 7.2 - failing

337 views
Skip to first unread message

Sprogrammer

unread,
Nov 14, 2016, 8:28:21 AM11/14/16
to TURN Server (Open-Source project)
CentOS 7.2 - Any idea why not running?


config file:


lt-cred-mech

fingerprint

realm=testing.com

cert=/root/all.pem

pkey=/root/all.pem

verbose

syslog

tls-listening-port=7443

listening-port=7080

pidfile="/var/run/turnserver.pid"




$ wget turnserver-4.5.0.5-CentOS7.2-x86_64.tar.gz

$ ./install.sh


# systemctl restart turnserver.service



Job for turnserver.service failed because a timeout was exceeded. See "systemctl status turnserver.service" and "journalctl -xe" for details.

$ systemctl status turnserver.service

turnserver.service - coturn

   Loaded: loaded (/usr/lib/systemd/system/turnserver.service; disabled; vendor preset: disabled)

   Active: failed (Result: timeout) since Mon 2016-11-14 13:18:54 UTC; 11s ago

     Docs: man:coturn(1)

           man:turnadmin(1)

           man:turnserver(1)

  Process: 3435 ExecStart=/usr/bin/turnserver -o -c /etc/turnserver/turnserver.conf $EXTRA_OPTIONS (code=exited, status=0/SUCCESS)


Nov 14 13:17:24 pm-centos7.2 turnserver[3436]: 0: IPv6. SCTP listener opened on : ::1:7081

Nov 14 13:17:24 pm-centos7.2 turnserver[3436]: 0: IPv6. TCP listener opened on : ::1:7081

Nov 14 13:17:24 pm-centos7.2 turnserver[3436]: 0: IPv4. TCP listener opened on : 10.14.0.5:7080

Nov 14 13:17:24 pm-centos7.2 turnserver[3436]: 0: IPv4. TCP listener opened on : 10.14.0.5:7081

Nov 14 13:17:24 pm-centos7.2 turnserver[3436]: 0: IPv6. TCP listener opened on : ::1:7080

Nov 14 13:17:24 pm-centos7.2 turnserver[3436]: 0: IPv6. TCP listener opened on : ::1:7081

Nov 14 13:18:54 pm-centos7.2 systemd[1]: turnserver.service start operation timed out. Terminating.

Nov 14 13:18:54 pm-centos7.2 systemd[1]: Failed to start coturn.

Nov 14 13:18:54 pm-centos7.2 systemd[1]: Unit turnserver.service entered failed state.

Nov 14 13:18:54 pm-centos7.2 systemd[1]: turnserver.service failed.



Sprogrammer

unread,
Nov 14, 2016, 8:45:53 AM11/14/16
to TURN Server (Open-Source project)
Replaced /usr/lib/systemd/system/turnserver.service into following and now working back!!! Why the default systemd file was not working?






[Unit]

Description=rfc5766-turn-server

Documentation=man:rfc5766-turn-server(1) man:turnadmin(1) man:turnserver(1)

After=syslog.target network.target


[Service]

Type=forking

EnvironmentFile=/etc/sysconfig/turnserver

PIDFile=/var/run/turnserver.pid

ExecStart=/usr/bin/turnserver -o -c /etc/turnserver/turnserver.conf $EXTRA_OPTIONS

ExecStopPost=/usr/bin/rm -f /var/run/turnserver.pid

Restart=on-abort


 

[Install]

WantedBy=multi-user.target

Oleg Moskalenko

unread,
Nov 14, 2016, 12:07:53 PM11/14/16
to Sprogrammer, TURN Server (Open-Source project)
We will check that.

Sent from my iPhone
--
You received this message because you are subscribed to the Google Groups "TURN Server (Open-Source project)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turn-server-project-rfc57...@googlegroups.com.
To post to this group, send email to turn-server-project...@googlegroups.com.
Visit this group at https://groups.google.com/group/turn-server-project-rfc5766-turn-server.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages