[jadmin] Problem building jabber-1.4.1
Lars Sommer
im at powerdise.com
Mon Mar 12 14:02:27 CDT 2007
Hi.
This is driving me nuts. Cant believe its so hard to set up a basic
server.
Well, if i install the program elsewhere, i still cant debug it. But i
really dont think the place where it is installed is the problem.
And as the most simple guide says,
1,Make sure you have GNU Pth installed
2,Get jabberd's source from its home page
3,Untar, ./configure, and make
4,Launch jabberd: jabberd/jabberd -h jabberserverhostname
I do this, and the server starts as it should. But i still get the
'Segmentation fault' when i try to make an account from the telnet
client (<iq type='set' id='reg_id'><query
xmlns='jabber:iq:register'><username>Hans</username><password>xxxxxx</password></query></iq>)
If i run the server with the -D flag ( [root at localhost jabberd-1.4.4]#
jabberd/jabberd -h fasterlars -D ), it says this:
Mon Mar 12 19:49:53 2007 mio.c:888 mio while loop top
Mon Mar 12 19:49:58 2007 client.c:527 [client.c:527] timeout:
1173725278, connect time 1173725365: fd 13
Mon Mar 12 19:50:01 2007 mio.c:901 mio while loop, working
Mon Mar 12 19:50:01 2007 mio.c:1051 MIO read from socket 13: <iq
type='set' id='reg_id'><query
xmlns='jabber:iq:register'><username>Hans</username><password>123456</password></query></iq>
Mon Mar 12 19:50:01 2007 client.c:284 [client.c:284]
pthsock_client_read called with: m:A036958 flag:3 arg:A036A78
Mon Mar 12 19:50:01 2007 deliver.c:475 DELIVER 4:fasterlars <route
type='auth' to='hans at fasterlars' from='13 at c2s/A036958'><iq type='set'
id='reg_id'><query
xmlns='jabber:iq:register'><username>Hans</username><password>123456</password></query></iq></route>
Mon Mar 12 19:50:01 2007 deliver.c:696 delivering to instance
'sessions'
Mon Mar 12 19:50:01 2007 deliver.c:331 (9FDCF10)incoming packet <route
type='auth' to='hans at fasterlars' from='13 at c2s/A036958'><iq type='set'
id='reg_id'><query
xmlns='jabber:iq:register'><username>Hans</username><password>123456</password></query></iq></route>
Mon Mar 12 19:50:01 2007 util.c:118 config query maxusers
Mon Mar 12 19:50:01 2007 deliver.c:337 creating user hash A037540 for
fasterlars
Mon Mar 12 19:50:01 2007 deliver.c:339 checking A037540
Mon Mar 12 19:50:01 2007 util.c:118 config query auth
Mon Mar 12 19:50:01 2007 mtq.c:115 A035CE0 starting
Mon Mar 12 19:50:01 2007 mtq.c:134 A035CE0 leaving to pth
Mon Mar 12 19:50:01 2007 mtq.c:115 A036008 starting
Mon Mar 12 19:50:01 2007 mtq.c:134 A036008 leaving to pth
Mon Mar 12 19:50:01 2007 mtq.c:115 A068EC0 starting
Mon Mar 12 19:50:01 2007 mtq.c:134 A068EC0 leaving to pth
Mon Mar 12 19:50:01 2007 mtq.c:115 A0791D0 starting
Mon Mar 12 19:50:01 2007 mtq.c:134 A0791D0 leaving to pth
Mon Mar 12 19:50:01 2007 mtq.c:115 A089500 starting
Mon Mar 12 19:50:01 2007 mtq.c:134 A089500 leaving to pth
Mon Mar 12 19:50:01 2007 mtq.c:115 A099860 starting
Mon Mar 12 19:50:01 2007 mtq.c:134 A099860 leaving to pth
Mon Mar 12 19:50:01 2007 mtq.c:141 A035CE0 entering from pth
Mon Mar 12 19:50:01 2007 mtq.c:152 A035CE0 one call A035408
Mon Mar 12 19:50:01 2007 authreg.c:119 registration set request
Mon Mar 12 19:50:01 2007 users.c:169 js_user(hans at fasterlars,A037540)
Mon Mar 12 19:50:01 2007 users.c:176 ## js_user not current ##
Mon Mar 12 19:50:01 2007 deliver.c:475 DELIVER 2:fasterlars <xdb
type='get' to='hans at fasterlars' from='sessions' ns='jabber:iq:auth'
id='1'/>
Mon Mar 12 19:50:01 2007 deliver.c:696 delivering to instance 'xdb'
Mon Mar 12 19:50:01 2007 xdb_file.c:273 handling xdb request <xdb
type='get' to='hans at fasterlars' from='sessions' ns='jabber:iq:auth'
id='1'/>
Mon Mar 12 19:50:01 2007 xdb_file.c:159 hash of hans.xml is 2C1BD116
Segmentation fault
[root at localhost jabberd-1.4.4]# Mon Mar 12 19:50:01 2007 dnsrv.c:204
dnsrv: Read error on coprocess(1): 1 Operation not permitted
Mon Mar 12 19:50:01 2007 dnsrv.c:218 DNSRV CHILD: out of loop.. exiting
normal
[root at localhost jabberd-1.4.4]#
Does any of you know how to deal with this segmentation fault error?
Thanks alot :)
/Lars
>
> Hi Lars!
>
> Lars Sommer schrieb:
> > I think i have the program installed. I have unpacked the tar file,
> run
> > "make" and afterwards "make install", shouldn't that be enough?
> > And i can easily run jabberd so the server starts, but not when i
> try to
> > run it with gdb. So its kinda wierd :(
>
> But you seem to run it where you compiled it. No? You should run the
> installed executable instead.
>
>
> Matthias
>
> --
> Matthias Wimmer Fon +49-700 77 00 77 70
> Zricher Str. 243 Fax +49-89 95 89 91 56
> 81476 Mnchen http://ma.tthias.eu/
>
>
>
> ------------------------------
More information about the JAdmin
mailing list