Fwd: [jadmin] c2s problem
ryan m
smarts40 at gmail.com
Thu Jul 13 08:30:50 CDT 2006
So here's a fun one for anyone interested to scratch their head about. I
tried running each component of jabberd seperatly and it was sm that was
dieing with a seg fault on this line in storage_db.c:
if((err = env->set_paniccall(env, _st_db_panic)) != 0) {
according to gdb. So I thought ok it's a db issue, so I reinstalled
berkelydb and went to reinstall jabberd. I'm running jabberd-2.0s11 and
berkeleyDB 4.4 and configure thought 4.3 was installed and thus make tried
to use -ldb-4.3 which didn't exsist so I installed 4.3 (at this point i have
4.3 /and/ 4.4) and tried rerunning configure and then it throught that
berkeleyDB wasn't installed at all, but configure had ran successfully the
last time (thinking it had found the 4.3 libraries) so I just ran make
anyways(which since -ldb-4.3 now exists ran fine) and now jabberd works. As
a side note the first time i ran configure it was picking up on libdb-4
which is a symlink to last installed berkeleyDB library which is why make
ran fine before using the 4.4 libraries. So it seems to me that a) jabberd
has an issue with the 4.4 libraries b) it's configure script needs tweeking
or I'm just doing something stupid. At any rate I'm going to need to set
this up on another machine and I would love to know how to manage it without
all these hoops.
---------- Forwarded message ----------
From: Сергей Хворостяной <mail4sergey at gmail.com>
Date: Jul 13, 2006 1:14 AM
Subject: Re: [jadmin] c2s problem
To: Jabber server administration list <jadmin at jabber.org>
what about c2s.log? is there anithing in it?
2006/7/12, ryan m <smarts40 at gmail.com>:
>
> I'm trying to set up jabberd 2 without root previlege (nessarly libs and
berkdb have been installed by the admin)
my configure line was:
./configure --prefix=/home/<username>/jabber/jabberd --enable-db
--enable-ssl --enable-idn --disable-mysql --enable-debug
running the server produces:
[<username>@mm116675-pc bin]$ ./jabberd -D
JBRD: debug on
JBRD: version(2.0s11)
JBRD: config_dir(/home/<username>/jabber/jabberd/etc/jabberd)
JBRD: LaunchJob: router -> /home/<username>/jabber/jabberd/bin/router -c
/home/<username>/jabber/jabberd/etc/jabberd/router.xml -D
JBRD: LaunchJob: resolver -> /home/<username>/jabber/jabberd/bin/resolver -c
/home/<username>/jabber/jabberd/etc/jabberd/resolver.xml -D
JBRD: LaunchJob: sm -> /home/<username>/jabber/jabberd/bin/sm -c
/home/<username>/jabber/jabberd/etc/jabberd/sm.xml -D
JBRD: LaunchJob: s2s -> /home/<username>/jabber/jabberd/bin/s2s -c
/home/<username>/jabber/jabberd/etc/jabberd/s2s.xml -D
JBRD: LaunchJob: c2s -> /home/<username>/jabber/jabberd/bin/c2s -c
/home/<username>/jabber/jabberd/etc/jabberd/c2s.xml -D
ROUT: Wed Jul 12 15:17:46 2006 [notice] starting up
RSLV: Wed Jul 12 15:17:46 2006 [notice] starting up
ROUT: Wed Jul 12 15:17:46 2006 user.c:34 loading user table
SM : Wed Jul 12 15:17:46 2006 [notice] starting up
RSLV: sx (sasl.c:548) initialising sasl plugin
S2S : Wed Jul 12 15:17:46 2006 [notice] starting up (interval=60, queue=60,
keepalive=0, idle=86400)
SM : Wed Jul 12 15:17:46 2006 storage.c:163 adding arbitrary types to
driver 'db'
C2S : Wed Jul 12 15:17:46 2006 [notice] starting up
S2S : sx (sasl.c:548) initialising sasl plugin
ROUT: Wed Jul 12 15:17:46 2006 user.c:89 remembering user 'jabberd'
SM : Wed Jul 12 15:17:46 2006 [notice] id: mm116675-pc.mitre.org
RSLV: Wed Jul 12 15:17:46 2006 scod.c:40 creating new scod context
SM : Wed Jul 12 15:17:46 2006 storage.c:183 driver not loaded, trying to
init
C2S : Wed Jul 12 15:17:46 2006 [info] process id is 952, written to
/home/<username>/jabber/jabberd_data/pid/c2s.pid
S2S : Wed Jul 12 15:17:46 2006 scod.c:40 creating new scod context
ERROR: c2s died. Shutting down server.
JBRD: Got a signal... pass it on.
JBRD: It was a TERM. Shut it all down!
uname output if it helps
[<username> @mm116675-pc bin]$ uname -a
Linux mm116675-pc 2.6.11-1.1369_FC4 #1 Thu Jun 2 22:55:56 EDT 2005 i686 i686
i386 GNU/Linux
there is nothing useful in the logs and the changes i did to c2s.xml are:
[<username> @mm116675-pc jabberd]$ diff c2s.xml c2s.xml.dist
9c9
< <pidfile>/home/<username>/jabber/jabberd_data/pid/c2s.pid</pidfile>
---
> <pidfile>/home/<username>
/jabber/jabberd/var/jabberd/pid/c2s.pid</pidfile>
49c49
< <log type='file'>
---
> <log type='syslog'>
58,60c58,60
<
< <file>/home/<username>/jabber/jabberd_data/log/c2s.log</file>
<
---
> <!--
> <file>/home/<username> /jabber/jabberd/var/jabberd/log/c2s.log</file>
> -->
77c77
< <id> mm116675-pc.mitre.org</id>
---
> <id>localhost</id>
215c215
< <module>db</module>
---
> <module>mysql</module>
298c298
< <path>/home/<username> /jabber/jabberd_data/db</path>
---
> <path>/home/<username> /jabber/jabberd/var/jabberd/db</path>
NOTE: my user name replaced with <username> to protect my anonymity
_______________________________________________
jadmin mailing list
jadmin at jabber.org
http://mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://www.jabber.org/about/jadminfaq.shtml
_______________________________________________
--
С уважением,
Сергей Хворостяной
_______________________________________________
jadmin mailing list
jadmin at jabber.org
http://mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://www.jabber.org/about/jadminfaq.shtml
_______________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jadmin/attachments/20060713/7667b6c7/attachment-0003.htm
More information about the JAdmin
mailing list