(version francaise en dessous)
Hi Emmanuel,
I can't help you specifically but know that Tomasz Sterna
has taken
over Jabberd2 development in the last few months. The
official
Jabberd2 website is hopelessly out-of-date.
you can find the latest SVN code at http://svn.xiaoka.com
/jabberd2/
and latest releases at http://ftp.x
iaoka.com/jabberd2/releases/
With a little luck, these more recent versions fix your
problem.
John
---------------------------
Bonjour Emmanuel,
je ne peux pas t'aider pour ton probleme specifique, mais
sache que le
developpement de Jabberd2 a ete repris par Tomasz Sterna, et
n'est
plus heberge sur le site officiel de Jabberd2.
Tu peux trouver les dernieres releases a
http://ftp.x
iaoka.com/jabberd2/releases/
le code source etant accessible via SVN a http://svn.xiaoka.com
/jabberd2/
Avec un peu de chance, ces versions plus recentes reparent
ton probleme.
Jean
On 3/2/07, EXT / ALTIOR GIRAUD Emmanuel
<ext.altior.giraud sncf.fr> wrote:
>
>
> hello,
>
> I have a problem with the running of process called
c2s.
> When i configure the file c2s.xml with the option ssl
and the pemfile,
> the process die.
> I setup jabber in a version of linux called
redhat-entreprise V4
> My version is jabberd2s11.
>
>
> The error is:
>
> [jabber Linux_exat bin]$ ./jabberd
> *** glibc detected *** free(): invalid pointer:
0x00d9fb80 ***
> ERROR: c2s died. Shutting down server.
>
> if i put off pemfile(ssl), c2s (sun of jabber's
process) run.
>
> I give you my compile options:
> ./configure --prefix=/usr/local/jabberd2s11.manu
> --enable-idn --enable-ssl --enable-mysql
>
>
> I create the certificate file called server.pem as it
is written in the
> manual doc:
> openssl req -new -x509 -newkey rsa:1024 -days 3650
-keyout privkey.pem -out
> server.pem
> openssl rsa -in privkey.pem -out privkey.pem
> cat privkey.pem >> server.pem
> view server.pem
> mv privkey.pem privkey.pem.old
> chmod 640 server.pem(-rw-r----- 1 root jabber 1941
mar 1 08:31
> server.pem)
>
> I add the services in the file /etc/service
>
> jabber 5222/tcp
#jabber
> jabber 5222/udp
#jabber
> jabber2 5223/tcp #jabber
--SSL
> jabber2 5223/udp #jabber
--SSL
>
> I add the port 5223 and 5222 in my firewall settings.
>
> Here is the beginning of my file c2s.xml:
> <!-- c2s configuration -->
> <c2s>
> <id>c2s</id>
>
<pidfile>/var/run/jabber/c2s.pid</pidfile>
>
> <router>
> <ip>10.Y.xxx.YYY</ip>
<!-- default: 127.0.0.1 -->
> <port>5347</port> <!--
default: 5347 -->
> <user>jabber</user> <!--
default: jabberd -->
> <retry>
> <init>3</init>
> <lost>3</lost>
> <sleep>2</sleep>
> </retry>
> </router>
> <log type='file'>
> <ident>jabberd/c2s</ident>
> <facility>local3</facility>
>
<file>/usr/local/jabberd2s11.manu/log/c2s.log</file
>
> </log>
>
> <local>
> <id>jab.sncf.fr</id>
> <ip>10.XXX.XXX.XXX</ip>
> <port>5222</port>
>
>
<pemfile>/usr/local/jabberd2s11.manu.etc/jabberd/serve
r.pem</pemfile>
> <ssl-port>5223</ssl-port>
> </local>
>
> <!-- Input/output settings -->
> <io>
> <max_fds>10000</max_fds>
> </io>
>
> To give more details of my systems, i give you all my
dependances packages.
>
> A/ libidn
> [jabber Linux_exat jabberd-2.0s11]$ rpm -ql libidn-0.5.6-1
> /usr/bin/idn
> /usr/lib/libidn.la
> /usr/lib/libidn.so.11
> /usr/lib/libidn.so.11.4.6
> /usr/share/doc/libidn-0.5.6
>
> [jabber Linux_exat jabberd-2.0s11]$ rpm -ql
libidn-devel-0.5.6-1
> /usr/include/idn-free.h
> /usr/include/idn-int.h
> /usr/include/idna.h
> /usr/include/punycode.h
> /usr/include/stringprep.h
> /usr/include/tld.h
> /usr/lib/libidn.a
> /usr/lib/libidn.so
> /usr/lib/pkgconfig/libidn.pc
>
> B/
> [root Linux_exat jabberd]# rpm -qa | grep openssl
> xmlsec1-openssl-1.2.6-3
> openssl-0.9.7a-43.8
> openssl-devel-0.9.7a-43.8
>
> the final linkage is:
> gcc -g -O2 -o c2s authreg.o authreg_anon.o authreg_db.o
authreg_ldap.o
> authreg_mysql.o authreg_pam.o authreg_pgsql.o
authreg_pipe.o bind.o c2s.o
> main.o sm.o ../sx/.libs/libsx.a
../scod/.libs/libscod.a
> ../mio/.libs/libmio.a ../util/.libs/libutil.a
../subst/.libs/libsubst.a
> ../expat/.libs/libexpat.a -lmysqlclient -lssl -lcrypto
/usr/lib/libidn.so
> -lresolv.
>
> here is the dependances of the modules C2s:
> [root Linux_exat bin]# ldd c2s
> libmysqlclient.so.15 =>
/usr/lib/libmysqlclient.so.15 (0x009b6000)
> libssl.so.4 => /lib/libssl.so.4
(0x00d6c000)
> libcrypto.so.4 => /lib/libcrypto.so.4
(0x00101000)
> libidn.so.11 => /usr/lib/libidn.so.11
(0x003e9000)
> libresolv.so.2 => /lib/libresolv.so.2
(0x009a1000)
> libc.so.6 => /lib/tls/libc.so.6
(0x0070e000)
> libpthread.so.0 => /lib/tls/libpthread.so.0
(0x00956000)
> libcrypt.so.1 => /lib/libcrypt.so.1
(0x03cc4000)
> libnsl.so.1 => /lib/libnsl.so.1
(0x00c47000)
> libm.so.6 => /lib/tls/libm.so.6
(0x002c6000)
> libz.so.1 => /usr/lib/libz.so.1
(0x0098f000)
> libgssapi_krb5.so.2 =>
/usr/lib/libgssapi_krb5.so.2 (0x00ccc000)
> libkrb5.so.3 => /usr/lib/libkrb5.so.3
(0x00d05000)
> libcom_err.so.2 => /lib/libcom_err.so.2
(0x00cbd000)
> libk5crypto.so.3 =>
/usr/lib/libk5crypto.so.3 (0x00ce2000)
> libdl.so.2 => /lib/libdl.so.2 (0x0083a000)
> /lib/ld-linux.so.2 (0x006f5000)
>
>
> If i look with gdb the program c2s, the program core in
the instruction
> below:
> 0x080541c2 in sx_ssl_init (env=0x8a41968, p=0x8a43540,
args=0xbff87188
> "xå£b") at ssl.c:629
> #12 0x08050ab1 in sx_env_plugin (env=0x8a41968,
init=0x8054140
> <sx_ssl_init>) at env.c:65
> #13 0x0804f9d7 in main (argc=1, argv=0xbff87674) at
main.c:495
>
> Thank you for your help
> and i am sorry for my bad english
>
>
> _______________________________________________
> jabberd mailing list
> jabberd jabberstudio.org
> http:
//mail.jabber.org/mailman/listinfo/jabberd
>
>
_______________________________________________
jabberd mailing list
jabberd jabberstudio.org
http:
//mail.jabber.org/mailman/listinfo/jabberd
|