Forum .LRN Q&A: Jabber is already integrated in dotlrn?

I'm looking for an chat pakage. ¿is this a good option?
is a good option, but I guess will require some work to fix and put up to date issues there.
Collapse
Posted by Alvaro Cortes on
Where I can find information about the jabber package?
Collapse
Posted by Alvaro Cortes on
Hi Rocael
I have installed the jabber server and this work ok. but I have some problems to install nsjabber(jabber client for Aolserver 4), when I edit the configure.tcl file, whith the following lines:

ns_section ns/server/${server}/modules
ns_param nssock ${bindir}/nssock.so
ns_param nslog ${bindir}/nslog.so
ns_param nssha1 ${bindir}/nssha1.so
ns_param nscache ${bindir}/nscache.so
ns_param nsjabber ${bindir}/nsjabber.so

then the server doesn't start.

do you have any idea?.

Collapse
Posted by Orzenil Silva Junior on
Hi Alvaro,

did you install nsjabber module for aolserver? If so you have a file nsjabber.so in your aolserver dir (default: /usr/local/aolserver/bin)

try this command

# nm nsjabber.so|grep Module

and check if Ns_ModuleInit is part of the nsjabber.so file. The output could be something like this:

0001e860 T Ns_ModuleInit
00031cbc D Ns_ModuleVersion

I had difficulties installing nsjabber from tarballs in cvs. I had success using this file (it works only for aolserver4):

https://openacs.org/storage/file?file_id=187244&show_all_versions_p=f

i hope this helps is some way.

\Orzenil

Collapse
Posted by Alvaro Cortes on
Hi Orzenil.

I already install nsjabber module for aolserver 4, and this is the response to comand that you suggest me
# nm nsjabber.so|grep Module

0001c660 T Ns_ModuleInit
0002ef3c D Ns_ModuleVersion

this is the message in the aolserver's log:

[25/Aug/2005:00:00:06][2923.1076478624][-main-] Notice: modload: loading '/usr/local/aolserver/bin/nsjabber.so'
[25/Aug/2005:00:00:06][2923.1076478624][-main-] Warning: modload: could not load /usr/local/aolserver/bin/nsjabber.so: /usr/local/aolserver/bin/nsjabber.so: undefined symbol: Ns_DbGetRow
[25/Aug/2005:00:00:06][2923.1076478624][-main-] Fatal: modload: failed to load module '/usr/local/aolserver/bin/nsjabber.so'.

do you know what it's meaning?.

thanks in advance.

Collapse
Posted by Orzenil Silva Junior on
Alvaro,

Try recompile an reinstall nsjabber passing DB parameter. If i remember well README inside nsjabber tarball has some instructions about this.

Try

make INST=/path/to/your/aolserver DB=2

and

make install INST=/path/to/your/aolserver DB=2

from nsjabber-xxx/bin directory

(DB=2 is for use with postgres, use DB=1 if you want to use it with oracle)

\Orzenil

Collapse
Posted by Alvaro Cortes on
Hi Orzenil.

I recompiled and reinstalled nsjabber with

make INST=/path/to/your/aolserver DB=2 and
make instal INST=/path/to/your/aolserver DB=2.

but it doesn't happen nothing. the mistake continue.

do you have any idea?.

thanks, Alvaro.

Collapse
Posted by Orzenil Silva Junior on
Hi Alvaro,

Make sure you have nsjabber.so in

ns_section ns/server/${server}/modules

in you config.tcl file after loading nsdb.so

Try

ns_section ns/server/${server}/modules
...
...
ns_param nsdb ${bindir}/nsdb.so
ns_param nsjabber ${bindir}/nsjabber.so

\Orzenil

Collapse
Posted by Alvaro Cortes on
HI ORZENIL.

I corrected  the mistake editing  this line in the file Makefile:

MODLIBS =-L$ (PGLIB)-lpq-lnsdb

And the compilation    was correct.
Now there is another problem. I believe that it is in the configuration of the file jabber.xml.
The mistake is the following one: to the moment to start aolserver, this appears in the log.

[29/Aug/2005:14:17:06][5047.1086172080][-sched-] Notice: sched: starting
[29/Aug/2005:14:17:06][5047.1076478624][-main-] Notice: nssock: listening on 172.16.130.182:8000
[29/Aug/2005:14:17:06][5047.1103764400][-driver-] Notice: starting
[29/Aug/2005:14:17:06][5047.1103764400][-driver-] Notice: driver: accepting connections
[29/Aug/2005:14:17:07][5047.1088027568][-thread1088027568-] Error: Ns_PgExec: result status: 7 message: ERROR:  syntax error at or near "jb_clear_status" at character 7

[29/Aug/2005:14:17:07][5047.1088027568][-thread1088027568-] Error: Deleting jb_screen_names online data failed
[29/Aug/2005:14:17:07][5047.1088027568][-thread1088027568-] Error: dbinit: no such pool 'jabber'
[29/Aug/2005:14:17:07][5047.1088027568][-thread1088027568-] Notice: nsjabber Sending: <?xml version='1.1'?>
[29/Aug/2005:14:17:07][5047.1088027568][-thread1088027568-] Notice: nsjabber Sending: <stream:stream xmlns:stream='http://etherx.jabber.org/streams'; xmlns='jabber:client' to='localhost'>
[29/Aug/2005:14:17:07][5047.1088027568][-thread1088027568-] Notice: nsjabber Sending: <iq type='set' id='290auth'><query xmlns='jabber:iq:auth'><username>aces</username><resource>ACES</resource><password>40757601</password></query></iq>
[29/Aug/2005:14:17:07][5047.1103980784][-thread1103980784-] Notice: Buffer inhalt von jab_recive :<?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams'; id='43135F33' xmlns='jabber:client' from='localhost'>
[29/Aug/2005:14:17:07][5047.1103980784][-thread1103980784-] Notice: Buffer inhalt von jab_recive :<iq type='result' id='290auth'/>
[29/Aug/2005:14:17:07][5047.1088027568][-thread1088027568-] Error: Jabber: nach dem event, result = 0.
[29/Aug/2005:14:17:07][5047.1088027568][-thread1088027568-] Notice: nsjabber Sending: <iq type='get' id='1088027568'><query xmlns='jabber:iq:agents'/></iq>
[29/Aug/2005:14:17:07][5047.1103980784][-thread1103980784-] Notice: Buffer inhalt von jab_recive :<iq type='result' id='1088027568' from='localhost' to='aces@localhost/ACES'><query xmlns='jabber:iq:agents'><agent jid='users.jabber.org'><name>Jabber User Directory</name><service>jud</service><search/><register/></agent></query></iq>
[29/Aug/2005:14:17:17][5047.1088027568][-thread1088027568-] Notice: nsjabber Sending: <presence><status>Loggedin</status><priority>10</priority></presence>
[29/Aug/2005:14:17:18][5047.1103980784][-thread1103980784-] Notice: Buffer inhalt von jab_recive :<presence from='mailto:aces@bdvlin01.econ.uni-hamburg.de'; to='aces@localhost/ACES' type='error' iperror=''><status>Loggedin</status><priority>10</priority><x xmlns='jabber:x:delay' from='aces@localhost/ACES' stamp='20050829T19:17:17'/><error code='502'>Unable to resolve hostname.</error></presence><presence type='error' to='aces@localhost' from='mailto:aces@bdvlin01.econ.uni-hamburg.de'; iperror=''><error code='502'>Unable to resolve hostname.</error></presence><presence from='mailto:aces@bdvlin01.econ.uni-hamburg.de'; to='aces@localhost/ACES' type='error' iperror=''><status>Loggedin</status><priority>10</priority><error code='502'>Unable to resolve hostname.</error></presence>
[29/Aug/2005:14:17:18][5047.1103980784][-thread1103980784-] Error: Unrecognized Jabber packet: 0 received
[29/Aug/2005:14:17:18][5047.1103980784][-thread1103980784-] Error: Unrecognized Jabber packet: 0 received
[29/Aug/2005:14:17:18][5047.1103980784][-thread1103980784-] Error: Unrecognized Jabber packet: 0 received
[29/Aug/2005:14:17:56][5047.1105050544][-sched:idle0-] Notice: starting
[29/Aug/2005:14:17:57][5047.1088027568][-thread1088027568-] Error: dbinit: no such pool 'jabber'
[29/Aug/2005:14:17:57][5047.1088027568][-thread1088027568-] Error: dbinit: no such pool 'jabber'

do you know about this problem?

thanks in advance.

Alvaro

Collapse
Posted by Ben Koot on
Forgive me for a non nerd question. Is there no simple way to create a jabber integration within OACS in the same fashion the folks at Google managed to achieve? The reason I am asking is that the simplicity of GoogleTalk is great, yet, In many circumstances it's not an option to use a public chat service, so having it within you own domain is better. I feel to have an OACS Talk, will greatly help promoting the toolkit, after using Googletalk for a few days.

For once it would be a major enhancement to the "Members currently online" function, as that message itself is prety useless if you can't hit a button/username and communicate!! Many community systems offer the members online, but none, as far as I know, with 1-1 or many communication interface.

- Why is it so complicated to get jabber up and running? This is not a negative towards the Jabber technology, which I am sure is a great solution, but from a user point of view after all these years of development and hundreds of applications one would expect some progress in this elementary part of the service; how to get the beast started...

- What are the bottlenecks the Google folks eliminated that create the OACS minefield.

- Could it be that by installing a minimalistic jabber things work well, and that that full "Jabber Monty" is still a bridge to far?

I assume the folks that designed the jabber package got it working on their site, but if each individual install creates so much confusion we are missing something. Most packages work fine from clean install, but if Jabber still creates this mess after 2 years it has been in the package list that's not right.

Cheers
Ben
I would love it to be able to use OACS Talk, after fussing about chat ever since I walked into this comunity 😉

Collapse
Posted by Malte Sussdorff on
The google talk folks have a dedicated department to setup and run the Jabber servers that handle the request. Furthermore this deparment spend a lot of time (presumably) to integrate jabber with their google talk application, at least if you look when they first moved into this area.

Assuming someone is willing to pay two developers full time to integrate Jabber with OpenACS and set it up accordingly, I'm pretty sure you can expect more excellent results than google talk has to offer within a month, due to the fact that the OpenACS part is already pretty much covered.

What you are experiencing at google talk though as a user is that you download a client and start using it with the google servers, as the client is preconfigured to use google. But this is not the issue for OpenACS and Jabber. If you have the combination up and running, then it is no big deal to download the client and login with your screenname given at the OACS site into the jabber server.

I hope this helps to differentiate the two problems and shows where OpenACS is still missing something.

Collapse
Posted by Ben Koot on
Thanks for the explanation Malte. Sounds like an interesting subscription based business opportunity 😉

Cheers
Ben