remove turnservice through make on ubuntu

588 views
Skip to first unread message

Tech Leadz

unread,
May 13, 2017, 7:28:45 AM5/13/17
to TURN Server (Open-Source project)

I have ubuntu server on which i have installed coturn server. I have installed coturn server through configure, make and make install command. Then i have deleted the directory.


Now I want to uninstall the turn service because currently it is not support any database. You can see the logs below.


0: log file opened: /var/log/turn_31849_2017-05-13.log

0:

RFC 3489/5389/5766/5780/6062/6156 STUN/TURN Server

Version Coturn-4.5.0.6 'dan Eider'

0:

Max number of open files/sockets allowed for this process: 4096

0:

Due to the open files/sockets limitation,

max supported number of TURN Sessions possible is: 2000 (approximately)

0:


==== Show him the instruments, Practical Frost: ====


0: TLS supported

0: DTLS supported

0: DTLS 1.2 supported

0: TURN/STUN ALPN supported

0: Third-party authorization (oAuth) supported

0: GCM (AEAD) supported

0: OpenSSL compile-time version: OpenSSL 1.0.2g-fips  1 Mar 2016 (0x1000207f)

0:

0: SQLite is not supported

0: Redis is not supported

0: PostgreSQL is not supported

0: MySQL is not supported

0: MongoDB is not supported

0:

0: Default Net Engine version: 3 (UDP thread per CPU core)


=====================================================


0: Config file found: /usr/local/etc/turnserver.conf

0: Listener address to use: mypublicip

0: Relay address to use: mypublicip

0: Bad configuration format: mysql-userdb

^Z

[1]+  Stopped                 turnserver



I have tried the following command to uninstall it but it doesn't work because i have deleted the directory.

make deinstall 


Can any one please let me know that there is any other way to uninstall it Or rebuild it with mysql?

Oleg Moskalenko

unread,
May 13, 2017, 3:39:08 PM5/13/17
to Tech Leadz, TURN Server (Open-Source project)
1) Download the same source tarball as you have.
2) Unpack
3) Configure
4) Run make uninstall command

Then:

1) Download the latest tarball.
2) Unpack.
3) Configure. It must pick up at least SQLite. SQLite is the
recommended database as of now.
4) Install
> --
> 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.

Tech Leadz

unread,
May 13, 2017, 4:07:58 PM5/13/17
to TURN Server (Open-Source project)
Hi Oleg,

Thanks for your reply

can you please let me know that how can i compile it with mysql.

Thanks, 

Oleg Moskalenko

unread,
May 13, 2017, 6:03:42 PM5/13/17
to Tech Leadz, TURN Server (Open-Source project)
You do not have to do anything. Just install mysql development
packages on your system, and run configure and make.

Tech Leadz

unread,
May 15, 2017, 9:48:25 AM5/15/17
to TURN Server (Open-Source project)
Thanks Oleg... This works. 

Now ip:port is showing turn server text. I have created it through mysql supoort. But when i tried it in tickle-ice. I got following results which is showing no relay server. 



I have created the user using following command which i am using to access my turnserver. 

turnadmin -a -M “host=localhost dbname=turn user=turn password=turn” -u altanai -r mycompany.com -p 123456


I am directly using these username and password. It seems that it is not authenticating from mysql server. 



On Saturday, May 13, 2017 at 4:28:45 PM UTC+5, Tech Leadz wrote:
Reply all
Reply to author
Forward
0 new messages