<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.E-MailFormatvorlage18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hello Ali,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">(please keep the sr-users list in CC, that other people can also participate)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">Remove the “-D” from your Kamailio command line – then the warning will disappear. This is also necessary because you want to have Kamailio listen on several addresses. If you want to
test it more in a production like setting, you should also remove the “-E” from the command line. You will find the logging in your system log then.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">Cheers,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">Henning<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">-- <o:p>
</o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">Henning Westerholt -
</span><span style="mso-fareast-language:EN-US"><a href="https://skalatan.de/blog/"><span lang="EN-GB" style="color:#0563C1">https://skalatan.de/blog/</span></a></span><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">Kamailio services -
</span><span style="mso-fareast-language:EN-US"><a href="https://skalatan.de/services"><span lang="EN-GB" style="color:#0563C1">https://skalatan.de/services</span></a></span><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b>From:</b> ali mahfouz <arm037@usal.edu.lb> <br>
<b>Sent:</b> Wednesday, July 10, 2019 11:54 AM<br>
<b>To:</b> Henning Westerholt <hw@skalatan.de><br>
<b>Subject:</b> Re: [SR-Users] kamailio warning<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Dear Mr.Henning,<o:p></o:p></p>
<div>
<p class="MsoNormal">I am working on high availability on two Kamailio servers connected to the database using keepalived and when I am testing Kamailio<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> I got this issue and I have no idea about fixing it<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">i am trying to see by this command <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"> kamailio -E -D -f /etc/kamailio/kamailio.cfg<br>
0(16101) INFO: <core> [core/sctp_core.c:74]: sctp_core_check_support(): SCTP API not enabled - if you want to use it, load sctp module<br>
Listening on<br>
udp: <a href="http://10.10.10.20:5060">10.10.10.20:5060</a><br>
udp: <a href="http://10.10.10.3:5060">10.10.10.3:5060</a><br>
tcp: <a href="http://10.10.10.20:5060">10.10.10.20:5060</a><br>
tcp: <a href="http://10.10.10.3:5060">10.10.10.3:5060</a><br>
Aliases:<br>
tcp: <a href="http://10.10.10.3:5060">10.10.10.3:5060</a><br>
tcp: <a href="http://10.10.10.20:5060">10.10.10.20:5060</a><br>
udp: <a href="http://10.10.10.3:5060">10.10.10.3:5060</a><br>
udp: <a href="http://10.10.10.20:5060">10.10.10.20:5060</a><br>
*: sip.domain.local:*<br>
<br>
WARNING: no fork mode and more than one listen address found (will use only the first one)<br>
0(16101) INFO: <core> [core/tcp_main.c:4721]: init_tcp(): using epoll_lt as the io watch method (auto detected)<br>
0(16101) INFO: jsonrpcs [jsonrpcs_sock.c:197]: jsonrpc_dgram_mod_init(): the socket /var/run/kamailio/kamailio_rpc.sock already exists, trying to delete it...<br>
0(16101) INFO: rr [../outbound/api.h:52]: ob_load_api(): unable to import bind_ob - maybe module is not loaded<br>
0(16101) INFO: rr [rr_mod.c:177]: mod_init(): outbound module not available<br>
0(16101) INFO: <core> [main.c:2669]: main(): processes (at least): 16 - shm size: 67108864 - pkg size: 8388608<br>
0(16101) INFO: <core> [core/udp_server.c:153]: probe_max_receive_buffer(): SO_RCVBUF is initially 212992<br>
0(16101) INFO: <core> [core/udp_server.c:205]: probe_max_receive_buffer(): SO_RCVBUF is finally 425984<br>
0(16101) WARNING: <core> [main.c:1347]: main_loop(): using only the first listen address (no fork)<br>
6(16131) INFO: ctl [io_listener.c:214]: io_listen_loop(): io_listen_loop: using epoll_lt io watch method (config)<br>
5(16130) INFO: jsonrpcs [jsonrpcs_sock.c:443]: jsonrpc_dgram_process(): a new child 0/16130<br>
^C 6(16131) INFO: <core> [main.c:836]: sig_usr(): signal 2 received<br>
5(16130) INFO: <core> [main.c:836]: sig_usr(): signal 2 received<br>
1(16126) INFO: <core> [main.c:836]: sig_usr(): signal 2 received<br>
0(16101) ALERT: <core> [main.c:751]: handle_sigs(): child process 16131 exited normally, status= 3(16128) INFO: <core> [main.c:836]: sig_usr(): signal 2 received<br>
0<br>
0(16101) ALERT: <core> [main.c:751]: handle_sigs(): child process 16126 exited normally, status= 4(16129) INFO: <core> [main.c:836]: sig_usr(): signal 2 received<br>
0<br>
0(16101) ALERT: <core> [main.c:751]: handle_sigs(): child process 16128 exited normally, status=0<br>
0(16101) ALERT: <core> [main.c:751]: handle_sigs(): child process 16129 exited normally, status=0<br>
0(16101) ALERT: <core> [main.c:751]: handle_sigs(): child process 16130 exited normally, status=0<br>
0(16101) INFO: <core> [main.c:778]: handle_sigs(): dont_fork turned on, living on<br>
0(16101) INFO: <core> [main.c:772]: handle_sigs(): SIGCHLD received, but no child has stopped, ignoring it<br>
0(16101) NOTICE: <core> [main.c:709]: handle_sigs(): Thank you for flying kamailio!!!<br>
2(16127) INFO: <core> [main.c:836]: sig_usr(): signal 15 received<br>
0(16101) INFO: <core> [core/sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Please help<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">thank you for giving time from your time<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Wed, Jul 10, 2019 at 12:40 PM Henning Westerholt <<a href="mailto:hw@skalatan.de">hw@skalatan.de</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hello Ali,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB">the first warning is related about the starting mode of Kamailio. You should not start it with “no forking mode” if you want to get rid of it. Have a look to
your command line parameters: “-D” is the one to change.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB">Cheers,</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB">Henning</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB">--
</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB">Henning Westerholt -
</span><a href="https://skalatan.de/blog/" target="_blank"><span lang="EN-GB" style="color:#0563C1">https://skalatan.de/blog/</span></a><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB">Kamailio services -
</span><a href="https://skalatan.de/services" target="_blank"><span lang="EN-GB" style="color:#0563C1">https://skalatan.de/services</span></a><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b>From:</b> sr-users <<a href="mailto:sr-users-bounces@lists.kamailio.org" target="_blank">sr-users-bounces@lists.kamailio.org</a>>
<b>On Behalf Of </b>ali mahfouz<br>
<b>Sent:</b> Wednesday, July 10, 2019 8:46 AM<br>
<b>To:</b> <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>;
<a href="mailto:sr-users-request@lists.kamailio.org" target="_blank">sr-users-request@lists.kamailio.org</a>;
<a href="mailto:sr-users-owner@lists.kamailio.org" target="_blank">sr-users-owner@lists.kamailio.org</a><br>
<b>Subject:</b> [SR-Users] kamailio warning<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">WARNING: no fork mode and more than one listen address found (will use only the first one)<br>
0(8777) INFO: <core> [core/tcp_main.c:4721]: init_tcp(): using epoll_lt as the io watch method (auto detected)<br>
0(8777) INFO: jsonrpcs [jsonrpcs_sock.c:197]: jsonrpc_dgram_mod_init(): the socket /var/run/kamailio/kamailio_rpc.sock already exists, trying to delete it...<br>
0(8777) INFO: rr [../outbound/api.h:52]: ob_load_api(): unable to import bind_ob - maybe module is not loaded<br>
0(8777) INFO: rr [rr_mod.c:177]: mod_init(): outbound module not available<br>
0(8777) INFO: <core> [main.c:2669]: main(): processes (at least): 16 - shm size: 67108864 - pkg size: 8388608<br>
0(8777) INFO: <core> [core/udp_server.c:153]: probe_max_receive_buffer(): SO_RCVBUF is initially 212992<br>
0(8777) INFO: <core> [core/udp_server.c:205]: probe_max_receive_buffer(): SO_RCVBUF is finally 425984<br>
0(8777) WARNING: <core> [main.c:1347]: main_loop(): using only the first listen address (no fork)<br>
5(8782) INFO: jsonrpcs [jsonrpcs_sock.c:443]: jsonrpc_dgram_process(): a new child 0/8782<br>
6(8783) INFO: ctl [io_listener.c:214]: io_listen_loop(): io_listen_loop: using epoll_lt io watch method (config)<br>
^C 6(8783) INFO: <core> [main.c:836]: sig_usr(): signal 2 received<br>
5(8782) INFO: <core> [main.c:836]: sig_usr(): signal 2 received<br>
4(8781) INFO: <core> [main.c:836]: sig_usr(): signal 2 received<br>
3(8780) INFO: <core> [main.c:836]: sig_usr(): signal 2 received<br>
1(8778) INFO: <core> [main.c:836]: sig_usr(): signal 2 received<br>
0(8777) ALERT: <core> [main.c:751]: handle_sigs(): child process 8782 exited normally, status=0<br>
0(8777) ALERT: <core> [main.c:751]: handle_sigs(): child process 8778 exited normally, status=0<br>
0(8777) ALERT: <core> [main.c:751]: handle_sigs(): child process 8781 exited normally, status=0<br>
0(8777) ALERT: <core> [main.c:751]: handle_sigs(): child process 8783 exited normally, status=0<br>
0(8777) ALERT: <core> [main.c:751]: handle_sigs(): child process 8780 exited normally, status=0<br>
0(8777) INFO: <core> [main.c:778]: handle_sigs(): dont_fork turned on, living on<br>
0(8777) INFO: <core> [main.c:772]: handle_sigs(): SIGCHLD received, but no child has stopped, ignoring it<br>
0(8777) NOTICE: <core> [main.c:709]: handle_sigs(): Thank you for flying kamailio!!!<br>
2(8779) INFO: <core> [main.c:836]: sig_usr(): signal 15 received<br>
0(8777) INFO: <core> [core/sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized<o:p></o:p></p>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</body>
</html>