I have installed a stock Xubuntu 7.04, then installed the prerequisites for the 
jabberd2, such as mysql, libs, etc.

Then I run:

./configure --enable-mysql --enable-debug --enable-ssl --enable-idn 
--with-mysql=/usr/include/mysql:/var/lib/mysql/mysql 
--with-extra-include-path=/usr/include/mysql 
--with-extra-library-path=/usr/lib/mysql:/var/lib/mysql/mysql 
--sysconfdir=/etc/jabberd

make

make install

Then I modified the xml files, created mysql db using the db-setup script, 
assigned proper priviliges and tried to test the server. Here is the output:

[EMAIL PROTECTED]:/etc/jabberd# sudo -u jabber /usr/local/bin/jabberd -D
JBRD: debug on
JBRD: version(2.1.6)
JBRD: config_dir(/etc/jabberd)
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: Tue Jun 19 10:08:07 2007 [notice] starting up
ROUT: Tue Jun 19 10:08:07 2007 user.c:34 loading user table
ROUT: Tue Jun 19 10:08:07 2007 [info] process id is 29504, written to 
/usr/local/var/jabberd/pid/router.pid
RSLV: Tue Jun 19 10:08:07 2007 [notice] starting up
ROUT: Tue Jun 19 10:08:07 2007 user.c:89 remembering user 'jabberd'
RSLV: sx (sasl_gsasl.c:682) initialising sasl plugin
S2S : Tue Jun 19 10:08:07 2007 [notice] starting up (interval=60, queue=60, 
keepalive=0, idle=86400)
S2S : sx (sasl_gsasl.c:682) initialising sasl plugin
ROUT: Tue Jun 19 10:08:07 2007 [notice] loaded user table (1 users)
ROUT: Tue Jun 19 10:08:07 2007 aci.c:37 loading aci
C2S : Tue Jun 19 10:08:07 2007 [notice] starting up
C2S : Tue Jun 19 10:08:07 2007 authreg.c:68 preloaded module 'mysql' (not 
initialized yet)
ROUT: Tue Jun 19 10:08:07 2007 [notice] loaded filters (0 rules)
ROUT: Tue Jun 19 10:08:07 2007 aci.c:56 building list for 'all'
C2S : Tue Jun 19 10:08:07 2007 [info] process id is 29508, written to 
/usr/local/var/jabberd/pid/c2s.pid
C2S : Tue Jun 19 10:08:07 2007 authreg_mysql.c:483 SQL to create account: 
INSERT INTO `authreg` ( `username`, `realm` ) VALUES ( '%s', '%s' )
ROUT: Tue Jun 19 10:08:07 2007 [notice] [0.0.0.0, port=15347] listening for 
incoming connections
ROUT: Tue Jun 19 10:08:07 2007 aci.c:78 added 'jabberd'
SM  : Tue Jun 19 10:08:07 2007 [notice] starting up
SM  : Tue Jun 19 10:08:07 2007 storage.c:91 adding arbitrary types to driver 
'mysql'
C2S : Tue Jun 19 10:08:07 2007 [notice] modules search path: 
/usr/local/lib/jabberd
C2S : Tue Jun 19 10:08:07 2007 authreg_mysql.c:484 SQL to query user 
information: SELECT `password`,`hash`,`token`,`sequence` FROM `authreg` WHERE 
`username` = '%s' AND `realm` = '%s'
ROUT: Tue Jun 19 10:08:07 2007 [notice] [127.0.0.1, port=37646] connect
ROUT: Tue Jun 19 10:08:07 2007 filter.c:51 loading filter
C2S : Tue Jun 19 10:08:07 2007 [info] loading 'mysql' authreg module
C2S : Tue Jun 19 10:08:07 2007 authreg_mysql.c:485 SQL to set password: UPDATE 
`authreg` SET `password` = '%s' WHERE `username` = '%s' AND `realm` = '%s'
ERROR: router died.  Shutting down server.
JBRD: Got a signal... pass it on.
JBRD: It was a TERM.  Shut it all down!

Any idea why it is terminating? I tried to narrow it down, by altering 
jabber.cfg. If I enable router only, it is fine. As soon as I enable another 
program, router crashes.

Any help is appreciated.

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

Reply via email to