Jabber... anyone got it working?

I'm driving myself nuts.

I'm running the Ubuntu Linode, and I'm trying to get Jabber on board.

When I tried ejabberd (apt-get ejabberd), all I would get is "SEGMENTATION FAULT" "ERL" (the erlang interpreter) gives a SEGMENTATION FAULT, ejabberdctl: SEGMENTATION FAULT, /etc/init.d/ejabberd start|stop|restart: SEGMENTATION FAULT.

Fine. I didn't need Ejabberd. So I tried to get Jabberd2 up. (apt-get jabberd) works fine. /etc/init.d/jabberd2 start. Works. Top. THERE IT IS. Yahoo!. But when I try to get on with a jabber client…

"There was an error communicating with the Jabber server. Details: Connection Error: Unable to connect to server."

Hmm. So, if I telnet into autodmclabs.com :5222, I get…

<stream:stream xmlns:stream="http://etherx.jabber.org/streams" version="1.0"><st ream:error="" xmlns:stream="http://etherx.jabber.org/streams"><xml-not-well-formed xmlns="urn:ietf:params:xml:ns:xmpp-streams"><text xmlns="urn:ietf:params:xml:ns
:xmpp-streams">syntax error</text></xml-not-well-formed></st></stream:stream>

My firehol is opened up to the ports (I actually got firehol to work! Who would have thunked?), and I got lighttpd up with tehDan's help… now I'm stuck on Jabberd. ARGH!

Anyone have something like this?

(Also, I'd like to have SSL/TLS protected Jabber connections ONLY. Know how to do that?)

2 Replies

Re. the ssl encrypted connections – I had problems with configuring my jabberd2 to do it reliably, so I set up stunnel to forward SSL connections to 5223 to jabberd2 on 5222. I've got stunnel set up in a chroot as well for extra security.



If I do it that way, would I block 5222 with the firewall so nobody could make a NONSECURE connection?



Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct