[SR-Users] Failed to open TLS connection from the client...

Krishna Kurapati kkurapat at gmail.com
Sun Apr 1 17:24:19 CEST 2012


I enabled DEBUG LEVEL 4 and tried to see what is going on... Here is the
log...

10(24471) DEBUG: <core> [io_wait.h:390]: DBG: io_watch_add(0x83bbc0, 18, 2,
0x7f3334f85820), fd_no=10
10(24471) DEBUG: <core> [io_wait.h:617]: DBG: io_watch_del (0x83bbc0, 18,
-1, 0x0) fd_no=11 called
10(24471) DEBUG: <core> [tcp_main.c:4295]: tcp: DBG: sending to child,
events 1
10(24471) DEBUG: <core> [tcp_main.c:3962]: WARNING: send2child: no free tcp
receiver,  connection passed to the least busy one (2)
10(24471) DEBUG: <core> [tcp_main.c:3966]: selected tcp worker 0 0(0) for
activity on [tls:10.1.0.4:5061], 0x7f3334f85820
10(24471) : <core> [tcp_main.c:3575]: BUG: handle_ser_child: fd -1 for 0
(pid 24461)
10(24471) : <core> [tcp_main.c:3338]: BUG: handle_tcp_child: fd -1061109568
for 0 (pid 0, ser no 0)
10(24471) : <core> [pass_fd.c:209]: ERROR: send_fd: sendmsg failed sending
18 on -1061109568: Bad file descriptor (9)
10(24471) ERROR: <core> [tcp_main.c:4003]: ERROR: send2child: send_fd
failed for 0x7f3334f85820 (flags 0x4018), fd 18
10(24471) DEBUG: tls [tls_server.c:601]: Closing SSL connection (nil)


send2child is not finding a tcp receiver. I restarted the server. It should
find some child...

On Sun, Apr 1, 2012 at 9:53 AM, Krishna Kurapati <kkurapat at gmail.com> wrote:

> I restarted Kamailio after a while and I see this issue...
>
> Not sure what triggered this. It was working fine before.
>
> Krish Kura
>
> Apr  1 07:41:02 (none) /usr/sbin/kamailio[24074]: INFO: tls
> [tls_domain.c:235]: TLSs<10.1.0.4:5061>: verify_certificate=1
> Apr  1 07:41:02 (none) /usr/sbin/kamailio[24074]: INFO: tls
> [tls_domain.c:238]: TLSs<10.1.0.4:5061>: verify_depth=3
> Apr  1 07:41:02 (none) /usr/sbin/kamailio[24074]: INFO: tls
> [tls_domain.c:567]: TLSs<10.1.0.4:5061>: IF client provides certificate
> then it MUST be valid
> Apr  1 07:41:02 (none) /usr/sbin/kamailio[24082]: INFO: ctl
> [io_listener.c:225]: io_listen_loop:  using epoll_lt io watch method
> (config)
> Apr  1 07:41:41 (none) /usr/sbin/kamailio[24084]: : <core>
> [tcp_main.c:3575]: BUG: handle_ser_child: fd -1 for 0 (pid 24074)
> Apr  1 07:41:41 (none) /usr/sbin/kamailio[24084]: : <core>
> [tcp_main.c:3338]: BUG: handle_tcp_child: fd -1061109568 for 0 (pid 0, ser
> no 0)
> Apr  1 07:41:41 (none) /usr/sbin/kamailio[24084]: : <core>
> [pass_fd.c:209]: ERROR: send_fd: sendmsg failed sending 19 on -1061109568:
> Bad file descriptor (9)
> Apr  1 07:41:41 (none) /usr/sbin/kamailio[24084]: ERROR: <core>
> [tcp_main.c:4003]: ERROR: send2child: send_fd failed for 0x7ff3c82b3bb8
> (flags 0x4018), fd 19
> Apr  1 07:42:21 (none) /usr/sbin/kamailio[24084]: : <core>
> [tcp_main.c:3575]: BUG: handle_ser_child: fd -1 for 0 (pid 24074)
> Apr  1 07:42:21 (none) /usr/sbin/kamailio[24084]: : <core>
> [tcp_main.c:3338]: BUG: handle_tcp_child: fd -1061109568 for 0 (pid 0, ser
> no 0)
> Apr  1 07:42:21 (none) /usr/sbin/kamailio[24084]: : <core>
> [pass_fd.c:209]: ERROR: send_fd: sendmsg failed sending 19 on -1061109568:
> Bad file descriptor (9)
> Apr  1 07:42:21 (none) /usr/sbin/kamailio[24084]: ERROR: <core>
> [tcp_main.c:4003]: ERROR: send2child: send_fd failed for 0x7ff3c82b3bb8
> (flags 0x4018), fd 19
> Apr  1 07:42:21 (none) /usr/sbin/kamailio[24084]: : <core>
> [tcp_main.c:3575]: BUG: handle_ser_child: fd -1 for 0 (pid 24074)
> Apr  1 07:42:21 (none) /usr/sbin/kamailio[24084]: : <core>
> [tcp_main.c:3338]: BUG: handle_tcp_child: fd -1061109568 for 0 (pid 0, ser
> no 0)
> Apr  1 07:42:21 (none) /usr/sbin/kamailio[24084]: : <core>
> [pass_fd.c:209]: ERROR: send_fd: sendmsg failed sending 19 on -1061109568:
> Bad file descriptor (9)
> Apr  1 07:42:21 (none) /usr/sbin/kamailio[24084]: ERROR: <core>
> [tcp_main.c:4003]: ERROR: send2child: send_fd failed for 0x7ff3c82b3bb8
> (flags 0x4018), fd 19
> Apr  1 07:42:45 (none) /usr/sbin/kamailio[24084]: : <core>
> [tcp_main.c:3575]: BUG: handle_ser_child: fd -1 for 0 (pid 24074)
> Apr  1 07:42:45 (none) /usr/sbin/kamailio[24084]: : <core>
> [tcp_main.c:3338]: BUG: handle_tcp_child: fd -1061109568 for 0 (pid 0, ser
> no 0)
> Apr  1 07:42:45 (none) /usr/sbin/kamailio[24084]: : <core>
> [pass_fd.c:209]: ERROR: send_fd: sendmsg failed sending 19 on -1061109568:
> Bad file descriptor (9)
> Apr  1 07:42:45 (none) /usr/sbin/kamailio[24084]: ERROR: <core>
> [tcp_main.c:4003]: ERROR: send2child: send_fd failed for 0x7ff3c82b3bb8
> (flags 0x4018), fd 19
> Apr  1 07:43:39 (none) /usr/sbin/kamailio[24084]: : <core>
> [tcp_main.c:3575]: BUG: handle_ser_child: fd -1 for 0 (pid 24074)
> Apr  1 07:43:39 (none) /usr/sbin/kamailio[24084]: : <core>
> [tcp_main.c:3338]: BUG: handle_tcp_child: fd -1061109568 for 0 (pid 0, ser
> no 0)
> Apr  1 07:43:39 (none) /usr/sbin/kamailio[24084]: : <core>
> [pass_fd.c:209]: ERROR: send_fd: sendmsg failed sending 19 on -1061109568:
> Bad file descriptor (9)
> Apr  1 07:43:39 (none) /usr/sbin/kamailio[24084]: ERROR: <core>
> [tcp_main.c:4003]: ERROR: send2child: send_fd failed for 0x7ff3c82b3bb8
> (flags 0x4018), fd 19
> Apr  1 07:45:22 (none) /usr/sbin/kamailio[24084]: : <core>
> [tcp_main.c:3575]: BUG: handle_ser_child: fd -1 for 0 (pid 24074)
> Apr  1 07:45:22 (none) /usr/sbin/kamailio[24084]: : <core>
> [tcp_main.c:3338]: BUG: handle_tcp_child: fd -1061109568 for 0 (pid 0, ser
> no 0)
> Apr  1 07:45:22 (none) /usr/sbin/kamailio[24084]: : <core>
> [pass_fd.c:209]: ERROR: send_fd: sendmsg failed sending 19 on -1061109568:
> Bad file descriptor (9)
> Apr  1 07:45:22 (none) /usr/sbin/kamailio[24084]: ERROR: <core>
> [tcp_main.c:4003]: ERROR: send2child: send_fd failed for 0x7ff3c82b3bb8
> (flags 0x4018), fd 19
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120401/618f6776/attachment.htm>


More information about the sr-users mailing list