[SR-Users] Kamailio, TLS, and LetsEncrypt

Giovanni Maruzzelli gmaruzz at gmail.com
Fri Apr 19 20:07:13 CEST 2019


Is not supposed to crash, particularly if you install from packages.

So, remove your configuration, disinstall kamailio, and reinstall from
scratch on a clean machine.

Then start kamailio with default configuration ( configuration installed by
package).

If it crashes, report here with full details.

If it does not crashes, add your configuration, and test again.



On Fri, Apr 19, 2019, 19:43 Gaurav Bmotra <saigauravmehra91 at gmail.com>
wrote:

> thank you for reply
> i use following link to install
> "
> https://computingforgeeks.com/how-to-install-latest-kamailio-sip-server-on-ubuntu-18-04-ubuntu-16-04/
> "
>
> On Fri, Apr 19, 2019 at 7:22 PM Giovanni Maruzzelli <gmaruzz at gmail.com>
> wrote:
>
>> Kamailio is crashing, I doubt that is related with the kind of
>> certificates.
>>
>> How do you installed Kamailio?
>>
>> -giovanni
>>
>>
>> On Fri, Apr 19, 2019 at 3:27 PM Gaurav Bmotra <saigauravmehra91 at gmail.com>
>> wrote:
>>
>>> thanks for reply
>>> it " LetsEncrypt  "creates the certs
>>> /etc/letsencrypt/csr/0000_csr-certbot.pem
>>>  /etc/letsencrypt/keys/0000_key-certbot.pem
>>>
>>>
>>> On Fri, Apr 19, 2019 at 6:45 PM David Villasmil <
>>> david.villasmil.work at gmail.com> wrote:
>>>
>>>> How did you create the certs? In terms of kamailio.
>>>>
>>>> On Fri, 19 Apr 2019 at 14:12, Gaurav Bmotra <saigauravmehra91 at gmail.com>
>>>> wrote:
>>>>
>>>>> HI
>>>>> this is Gaurav
>>>>> im using kamailio 5.1.2 on ubuntu 18.4
>>>>>
>>>>> i am trying to configure LetsEncrypt (tls) for kamailio sing following
>>>>> link
>>>>> https://www.fredposner.com/1836/kamailio-tls-and-letsencrypt/
>>>>>
>>>>> but unable to start kamailio ,i m getting these error
>>>>>
>>>>> ------->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>> Apr 19 11:23:57 ubuntufresh systemd[1]: Starting Kamailio (OpenSER) -
>>>>> the Open Source SIP Server...
>>>>> Apr 19 11:23:58 ubuntufresh kamailio[5365]: INFO: <core>
>>>>> [core/sctp_core.c:74]: sctp_core_check_support(): SCTP API not enabled - if
>>>>> you want to use it, load sctp module
>>>>> Apr 19 11:23:58 ubuntufresh kamailio[5365]: INFO: <core>
>>>>> [core/tcp_main.c:4721]: init_tcp(): using epoll_lt as the io watch method
>>>>> (auto detected)
>>>>> Apr 19 11:23:58 ubuntufresh kamailio[5365]: Listening on
>>>>> Apr 19 11:23:58 ubuntufresh kamailio[5365]: Aliases:
>>>>> Apr 19 11:23:58 ubuntufresh kernel: kamailio[5378]: segfault at 0 ip
>>>>> 00007f8d6fdac646 sp 00007ffe8e2337f8 error 4 in libc-2.27.so
>>>>> [7f8d6fcfb000+1e7000]
>>>>> Apr 19 11:23:58 ubuntufresh kamailio[5365]: ERROR: <core>
>>>>> [core/daemonize.c:303]: daemonize(): Main process exited before writing to
>>>>> pipe
>>>>> Apr 19 11:23:58 ubuntufresh systemd[1]: kamailio.service: Control
>>>>> process exited, code=exited status=255
>>>>> Apr 19 11:23:58 ubuntufresh systemd[1]: kamailio.service: Failed with
>>>>> result 'exit-code'.
>>>>> Apr 19 11:23:58 ubuntufresh systemd[1]: Failed to start Kamailio
>>>>> (OpenSER) - the Open Source SIP Server.
>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<------------------------------------
>>>>>
>>>>> plz help
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> *Regards:*
>>>>> Gaurav Kumar
>>>>>
>>>>> _______________________________________________
>>>>> Kamailio (SER) - Users Mailing List
>>>>> sr-users at lists.kamailio.org
>>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>>>
>>>> --
>>>> Regards,
>>>>
>>>> David Villasmil
>>>> email: david.villasmil.work at gmail.com
>>>> phone: +34669448337
>>>> _______________________________________________
>>>> Kamailio (SER) - Users Mailing List
>>>> sr-users at lists.kamailio.org
>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>>
>>>
>>>
>>> --
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *Regards:*
>>> Gaurav Kumar
>>>
>>> _______________________________________________
>>> Kamailio (SER) - Users Mailing List
>>> sr-users at lists.kamailio.org
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>
>>
>> --
>> Sincerely,
>>
>> Giovanni Maruzzelli
>> OpenTelecom.IT
>> cell: +39 347 266 56 18
>>
>> _______________________________________________
>> Kamailio (SER) - Users Mailing List
>> sr-users at lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>
>
> --
>
>
>
>
>
>
>
>
> *Regards:*
> Gaurav Kumar
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190419/6c1963b1/attachment.html>


More information about the sr-users mailing list