[SR-Users] DHCP renewal conflicts with kamailio?

Joonas Harjumäki joonas.harjumaki at nsftele.com
Thu May 26 19:32:26 CEST 2016


Hi!

The attachment contains a log trace of kamailio 3.3.2. There is some 
errors in the log and I wonder if it is normal operation?
The errors appeared in the middle of DHCP lease renewal and I wonder if 
the configuration (of dhclient/kamailio) could be improved to prevent 
such errors? Or to make sure kamailio retries udp_send sufficiently many 
times. The kamailio operated normally before renewal procedure began and 
after the procedure finished.

Joonas Harjumäki


-------------- next part --------------
May 23 17:58:36 node1 dhclient[916]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5 (xid=0x5abc2609)
May 23 17:58:36 node1 dhclient[916]: DHCPOFFER from 172.19.167.18
May 23 17:58:36 node1 dhclient[916]: DHCPREQUEST on eth0 to 255.255.255.255 port 67 (xid=0x5abc2609)
May 23 17:58:36 node1 dhclient[916]: DHCPACK from 172.19.167.18 (xid=0x5abc2609)
May 23 17:58:36 node1 /usr/sbin/kamailio[32729]: ERROR: <core> [udp_server.c:591]: udp_send(): ERROR: udp_send: sendto(sock,0x7f560a39
f820,332,0,172.19.167.25:5070,16): Invalid argument(22)
May 23 17:58:36 node1 /usr/sbin/kamailio[32729]: : <core> [udp_server.c:596]: udp_send(): CRITICAL: invalid sendtoparameters#012one po
ssible reason is the server is bound to localhost and#012attempts to send to the net
May 23 17:58:36 node1 /usr/sbin/kamailio[32729]: ERROR: tm [../../forward.h:206]: msg_send(): msg_send: ERROR: udp_send failed
May 23 17:58:36 node1 /usr/sbin/kamailio[32729]: ERROR: tm [uac.c:598]: send_prepared_request_impl(): t_uac: Attempt to send to precre
ated request failed
May 23 17:58:36 node1 /usr/sbin/kamailio[32729]: ERROR: <core> [udp_server.c:591]: udp_send(): ERROR: udp_send: sendto(sock,0x7f560a3a
1098,332,0,172.19.167.38:5070,16): Invalid argument(22)
May 23 17:58:36 node1 /usr/sbin/kamailio[32729]: : <core> [udp_server.c:596]: udp_send(): CRITICAL: invalid sendtoparameters#012one po
ssible reason is the server is bound to localhost and#012attempts to send to the net
May 23 17:58:36 node1 /usr/sbin/kamailio[32729]: ERROR: tm [../../forward.h:206]: msg_send(): msg_send: ERROR: udp_send failed
May 23 17:58:36 node1 /usr/sbin/kamailio[32729]: ERROR: tm [uac.c:598]: send_prepared_request_impl(): t_uac: Attempt to send to precre
ated request failed
May 23 17:58:36 node1 /usr/sbin/kamailio[32729]: ERROR: <core> [udp_server.c:591]: udp_send(): ERROR: udp_send: sendto(sock,0x7f560a3a
69e0,334,0,212.17.160.171:5060,16): Invalid argument(22)
May 23 17:58:36 node1 /usr/sbin/kamailio[32729]: : <core> [udp_server.c:596]: udp_send(): CRITICAL: invalid sendtoparameters#012one po
ssible reason is the server is bound to localhost and#012attempts to send to the net
May 23 17:58:36 node1 /usr/sbin/kamailio[32729]: ERROR: tm [../../forward.h:206]: msg_send(): msg_send: ERROR: udp_send failed
May 23 17:58:36 node1 /usr/sbin/kamailio[32729]: ERROR: tm [uac.c:598]: send_prepared_request_impl(): t_uac: Attempt to send to precre
ated request failed
May 23 17:58:37 node1 /usr/sbin/kamailio[32731]: ERROR: <core> [udp_server.c:591]: udp_send(): ERROR: udp_send: sendto(sock,0x7f560a39
f820,332,0,172.19.167.25:5070,16): Invalid argument(22)
May 23 17:58:37 node1 /usr/sbin/kamailio[32731]: : <core> [udp_server.c:596]: udp_send(): CRITICAL: invalid sendtoparameters#012one po
ssible reason is the server is bound to localhost and#012attempts to send to the net
May 23 17:58:37 node1 /usr/sbin/kamailio[32731]: ERROR: tm [../../forward.h:206]: msg_send(): msg_send: ERROR: udp_send failed
May 23 17:58:37 node1 /usr/sbin/kamailio[32731]: ERROR: <core> [udp_server.c:591]: udp_send(): ERROR: udp_send: sendto(sock,0x7f560a3a1098,332,0,172.19.167.38:5070,16): Invalid argument(22)
May 23 17:58:37 node1 /usr/sbin/kamailio[32731]: : <core> [udp_server.c:596]: udp_send(): CRITICAL: invalid sendtoparameters#012one possible reason is the server is bound to localhost and#012attempts to send to the net
May 23 17:58:37 node1 /usr/sbin/kamailio[32731]: ERROR: tm [../../forward.h:206]: msg_send(): msg_send: ERROR: udp_send failed
May 23 17:58:37 node1 /usr/sbin/kamailio[32731]: ERROR: <core> [udp_server.c:591]: udp_send(): ERROR: udp_send: sendto(sock,0x7f560a3a69e0,334,0,212.17.160.171:5060,16): Invalid argument(22)
May 23 17:58:37 node1 /usr/sbin/kamailio[32731]: : <core> [udp_server.c:596]: udp_send(): CRITICAL: invalid sendtoparameters#012one possible reason is the server is bound to localhost and#012attempts to send to the net
May 23 17:58:37 node1 /usr/sbin/kamailio[32731]: ERROR: tm [../../forward.h:206]: msg_send(): msg_send: ERROR: udp_send failed
May 23 17:58:37 node1 ntpd[1493]: Deleting interface #3 eth0, 172.19.167.25#123, interface stats: received=6294, sent=6297, dropped=0, active_time=6337478 secs
May 23 17:58:37 node1 ntpd[1493]: 192.168.0.10 interface 172.19.167.25 -> (none)
May 23 17:58:38 node1 NET[6050]: /sbin/dhclient-script : updated /etc/resolv.conf
May 23 17:58:38 node1 dhclient[916]: bound to 172.19.167.25 -- renewal in 42282 seconds.


More information about the sr-users mailing list