[JDEV] Jabber server on MacOS X
Max Horn
max at quendi.de
Sun Mar 25 13:18:48 CST 2001
Hi folks,
I attempted to get the jabber server to run on my MacOS X box, but
failed. I am using latest CVS, plus some mods I had to make to get it
compiling (as they are mostly minor, I'd be happy to contribute them
back).
For those who don't know, MacOS X at its core is a BSD system; I know
it is possible to run Jabberd on other BSD systems, so I still hope
I'll get it to run on OS X.
So I compiled the server, as "static", since shared libs on OS X are
"different" to put it nicely ;) Then I followed the 1.4 Server HOWTO,
modifiying my jabber.xml file as described. Then I launch the server
like this:
./jabberd/jabberd -D -h <my.dydns.name>
(of course I inserted the correct domain name)
This causes it to print out a lot of debug information; here is an
excerpt (the last messages it prints before exiting):
Sun Mar 25 21:07:40 2001 dnsrv.c:132 DNSRV CHILD: starting
Sun Mar 25 21:07:40 2001 mio.c:614 socket 5 has restore karma -100 -=> 10
Sun Mar 25 21:07:40 2001 deliver.c:277 Registering s2s with instance s2s
Sun Mar 25 21:07:40 2001 dialback.c:265 dialback loading
Sun Mar 25 21:07:40 2001 deliver.c:235 @-internal processing <xdb
type='get' to='config at -internal' from='s2s'
ns='jabber:config:dialback' id='0'/>
Sun Mar 25 21:07:40 2001 deliver.c:649 delivering to instance 's2s'
Sun Mar 25 21:07:40 2001 xdb.c:41 xdb_results checking xdb packet
<xdb type='result' to='s2s' from='config at -internal'
ns='jabber:config:dialback' id='0'><dialback
xmlns='jabber:config:dialback'>
<legacy/>
<ip port='5269'/>
<karma>
<init>50</init>
<max>50</max>
<inc>4</inc>
<dec>1</dec>
<penalty>-5</penalty>
<restore>50</restore>
</karma>
</dialback></xdb>
Sun Mar 25 21:07:40 2001 mio.c:1105 io_select to listen on 5269 [(null)]
Sun Mar 25 21:07:40 2001 dnsrv.c:147 DNSRV CHILD: Read from buffer: <stream>
Sun Mar 25 21:07:40 2001 mio.c:1129 io_select starting to listen on
5269 [(null)]
Sun Mar 25 21:07:40 2001 log.c:105 <log type='alert'
from='-internal'>Recieved Kill. Jabberd shutting down.</log>
Sun Mar 25 21:07:40 2001 deliver.c:460 DELIVER 3:-internal <log
type='alert' from='-internal'>Recieved Kill. Jabberd shutting
down.</log>
Sun Mar 25 21:07:40 2001 deliver.c:649 delivering to instance 'elogger'
20010325T19:07:40: [alert] (-internal): Recieved Kill. Jabberd shutting down.
Sun Mar 25 21:07:40 2001 mio.c:614 socket 8 has restore karma -100 -=> 50
Sun Mar 25 21:07:41 2001 mio.c:799 MIO is shutting down
Sun Mar 25 21:07:41 2001 dialback_in.c:170 dbin read: fd 8 flag 4
Sun Mar 25 21:07:41 2001 mio.c:354 freed MIO socket
Sun Mar 25 21:07:41 2001 mio.c:354 freed MIO socket
Sun Mar 25 21:07:41 2001 dnsrv.c:143 dnsrv: Read error on
coprocess(1): 1 Operation not permitted
Sun Mar 25 21:07:41 2001 dnsrv.c:157 DNSRV CHILD: out of loop.. exiting normal
I am a bit confused over this, and how to interpret it. The server
suddenly receives a "kill" it seems?!?! What's going on there? BTW, I
also had to modify pth-1.3.7 slightly to get it to compile (modified
configure.in), but I doubt this is the problem, as "make test" run
fine for pth, and I know it has been used on MacOSX/Darwin before.
Any hints are appreciated!
Max
--
-----------------------------------------------
Max Horn
C/C++/Java Developer
email: <mailto:max at quendi.de>
phone: (+49) 6151-494890
More information about the JDev
mailing list