<div dir="ltr"><div><div><div>Hiiii<br></div>Thanks for the reply...i really appreciate that....<br></div>The "netstat -altpn" command does not show any process or application listing to 5060 other than kamailio ! <br></div>Also after using the "ps -aux | grep kamailio" i see only kamailio is running as single process and does not do process forking as below  <br><div><br>[root@Kamailio kamailio]# ps -aux | grep kamailio<br>Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ<br>root      4163  0.0  0.2 156916  2608 ?        S    09:00   0:00 /usr/local/sbin/kamailio -P /var/run/kamailio.pid -m 32 -M 4 -u root -g kamailio<br>root      4245  0.0  0.0 103248   836 pts/1    S+   09:02   0:00 grep kamailio<br><br>Also here is some logs tail  /var/log/messages | less <br><br>Nov  3 09:00:55 Kamailio /usr/local/sbin/kamailio[4162]: ERROR: <core> [pt.c:479]: fork_tcp_process(): init_child failed for process 20, pid 4162, "tcp receiver (generic) child=3"<br>Nov  3 09:00:55 Kamailio /usr/local/sbin/kamailio[4162]: ERROR: <core> [tcp_main.c:4868]: tcp_init_children(): fork failed: Success<br></div><div>a<br></div><div><span style="background-color:rgb(255,255,255)"><span style="font-family:arial,helvetica,sans-serif">Aside Note:<br></span></span></div><div><span style="background-color:rgb(255,255,255)"><span style="font-family:arial,helvetica,sans-serif">I'm using Kamailio v4.2 on centos and this issue appears whenever i replace the default config file with this config file from that link<br><a href="http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb">http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb</a>  i want to use this file in particular because it is easy to me as beginner with Kamailo to configure it with Asterisk integration...thanks in advance everyone </span><br></span></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 3, 2014 at 2:34 PM, Rainer Piper <span dir="ltr"><<a href="mailto:rainer.piper@soho-piper.de" target="_blank">rainer.piper@soho-piper.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Am 03.11.2014 um 11:50 schrieb
      Daniel-Constantin Mierla:<br>
    </div><span class="">
    <blockquote type="cite">
      
      Hello,<br>
      <br>
      <div>On 02/11/14 21:47, Mahmoud Ramadan
        Ali wrote:<br>
      </div>
      <blockquote type="cite">
        <div dir="ltr">Hiiiiii everyone,<br>
          I'm receiving this error when starting Kamailio saying that it
          can not resolve my  ip addresses used by Kamailio and another
          "<a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a>
          : Address already in use " error message...so how can i fix
          this please ?<br>
          <br>
          Nov  2 15:39:26 Kamailio /usr/local/sbin/kamailio[7692]:
          CRITICAL: <core> [pass_fd.c:293]: receive_fd(): EOF on
          35<br>
          Nov  2 15:39:44 Kamailio kamailio: WARNING: <core>
          [socket_info.c:1392]: fix_hostname(): could not rev. resolve
          192.168.100.1<br>
          Nov  2 15:39:44 Kamailio kamailio: WARNING: <core>
          [socket_info.c:1392]: fix_hostname(): could not rev. resolve
          192.168.50.1<br>
          Nov  2 15:39:44 Kamailio kamailio: WARNING: <core>
          [socket_info.c:1392]: fix_hostname(): could not rev. resolve
          192.168.100.1<br>
          Nov  2 15:39:44 Kamailio kamailio: WARNING: <core>
          [socket_info.c:1392]: fix_hostname(): could not rev. resolve
          192.168.50.1<br>
          <br>
          Nov  2 15:39:44 Kamailio /usr/local/sbin/kamailio[7726]:
          ERROR: <core> [tcp_main.c:2876]: tcp_init(): bind(b,
          0x7faebd135ca4, 16) on <a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a> : Address
          already in use<br>
        </div>
      </blockquote>
      <br>
      the warning messages can be ignored -- perhaps we should make them
      notice or info, rather than warnings.<br>
      <blockquote type="cite"> </blockquote>
      For address already in use, see if there is another application
      listening on that socket, can be a sip phone or even another
      kamailio running -- you can use netstat to check:<br>
      <br>
      netstat -altpn<br>
    </blockquote></span>
    check UDP Listener parameter -u as well ... like:<br>
    <br>
    netstat -anupn<br>
    <br>
    Parameter:<br>
    -t = TCP<br>
    -u = UDP<br>
    <br>
    Regards <br>
    Rainer<br>
    <br>
    <blockquote type="cite"><span class=""> <br>
      Cheers,<br>
      Daniel<br>
      <pre cols="72">-- 
Daniel-Constantin Mierla
<a href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Nov 24-27, Berlin - <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a></pre>
      <br>
      <fieldset></fieldset>
      <br>
      </span><pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
    </font></span></blockquote><span class="HOEnZb"><font color="#888888">
    <br>
    <br>
    <div>-- <br>
      <b>Rainer Piper</b>
      <br>
      Integration engineer
      <br>
      Koeslinstr. 56
      <br>
      53123 BONN <br>
      GERMANY
      <br>
      Phone: +49 228 97167161
      <br>
      P2P: <a>sip:rainer@sip.soho-piper.de:5072</a> (pjsip-test)
      <br>
      XMPP: <a href="mailto:rainer@xmpp.soho-piper.de" target="_blank">rainer@xmpp.soho-piper.de</a></div>
  </font></span></div>

<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>