<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>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.</p>
<p>The real problem is pointed by:</p>
<p>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 <a href="http://172.31.35.49:5091"
target="_blank">172.31.35.49:5091</a> : Address already in use</p>
<p>There is another application listening on the same ip:port. Maybe
kamailio is already running?</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 03.09.19 15:28, Gaurav Bmotra wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAHeMQFqzBNZPWAATZmtpc2vD1Dhdrky=0dY3NJc6Jui3yBJgvg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">hi Vlad<br>
thanks you for reply <br>
kamailio shared memory is already 512 (kamailio -m 512)<br>
but still same error getting in logs <br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Sep 3, 2019 at 6:44 PM
Vlad Toma <<a href="mailto:vldtoma@gmail.com"
moz-do-not-send="true">vldtoma@gmail.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Hello,
<div>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 <a
href="https://github.com/kamailio/kamailio/issues/1635"
target="_blank" moz-do-not-send="true">https://github.com/kamailio/kamailio/issues/1635</a> </div>
<div><br>
</div>
<div>Regards,</div>
<div>Vlad</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Sep 3, 2019 at
3:46 PM Gaurav Bmotra <<a
href="mailto:saigauravmehra91@gmail.com" target="_blank"
moz-do-not-send="true">saigauravmehra91@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="ltr">hi
<div>i m using kamailio 5.1 on Ubuntu 18.04</div>
<div>i m geting this error in logs and it stop
registration form soft-phone</div>
<div>plz help me </div>
<div><br>
</div>
<div>--------------------------------------------------------------------------------------------------------</div>
<div>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<br>
</div>
<div>--------------------------------------------------------------------------------------------------------</div>
kamailio.service - LSB: Start the Kamailio SIP proxy
server<br>
Loaded: loaded (/etc/init.d/kamailio; generated)<br>
Active: active (exited) since Tue 2019-09-03 12:09:19
UTC; 26min ago<br>
Docs: man:systemd-sysv-generator(8)<br>
Process: 27237 ExecStart=/etc/init.d/kamailio start
(code=exited, status=0/SUCCESS)<br>
<br>
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<br>
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<br>
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<br>
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<br>
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<br>
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 <a
href="http://172.31.35.49:5091" target="_blank"
moz-do-not-send="true">172.31.35.49:5091</a> : Address
already in use<br>
<div>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 <br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr"
class="gmail-m_-858926038907344312gmail-m_2584340147624954229gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">thank you <br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<font color="#999999"><b>Regards:</b><br>
Gaurav Kumar</font><br>
</div>
</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org"
target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a><br>
<a
href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote>
</div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank"
moz-do-not-send="true">sr-users@lists.kamailio.org</a><br>
<a
href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr"><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<font color="#999999"><b>Regards:</b><br>
Gaurav Kumar</font><br>
</div>
</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a></pre>
</body>
</html>