[OPEN-ILS-DEV] Re:RE: Ejabberd and Ubuntu

Dan Wells dbw2 at calvin.edu
Wed Oct 17 15:06:05 EDT 2007


Hello Pierre,

Well, this is getting interesting.  This might sound totally bananas, and I am not sure why it would matter, but I think the capital 'TI' in your machine name is causing the problems.  Domain names are typically 'down-cased' internally as they are supposed to be case insensitive.  It seems in this case the case insensitivity is happening too soon, and the config file isn't matching.  To test this, I randomly capitalized some of my domain name in my ejabberd.cfg, and I started getting the same error, even though it didn't matter the other way around (that is, I could use all uppercase in the register command if I wanted to).

To sum up, try this in your ejabberd.cfg:

{hosts, ["localhost","cobaye-ti.bib.uqam.ca"]}.

leaving the TI as lower case and see if that helps.

Good luck,
DW

>>> "Pierre Nault" <pierrenault at gmail.com> 10/17/2007 2:27 PM >>>
Hello Dan,

     Sorry for misunderstanding you, must be some conflicts between my
mother tongue (I'm a frenchy guy after all) and my literal English...
I re-tried what you wrote: verified that I got the FQDN in the
ejabberd.cfgfile, stop and restart the ejabberd server and still, it
doesn't work. I
cannot register any accounts: when I try I get this message:
"Can't register user "evergreen at cobaye-TI.bib.uqam.ca" at node '
ejabberd at cobaye-TI': not_allowed"

Is it the right name for the node? I put the sasl.log file of ejabberd (
http://www.bibliotheques.uqam.ca/flash_bugs/sasl.txt), and the ejabberd log
file (http://www.bibliotheques.uqam.ca/flash_bugs/ejabberd.txt) maybe that
could help you?

Also, when I start OpenILS (sudo -u opensrf /openils/bin/osrf_ctl.sh -c
/openils/conf/opensrf_core.xml -a start_all) I get this message:
"Starting OpenSRF Router
!!!! Unable to connect router to jabber server cobaye-TI.bib.uqam.ca...
exitingStarting OpenSRF Perl
Starting OpenSRF C (host=cobaye-TI.bib.uqam.ca)".
I can confirm (with netstat -l -n) that the jabber server is listening on
ports 5222, 5223 and 5269 on the local IP address 0 0.0.0.0.

Just to make sure that I use the FQDN, you can see that it resolve (
http://cobaye-ti.bib.uqam.ca/opac/en-US/skin/default/xml/index.xml)... I'm
not to far for completing the installation, must be a small detail...

Again, I solicit your help ;-)

Thanks a lot,

Pierre Nault



More information about the Open-ils-dev mailing list