Talk:Installing ejabberd

From OLPC
Revision as of 00:24, 27 March 2008 by Kawk (talk | contribs)
Jump to navigation Jump to search

Instructions for Fedora

I'd like to have these instructions on building ejabberd for Fedora too, but I don't have Fedora. Perhaps someone can do a Fedora version?--morgs 08:52, 4 March 2008 (EST)

Packages

RPMs are currently a bit out of date (ejabberd2 beta). debs are very out of date (ejabberd 1.4). If/when I can build newer packages and/or prod those who built the current packages, I'll add them as installing packages would be much easier than building from source.--morgs 08:54, 4 March 2008 (EST)

Can't see the "everybody" group?

I followed these instructions as well as I could, but I don't see the "everybody" group in Gajim. The sugar-jhbuild's name is "sugar1". When I try "ejabberdctl connected-users", I just get the Gajim client connected.

Suggestions?

You need at least two users on the server for it to show up on your buddy list. You don't see yourself. What works for me, although it's a bit confusing, is to add a second account in the same client (I used pidgin in my testing, but should be the same in others) - then put both accounts online, and the "everybody" group appears and shows both accounts. (What is really happening is that one account sees the other, and the second account sees the first, in the same buddy list.)
Or, you could use two different jabber clients on the same machine - less confusing but more work...--morgs 03:08, 6 March 2008 (EST)
I should be more exact. Basically, I'm trying to set up a development environment for a Sugar activity. I have two Sugar profiles - "sugar1" and "sugar2". When I share a Sugar activity from "sugar1", it does not show up in either the Analyze activity OR the other sugar-jhbuild environment. I have the jabber server set to "localhost" on both profiles. Suggestions? --kawk 21:37, 7 March 2008 (EST)
Time to look at the presenceservice.log on those sugar instances - in ~/.sugar/sugar1/logs/presenceservice.log and .../sugar2/... - if you can pastebin those or stick them somewhere, I'll take a look.--morgs 06:31, 8 March 2008 (EST)
The result is exactly the same on both profiles:
1205969172.661917 INFO s-p-s: Starting presence service...
1205969172.690407 DEBUG s-p-s.psutils: IP4 address now '136.159.209.198' (eth1)
1205969172.722435 DEBUG s-p-s.presenceservice: Debug flags: set([])
1205969172.723361 DEBUG s-p-s.telepathy_plugin: <ServerPlugin object at 0x8372464 (telepathy_plugin+TelepathyPlugin at 0x8350b60)>: Starting up...
1205969172.798689 DEBUG s-p-s.telepathy_plugin: <LinkLocalPlugin object at 0x8372784 (telepathy_plugin+TelepathyPlugin at 0x8350bc0)>: Starting up...
1205969172.798884 DEBUG s-p-s.telepathy_plugin: <LinkLocalPlugin object at 0x8372784 (telepathy_plugin+TelepathyPlugin at 0x8350bc0)>: Postponing connection
1205969172.803628 DEBUG s-p-s.buddy: Successfully preloaded buddy props
1205969172.833682 DEBUG s-p-s.telepathy_plugin: <ServerPlugin object at 0x8372464 (telepathy_plugin+TelepathyPlugin at 0x8350b60)>: connecting...
1205969172.834047 DEBUG s-p-s.telepathy_plugin: <ServerPlugin object at 0x8372464 (telepathy_plugin+TelepathyPlugin at 0x8350b60)>: Connect() succeeded
Suggestions? Maybe we can set up a IRC time? kawk 19:36, 19 March 2008 (EDT)
Sure, I'm morgs on freenode in #olpc. I'm at GMT+2, will be around this evening so until 19:00 GMT.--morgs 06:19, 20 March 2008 (EDT)
I'm kawk on irc.freenode.net#olpc, I'll be online from now until 20:30 GMT. I'll be checking back every fifteen minutes or so. Thanks. kawk 12:43, 21 March 2008 (EDT)
Never mind, I got it. You need to have the conference.your.server.name entry in /etc/hosts.

PEM creation still needed with this approach

I am using Ubuntu Gutsy and have installed my ejabberd server on my laptop from your excellent instructions. The one other thing worth mentioning for folks is that the special instructions for creating the .pem file are still necessary with this approach. It isn't there until you do. Maybe these should go in here, making it one-stop shopping?