Hello,
you were looking at the wrong log message, that warning is not the reason of kamailio not running, just saying that libssl is known to have some issue when low shared memory is available, but starting and operating is fine till that moment.
The real problem is pointed by:
Sep 03 12:09:18 talk /usr/local/sbin/kamailio[27270]: ERROR: <core> [core/tcp_main.c:2850]: tcp_init(): bind(c, 0x7f0b41b001f4, 16) on 172.31.35.49:5091 : Address already in use
There is another application listening on the same ip:port. Maybe kamailio is already running?
Cheers,
Daniel
hi Vlad
thanks you for reply
kamailio shared memory is already 512 (kamailio -m 512)
but still same error getting in logs
On Tue, Sep 3, 2019 at 6:44 PM Vlad Toma <vldtoma@gmail.com> wrote:
Hello,You should try to increase the ram memory for kamailio when you start it ( kamailio -m 256) . I think your problem is similar to this one https://github.com/kamailio/kamailio/issues/1635
Regards,Vlad
_______________________________________________On Tue, Sep 3, 2019 at 3:46 PM Gaurav Bmotra <saigauravmehra91@gmail.com> wrote:
hi_______________________________________________i m using kamailio 5.1 on Ubuntu 18.04i m geting this error in logs and it stop registration form soft-phoneplz help me
--------------------------------------------------------------------------------------------------------WARNING: tls [tls_init.c:778]: init_tls_h(): openssl bug #1491 (crash/mem leaks on low memory) workaround enabled (on low memory tls operations will fail preemptively) with free memory th
--------------------------------------------------------------------------------------------------------kamailio.service - LSB: Start the Kamailio SIP proxy server
Loaded: loaded (/etc/init.d/kamailio; generated)
Active: active (exited) since Tue 2019-09-03 12:09:19 UTC; 26min ago
Docs: man:systemd-sysv-generator(8)
Process: 27237 ExecStart=/etc/init.d/kamailio start (code=exited, status=0/SUCCESS)
Sep 03 12:09:18 talk /usr/local/sbin/kamailio[27270]: INFO: <core> [core/cfg/cfg_ctx.c:595]: cfg_set_now(): tls.low_mem_threshold2 has been changed to 7077888
Sep 03 12:09:18 talk /usr/local/sbin/kamailio[27270]: INFO: <core> [main.c:2636]: main(): processes (at least): 27 - shm size: 536870912 - pkg size: 8388608
Sep 03 12:09:18 talk /usr/local/sbin/kamailio[27270]: ERROR: dispatcher [dispatcher.c:813]: ds_warn_fixup(): failover functions used, but required AVP parameters are NULL -- feature disabled
Sep 03 12:09:18 talk /usr/local/sbin/kamailio[27270]: INFO: <core> [core/udp_server.c:153]: probe_max_receive_buffer(): SO_RCVBUF is initially 212992
Sep 03 12:09:18 talk /usr/local/sbin/kamailio[27270]: INFO: <core> [core/udp_server.c:205]: probe_max_receive_buffer(): SO_RCVBUF is finally 425984
Sep 03 12:09:18 talk /usr/local/sbin/kamailio[27270]: ERROR: <core> [core/tcp_main.c:2850]: tcp_init(): bind(c, 0x7f0b41b001f4, 16) on 172.31.35.49:5091 : Address already in use
Sep 03 12:09:18 talk /usr/local/sbin/kamailio[27270]: INFO: <core> [core/sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized
--
thank you
Regards:
Gaurav Kumar
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Regards:
Gaurav Kumar
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla -- www.asipto.com www.twitter.com/miconda -- www.linkedin.com/in/miconda