Your message dated Tue, 22 May 2012 18:16:46 +0200
with message-id <[email protected]>
and subject line Re: Bug#658184: Fwd: Bug#658184: znc: suddenly no longer 
connects two irc servers
has caused the Debian Bug report #658184,
regarding znc: suddenly no longer connects two irc servers
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
658184: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=658184
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: znc
Version: 0.204-1
Severity: normal


Hi,

Suddenly after a restart znc won't connect to irc.oftc.net 6667 and 
irc.eu.rizon.net.
So I did an strace on the process to see what was going on and saw this:

connect(3, {sa_family=AF_INET, sin_port=htons(53), 
sin_addr=inet_addr("127.0.0.1")}, 16) = 0
sendto(3, "\212\264\1\0\0\1\0\0\0\0\0\0\3irc\2eu\5rizon\3net\0\0\34"..., 34, 
MSG_NOSIGNAL, NULL, 0) = 34
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=5, events=POLLIN}, 
{fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=9, 
events=POLLIN}, {fd=10, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, )
recvfrom(3, "\212\264\201\200\0\1\0\0\0\0\0\0\3irc\2eu\5rizon\3net\0\0\34"..., 
513, 0, {sa_family=AF_INET, sin_port=htons(53), 
sin_addr=inet_addr("127.0.0.1")}, [16]) = 34
sendto(3, "c\304\1\0\0\1\0\0\0\0\0\0\3irc\2eu\5rizon\3net\10in"..., 58, 
MSG_NOSIGNAL, NULL, 0) = 58
recvfrom(3, 0x7fff5f4d0af0, 513, 0, 0x7fff5f4d0d00, 0x7fff5f4d0d1c) = -1 EAGAIN 
(Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=5, events=POLLIN}, 
{fd=6, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=9, 
events=POLLIN}, {fd=10, events=POLLIN}, {fd=11, events=POLLIN}, {fd=12, )
recvfrom(3, "c\304\205\203\0\1\0\0\0\1\0\0\3irc\2eu\5rizon\3net\10in"..., 513, 
0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 
[16]) = 99
close(3)                                = 0
recvfrom(4294967295, 0x7fff5f4d0af0, 513, 0, 0x7fff5f4d0d00, 0x7fff5f4d0d1c) = 
-1 EBADF (Bad file descriptor)

It looks if it tries to retrieve the dns information on a wildly wrong 
filedescriptor: recvfrom(4294967295,

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages znc depends on:
ii  libc-ares2                    1.7.5-1    library for asyncronous name resol
ii  libc6                         2.13-23    Embedded GNU C Library: Shared lib
ii  libgcc1                       1:4.6.1-4  GCC support library
ii  libssl1.0.0                   1.0.0e-3   SSL shared libraries
ii  libstdc++6                    4.6.1-4    GNU Standard C++ Library v3

Versions of packages znc recommends:
ii  znc-extra                     0.204-1    extra modules for znc
ii  znc-perl                      0.204-1    advanced modular IRC bouncer (Perl
pn  znc-python                    <none>     (no description available)
ii  znc-tcl                       0.204-1    advanced modular IRC bouncer (Tcl 

znc suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Am 21.05.2012 20:29, schrieb folkert:
>>>>> Could you also try /znc clearbindhost?
>>>>
>>>> Tried that but it did not help.
>>>
>>> Could you try "/znc setbindhost 0.0.0.0"? That should force znc to use ipv4.
> 
> Seems to work!
> Got that suggestion a while ago and no problems since then.
> 

Thanks for your response, this may be then a ipv4/v6 dualstack problem
within your network/resolver(s).


-- 
/*
Mit freundlichem Gruß / With kind regards,
 Patrick Matthäi
 GNU/Linux Debian Developer

E-Mail: [email protected]
        [email protected]
*/

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to