[SR-Users] Address already in use error when starting Kamailio service

Daniel-Constantin Mierla miconda at gmail.com
Mon Nov 3 11:50:59 CET 2014


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

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20141103/5c3c2a66/attachment.html>


More information about the sr-users mailing list