Hi all,

I run a debian unstable system. Succesful compiled jabberd 2.1.23 with
ldap and mysql support.

When running I got a "c2s died" error.

[EMAIL PROTECTED]:~# su jabber
sh-3.1$ cd /usr/local/bin/
sh-3.1$ ./jabberd
ERROR: c2s died.  Shutting down server.


And this in syslog:

Apr 10 22:13:08 rondo kernel: c2s[14819]: segfault at 00000004 eip
08053165 esp bfe26ad0 error 4

I've also compiled with debug flag enabled and found no info when
running in debug mode. Below is the complete log.

Any idea on where to start looking to solve this problem? Here is the
config file: http://faita.net/~jonhattan/c2s.xml

thanks in advance,
jonhattan


sh-3.1$ ./jabberd -D
JBRD: debug on
JBRD: version(2.1.23)
JBRD: config_dir(/usr/local/etc)
JBRD: LaunchJob: router -> /usr/local/bin/router -c
/usr/local/etc/router.xml -D
JBRD: LaunchJob: resolver -> /usr/local/bin/resolver -c
/usr/local/etc/resolver.xml -D
JBRD: LaunchJob: sm -> /usr/local/bin/sm -c /usr/local/etc/sm.xml -D
JBRD: LaunchJob: s2s -> /usr/local/bin/s2s -c /usr/local/etc/s2s.xml -D
JBRD: LaunchJob: c2s -> /usr/local/bin/c2s -c /usr/local/etc/c2s.xml -D
ROUT: Thu Apr 10 22:18:23 2008 [notice] starting up
RSLV: Thu Apr 10 22:18:23 2008 [notice] starting up
ROUT: Thu Apr 10 22:18:23 2008 user.c:34 loading user table
SM  : Thu Apr 10 22:18:23 2008 [notice] starting up
RSLV: sx (sasl_gsasl.c:690) initialising sasl plugin
S2S : Thu Apr 10 22:18:23 2008 [notice] starting up (interval=60,
queue=60, keepalive=0, idle=86400)
SM  : Thu Apr 10 22:18:23 2008 storage.c:94 adding arbitrary types to
driver 'mysql'
C2S : Thu Apr 10 22:18:23 2008 [notice] starting up
S2S : sx (sasl_gsasl.c:690) initialising sasl plugin
ROUT: Thu Apr 10 22:18:23 2008 user.c:89 remembering user 'jabberd'
SM  : Thu Apr 10 22:18:23 2008 [notice] id: jabber.hoteleslopez.com
RSLV: sx (sasl_gsasl.c:717) sasl context initialised
SM  : Thu Apr 10 22:18:23 2008 storage.c:117 driver not loaded, trying
to init
C2S : Thu Apr 10 22:18:23 2008 [info] process id is 14906, written to
/usr/local/var/jabberd/pid/c2s.pid
S2S : sx (sasl_gsasl.c:717) sasl context initialised
C2S : Thu Apr 10 22:18:23 2008 authreg.c:73 preloaded module 'ldap' (not
initialized yet)
ROUT: Thu Apr 10 22:18:23 2008 [info] process id is 14902, written to
/usr/local/var/jabberd/pid/router.pid
ROUT: Thu Apr 10 22:18:23 2008 aci.c:37 loading aci
SM  : Thu Apr 10 22:18:23 2008 [info] process id is 14904, written to
/usr/local/var/jabberd/pid/sm.pid
RSLV: sx (env.c:75) plugin initialised (index 0)
SM  : Thu Apr 10 22:18:23 2008 storage.c:139 preloaded module 'mysql'
(not initialized yet)
C2S : Thu Apr 10 22:18:23 2008 [notice] modules search path:
/usr/local/lib/jabberd
S2S : sx (env.c:75) plugin initialised (index 0)
C2S : Thu Apr 10 22:18:23 2008 authreg_ldap.c:449 realm '(null)' has
base dn 'ou=people,o=hoteleslopez'
ROUT: Thu Apr 10 22:18:23 2008 [notice] loaded user table (1 users)
ROUT: Thu Apr 10 22:18:23 2008 aci.c:56 building list for 'all'
SM  : Thu Apr 10 22:18:23 2008 [info] loading 'mysql' storage module
RSLV: sx (sx.c:53) allocated new sx for 5
S2S : Thu Apr 10 22:18:23 2008 [info] process id is 14905, written to
/usr/local/var/jabberd/pid/s2s.pid
SM  : Thu Apr 10 22:18:23 2008 storage.c:158 calling driver initializer
C2S : Thu Apr 10 22:18:23 2008 [info] loading 'ldap' authreg module
S2S : Thu Apr 10 22:18:23 2008 db.c:56 initialising dialback sx plugin
C2S : sx (sasl_gsasl.c:690) initialising sasl plugin
ROUT: Thu Apr 10 22:18:23 2008 [notice] loaded filters (0 rules)
ROUT: Thu Apr 10 22:18:23 2008 aci.c:77 added 'jabberd'
SM  : Thu Apr 10 22:18:23 2008 [notice] initialised storage driver 'mysql'
RSLV: sx (client.c:122) doing client init for sx 5
S2S : Thu Apr 10 22:18:23 2008 [notice] attempting connection to router
at 127.0.0.1, port=5347
SM  : Thu Apr 10 22:18:23 2008 aci.c:37 loading aci
C2S : Thu Apr 10 22:18:23 2008 [notice] ldap: configured 1 realms
S2S : sx (env.c:75) plugin initialised (index 1)
C2S : sx (sasl_gsasl.c:717) sasl context initialised
ROUT: Thu Apr 10 22:18:23 2008 [notice] [0.0.0.0, port=5347] listening
for incoming connections
ROUT: Thu Apr 10 22:18:23 2008 filter.c:51 loading filter
SM  : Thu Apr 10 22:18:23 2008 [notice] modules search path:
/usr/local/lib/jabberd
RSLV: sx (client.c:138) stream request: ns (null) to (null) from (null)
version 1.0
S2S : Thu Apr 10 22:18:23 2008 [notice] connection to router established
SM  : Thu Apr 10 22:18:23 2008 aci.c:57 building list for 'all'
C2S : Thu Apr 10 22:18:23 2008 [notice] initialized auth module 'ldap'
S2S : sx (sx.c:53) allocated new sx for 5
C2S : sx (env.c:75) plugin initialised (index 0)
ROUT: Thu Apr 10 22:18:23 2008 [notice] [127.0.0.1, port=42214] connect
ROUT: Thu Apr 10 22:18:23 2008 filter.c:96 building filter list
SM  : Thu Apr 10 22:18:23 2008 [notice] module 'status' added to chain
'sess-start' (order 0 index 0 seq 0)
RSLV: sx (client.c:168) prepared stream header: <?xml
version='1.0'?><stream:stream
xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>
S2S : Thu Apr 10 22:18:23 2008 [notice] [0.0.0.0, port=5269] listening
for connections
SM  : Thu Apr 10 22:18:23 2008 aci.c:67 added '[EMAIL PROTECTED]'
ERROR: c2s died.  Shutting down server.
JBRD: Got a signal... pass it on.
JBRD: It was a TERM.  Shut it all down!







-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to