Am 03.11.2014 um 11:50 schrieb Daniel-Constantin Mierla:
Hello,

On 02/11/14 21:47, Mahmoud Ramadan Ali wrote:
Hiiiiii everyone,
I'm receiving this error when starting Kamailio saying that it can not resolve my ip addresses used by Kamailio and another "127.0.0.1:5060 <http://127.0.0.1:5060> : Address already in use " error message...so how can i fix this please ?

Nov 2 15:39:26 Kamailio /usr/local/sbin/kamailio[7692]: CRITICAL: <core> [pass_fd.c:293]: receive_fd(): EOF on 35 Nov 2 15:39:44 Kamailio kamailio: WARNING: <core> [socket_info.c:1392]: fix_hostname(): could not rev. resolve 192.168.100.1 Nov 2 15:39:44 Kamailio kamailio: WARNING: <core> [socket_info.c:1392]: fix_hostname(): could not rev. resolve 192.168.50.1 Nov 2 15:39:44 Kamailio kamailio: WARNING: <core> [socket_info.c:1392]: fix_hostname(): could not rev. resolve 192.168.100.1 Nov 2 15:39:44 Kamailio kamailio: WARNING: <core> [socket_info.c:1392]: fix_hostname(): could not rev. resolve 192.168.50.1

Nov 2 15:39:44 Kamailio /usr/local/sbin/kamailio[7726]: ERROR: <core> [tcp_main.c:2876]: tcp_init(): bind(b, 0x7faebd135ca4, 16) on 127.0.0.1:5060 <http://127.0.0.1:5060> : Address already in use

the warning messages can be ignored -- perhaps we should make them notice or info, rather than warnings. 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:

netstat -altpn
check UDP Listener parameter -u as well ... like:

netstat -anupn

Parameter:
-t = TCP
-u = UDP

Regards
Rainer


Cheers,
Daniel
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda  -http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Nov 24-27, Berlin -http://www.asipto.com


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


--
*Rainer Piper*
Integration engineer
Koeslinstr. 56
53123 BONN
GERMANY
Phone: +49 228 97167161
P2P: sip:rai...@sip.soho-piper.de:5072 (pjsip-test)
XMPP: rai...@xmpp.soho-piper.de
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to