Re: s2s dns lookup timed out and router + sm shutdown

2014-02-17 Thread Marcin Mirosław
W dniu 2014-02-17 14:14, Fabian Wenk pisze:
 Hello
 
 I am running jabberd 2.3.1 on FreeBSD 9.1. After I did the upgrade
 from Perl 5.12.5 to 5.16.3 (now with threads enabled) and rebuild
 all ports depending on Perl (which includes jabberd), I see the
 following behavior.
 
 1) jabberd starts up just fine 2) I connect with my client and a
 few hostname are resolved just fine 3) after about 90 seconds a
 whole bunch of hostnames give the 'dns lookup for .xx timed
 out' error followed with router and sm 'shutting down' and then
 followed by c2s and s2s core dumping
 
 Since the rebuild restart of jabberd before, the following
 probably relevant things also have changed:
 
 - Ports gcc had been upgraded from gcc47-4.7.4.20131214 to 
 gcc47-4.7.4.20140118 (required dependency from jabberd port) -
 Ports udns had been upgraded from udns-0.2 to udns-0.3_1
 
 I did see the thread s2s: timed out dns lookups and tried with
 the suggestion from there, but this did not help. This server does
 resolve just fine, as it did before, nothing has changed here. The
 working or failing hostname with dns lookup change with every
 startup / connnect I try.
 
 What else could I test or try to resolve this?

Hi!
This isn't problem with resolver, (i'm pretty sure) this is problem
with udns. Udns-0.3 is buggy, please upgrade to 0.4. Please look at links:
http://www.corpit.ru/pipermail/udns/2014q1/000181.html
http://www.corpit.ru/pipermail/udns/2014q1/000180.html





Re: s2s throws coredump with new version of udns-0.3

2014-01-23 Thread Marcin Mirosław

W dniu 20.01.2014 12:02, Marcin Mirosław pisze:

Hi!
I've upgraded udns to version 0.3, now I've got problem with s2s. S2s
starts to works:
Mon Jan 20 11:46:41 2014 [notice] dns lookup for users.jabber.org timed out
Mon Jan 20 11:46:41 2014 [notice] dns lookup for jabster.pl timed out
Mon Jan 20 11:46:41 2014 [notice] [10] [77.55.0.117, port=5269]
connection to brodowicz.com timed out
Mon Jan 20 11:46:41 2014 [notice] [10] [77.55.0.117, port=5269]
disconnect, packets: 0
Mon Jan 20 11:46:41 2014 [notice] dns lookup for jabber.zacisze.org
timed out
Mon Jan 20 11:46:41 2014 [notice] dns lookup for jabber.raks.pl timed out
Mon Jan 20 11:46:41 2014 [notice] dns lookup for jabbim.pl timed out

And core is dumped at this moment.


Hi!
This is bug in udns-0.3, this will be fixed in next release.
Regards,
Marcin





s2s throws coredump with new version of udns-0.3

2014-01-20 Thread Marcin Mirosław

Hi!
I've upgraded udns to version 0.3, now I've got problem with s2s. S2s
starts to works:
Mon Jan 20 11:46:41 2014 [notice] dns lookup for users.jabber.org timed out
Mon Jan 20 11:46:41 2014 [notice] dns lookup for jabster.pl timed out
Mon Jan 20 11:46:41 2014 [notice] [10] [77.55.0.117, port=5269]
connection to brodowicz.com timed out
Mon Jan 20 11:46:41 2014 [notice] [10] [77.55.0.117, port=5269]
disconnect, packets: 0
Mon Jan 20 11:46:41 2014 [notice] dns lookup for jabber.zacisze.org
timed out
Mon Jan 20 11:46:41 2014 [notice] dns lookup for jabber.raks.pl timed out
Mon Jan 20 11:46:41 2014 [notice] dns lookup for jabbim.pl timed out

And core is dumped at this moment.
This is backtrace:
# echo bt|gdb -q /usr/bin/jabberd2-s2s
'core-1390214801-107-6-!usr!bin!jabberd2-s2s-45345'
Reading symbols from /usr/bin/jabberd2-s2s...Reading symbols from
/usr/lib64/debug/usr/bin/jabberd2-s2s.debug...done.
done.
[New LWP 45345]

warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need set solib-search-path or set sysroot?
Core was generated by `/usr/bin/jabberd2-s2s -c /etc/jabber/s2s.xml'.
Program terminated with signal 6, Aborted.
#0  0x028615b574e5 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
56return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
(gdb) #0  0x028615b574e5 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x028615b58968 in __GI_abort () at abort.c:90
#2  0x028615b50602 in __assert_fail_base (fmt=0x28615c8be10
%s%s%s:%u: %s%sAssertion `%s' failed.\n%n,
assertion=assertion@entry=0x2861671db3e ctx-dnsc_nactive  0,
file=file@entry=0x2861671db24 udns_resolver.c, line=line@entry=614,
function=function@entry=0x2861671e13a __PRETTY_FUNCTION__.5214
dns_end_query) at assert.c:92
#3  0x028615b506b2 in __GI___assert_fail
(assertion=assertion@entry=0x2861671db3e ctx-dnsc_nactive  0,
file=file@entry=0x2861671db24 udns_resolver.c,
line=line@entry=614, function=function@entry=0x2861671e13a
__PRETTY_FUNCTION__.5214 dns_end_query) at assert.c:101
#4  0x028616717988 in dns_end_query (ctx=0x28616720480 dns_defctx,
q=optimized out, status=optimized out, result=0x1ec9552050) at
udns_resolver.c:614
#5  0x02861671a196 in dns_ioevent (ctx=0x28616720480 dns_defctx,
ctx@entry=0x0, now=1390214801) at udns_resolver.c:1119
#6  0x001ec929744a in _mio_resolver_callback (m=optimized out,
a=optimized out, fd=optimized out, data=optimized out,
arg=optimized out) at main.c:620
#7  _mio_resolver_callback (m=optimized out, a=optimized out,
fd=optimized out, data=optimized out, arg=optimized out) at main.c:614
#8  0x001ec92a8a54 in _mio_run (m=0x1ec9417170, timeout=optimized
out) at mio_impl.h:268
#9  0x001ec92989f7 in main (argc=optimized out, argv=optimized
out) at main.c:989
(gdb) quit



# echo bt full|gdb -q /usr/bin/jabberd2-s2s
'core-1390214801-107-6-!usr!bin!jabberd2-s2s-45345'
 [21/14876]
Reading symbols from /usr/bin/jabberd2-s2s...Reading symbols from
/usr/lib64/debug/usr/bin/jabberd2-s2s.debug...done.
done.
[New LWP 45345]

warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need set solib-search-path or set sysroot?
Core was generated by `/usr/bin/jabberd2-s2s -c /etc/jabber/s2s.xml'.
Program terminated with signal 6, Aborted.
#0  0x028615b574e5 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
56return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
(gdb) #0  0x028615b574e5 in __GI_raise (sig=sig@entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
resultvar = 0
pid = 45345
selftid = 45345
#1  0x028615b58968 in __GI_abort () at abort.c:90
save_stage = 2
act = {__sigaction_handler = {sa_handler = 0x3b8054ebf19,
sa_sigaction = 0x3b8054ebf19}, sa_mask = {__val = {2774914335357,
2774925433636, 614,
  3760840155677668410, 2774913064961, 8028827915840135261,
8245921732250397551, 0, 4, 4088897909184, 0, 0, 0, 2774914334869,
2774925623296,
  2774914350608}}, sa_flags = 376560446, sa_restorer =
0x2861671e13a __PRETTY_FUNCTION__.5214}
sigs = {__val = {32, 0 repeats 15 times}}
#2  0x028615b50602 in __assert_fail_base (fmt=0x28615c8be10
%s%s%s:%u: %s%sAssertion `%s' failed.\n%n,
assertion=assertion@entry=0x2861671db3e ctx-dnsc_nactive  0,
file=file@entry=0x2861671db24 udns_resolver.c, line=line@entry=614,
function=function@entry=0x2861671e13a __PRETTY_FUNCTION__.5214
dns_end_query) at assert.c:92
str = 0x1ec944b630 
total = 4096
#3  0x028615b506b2 in __GI___assert_fail
(assertion=assertion@entry=0x2861671db3e ctx-dnsc_nactive  0,
file=file@entry=0x2861671db24 udns_resolver.c,
line=line@entry=614, function=function@entry=0x2861671e13a
__PRETTY_FUNCTION__.5214 dns_end_query) at assert.c:101
No locals.
#4  0x028616717988 in dns_end_query (ctx=0x28616720480 dns_defctx,
q=optimized out, 

Re: s2s throws coredump with new version of udns-0.3

2014-01-20 Thread Marcin Mirosław

W dniu 20.01.2014 14:14, Tomasz Sterna pisze:

Dnia 2014-01-20, pon o godzinie 12:02 +0100, Marcin Mirosław pisze:

warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need set solib-search-path or set sysroot?


This suggests problems with your local library installation.
Check 'ldd' on libudns.so, i.e.:

$ ldd /usr/lib64/libudns.so.0
linux-vdso.so.1 =  (0x7fffcf8b6000)
libc.so.6 = /lib64/libc.so.6 (0x7f59ae59b000)
/lib64/ld-linux-x86-64.so.2 (0x003cde60)


$ ldd /usr/lib64/libudns.so.0
linux-vdso.so.1 (0x034f7b8f2000)
libc.so.6 = /lib64/libc.so.6 (0x034f7b52a000)
/lib64/ld-linux-x86-64.so.2 (0x034f7b8f3000)

On gentoo gdb throws such message but as I can see it isn't real problem 
(because linux-vdso.so.1 isn't real file library).

With udns-0.1 and udns-0.2 I haven't got such problem.

Marcin

[1] - https://bugs.gentoo.org/show_bug.cgi?id=428238





Re: s2s: timed out dns lookups

2013-12-29 Thread Marcin Mirosław
W dniu 2013-12-29 00:44, Guido Winkelmann pisze:
Hi Guido!

 Am Samstag, 28. Dezember 2013, 22:50:29 schrieb Marcin Mirosław:
 W dniu 2013-12-28 17:56, Guido Winkelmann pisze:
 Hi Marcin,

 Am Samstag, 28. Dezember 2013, 17:00:24 schrieb Marcin Mirosław:
 W dniu 2013-12-27 22:41, Guido Winkelmann pisze:
 [...]

 I'm using jabberd2 2.3.1 on Gentoo, installed from portage, and udns
 0.2,
 both compiled with GCC 4.7.3. The problem also exists with udns 0.1 and
 GCC 4.5.4, though.

 Does anyone have any idea what might be the problem here?

 Hi!
 Please look at https://bugs.gentoo.org/show_bug.cgi?id=400905 and
 http://comments.gmane.org/gmane.network.jabber.jabberd2/1469

 I found that, but your workaround does not work for me.

 What CFLAGS are you using?

 Just
 CFLAGS=-O2 -mcpu=ultrasparc -pipe

 Could you test:
 a) compile udns with CFLAGS=-O0
 
 It actually works with udns compiled with -O0. Thanks for the hint. I'l try 
 the other things later, but if udns doesn't work correctly with -O2, that's 
 probably a bug. I'll try the other things later.

Yes, it's bug but I'm not sure if it is bug in udns or in gcc. I'd like
to ask you for add comment to bug
https://bugs.gentoo.org/show_bug.cgi?id=400905 with your emerge --info.
It looks gcc's optimizer on SPARC, even with -O2, do something unwanted
in udns. Additionally I'll notify upstream.

Marcin





Re: s2s: timed out dns lookups

2013-12-28 Thread Marcin Mirosław
W dniu 2013-12-27 22:41, Guido Winkelmann pisze:
[...]
 I'm using jabberd2 2.3.1 on Gentoo, installed from portage, and udns 0.2, 
 both 
 compiled with GCC 4.7.3. The problem also exists with udns 0.1 and GCC 4.5.4, 
 though.
 
 Does anyone have any idea what might be the problem here?

Hi!
Please look at https://bugs.gentoo.org/show_bug.cgi?id=400905 and
http://comments.gmane.org/gmane.network.jabber.jabberd2/1469

What CFLAGS are you using?
Marcin




Re: no SASL backend available out of: gsasl

2013-10-25 Thread Marcin Mirosław
W dniu 25.10.2013 14:08, Tomasz Sterna pisze:
 Dnia 2013-10-25, pią o godzinie 12:24 +0100, Niamh Holding pisze:
 ./conftest: error while loading shared libraries: libgsasl.so.7: cannot open 
 shared object file: No such file or directory
 But
  ll /usr/local/lib/libgsasl.so.7
 
 
 /usr/local/lib is not standard library directory.
Hi!
On *BSD it is standard library directory. Man hier also says:
   /usr/local/lib
  Files associated with locally installed programs

Regards,
Marcin




Re: jabberd2-2.2.17 some test fails

2012-08-28 Thread Marcin Mirosław
W dniu 28.08.2012 11:58, Tomasz Sterna pisze:
 Dnia 2012-08-28, wto o godzinie 10:23 +0200, Marcin Mirosław pisze:
 According to last message i'm reporting this on mailinglist;)
 
 Thanks for the report.
 This is a known bug that I didn't have time to fix yet.

Oops, i'm not up to date.

 I wanted to push the security update as soon as possible.
 At least we know that the tests are working. ;-)

Yeaah :)
Thanks for information!
Marcin





Re: jabberd-2.2.16/Debian Squeeze/mysql/GSSAPI/Win2008R2 DC

2012-06-01 Thread Marcin Mirosław
W dniu 01.06.2012 11:39, Marek Červenka pisze:
 btw i made page for sql table doc
 https://github.com/Jabberd2/jabberd2/wiki/SQLTablesDoc

It's great, thanks!




Re: jabberd2-2.2.16, s2s occasionally throws segfault (probably not only on hardened-kernel)

2012-05-17 Thread Marcin Mirosław
Hello!
Ok, i've got debug log from s2s.
This throwd s2s:
*** glibc detected *** s2s: munmap_chunk(): invalid pointer:
0x03ced3eeeb90 ***
=== Backtrace: =
/lib64/libc.so.6(+0x76115)[0x3303e5cc115]
s2s(+0xb323)[0x6227184323]
s2s(main+0xc53)[0x6227185c03]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x3303e57826d]
s2s(+0x64f9)[0x622717f4f9]
=== Memory map: 
[...]

And this is what i can see at the end of debug log:
sx (io.c:197) tag 11 event 2 data 0x29c80d10
Thu May 17 16:44:46 2012 in.c:181 reading from 11
Thu May 17 16:44:46 2012 in.c:206 read 1 bytes
sx (io.c:216) passed 1 read bytes
sx (chain.c:93) calling io read chain
sx (io.c:240) decoded read data (1 bytes):
Thu May 17 16:45:21 2012 main.c:1048 running dns expiry
Thu May 17 16:45:21 2012 main.c:567 expiring DNS cache for proxy.jabber.ru
Thu May 17 16:45:21 2012 main.c:567 expiring DNS cache for jabbim.pl
Thu May 17 16:45:21 2012 main.c:567 expiring DNS cache for proxy.jabbim.cz
Thu May 17 16:45:21 2012 main.c:591 expiring DNS bad host
...2n.R^..C...WB.m,98,.X..~C..SR...%ʹ..#..Λ..







Re: jabberd-2.2.16 release

2012-05-05 Thread Marcin Mirosław

Hello!
I'm getting compilation error:
make[2]: Entering directory 
`/dane/domeny/PORT/portage/net-im/jabberd2-2.2.16/work/jabberd-2.2.16/c2s'
/bin/sh ../libtool --quiet --tag=CC   --mode=link 
x86_64-pc-linux-gnu-gcc  -march=native -O0 -funsigned-char 
-export-dynamic -Wl,-O1 -Wl,--as-needed -o c2s c2s-authreg.o c2s-bind.o 
c2s-c2s.o c2s-main.o c2s-sm.o c2s-pbx.o c2s-pbx_commands.o 
../sx/libsx.la ../mio/libmio.la ../util/libutil.la ../subst/libsubst.la 
-lssl -lcrypto -lgsasl -ludns -lidn -lexpat -lresolv -lcrypt  -ldl -lz

c2s-main.o: In function `_c2s_config_expand':
main.c:(.text+0x29a): undefined reference to 
`set_debug_log_from_config'

c2s-main.o: In function `main':
main.c:(.text+0x2af8): undefined reference to 
`set_debug_log_from_config'

collect2: ld returned 1 exit status
make[2]: *** [c2s] Error 1

./configure was run with parameters:
--prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu 
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share 
--sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 
--docdir=/usr/share/doc/jabberd2-2.2.16 --enable-shared --disable-static 
--sysconfdir=/etc/jabber --enable-fs --enable-pipe --enable-anon 
--disable-db --disable-ldap --disable-mysql --disable-pam --enable-pgsql 
--disable-sqlite --enable-ssl --with-zlib


May i please for help?
Regards,
Marcin




Re: jabberd-2.2.16 release

2012-05-05 Thread Marcin Mirosław
W dniu 2012-05-05 15:59, Tomasz Sterna pisze:
 Dnia 2012-05-05, sob o godzinie 15:12 +0200, Marcin Mirosław pisze:
 main.c:(.text+0x29a): undefined reference to 
 `set_debug_log_from_config'

 May i please for help? 
 
 Ouch. This is what we get for building differently with debug and
 without.
 
 You have two options:
 1. ./configure --with-debug
 2. apply https://github.com/Jabberd2/jabberd2/commit/41884d9919

Both options works;)
Thank you for quick fix!
Marcin




Re: jabberd-2.2.15 release

2012-05-02 Thread Marcin Mirosław
W dniu 01.05.2012 00:26, Tomasz Sterna pisze:
 Dnia 2012-04-30, pon o godzinie 20:20 +0200, Christof Meerwald pisze:
 https://github.com/Jabberd2/jabberd2/downloads )?
 It would, but why?
 I see no reason for duplication of the same tarballs.
 Well, the ones in the Downloads section should ideally already
 contain the autoconf generated configure script. 
 
 That's a _very_ good point. :-)
 
 I will upload distribution tarball then.

I had not yet seen there was need to run autoconf. If package is
available through downloads section it easy to create SRC_URI in
ebuild and there is no inconvienient path inside tarball which contains
a piece of hash (Jabberd2-jabberd2-bc6a7a9).
I noticed cppunit is now needed to compile jabberd, may i please to add
information about it to proper section in README?

==
checking for CPPUNIT... no
configure: error: Package requirements (cppunit) were not met:

No package 'cppunit' found
==

Thank you.
Marcin




Re: jabberd-2.2.15 release

2012-05-02 Thread Marcin Mirosław
W dniu 2012-05-02 18:00, Tomasz Sterna pisze:
 Dnia 2012-05-02, śro o godzinie 11:49 +0200, Marcin Mirosław pisze:
 I noticed cppunit is now needed to compile jabberd, may i please to
 add information about it to proper section in README? 
 
 I missed that. Thanks for the notice.
 Info added. (Will be in the next release - which should be soon as there
 are some critical things to be fixed.)
 
 I will try to modify the scripts, to not fail on missing cppunit, just
 skip building tests.

It would be great!
You wrote about some critical things which need to be fixed, can you
write something more? I upgraded jabberd to 2.2.15 then i have problem,
almost all external servers couldn't connect to mine. I didn't have time
to debug (in s2s.log i found  error: Stream error (dialback timed out)
), so i downgraded to 2.2.14.
Regards,
Marcin




Re: jabberd-2.2.15 release

2012-04-30 Thread Marcin Mirosław
W dniu 29.04.2012 23:57, Tomasz Sterna pisze:
 Next jabberd2 release is available.
 
 The project had moved to GitHub, so this time get 2.2.15 release at:
 https://github.com/Jabberd2/jabberd2/tarball/jabberd-2.2.15
 https://github.com/Jabberd2/jabberd2/zipball/jabberd-2.2.15

Hello.
Shouldn't urls looks like:
https://github.com/Jabberd2/jabberd2/zipball/jabberd2-2.2.15
   ^^^
to keep consistency in name of package?
Would it be possible to have tarball in Downloads section of github (
https://github.com/Jabberd2/jabberd2/downloads )?
Thanks,
Marcin




Re: Almost permanently problem dns lookup for xxxx timed out

2012-01-17 Thread Marcin Mirosław
W dniu 17.01.2012 10:10, Tomasz Sterna pisze:
 Dnia 2012-01-16, pon o godzinie 18:19 +0100, Marcin Mirosław pisze:
 1. First case, gmail is unreachable, in s2s debug log there is:
 [...]
 Mon Jan 16 15:31:58 2012 out.c:117 creating new out packet queue for
 'mejor.pl/gmail.com'
 Mon Jan 16 15:31:58 2012 out.c:125 queueing packet for 'mejor.pl/gmail.com
 [...]
 Mon Jan 16 15:31:58 2012 out.c:1177 dns resolve for
 gmail.com@0x7f1fc3d5dc60 started
 [...]
 Mon Jan 16 15:31:58 2012 out.c:793 dns host added for
 gmail.com@0x7f1fc3d5dc60: alt2.xmpp-server.l.google.com/5269 (20/0/842)
 Mon Jan 16 15:31:58 2012 out.c:822 dns response for
 gmail.com@0x7f1fc3d5dc60: SRV _xmpp-server._tcp.gmail.com[4]
 alt3.xmpp-server.l.google.com/5269 (20/0)
 Mon Jan 16 15:31:58 2012 out.c:793 dns host added for
 gmail.com@0x7f1fc3d5dc60: alt3.xmpp-server.l.google.com/5269 (20/0/842)
 Mon Jan 16 15:31:58 2012 out.c:1077 dns ttl for gmail.com@0x7f1fc3d5dc60
 limited to 842
 Mon Jan 16 15:31:58 2012 out.c:1088 dns request for
 gmail.com@0x7f1fc3d5dc60: A alt1.xmpp-server.l.google.com
 Mon Jan 16 15:31:58 2012 out.c:1249 read action on fd 11
 sx (io.c:191) 11 ready for reading
 
 This looks ok. What happens next?

Now I'm pasting from diffrent log (but symptoms was the same, gmail.com
was resolved).
Mon Jan 16 17:12:43 2012 out.c:815 dns response for
gmail.com@0x7f6e77e5dc60: SRV _xmpp-server._tcp.gmail.com 5 (110)
Mon Jan 16 17:12:43 2012 out.c:822 dns response for
gmail.com@0x7f6e77e5dc60: SRV _xmpp-server._tcp.gmail.com[0]
alt1.xmpp-server.l.google.com/5269 (20/0)
Mon Jan 16 17:12:43 2012 out.c:793 dns host added for
gmail.com@0x7f6e77e5dc60: alt1.xmpp-server.l.google.com/5269 (20/0/110)
Mon Jan 16 17:12:43 2012 out.c:822 dns response for
gmail.com@0x7f6e77e5dc60: SRV _xmpp-server._tcp.gmail.com[1]
alt2.xmpp-server.l.google.com/5269 (20/0)
Mon Jan 16 17:12:43 2012 out.c:793 dns host added for
gmail.com@0x7f6e77e5dc60: alt2.xmpp-server.l.google.com/5269 (20/0/110)
Mon Jan 16 17:12:43 2012 out.c:822 dns response for
gmail.com@0x7f6e77e5dc60: SRV _xmpp-server._tcp.gmail.com[2]
alt3.xmpp-server.l.google.com/5269 (20/0)
Mon Jan 16 17:12:43 2012 out.c:793 dns host added for
gmail.com@0x7f6e77e5dc60: alt3.xmpp-server.l.google.com/5269 (20/0/110)
Mon Jan 16 17:12:43 2012 out.c:822 dns response for
gmail.com@0x7f6e77e5dc60: SRV _xmpp-server._tcp.gmail.com[3]
alt4.xmpp-server.l.google.com/5269 (20/0)
Mon Jan 16 17:12:43 2012 out.c:793 dns host added for
gmail.com@0x7f6e77e5dc60: alt4.xmpp-server.l.google.com/5269 (20/0/110)
Mon Jan 16 17:12:43 2012 out.c:822 dns response for
gmail.com@0x7f6e77e5dc60: SRV _xmpp-server._tcp.gmail.com[4]
xmpp-server.l.google.com/5269 (5/0)
Mon Jan 16 17:12:43 2012 out.c:793 dns host added for
gmail.com@0x7f6e77e5dc60: xmpp-server.l.google.com/5269 (5/0/110)
Mon Jan 16 17:12:43 2012 out.c:1077 dns ttl for gmail.com@0x7f6e77e5dc60
limited to 110
Mon Jan 16 17:12:43 2012 out.c:1088 dns request for
gmail.com@0x7f6e77e5dc60: A alt1.xmpp-server.l.google.com
Mon Jan 16 17:12:43 2012 router.c:296 read action on fd 6
sx (io.c:191) 6 ready for reading
sx (io.c:197) tag 6 event 2 data 0x77e71dd0
Mon Jan 16 17:12:43 2012 router.c:44 reading from 6
Mon Jan 16 17:12:43 2012 router.c:69 read 1024 bytes
sx (io.c:216) passed 1024 read bytes
sx (chain.c:93) calling io read chain
sx (io.c:240) decoded read data (1024 bytes): r:client'
type='unavailable' id='1391' from='mar...@mejor.pl/Gajim_'
to='xxx...@gmail.com'x
xmlns='vcard-temp:x:update'photo//x/presence/routeroute
xmlns='http://jabberd.jabberstudio.org/ns/component/1.0' to='jabster.pl'
from='mejor.pl'presence xmlns='jabber:client' type='unavailable'
id='1391' from='mar...@mejor.pl/Gajim_' to='xx...@jabster.pl'x
xmlns='vcard-temp:x:update'photo//x/presence/routeroute
xmlns='http://jabberd.jabberstudio.org/ns/component/1.0' to='jabbim.pl'
from='mejor.pl'presence xmlns='jabber:client' type='unavailable'
id='1391' from='mar...@mejor.pl/Gajim_' to='xx...@jabbim.pl'x
xmlns='vcard-temp:x:update'photo//x/presence/routeroute
xmlns='http://jabberd.jabberstudio.org/ns/component/1.0' to='gmail.com'
from='mejor.pl'presence xmlns='jabber:client' type='unavailable'
id='1391' from='mar...@mejor.pl/Gajim_' to='y...@gmail.com'x
xmlns='vcard-temp:x:update'photo//x/presence/routeroute
xmlns='http://jabberd.jabberstudio.org/n
sx (io.c:92) completed nad: route
xmlns='http://jabberd.jabberstudio.org/ns/component/1.0' from='mejor.pl'
to='gmail.com'presence xmlns='jabber:client' to='...@gmail.com'
from='mar...@mejor.pl/Gajim_' id='1391' type='unavailable'x
xmlns='vcard-temp:x:update'photo//x/presence/route
sx (chain.c:119) calling nad read chain
sx (io.c:156) tag 6 event 6 data 0x77e6a7d0
Mon Jan 16 17:12:43 2012 router.c:205 got a packet
Mon Jan 16 17:12:43 2012 out.c:403 trying to find connection for 'gmail.com'
Mon Jan 16 17:12:43 2012 out.c:406 connection for 'gmail.com' not found
Mon Jan 16 17:12:43 2012 out.c:431 pending resolution
Mon Jan 16 17:12:43 2012 out.c:125 queueing

Re: Almost permanently problem dns lookup for xxxx timed out

2012-01-17 Thread Marcin Mirosław

W dniu 2012-01-17 17:04, Tomasz Sterna pisze:

Dnia 2012-01-17, wto o godzinie 15:39 +0100, Marcin Mirosław pisze:

Mon Jan 16 17:14:39 2012 [notice] dns lookup for gmail.com timed out

[...]

and all remain gmail's users are marked as remote-server-not-found


Something is definitely wrong with DNS resolution.
Is your machine setup any unusual? Any firewall rules active?

I tried without firewall too.

Which version of udns do you have?


Yup, here was the problem. I've got udns-0.1 but it wasn't problem. 
Problem was in CFLAGS, -fpeel-loops with -Os (and with -O3 also) gives 
broken binary (gcc-4.5.3). It looks everything works as should:)

Can i send you a beer? http://jastawiam.pl/
Regards,
Marcin




Almost permanently problem dns lookup for xxxx timed out

2012-01-16 Thread Marcin Mirosław
Hello,
i've got problem to connect to some users. Problem is partly random and
partly permanent. It's not ease to describe all cases.
Permanently i can't connect to users in domain: gmail.com. On roster i
have info remote-server-not-found, in s2s.log i have dns lookup for
gmail.com timed out.
1. First case, gmail is unreachable, in s2s debug log there is:
[...]
sx (io.c:240) decoded read data (1024 bytes): route
xmlns='http://jabberd.jabberstudio.org/ns/component/1.0' to='marcel.pl'
from='mejor.pl'presence xmlns='jabber:client' type='unavailable'
id='958' from='mar...@mejor.pl/Gajim_' to='...@marcel.pl'x
xmlns='vcard-temp:x:update'photo//x/presence/routeroute
xmlns='http://jabberd.jabberstudio.org/ns/component/1.0' to='gmail.com'
from='mejor.pl'presence xmlns='jabber:client' type='unavailable'
id='958' from='mar...@mejor.pl/Gajim_' to='y...@gmail.com'x
xmlns='vcard-temp:x:update'photo//x/presence/routeroute
xmlns='http://jabberd.jabberstudio.org/ns/component/1.0'
to='brodowicz.com' from='mejor.pl'presence xmlns='jabber:client'
type='unavailable' id='958' from='mar...@mejor.pl/Gajim_'
to='...@brodowicz.com'x
xmlns='vcard-temp:x:update'photo//x/presence/routeroute
xmlns='http://jabberd.jabberstudio.org/ns/component/1.0'
to='jabber.zacisze.org' from='mejor.pl'presence xmlns='jabber:client'
type='unavailable' id='958' from='mar...@mejor.pl/Gajim_' to='aa@jabb
sx (io.c:92) completed nad: route
xmlns='http://jabberd.jabberstudio.org/ns/component/1.0' from='mejor.pl'
to='gmail.com'presence xmlns='jabber:client'
to='take2clo...@gmail.com' from='mar...@mejor.pl/Gajim_' id='958'
type='unavailable'x
xmlns='vcard-temp:x:update'photo//x/presence/route
Mon Jan 16 15:31:58 2012 out.c:403 trying to find connection for 'gmail.com'
Mon Jan 16 15:31:58 2012 out.c:406 connection for 'gmail.com' not found
Mon Jan 16 15:31:58 2012 out.c:412 no dns for gmail.com, preparing for
resolution
Mon Jan 16 15:31:58 2012 out.c:440 requesting resolution for gmail.com
Mon Jan 16 15:31:58 2012 out.c:1177 dns resolve for
gmail.com@0x7f1fc3d5dc60 started
Mon Jan 16 15:31:58 2012 out.c:839 dns request for
gmail.com@0x7f1fc3d5dc60: SRV xmpp-server
Mon Jan 16 15:31:58 2012 out.c:117 creating new out packet queue for
'mejor.pl/gmail.com'
Mon Jan 16 15:31:58 2012 out.c:125 queueing packet for 'mejor.pl/gmail.com
[...]
Mon Jan 16 15:31:58 2012 out.c:1177 dns resolve for
gmail.com@0x7f1fc3d5dc60 started
Mon Jan 16 15:31:58 2012 out.c:839 dns request for
gmail.com@0x7f1fc3d5dc60: SRV xmpp-server
[...]
Mon Jan 16 15:31:58 2012 out.c:815 dns response for
gmail.com@0x7f1fc3d5dc60: SRV _xmpp-server._tcp.gmail.com 5 (842)
Mon Jan 16 15:31:58 2012 out.c:822 dns response for
gmail.com@0x7f1fc3d5dc60: SRV _xmpp-server._tcp.gmail.com[0]
alt4.xmpp-server.l.google.com/5269 (20/0)
Mon Jan 16 15:31:58 2012 out.c:793 dns host added for
gmail.com@0x7f1fc3d5dc60: alt4.xmpp-server.l.google.com/5269 (20/0/842)
Mon Jan 16 15:31:58 2012 out.c:822 dns response for
gmail.com@0x7f1fc3d5dc60: SRV _xmpp-server._tcp.gmail.com[1]
xmpp-server.l.google.com/5269 (5/0)
Mon Jan 16 15:31:58 2012 out.c:793 dns host added for
gmail.com@0x7f1fc3d5dc60: xmpp-server.l.google.com/5269 (5/0/842)
Mon Jan 16 15:31:58 2012 out.c:822 dns response for
gmail.com@0x7f1fc3d5dc60: SRV _xmpp-server._tcp.gmail.com[2]
alt1.xmpp-server.l.google.com/5269 (20/0)
Mon Jan 16 15:31:58 2012 out.c:793 dns host added for
gmail.com@0x7f1fc3d5dc60: alt1.xmpp-server.l.google.com/5269 (20/0/842)
Mon Jan 16 15:31:58 2012 out.c:822 dns response for
gmail.com@0x7f1fc3d5dc60: SRV _xmpp-server._tcp.gmail.com[3]
alt2.xmpp-server.l.google.com/5269 (20/0)
Mon Jan 16 15:31:58 2012 out.c:793 dns host added for
gmail.com@0x7f1fc3d5dc60: alt2.xmpp-server.l.google.com/5269 (20/0/842)
Mon Jan 16 15:31:58 2012 out.c:822 dns response for
gmail.com@0x7f1fc3d5dc60: SRV _xmpp-server._tcp.gmail.com[4]
alt3.xmpp-server.l.google.com/5269 (20/0)
Mon Jan 16 15:31:58 2012 out.c:793 dns host added for
gmail.com@0x7f1fc3d5dc60: alt3.xmpp-server.l.google.com/5269 (20/0/842)
Mon Jan 16 15:31:58 2012 out.c:1077 dns ttl for gmail.com@0x7f1fc3d5dc60
limited to 842
Mon Jan 16 15:31:58 2012 out.c:1088 dns request for
gmail.com@0x7f1fc3d5dc60: A alt1.xmpp-server.l.google.com
Mon Jan 16 15:31:58 2012 out.c:1249 read action on fd 11
sx (io.c:191) 11 ready for reading
sx (io.c:197) tag 11 event 2 data 0xc3d9e7a0
Mon Jan 16 15:31:58 2012 out.c:1401 reading from 11
Mon Jan 16 15:31:58 2012 out.c:1445 read 186 bytes
sx (io.c:216) passed 186 read bytes
sx (chain.c:93) calling io read chain

2. Second case, i restarted s2s daemon and i get similar behavior on
client remote-server-not-found. This time there is no messages like
out.c:822 dns response for gmail.com@0x7f1fc3d5dc60: SRV
_xmpp-server._tcp.gmail.com[4] alt3.xmpp-server.l.google.com/5269
(20/0) in s2s debug log.

3. Let me talk about other domain marcel.pl. Sometimes i can connect
to users, next i restart jabberd (or s2s daemon) and then i can't
connect to them. Then i do e.g. 

Problem with setup jabberd2 to working with ipv4 and ipv6

2012-01-13 Thread Marcin Mirosław
Hello.
I've found information i should set local/ip to :: (double colon), done.
Local resolver listens on both ip families,
cat /etc/resolv.conf
search .
nameserver 127.0.0.1
nameserver ::1

But it doesn't work as i expect. I can't connect to anyone, s2s debug
log throws:
Fri Jan 13 17:03:23 2012 router.c:34 want read
Fri Jan 13 17:03:23 2012 out.c:1831 deleting out packet queue for
mejor.pl/marcel.pl
Fri Jan 13 17:03:23 2012 out.c:1029 dns response for
gmail.com@0x7fae91f59ff0: A alt1.xmpp-server.l.google.com 1 (300)
Fri Jan 13 17:03:23 2012 out.c:1037 dns response for
gmail.com@0x7fae91f59ff0: A alt1.xmpp-server.l.google.com[0]
209.85.175.125/5269
Fri Jan 13 17:03:23 2012 out.c:739 dns result added for
gmail.com@0x7fae91f59ff0: 209.85.175.125/5269 (20/0/300)
Fri Jan 13 17:03:23 2012 out.c:1077 dns ttl for gmail.com@0x7fae91f59ff0
limited to 900
Fri Jan 13 17:03:23 2012 out.c:1088 dns request for
gmail.com@0x7fae91f59ff0: A alt4.xmpp-server.l.google.com
Fri Jan 13 17:03:23 2012 out.c:815 dns response for
jabster.pl@0x7fae91f71c50: SRV _xmpp-server._tcp.jabster.pl 1 (300)
Fri Jan 13 17:03:23 2012 out.c:822 dns response for
jabster.pl@0x7fae91f71c50: SRV _xmpp-server._tcp.jabster.pl[0]
lb1-hap.jabbim.cz/5269 (1/0)
Fri Jan 13 17:03:23 2012 out.c:793 dns host added for
jabster.pl@0x7fae91f71c50: lb1-hap.jabbim.cz/5269 (1/0/300)
Fri Jan 13 17:03:23 2012 out.c:1077 dns ttl for
jabster.pl@0x7fae91f71c50 limited to 300
Fri Jan 13 17:03:23 2012 out.c:1088 dns request for
jabster.pl@0x7fae91f71c50: A lb1-hap.jabbim.cz
Fri Jan 13 17:03:23 2012 main.c:583 read action on fd 5
Fri Jan 13 17:03:23 2012 out.c:1029 dns response for
jabster.pl@0x7fae91f71c50: A lb1-hap.jabbim.cz 1 (1819)
Fri Jan 13 17:03:23 2012 out.c:1037 dns response for
jabster.pl@0x7fae91f71c50: A lb1-hap.jabbim.cz[0] 88.86.102.50/5269
Fri Jan 13 17:03:23 2012 out.c:739 dns result added for
jabster.pl@0x7fae91f71c50: 88.86.102.50/5269 (1/0/300)
Fri Jan 13 17:03:23 2012 out.c:1105 dns requests for
jabster.pl@0x7fae91f71c50 complete: 1 (300)
Fri Jan 13 17:03:23 2012 [notice] dns lookup for jabster.pl returned 1
result (ttl 300)
Fri Jan 13 17:03:23 2012 out.c:1885 flushing 2 packets for
'mejor.pl/jabster.pl' to out_packet
Fri Jan 13 17:03:23 2012 out.c:403 trying to find connection for
'jabster.pl'
Fri Jan 13 17:03:23 2012 out.c:406 connection for 'jabster.pl' not found
Fri Jan 13 17:03:23 2012 out.c:208 selecting DNS result for 'jabster.pl'
Fri Jan 13 17:03:23 2012 out.c:275 host '88.86.102.50/5269' IPv4
Fri Jan 13 17:03:23 2012 out.c:281 reset prio list, using prio 1
Fri Jan 13 17:03:23 2012 out.c:289 added host with weight 0 (16),
running weight 16
Fri Jan 13 17:03:23 2012 out.c:340 using IPv4 hosts, total weight 16
Fri Jan 13 17:03:23 2012 out.c:344 random number 13
Fri Jan 13 17:03:23 2012 out.c:348 selected host '88.86.102.50/5269',
running weight 16
Fri Jan 13 17:03:23 2012 out.c:514 initiating connection to
88.86.102.50/5269
Fri Jan 13 17:03:23 2012 [notice] [-1] [88.86.102.50, port=5269]
mio_connect error: Address family not supported by protocol (97)
Fri Jan 13 17:03:23 2012 out.c:403 trying to find connection for
'jabster.pl'
Fri Jan 13 17:03:23 2012 out.c:406 connection for 'jabster.pl' not found
Fri Jan 13 17:03:23 2012 out.c:208 selecting DNS result for 'jabster.pl'
Fri Jan 13 17:03:23 2012 out.c:230 host '88.86.102.50/5269' bad
Fri Jan 13 17:03:23 2012 out.c:357 using bad hosts, allow_bad=0
Fri Jan 13 17:03:23 2012 out.c:125 queueing packet for 'mejor.pl/jabster.pl'
sx (chain.c:106) calling nad write chain
sx (io.c:406) queueing for write: route
xmlns='http://jabberd.jabberstudio.org/ns/component/1.0' from='s2s'
to='mejor.pl'presence xmlns='jabber:client' type='error'
to='mar...@mejor.pl/Gajim_' from='xxx...@jabster.pl' id='858'error
type='cancel' code='503'service-unavailable
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'//errorpriority50/priorityx
xmlns='vcard-temp:x:update'photo//xc
xmlns='http://jabber.org/protocol/caps' hash='sha-1'
ver='47EPEmSc9oqPGwcrbNtpKcYyJcE='
node='http://gajim.org'//presence/route
sx (io.c:429) tag 6 event 1 data 0x0

and the same for other domains. When i set local/ip to 0.0.0.0 i have no
such problem. Am i doing something wrong?
Jabberd-2.2.14, gentoo.
Thanks for help.




Re: Problem with setup jabberd2 to working with ipv4 and ipv6

2012-01-13 Thread Marcin Mirosław

W dniu 2012-01-13 18:18, Tomasz Sterna pisze:

Looks like https://bugs.launchpad.net/jabberd2/+bug/374687 bug.


Hi Tomasz,
yes, it looks simillary. I can see patch is included in jabberd-2.2.14, 
on linux it still doesn't solve problem. I'm guessing this bug have low 
priority?

Thanks.




Re: Problem with setup jabberd2 to working with ipv4 and ipv6

2012-01-13 Thread Marcin Mirosław

W dniu 2012-01-13 20:24, Christof Meerwald pisze:

On Fri, Jan 13, 2012 at 05:14:59PM +0100, Marcin Mirosław wrote:

I've found information i should set local/ip to :: (double colon), done.


What's the setting of net.ipv6.bindv6only (sysctl
net.ipv6.bindv6only)?


Hi Christof,
# cat /proc/sys/net/ipv6/bindv6only
0
# netstat -lptun|grep s2s
tcp6   0  0 :::5269 :::* 
LISTEN  47761/s2s

$ telnet 127.0.0.1 5269
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
asd
stream:stream xmlns:stream='http://etherx.jabber.org/streams' 
version='1.0'stream:error 
xmlns:stream='http://etherx.jabber.org/streams'xml-not-well-formed 
xmlns='urn:ietf:params:xml:ns:xmpp-streams'/text 
xmlns='urn:ietf:params:xml:ns:xmpp-streams'syntax 
error/text/stream:error/stream:streamConnection closed by foreign 
host.


$ telnet :: 5269
Trying ::...
Connected to ::.
Escape character is '^]'.
asd
stream:stream xmlns:stream='http://etherx.jabber.org/streams' 
version='1.0'stream:error 
xmlns:stream='http://etherx.jabber.org/streams'xml-not-well-formed 
xmlns='urn:ietf:params:xml:ns:xmpp-streams'/text 
xmlns='urn:ietf:params:xml:ns:xmpp-streams'syntax 
error/text/stream:error/stream:streamConnection closed by foreign 
host.

S2s is accepting connetcion on both ipv4 and ipv6 protos.
Regards.




Re: Problem with setup jabberd2 to working with ipv4 and ipv6

2012-01-13 Thread Marcin Mirosław

W dniu 2012-01-13 21:36, Christof Meerwald pisze:

Looks like the kernel got a bit more strict recently - with 2.6.32 you
can create an AF_INET socket and bind it to an AF_INET6 :: address,
but with 3.0 the kernel now complains with EAFNOSUPPORT.


Indeed, i'm using kernel 3.1.


I guess as a quick and dirty workaround you might be able to set

   s2s-origin_ip = NULL;

in s2s/main.c, line 126


Workarround seems to work for me. I don't have such messages anymore.
Thank you for the tip.




Compilation error: 'SX_SSL_CONN_EXTERNAL_ID_MAX_COUNT' undeclared here

2011-10-03 Thread Marcin Mirosław

Hello!
When i try to compile jabberd2-2.2.14 without ssl (--disable-ssl) i got 
compilation error:

make
/bin/sh ../libtool --quiet --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H 
-I. -I.. -g -O2 -funsigned-char -MT sasl_gsasl.lo -MD -MP -MF 
.deps/sasl_gsasl.Tpo -c -o sasl_gsasl.lo sasl_gsasl.c
sasl_gsasl.c:37:41: error: 'SX_SSL_CONN_EXTERNAL_ID_MAX_COUNT' 
undeclared here (not in a function)

make: *** [sasl_gsasl.lo] Error 1

May i please for help?
(gentoo os)

Regards,
Marcin




Re: magic problem with resolving srv records

2011-07-28 Thread Marcin Mirosław
I tried other xmpp server, it worked correctly. Mayby this is relative 
to ipv6


--
To unsubscribe send a mail to jabberd2+unsubscr...@lists.xiaoka.com



magic problem with resolving srv records

2011-07-13 Thread Marcin Mirosław
Hello!
I'm using jabberd2-2.2.14. I've got strange problem, i can't talk to
anyone because my jabberd2 server can't connect to other servers. On my
roster contacts has information remote-server-not-found. My resolver
seems to work correctly (also i tried to use google dns: 8.8.8.8).
I can resolve srv records from cli using host. For example:
$ host -t srv _xmpp-server._tcp.google.com
_xmpp-server._tcp.google.com has SRV record 20 0 5269
xmpp-server2.l.google.com.
[... snip other records]

In s2s.log i'm getting:
Wed Jul 13 13:28:30 2011 [notice] dns lookup for gmail.com timed out
Wed Jul 13 13:30:31 2011 [notice] dns lookup for marcel.pl timed out
Wed Jul 13 13:32:32 2011 [notice] dns lookup for marcel.pl timed out
Wed Jul 13 13:33:32 2011 [notice] dns lookup for gmail.com timed out

So i've compiled jabberd2 with debug and started s2s with -D parameter.
click in gajim information about user
Wed Jul 13 13:39:25 2011 router.c:296 read action on fd 6
sx (io.c:191) 6 ready for reading
sx (io.c:197) tag 6 event 2 data 0xeb63c3b0
Wed Jul 13 13:39:25 2011 router.c:44 reading from 6
Wed Jul 13 13:39:25 2011 router.c:69 read 242 bytes
sx (io.c:216) passed 242 read bytes
sx (chain.c:93) calling io read chain
sx (io.c:240) decoded read data (242 bytes): route
xmlns='http://jabbertakd.jabberstudio.org/ns/component/1.0'
to='gmail.com' from='mejor.pl'iq xmlns='jabber:client'
to='xx...@gmail.com' type='get' id='524'
from='yyy...@mejor.pl/Gajim_'query xmlns='jabber:iq:last'//iq/route
sx (io.c:92) completed nad: route
xmlns='http://jabberd.jabberstudio.org/ns/component/1.0' from='mejor.pl'
to='gmail.com'iq xmlns='jabber:client' from='y...@mejor.pl/Gajim_'
id='524' type='get' to='xxx...@gmail.com'query
xmlns='jabber:iq:last'//iq/route
sx (chain.c:119) calling nad read chain
sx (io.c:156) tag 6 event 6 data 0xeb63b4c0
Wed Jul 13 13:39:25 2011 router.c:205 got a packet
Wed Jul 13 13:39:25 2011 out.c:403 trying to find connection for 'gmail.com'
Wed Jul 13 13:39:25 2011 out.c:406 connection for 'gmail.com' not found
Wed Jul 13 13:39:25 2011 out.c:412 no dns for gmail.com, preparing for
resolution
Wed Jul 13 13:39:25 2011 out.c:440 requesting resolution for gmail.com
Wed Jul 13 13:39:25 2011 out.c:1177 dns resolve for
gmail.com@0x42eb63d2a0 started
Wed Jul 13 13:39:25 2011 out.c:839 dns request for
gmail.com@0x42eb63d2a0: SRV xmpp-server
Wed Jul 13 13:39:25 2011 out.c:117 creating new out packet queue for
'mejor.pl/gmail.com'
Wed Jul 13 13:39:25 2011 out.c:125 queueing packet for 'mejor.pl/gmail.com'
Wed Jul 13 13:39:25 2011 main.c:583 read action on fd 5
Wed Jul 13 13:39:25 2011 router.c:296 read action on fd 6
sx (io.c:191) 6 ready for reading
sx (io.c:197) tag 6 event 2 data 0xeb63d0c0
Wed Jul 13 13:39:25 2011 router.c:44 reading from 6
Wed Jul 13 13:39:25 2011 router.c:69 read 238 bytes
sx (io.c:216) passed 238 read bytes
sx (chain.c:93) calling io read chain
sx (io.c:240) decoded read data (238 bytes): route
xmlns='http://jabberd.jabberstudio.org/ns/component/1.0' to='gmail.com'
from='mejor.pl'iq xmlns='jabber:client' to='x...@gmail.com'
type='get' id='525' from='y...@mejor.pl/Gajim_'vCard
xmlns='vcard-temp'//iq/route
sx (io.c:92) completed nad: route
xmlns='http://jabberd.jabberstudio.org/ns/component/1.0' from='mejor.pl'
to='gmail.com'iq xmlns='jabber:client' from='y...@mejor.pl/Gajim_'
id='525' type='get' to='xx...@gmail.com'vCard
xmlns='vcard-temp'//iq/route
sx (chain.c:119) calling nad read chain
sx (io.c:156) tag 6 event 6 data 0xeb63d0f0
Wed Jul 13 13:39:25 2011 router.c:205 got a packet
Wed Jul 13 13:39:25 2011 out.c:403 trying to find connection for 'gmail.com'
Wed Jul 13 13:39:25 2011 out.c:406 connection for 'gmail.com' not found
Wed Jul 13 13:39:25 2011 out.c:431 pending resolution
Wed Jul 13 13:39:25 2011 out.c:125 queueing packet for 'mejor.pl/gmail.com'
Wed Jul 13 13:39:35 2011 main.c:814 running time checks
Wed Jul 13 13:39:35 2011 main.c:316 running time checks for
mejor.pl/gmail.com
Wed Jul 13 13:39:35 2011 main.c:324 dns lookup pending for gmail.com
Wed Jul 13 13:39:35 2011 main.c:819 next time check at 1310557235
Wed Jul 13 13:40:35 2011 main.c:814 running time checks
Wed Jul 13 13:40:35 2011 main.c:316 running time checks for
mejor.pl/gmail.com
Wed Jul 13 13:40:35 2011 main.c:324 dns lookup pending for gmail.com
Wed Jul 13 13:40:35 2011 [notice] dns lookup for gmail.com timed out
sx (chain.c:106) calling nad write chain
sx (io.c:406) queueing for write: route
xmlns='http://jabberd.jabberstudio.org/ns/component/1.0' from='s2s'
to='mejor.pl'iq xmlns='jabber:client' from='XX
@gmail.com' id='524' type='error' to='y...@mejor.pl/Gajim_'error
type='cancel' code='404'remote-server-not-found
xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'//
errorquery xmlns='jabber:iq:last'//iq/route
sx (io.c:429) tag 6 event 1 data 0x0
Wed Jul 13 13:40:35 2011 router.c:39 want write
Wed Jul 13 13:40:35 2011 router.c:307 write action on fd 6
sx (io.c:328) 6 ready for writing
sx 

Re: process router doesn't want to be killed

2011-03-24 Thread Marcin Mirosław
Hi!
Does anybody have any thoughts about this problem?
Regards

-- 
To unsubscribe send a mail to jabberd2+unsubscr...@lists.xiaoka.com