I think I fixed the crashing issue :)

Apparently, I did a typo when adding /usr/local/lib to /etc/ld.so.conf. So, I 
updated the file, ran ldconfig, go back to gsasl source, recompiled it, run 
ldconfig, recompiled jabberd2. Voila, no crashing.

Thanks Tomasz...

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Remzi Semsettin 
Turer
Sent: Tuesday, June 19, 2007 2:43 PM
To: 'jabberd2 development'
Subject: Re: [jabberd2] Jabberd2 2.1.6 Router Crash problem

/usr/local/bin/router -c /etc/jabberd/router.xml -D

Would run fine and won't crash. As soon as I run any additional components, 
they crash the router. For example I run

/usr/local/bin/router -c /etc/jabberd/router.xml -D &

Then I run  /usr/local/bin/resolver -c /etc/jabberd/resolver.xml -D

And it would crash the router. One thing I noticed:

Tue Jun 19 14:37:54 2007 router.c:593 144 bytes written
sx (server.c:29) stream established
sx (server.c:39) 6 state change from 1 to 3
sx (server.c:40) tag 6 event 4 data 0x0
sx (server.c:45) building features nad
sx (sasl_gsasl.c:246) offering sasl mechanisms
/usr/local/bin/router: symbol lookup error: /usr/local/bin/router: undefined 
symbol: gsasl_session_hook_get
sx (io.c:473) 5 state change from 3 to 6
sx (io.c:474) tag 5 event 7 data 0x0
Tue Jun 19 14:37:54 2007 resolver.c:467 close action on fd 5
Tue Jun 19 14:37:54 2007 [notice] connection to router closed

I tried running router first then another component, and similar errors shown 
up. So something is wrong related to gsasl. I have use gsasl-0.2.18 and 
compiled it from tarball. Do I need sth else?

Remzi

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tomasz Sterna
Sent: Tuesday, June 19, 2007 12:32 PM
To: jabberd2 development
Subject: Re: [jabberd2] Jabberd2 2.1.6 Router Crash problem

Dnia 19-06-2007, wto o godzinie 10:15 -0400, Remzi Semsettin Turer
napisaƂ(a):
> /usr/local/bin/router -c /usr/local/etc/router.xml -D
> /usr/local/bin/resolver -c /usr/local/etc/resolver.xml -D
> /usr/local/bin/sm -c /usr/local/etc/sm.xml -D
> /usr/local/bin/s2s -c /usr/local/etc/s2s.xml -D
> /usr/local/bin/c2s -c /usr/local/etc/c2s.xml -D

Please run these commands manually (without the wrapper) to find out
what exactly causes router to die.


--
Tomasz Sterna
Xiaoka Grp.  http://www.xiaoka.com/

_______________________________________________
jabberd2 mailing list
[email protected]
http://lists.xiaoka.com/listinfo.cgi/jabberd2-xiaoka.com
_______________________________________________
jabberd2 mailing list
[email protected]
http://lists.xiaoka.com/listinfo.cgi/jabberd2-xiaoka.com
_______________________________________________
jabberd2 mailing list
[email protected]
http://lists.xiaoka.com/listinfo.cgi/jabberd2-xiaoka.com

Reply via email to