[SR-Users] How to prevent running multiple Kamailio instances on one host?

Brian : brians at iptel.co
Thu Apr 27 22:28:11 CEST 2017


create an alias -

alias kamailio='echo do not run kamailio from the command line'

add it to /etc/bashrc (or whatever your distro equivalent is)


On Thu, Apr 27, 2017 at 7:01 PM, Julia Boudniatsky <juliabo at gmail.com> wrote:
> Hello Antony,
>
> Thank you for reply.
>
> One Kamailio has been started via /etc/init.d/kamailio, and second somebody
> start in command line (by typing kamailio only)
>
> Julia
>
> On Thu, Apr 27, 2017 at 8:55 PM, Antony Stone
> <Antony.Stone at kamailio.open.source.it> wrote:
>>
>> On Thursday 27 April 2017 at 18:52:22, Julia Boudniatsky wrote:
>>
>> > What is you suggestion for prevent running multiple Kamailio instances
>> > on
>> > one host?
>>
>> How are you getting these occurring by accident?
>>
>> Basically, you start Kamailio, and a Kamailio process is running - another
>> one
>> will only run if you start another one, so how is that happening?
>>
>>
>> Antony.
>>
>> --
>> We all get the same amount of time - twenty-four hours per day.
>> How you use it is up to you.
>>
>>                                                    Please reply to the
>> list;
>>                                                          please *don't* CC
>> me.
>>
>> _______________________________________________
>> Kamailio (SER) - Users Mailing List
>> sr-users at lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>



More information about the sr-users mailing list