Archive for the 'ejabberd' Category


Compile MongooseIM on OS X with openssl

Another tricky thing I always struggle with: Get MongooseIM compiled on OS X (since they removed openssl). So if you have openssl installed via homebrew just do diff –git a/apps/ejabberd/rebar.config b/apps/ejabberd/rebar.config index c693471..4e5ff1f 100644 — a/apps/ejabberd/rebar.config +++ b/apps/ejabberd/rebar.config @@ -8,8 +8,15 @@ {require_otp_vsn, “R?1[678]”}. {port_specs, – [{“.*”, “priv/lib/tls_drv.so”, [“c_src/tls_drv.c”], [{env, [{“LDFLAGS”, “$LDFLAGS -lssl”}]}]}, – {“.*”, […]

jwchat.org Updates

I have been working a lot on my XMPP service at jwchat.org recently. The idea was to bring you more security, privacy and modern features. In detail what has changed: Use letsencrypt to automatically create and renew SSL certificates for all domains hosted (jwchat.org, x-berg.de and blogsport.eu currently). Updated DB-Schema to be able to support […]

Migrate ejabberd DB schema (mysql) from 2.1.x

Hiya! Long time no see. So I was upgrading my beloved ejabberd a while back and when I looked closer I found that most of the new functionality just wouldn’t work. Mostly because my ejabberd’s DB schema dating back to some 2.1.x install didn’t fit anymore. So but how to upgrade? After playing weird ideas […]

ejabberd memory leak

If your ejabberd seems to leak memory it might result out of this bug in erlang’s mnesia database. You can easily find out by starting a remote shell to your running ejabberd and whatch results for the following command: lists:foldl(fun(Tab, Acc) -> ets:info(Tab, memory) * 8 + Acc end, 0, ets:all()). The bug is fixed […]

ejabberd mysql drivers for debian and ubuntu

Debian (and ubuntu) packages for ejabberd don’t contain drivers for mysql. If you want to connect your ejabberd to mysql you need to get those drivers separately from the external ejabberd modules repository and compile them on your own. For convenience I’ve built a debian package containing the precompiled modules: ejabberd-mysql-20090114_1-2_all.deb Note: this package is […]