Clear removal of Redis in the rfc5766-turn-server AMI

41 views
Skip to first unread message

Art Matsak

unread,
Aug 4, 2015, 10:09:09 AM8/4/15
to TURN Server (Open-Source project)
I have launched an EC2 instance from the rfc5766-turn-server AMI. I would like to use the server with the REST API so I won't need all of the database servers. I have removed MySQL and PostgreSQL using yum, which worked nicely. Now, I'd like to remove Redis or at least prevent it from starting automatically on boot. The thing is, it's not a yum package. Should I just stop the server and remove the K36redis_6379 symlinks in /etc/rc.d/rc*.d?

Oleg Moskalenko

unread,
Aug 4, 2015, 11:21:47 AM8/4/15
to Art Matsak, TURN Server (Open-Source project)
You have to remove the start scripts.

But even with REST, having a database is convenient. How you are going to update the password ? Restart the Turn server every time ?

Sent from my iPhone

On Aug 4, 2015, at 7:09 AM, Art Matsak <ama...@gmail.com> wrote:

I have launched an EC2 instance from the rfc5766-turn-server AMI. I would like to use the server with the REST API so I won't need all of the database servers. I have removed MySQL and PostgreSQL using yum, which worked nicely. Now, I'd like to remove Redis or at least prevent it from starting automatically on boot. The thing is, it's not a yum package. Should I just stop the server and remove the K36redis_6379 symlinks in /etc/rc.d/rc*.d?

--
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 http://groups.google.com/group/turn-server-project-rfc5766-turn-server.
For more options, visit https://groups.google.com/d/optout.

Art Matsak

unread,
Aug 4, 2015, 3:47:05 PM8/4/15
to TURN Server (Open-Source project), ama...@gmail.com
Thank you, Oleg. I'm just planning to use a static auth secret for now.

By start scripts, you mean /etc/init.d/redis_6379 and /etc/rc.d/init.d/redis_6379?

BTW, when I try to stop Redis by issuing sudo /etc/init.d/redis_6379 stop I get this:

Stopping ...
(error) ERR operation not permitted
Waiting for Redis to shutdown ...
Waiting for Redis to shutdown ...
Waiting for Redis to shutdown ...


And it just continues indefinitely.

On Tuesday, August 4, 2015 at 5:21:47 PM UTC+2, Oleg Moskalenko wrote:
You have to remove the start scripts.

But even with REST, having a database is convenient. How you are going to update the password ? Restart the Turn server every time ?

Sent from my iPhone

On Aug 4, 2015, at 7:09 AM, Art Matsak <ama...@gmail.com> wrote:

I have launched an EC2 instance from the rfc5766-turn-server AMI. I would like to use the server with the REST API so I won't need all of the database servers. I have removed MySQL and PostgreSQL using yum, which worked nicely. Now, I'd like to remove Redis or at least prevent it from starting automatically on boot. The thing is, it's not a yum package. Should I just stop the server and remove the K36redis_6379 symlinks in /etc/rc.d/rc*.d?

--
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-rfc5766-turn-server+unsubscribe@googlegroups.com.
To post to this group, send email to turn-server-project-rfc5766-turn-...@googlegroups.com.

Oleg Moskalenko

unread,
Aug 5, 2015, 3:00:48 AM8/5/15
to Art Matsak, TURN Server (Open-Source project)
On Tue, Aug 4, 2015 at 12:47 PM, Art Matsak <ama...@gmail.com> wrote:
> Thank you, Oleg. I'm just planning to use a static auth secret for now.
>
> By start scripts, you mean /etc/init.d/redis_6379 and
> /etc/rc.d/init.d/redis_6379?

whatever redis scripts are there.

>
> BTW, when I try to stop Redis by issuing sudo /etc/init.d/redis_6379 stop I
> get this:
>
> Stopping ...
> (error) ERR operation not permitted
> Waiting for Redis to shutdown ...
> Waiting for Redis to shutdown ...
> Waiting for Redis to shutdown ...
>
> And it just continues indefinitely.

Just remove the scripts, and you will not need it anymore.

>
> On Tuesday, August 4, 2015 at 5:21:47 PM UTC+2, Oleg Moskalenko wrote:
>>
>> You have to remove the start scripts.
>>
>> But even with REST, having a database is convenient. How you are going to
>> update the password ? Restart the Turn server every time ?
>>
>> Sent from my iPhone
>>
>> On Aug 4, 2015, at 7:09 AM, Art Matsak <ama...@gmail.com> wrote:
>>
>> I have launched an EC2 instance from the rfc5766-turn-server AMI. I would
>> like to use the server with the REST API so I won't need all of the database
>> servers. I have removed MySQL and PostgreSQL using yum, which worked nicely.
>> Now, I'd like to remove Redis or at least prevent it from starting
>> automatically on boot. The thing is, it's not a yum package. Should I just
>> stop the server and remove the K36redis_6379 symlinks in /etc/rc.d/rc*.d?
>>
>> --
>> 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.
> --
> 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.

Art Matsak

unread,
Aug 6, 2015, 5:25:05 AM8/6/15
to TURN Server (Open-Source project), ama...@gmail.com
Thank you, Oleg.
>> To post to this group, send email to
>> Visit this group at
>> http://groups.google.com/group/turn-server-project-rfc5766-turn-server.
>> For more options, visit https://groups.google.com/d/optout.
>
> --
> 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
> To post to this group, send email to
Reply all
Reply to author
Forward
0 new messages